[03:08:39]OFD Sender: No OFD packet to send [03:08:44]OFD Sender: No OFD packet to send [03:08:49]OFD Sender: No OFD packet to send [03:08:54]OFD Sender: No OFD packet to send [03:08:59]OFD Sender: No OFD packet to send [03:09:04]OFD Sender: No OFD packet to send [03:09:09]OFD Sender: No OFD packet to send [03:09:14]OFD Sender: No OFD packet to send [03:09:19]OFD Sender: No OFD packet to send [03:09:24]OFD Sender: No OFD packet to send [03:09:29]OFD Sender: No OFD packet to send [03:09:34]OFD Sender: No OFD packet to send [03:09:39]OFD Sender: No OFD packet to send [03:09:44]OFD Sender: No OFD packet to send [03:09:49]OFD Sender: No OFD packet to send [03:09:54]OFD Sender: No OFD packet to send [03:09:59]OFD Sender: No OFD packet to send [03:10:04]OFD Sender: No OFD packet to send [03:10:09]OFD Sender: No OFD packet to send [03:10:14]OFD Sender: No OFD packet to send [03:10:19]OFD Sender: No OFD packet to send [03:10:24]OFD Sender: No OFD packet to send [03:10:29]OFD Sender: No OFD packet to send [03:10:34]OFD Sender: No OFD packet to send [03:10:39]OFD Sender: No OFD packet to send [03:10:44]OFD Sender: No OFD packet to send [03:10:49]OFD Sender: No OFD packet to send [03:10:54]OFD Sender: No OFD packet to send [03:10:59]OFD Sender: No OFD packet to send [03:11:04]OFD Sender: No OFD packet to send [03:11:09]OFD Sender: No OFD packet to send [03:11:14]OFD Sender: No OFD packet to send [03:11:19]OFD Sender: No OFD packet to send [03:11:24]OFD Sender: No OFD packet to send [03:11:29]OFD Sender: No OFD packet to send [03:11:34]OFD Sender: No OFD packet to send [03:11:39]OFD Sender: No OFD packet to send [03:11:44]OFD Sender: No OFD packet to send [03:11:49]OFD Sender: No OFD packet to send [03:11:54]OFD Sender: No OFD packet to send [03:11:59]OFD Sender: No OFD packet to send [03:12:04]OFD Sender: No OFD packet to send [03:12:09]OFD Sender: No OFD packet to send [03:12:14]OFD Sender: No OFD packet to send [03:12:19]OFD Sender: No OFD packet to send [03:12:24]OFD Sender: No OFD packet to send [03:12:29]OFD Sender: No OFD packet to send [03:12:34]OFD Sender: No OFD packet to send [03:12:39]OFD Sender: No OFD packet to send [03:12:44]OFD Sender: No OFD packet to send [03:12:49]OFD Sender: No OFD packet to send [03:12:54]OFD Sender: No OFD packet to send [03:12:59]OFD Sender: No OFD packet to send [03:13:04]OFD Sender: No OFD packet to send [03:13:09]OFD Sender: No OFD packet to send [03:13:14]OFD Sender: No OFD packet to send [03:13:19]OFD Sender: No OFD packet to send [03:13:24]OFD Sender: No OFD packet to send [03:13:29]OFD Sender: No OFD packet to send [03:13:34]OFD Sender: No OFD packet to send [03:13:39]OFD Sender: No OFD packet to send [03:13: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:26]OFD Sender: No OFD packet to send [03:28:31]OFD Sender: No OFD packet to send [03:28:36]OFD Sender: No OFD packet to send [03:28:41]OFD Sender: No OFD packet to send [03:28:46]OFD Sender: No OFD packet to send [03:28:51]OFD Sender: No OFD packet to send [03:28:56]OFD Sender: No OFD packet to send [03:29:01]OFD Sender: No OFD packet to send [03:29:06]OFD Sender: No OFD packet to send [03:29:11]OFD Sender: No OFD packet to send [03:29:16]OFD Sender: No OFD packet to send [03:29:21]OFD Sender: No OFD packet to send [03:29:26]OFD Sender: No OFD packet to send [03:29:31]OFD Sender: No OFD packet to send [03:29:36]OFD Sender: No OFD packet to send [03:29:41]OFD Sender: No OFD packet to send [03:29:46]OFD Sender: No OFD packet to send [03:29:51]OFD Sender: No OFD packet to send [03:29:56]OFD Sender: No OFD packet to send [03:30:01]OFD Sender: No OFD packet to send [03:30:06]OFD Sender: No OFD packet to send [03:30:11]OFD Sender: No OFD packet to send [03:30:16]OFD Sender: No OFD packet to send [03:30:21]OFD Sender: No OFD packet to send [03:30:26]OFD Sender: No OFD packet to send [03:30:31]OFD Sender: No OFD packet to send [03:30:36]OFD Sender: No OFD packet to send [03:30:41]OFD Sender: No OFD packet to send [03:30:46]OFD Sender: No OFD packet to send [03:30:51]OFD Sender: No OFD packet to send [03:30:56]OFD Sender: No OFD packet to send [03:31:01]OFD Sender: No OFD packet to send [03:31:06]OFD Sender: No OFD packet to send [03:31:11]OFD Sender: No OFD packet to send [03:31:16]OFD Sender: No OFD packet to send [03:31:21]OFD Sender: No OFD packet to send [03:31:26]OFD Sender: No OFD packet to send [03:31:31]OFD Sender: No OFD packet to send [03:31:36]OFD Sender: No OFD packet to send [03:31:41]OFD Sender: No OFD packet to send [03:31:46]OFD Sender: No OFD packet to send [03:31:51]OFD Sender: No OFD packet to send [03:31:56]OFD Sender: No OFD packet to send [03:32:01]OFD Sender: No OFD packet to send [03:32:06]OFD Sender: No OFD packet to send [03:32:11]OFD Sender: No OFD packet to send [03:32:16]OFD Sender: No OFD packet to send [03:32:21]OFD Sender: No OFD packet to send [03:32:26]OFD Sender: No OFD packet to send [03:32:31]OFD Sender: No OFD packet to send [03:32:36]OFD Sender: No OFD packet to send [03:32:41]OFD Sender: No OFD packet to send [03:32:46]OFD Sender: No OFD packet to send [03:32:51]OFD Sender: No OFD packet to send [03:32:56]OFD Sender: No OFD packet to send [03:33:01]OFD Sender: No OFD packet to send [03:33:06]OFD Sender: No OFD packet to send [03:33:11]OFD Sender: No OFD packet to send [03:33:16]OFD Sender: No OFD packet to send [03:33:21]OFD Sender: No OFD packet to send [03:33:26]OFD Sender: No OFD packet to send [03:33:31]OFD Sender: No OFD packet to send [03:33:36]OFD Sender: No OFD packet to send [03:33:41]OFD Sender: No OFD packet to send [03:33:46]OFD Sender: No OFD packet to send [03:33:51]OFD Sender: No OFD packet to send [03:33:56]OFD Sender: No OFD packet to send [03:34:01]OFD Sender: No OFD packet to send [03:34:06]OFD Sender: No OFD packet to send [03:34:11]OFD Sender: No OFD packet to send [03:34:16]OFD Sender: No OFD packet to send [03:34:21]OFD Sender: No OFD packet to send [03:34:26]OFD Sender: No OFD packet to send [03:34:31]OFD Sender: No OFD packet to send [03:34:36]OFD Sender: No OFD packet to send [03:34:41]OFD Sender: No OFD packet to send [03:34:46]OFD Sender: No OFD packet to send [03:34:51]OFD Sender: No OFD packet to send [03:34:56]OFD Sender: No OFD packet to send [03:35:01]OFD Sender: No OFD packet to send [03:35:06]OFD Sender: No OFD packet to send [03:35:11]OFD Sender: No OFD packet to send [03:35:16]OFD Sender: No OFD packet to send [03:35:21]OFD Sender: No OFD packet to send [03:35:26]OFD Sender: No OFD packet to send [03:35:31]OFD Sender: No OFD packet to send [03:35:36]OFD Sender: No OFD packet to send [03:35:41]OFD Sender: No OFD packet to send [03:35:46]OFD Sender: No OFD packet to send [03:35:51]OFD Sender: No OFD packet to send [03:35:56]OFD Sender: No OFD packet to send [03:36:01]OFD Sender: No OFD packet to send [03:36:06]OFD Sender: No OFD packet to send [03:36:11]OFD Sender: No OFD packet to send [03:36:16]OFD Sender: No OFD packet to send [03:36:21]OFD Sender: No OFD packet to send [03:36:26]OFD Sender: No OFD packet to send [03:36:31]OFD Sender: No OFD packet to send [03:36:36]OFD Sender: No OFD packet to send [03:36:41]OFD Sender: No OFD packet to send [03:36:46]OFD Sender: No OFD packet to send [03:36:51]OFD Sender: No OFD packet to send [03:36:56]OFD Sender: No OFD packet to send [03:37:01]OFD Sender: No OFD packet to send [03:37:06]OFD Sender: No OFD packet to send [03:37:11]OFD Sender: No OFD packet to send [03:37:16]OFD Sender: No OFD packet to send [03:37:21]OFD Sender: No OFD packet to send [03:37:26]OFD Sender: No OFD packet to send [03:37:31]OFD Sender: No OFD packet to send [03:37:36]OFD Sender: No OFD packet to send [03:37:41]OFD Sender: No OFD packet to send [03:37:46]OFD Sender: No OFD packet to send [03:37:51]OFD Sender: No OFD packet to send [03:37:56]OFD Sender: No OFD packet to send [03:38:01]OFD Sender: No OFD packet to send [03:38:06]OFD Sender: No OFD packet to send [03:38:11]OFD Sender: No OFD packet to send [03:38:16]OFD Sender: No OFD packet to send [03:38:21]OFD Sender: No OFD packet to send [03:38:26]OFD Sender: No OFD packet to send [03:38:31]OFD Sender: No OFD packet to send [03:38:36]OFD Sender: No OFD packet to send [03:38:41]OFD Sender: No OFD packet to send [03:38:46]OFD Sender: No OFD packet to send [03:38:51]OFD Sender: No OFD packet to send [03:38:56]OFD Sender: No OFD packet to send [03:39:01]OFD Sender: No OFD packet to send [03:39:06]OFD Sender: No OFD packet to send [03:39:11]OFD Sender: No OFD packet to send [03:39:16]OFD Sender: No OFD packet to send [03:39:21]OFD Sender: No OFD packet to send [03:39:26]OFD Sender: No OFD packet to send [03:39:31]OFD Sender: No OFD packet to send [03:39:36]OFD Sender: No OFD packet to send [03:39:41]OFD Sender: No OFD packet to send [03:39:46]OFD Sender: No OFD packet to send [03:39:51]OFD Sender: No OFD packet to send [03:39:56]OFD Sender: No OFD packet to send [03:40:01]OFD Sender: No OFD packet to send [03:40:06]OFD Sender: No OFD packet to send [03:40:11]OFD Sender: No OFD packet to send [03:40:16]OFD Sender: No OFD packet to send [03:40:21]OFD Sender: No OFD packet to send [03:40:26]OFD Sender: No OFD packet to send [03:40:31]OFD Sender: No OFD packet to send [03:40:36]OFD Sender: No OFD packet to send [03:40:41]OFD Sender: No OFD packet to send [03:40:46]OFD Sender: No OFD packet to send [03:40:51]OFD Sender: No OFD packet to send [03:40:56]OFD Sender: No OFD packet to send [03:41:01]OFD Sender: No OFD packet to send [03:41:06]OFD Sender: No OFD packet to send [03:41:11]OFD Sender: No OFD packet to send [03:41:16]OFD Sender: No OFD packet to send [03:41:21]OFD Sender: No OFD packet to send [03:41:26]OFD Sender: No OFD packet to send [03:41:31]OFD Sender: No OFD packet to send [03:41:36]OFD Sender: No OFD packet to send [03:41:41]OFD Sender: No OFD packet to send [03:41:46]OFD Sender: No OFD packet to send [03:41:51]OFD Sender: No OFD packet to send [03:41:56]OFD Sender: No OFD packet to send [03:42:01]OFD Sender: No OFD packet to send [03:42:06]OFD Sender: No OFD packet to send [03:42:11]OFD Sender: No OFD packet to send [03:42:16]OFD Sender: No OFD packet to send [03:42:21]OFD Sender: No OFD packet to send [03:42:26]OFD Sender: No OFD packet to send [03:42:31]OFD Sender: No OFD packet to send [03:42:36]OFD Sender: No OFD packet to send [03:42:41]OFD Sender: No OFD packet to send [03:42:46]OFD Sender: No OFD packet to send [03:42:51]OFD Sender: No OFD packet to send [03:42:56]OFD Sender: No OFD packet to send [03:43:01]OFD Sender: No OFD packet to send [03:43:06]OFD Sender: No OFD packet to send [03:43:11]OFD Sender: No OFD packet to send [03:43:16]OFD Sender: No OFD packet to send [03:43:21]OFD Sender: No OFD packet to send [03:43:27]OFD Sender: No OFD packet to send [03:43:32]OFD Sender: No OFD packet to send [03:43:37]OFD Sender: No OFD packet to send [03:43:42]OFD Sender: No OFD packet to send [03:43:47]OFD Sender: No OFD packet to send [03:43:52]OFD Sender: No OFD packet to send [03:43:57]OFD Sender: No OFD packet to send [03:44:02]OFD Sender: No OFD packet to send [03:44:07]OFD Sender: No OFD packet to send [03:44:12]OFD Sender: No OFD packet to send [03:44:17]OFD Sender: No OFD packet to send [03:44:22]OFD Sender: No OFD packet to send [03:44:27]OFD Sender: No OFD packet to send [03:44:32]OFD Sender: No OFD packet to send [03:44:37]OFD Sender: No OFD packet to send [03:44:42]OFD Sender: No OFD packet to send [03:44:47]OFD Sender: No OFD packet to send [03:44:52]OFD Sender: No OFD packet to send [03:44:57]OFD Sender: No OFD packet to send [03:45:02]OFD Sender: No OFD packet to send [03:45:07]OFD Sender: No OFD packet to send [03:45:12]OFD Sender: No OFD packet to send [03:45:17]OFD Sender: No OFD packet to send [03:45:22]OFD Sender: No OFD packet to send [03:45:27]OFD Sender: No OFD packet to send [03:45:32]OFD Sender: No OFD packet to send [03:45:37]OFD Sender: No OFD packet to send [03:45:42]OFD Sender: No OFD packet to send [03:45:47]OFD Sender: No OFD packet to send [03:45:52]OFD Sender: No OFD packet to send [03:45:57]OFD Sender: No OFD packet to send [03:46:02]OFD Sender: No OFD packet to send [03:46:07]OFD Sender: No OFD packet to send [03:46:12]OFD Sender: No OFD packet to send [03:46:17]OFD Sender: No OFD packet to send [03:46:22]OFD Sender: No OFD packet to send [03:46:27]OFD Sender: No OFD packet to send [03:46:32]OFD Sender: No OFD packet to send [03:46:37]OFD Sender: No OFD packet to send [03:46:42]OFD Sender: No OFD packet to send [03:46:47]OFD Sender: No OFD packet to send [03:46:52]OFD Sender: No OFD packet to send [03:46:57]OFD Sender: No OFD packet to send [03:47:02]OFD Sender: No OFD packet to send [03:47:07]OFD Sender: No OFD packet to send [03:47:12]OFD Sender: No OFD packet to send [03:47:17]OFD Sender: No OFD packet to send [03:47:22]OFD Sender: No OFD packet to send [03:47:27]OFD Sender: No OFD packet to send [03:47:32]OFD Sender: No OFD packet to send [03:47:37]OFD Sender: No OFD packet to send [03:47:42]OFD Sender: No OFD packet to send [03:47:47]OFD Sender: No OFD packet to send [03:47:52]OFD Sender: No OFD packet to send [03:47:57]OFD Sender: No OFD packet to send [03:48:02]OFD Sender: No OFD packet to send [03:48:07]OFD Sender: No OFD packet to send [03:48:12]OFD Sender: No OFD packet to send [03:48:17]OFD Sender: No OFD packet to send [03:48:22]OFD Sender: No OFD packet to send [03:48:27]OFD Sender: No OFD packet to send [03:48:32]OFD Sender: No OFD packet to send [03:48:37]OFD Sender: No OFD packet to send [03:48:42]OFD Sender: No OFD packet to send [03:48:47]OFD Sender: No OFD packet to send [03:48:52]OFD Sender: No OFD packet to send [03:48:57]OFD Sender: No OFD packet to send [03:49:02]OFD Sender: No OFD packet to send [03:49:07]OFD Sender: No OFD packet to send [03:49:12]OFD Sender: No OFD packet to send [03:49:17]OFD Sender: No OFD packet to send [03:49:22]OFD Sender: No OFD packet to send [03:49:27]OFD Sender: No OFD packet to send [03:49:32]OFD Sender: No OFD packet to send [03:49:37]OFD Sender: No OFD packet to send [03:49:42]OFD Sender: No OFD packet to send [03:49:47]OFD Sender: No OFD packet to send [03:49:52]OFD Sender: No OFD packet to send [03:49:57]OFD Sender: No OFD packet to send [03:50:02]OFD Sender: No OFD packet to send [03:50:07]OFD Sender: No OFD packet to send [03:50:12]OFD Sender: No OFD packet to send [03:50:17]OFD Sender: No OFD packet to send [03:50:22]OFD Sender: No OFD packet to send [03:50:27]OFD Sender: No OFD packet to send [03:50:32]OFD Sender: No OFD packet to send [03:50:37]OFD Sender: No OFD packet to send [03:50:42]OFD Sender: No OFD packet to send [03:50:47]OFD Sender: No OFD packet to send [03:50:52]OFD Sender: No OFD packet to send [03:50:57]OFD Sender: No OFD packet to send [03:51:02]OFD Sender: No OFD packet to send [03:51:07]OFD Sender: No OFD packet to send [03:51:12]OFD Sender: No OFD packet to send [03:51:17]OFD Sender: No OFD packet to send [03:51:22]OFD Sender: No OFD packet to send [03:51:27]OFD Sender: No OFD packet to send [03:51:32]OFD Sender: No OFD packet to send [03:51:37]OFD Sender: No OFD packet to send [03:51:42]OFD Sender: No OFD packet to send [03:51:47]OFD Sender: No OFD packet to send [03:51:52]OFD Sender: No OFD packet to send [03:51:57]OFD Sender: No OFD packet to send [03:52:02]OFD Sender: No OFD packet to send [03:52:07]OFD Sender: No OFD packet to send [03:52:12]OFD Sender: No OFD packet to send [03:52:17]OFD Sender: No OFD packet to send [03:52:22]OFD Sender: No OFD packet to send [03:52:27]OFD Sender: No OFD packet to send [03:52:32]OFD Sender: No OFD packet to send [03:52:37]OFD Sender: No OFD packet to send [03:52:42]OFD Sender: No OFD packet to send [03:52:47]OFD Sender: No OFD packet to send [03:52:52]OFD Sender: No OFD packet to send [03:52:57]OFD Sender: No OFD packet to send [03:53:02]OFD Sender: No OFD packet to send [03:53:07]OFD Sender: No OFD packet to send [03:53:12]OFD Sender: No OFD packet to send [03:53:17]OFD Sender: No OFD packet to send [03:53:22]OFD Sender: No OFD packet to send [03:53:27]OFD Sender: No OFD packet to send [03:53:32]OFD Sender: No OFD packet to send [03:53:37]OFD Sender: No OFD packet to send [03:53:42]OFD Sender: No OFD packet to send [03:53:47]OFD Sender: No OFD packet to send [03:53:52]OFD Sender: No OFD packet to send [03:53:57]OFD Sender: No OFD packet to send [03:54:02]OFD Sender: No OFD packet to send [03:54:07]OFD Sender: No OFD packet to send [03:54:12]OFD Sender: No OFD packet to send [03:54:17]OFD Sender: No OFD packet to send [03:54:22]OFD Sender: No OFD packet to send [03:54:27]OFD Sender: No OFD packet to send [03:54:32]OFD Sender: No OFD packet to send [03:54:37]OFD Sender: No OFD packet to send [03:54:42]OFD Sender: No OFD packet to send [03:54:47]OFD Sender: No OFD packet to send [03:54:52]OFD Sender: No OFD packet to send [03:54:57]OFD Sender: No OFD packet to send [03:55:02]OFD Sender: No OFD packet to send [03:55:07]OFD Sender: No OFD packet to send [03:55:12]OFD Sender: No OFD packet to send [03:55:17]OFD Sender: No OFD packet to send [03:55:22]OFD Sender: No OFD packet to send [03:55:27]OFD Sender: No OFD packet to send [03:55:32]OFD Sender: No OFD packet to send [03:55:37]OFD Sender: No OFD packet to send [03:55:42]OFD Sender: No OFD packet to send [03:55:47]OFD Sender: No OFD packet to send [03:55:52]OFD Sender: No OFD packet to send [03:55:57]OFD Sender: No OFD packet to send [03:56:02]OFD Sender: No OFD packet to send [03:56:07]OFD Sender: No OFD packet to send [03:56:12]OFD Sender: No OFD packet to send [03:56:17]OFD Sender: No OFD packet to send [03:56:22]OFD Sender: No OFD packet to send [03:56:27]OFD Sender: No OFD packet to send [03:56:32]OFD Sender: No OFD packet to send [03:56:37]OFD Sender: No OFD packet to send [03:56:42]OFD Sender: No OFD packet to send [03:56:47]OFD Sender: No OFD packet to send [03:56:52]OFD Sender: No OFD packet to send [03:56:57]OFD Sender: No OFD packet to send [03:57:02]OFD Sender: No OFD packet to send [03:57:07]OFD Sender: No OFD packet to send [03:57:12]OFD Sender: No OFD packet to send [03:57:17]OFD Sender: No OFD packet to send [03:57:22]OFD Sender: No OFD packet to send [03:57:27]OFD Sender: No OFD packet to send [03:57:32]OFD Sender: No OFD packet to send [03:57:37]OFD Sender: No OFD packet to send [03:57:42]OFD Sender: No OFD packet to send [03:57:47]OFD Sender: No OFD packet to send [03:57:52]OFD Sender: No OFD packet to send [03:57:57]OFD Sender: No OFD packet to send [03:58:02]OFD Sender: No OFD packet to send [03:58:07]OFD Sender: No OFD packet to send [03:58:12]OFD Sender: No OFD packet to send [03:58:17]OFD Sender: No OFD packet to send [03:58:22]OFD Sender: No OFD packet to send [03:58:28]OFD Sender: No OFD packet to send [03:58:33]OFD Sender: No OFD packet to send [03:58:38]OFD Sender: No OFD packet to send [03:58:43]OFD Sender: No OFD packet to send [03:58:48]OFD Sender: No OFD packet to send [03:58:53]OFD Sender: No OFD packet to send [03:58:58]OFD Sender: No OFD packet to send [03:59:03]OFD Sender: No OFD packet to send [03:59:08]OFD Sender: No OFD packet to send [03:59:13]OFD Sender: No OFD packet to send [03:59:18]OFD Sender: No OFD packet to send [03:59:23]OFD Sender: No OFD packet to send [03:59:28]OFD Sender: No OFD packet to send [03:59:33]OFD Sender: No OFD packet to send [03:59:38]OFD Sender: No OFD packet to send [03:59:43]OFD Sender: No OFD packet to send [03:59:48]OFD Sender: No OFD packet to send [03:59:53]OFD Sender: No OFD packet to send [03:59:58]OFD Sender: No OFD packet to send [04:00:03]OFD Sender: No OFD packet to send [04:00:08]OFD Sender: No OFD packet to send [04:00:13]OFD Sender: No OFD packet to send [04:00:18]OFD Sender: No OFD packet to send [04:00:23]OFD Sender: No OFD packet to send [04:00:28]OFD Sender: No OFD packet to send [04:00:33]OFD Sender: No OFD packet to send [04:00:38]OFD Sender: No OFD packet to send [04:00:43]OFD Sender: No OFD packet to send [04:00:48]OFD Sender: No OFD packet to send [04:00:53]OFD Sender: No OFD packet to send [04:00:58]OFD Sender: No OFD packet to send [04:01:03]OFD Sender: No OFD packet to send [04:01:08]OFD Sender: No OFD packet to send [04:01:13]OFD Sender: No OFD packet to send [04:01:18]OFD Sender: No OFD packet to send [04:01:23]OFD Sender: No OFD packet to send [04:01:28]OFD Sender: No OFD packet to send [04:01:33]OFD Sender: No OFD packet to send [04:01:38]OFD Sender: No OFD packet to send [04:01:43]OFD Sender: No OFD packet to send [04:01:48]OFD Sender: No OFD packet to send [04:01:53]OFD Sender: No OFD packet to send [04:01:58]OFD Sender: No OFD packet to send [04:02:03]OFD Sender: No OFD packet to send [04:02:08]OFD Sender: No OFD packet to send [04:02:13]OFD Sender: No OFD packet to send [04:02:18]OFD Sender: No OFD packet to send [04:02:23]OFD Sender: No OFD packet to send [04:02:28]OFD Sender: No OFD packet to send [04:02:33]OFD Sender: No OFD packet to send [04:02:38]OFD Sender: No OFD packet to send [04:02:43]OFD Sender: No OFD packet to send [04:02:48]OFD Sender: No OFD packet to send [04:02:53]OFD Sender: No OFD packet to send [04:02:58]OFD Sender: No OFD packet to send [04:03:03]OFD Sender: No OFD packet to send [04:03:08]OFD Sender: No OFD packet to send [04:03:13]OFD Sender: No OFD packet to send [04:03:18]OFD Sender: No OFD packet to send [04:03:23]OFD Sender: No OFD packet to send [04:03:28]OFD Sender: No OFD packet to send [04:03:33]OFD Sender: No OFD packet to send [04:03:38]OFD Sender: No OFD packet to send [04:03:43]OFD Sender: No OFD packet to send [04:03:48]OFD Sender: No OFD packet to send [04:03:53]OFD Sender: No OFD packet to send [04:03:58]OFD Sender: No OFD packet to send [04:04:03]OFD Sender: No OFD packet to send [04:04:08]OFD Sender: No OFD packet to send [04:04:13]OFD Sender: No OFD packet to send [04:04:18]OFD Sender: No OFD packet to send [04:04:23]OFD Sender: No OFD packet to send [04:04:28]OFD Sender: No OFD packet to send [04:04:33]OFD Sender: No OFD packet to send [04:04:38]OFD Sender: No OFD packet to send [04:04:43]OFD Sender: No OFD packet to send [04:04:48]OFD Sender: No OFD packet to send [04:04:53]OFD Sender: No OFD packet to send [04:04:58]OFD Sender: No OFD packet to send [04:05:03]OFD Sender: No OFD packet to send [04:05:08]OFD Sender: No OFD packet to send [04:05:13]OFD Sender: No OFD packet to send [04:05:18]OFD Sender: No OFD packet to send [04:05:23]OFD Sender: No OFD packet to send [04:05:28]OFD Sender: No OFD packet to send [04:05:33]OFD Sender: No OFD packet to send [04:05:38]OFD Sender: No OFD packet to send [04:05:43]OFD Sender: No OFD packet to send [04:05:48]OFD Sender: No OFD packet to send [04:05:53]OFD Sender: No OFD packet to send [04:05:58]OFD Sender: No OFD packet to send [04:06:03]OFD Sender: No OFD packet to send [04:06:08]OFD Sender: No OFD packet to send [04:06:13]OFD Sender: No OFD packet to send [04:06:18]OFD Sender: No OFD packet to send [04:06:23]OFD Sender: No OFD packet to send [04:06:28]OFD Sender: No OFD packet to send [04:06:33]OFD Sender: No OFD packet to send [04:06:38]OFD Sender: No OFD packet to send [04:06:43]OFD Sender: No OFD packet to send [04:06:48]OFD Sender: No OFD packet to send [04:06:53]OFD Sender: No OFD packet to send [04:06:58]OFD Sender: No OFD packet to send [04:07:03]OFD Sender: No OFD packet to send [04:07:08]OFD Sender: No OFD packet to send [04:07:13]OFD Sender: No OFD packet to send [04:07:18]OFD Sender: No OFD packet to send [04:07:23]OFD Sender: No OFD packet to send [04:07:28]OFD Sender: No OFD packet to send [04:07:33]OFD Sender: No OFD packet to send [04:07:38]OFD Sender: No OFD packet to send [04:07:43]OFD Sender: No OFD packet to send [04:07:48]OFD Sender: No OFD packet to send [04:07:53]OFD Sender: No OFD packet to send [04:07:58]OFD Sender: No OFD packet to send [04:08:03]OFD Sender: No OFD packet to send [04:08:08]OFD Sender: No OFD packet to send [04:08:13]OFD Sender: No OFD packet to send [04:08:18]OFD Sender: No OFD packet to send [04:08:23]OFD Sender: No OFD packet to send [04:08:28]OFD Sender: No OFD packet to send [04:08:33]OFD Sender: No OFD packet to send [04:08:38]OFD Sender: No OFD packet to send [04:08:43]OFD Sender: No OFD packet to send [04:08:48]OFD Sender: No OFD packet to send [04:08:53]OFD Sender: No OFD packet to send [04:08:58]OFD Sender: No OFD packet to send [04:09:03]OFD Sender: No OFD packet to send [04:09:08]OFD Sender: No OFD packet to send [04:09:13]OFD Sender: No OFD packet to send [04:09:18]OFD Sender: No OFD packet to send [04:09:23]OFD Sender: No OFD packet to send [04:09:28]OFD Sender: No OFD packet to send [04:09:33]OFD Sender: No OFD packet to send [04:09:38]OFD Sender: No OFD packet to send [04:09:43]OFD Sender: No OFD packet to send [04:09:48]OFD Sender: No OFD packet to send [04:09:53]OFD Sender: No OFD packet to send [04:09:58]OFD Sender: No OFD packet to send [04:10:03]OFD Sender: No OFD packet to send [04:10:08]OFD Sender: No OFD packet to send [04:10:13]OFD Sender: No OFD packet to send [04:10:18]OFD Sender: No OFD packet to send [04:10:23]OFD Sender: No OFD packet to send [04:10:28]OFD Sender: No OFD packet to send [04:10:33]OFD Sender: No OFD packet to send [04:10:38]OFD Sender: No OFD packet to send [04:10:43]OFD Sender: No OFD packet to send [04:10:48]OFD Sender: No OFD packet to send [04:10:53]OFD Sender: No OFD packet to send [04:10:58]OFD Sender: No OFD packet to send [04:11:03]OFD Sender: No OFD packet to send [04:11:08]OFD Sender: No OFD packet to send [04:11:13]OFD Sender: No OFD packet to send [04:11:18]OFD Sender: No OFD packet to send [04:11:23]OFD Sender: No OFD packet to send [04:11:28]OFD Sender: No OFD packet to send [04:11:33]OFD Sender: No OFD packet to send [04:11:38]OFD Sender: No OFD packet to send [04:11:43]OFD Sender: No OFD packet to send [04:11:48]OFD Sender: No OFD packet to send [04:11:53]OFD Sender: No OFD packet to send [04:11:58]OFD Sender: No OFD packet to send [04:12:03]OFD Sender: No OFD packet to send [04:12:08]OFD Sender: No OFD packet to send [04:12:13]OFD Sender: No OFD packet to send [04:12:18]OFD Sender: No OFD packet to send [04:12:23]OFD Sender: No OFD packet to send [04:12:28]OFD Sender: No OFD packet to send [04:12:33]OFD Sender: No OFD packet to send [04:12:38]OFD Sender: No OFD packet to send [04:12:43]OFD Sender: No OFD packet to send [04:12:48]OFD Sender: No OFD packet to send [04:12:53]OFD Sender: No OFD packet to send [04:12:58]OFD Sender: No OFD packet to send [04:13:03]OFD Sender: No OFD packet to send [04:13:08]OFD Sender: No OFD packet to send [04:13:13]OFD Sender: No OFD packet to send [04:13:18]OFD Sender: No OFD packet to send [04:13:23]OFD Sender: No OFD packet to send [04:13:28]OFD Sender: No OFD packet to send [04:13:34]OFD Sender: No OFD packet to send [04:13:39]OFD Sender: No OFD packet to send [04:13:44]OFD Sender: No OFD packet to send [04:13:49]OFD Sender: No OFD packet to send [04:13:54]OFD Sender: No OFD packet to send [04:13:59]OFD Sender: No OFD packet to send [04:14:04]OFD Sender: No OFD packet to send [04:14:09]OFD Sender: No OFD packet to send [04:14:14]OFD Sender: No OFD packet to send [04:14:19]OFD Sender: No OFD packet to send [04:14:24]OFD Sender: No OFD packet to send [04:14:29]OFD Sender: No OFD packet to send [04:14:34]OFD Sender: No OFD packet to send [04:14:39]OFD Sender: No OFD packet to send [04:14:44]OFD Sender: No OFD packet to send [04:14:49]OFD Sender: No OFD packet to send [04:14:54]OFD Sender: No OFD packet to send [04:14:59]OFD Sender: No OFD packet to send [04:15:04]OFD Sender: No OFD packet to send [04:15:09]OFD Sender: No OFD packet to send [04:15:14]OFD Sender: No OFD packet to send [04:15:19]OFD Sender: No OFD packet to send [04:15:24]OFD Sender: No OFD packet to send [04:15:29]OFD Sender: No OFD packet to send [04:15:34]OFD Sender: No OFD packet to send [04:15:39]OFD Sender: No OFD packet to send [04:15:44]OFD Sender: No OFD packet to send [04:15:49]OFD Sender: No OFD packet to send [04:15:54]OFD Sender: No OFD packet to send [04:15:59]OFD Sender: No OFD packet to send [04:16:04]OFD Sender: No OFD packet to send [04:16:09]OFD Sender: No OFD packet to send [04:16:14]OFD Sender: No OFD packet to send [04:16:19]OFD Sender: No OFD packet to send [04:16:24]OFD Sender: No OFD packet to send [04:16:29]OFD Sender: No OFD packet to send [04:16:34]OFD Sender: No OFD packet to send [04:16:39]OFD Sender: No OFD packet to send [04:16:44]OFD Sender: No OFD packet to send [04:16:49]OFD Sender: No OFD packet to send [04:16:54]OFD Sender: No OFD packet to send [04:16:59]OFD Sender: No OFD packet to send [04:17:04]OFD Sender: No OFD packet to send [04:17:09]OFD Sender: No OFD packet to send [04:17:14]OFD Sender: No OFD packet to send [04:17:19]OFD Sender: No OFD packet to send [04:17:24]OFD Sender: No OFD packet to send [04:17:29]OFD Sender: No OFD packet to send [04:17:34]OFD Sender: No OFD packet to send [04:17:39]OFD Sender: No OFD packet to send [04:17:44]OFD Sender: No OFD packet to send [04:17:49]OFD Sender: No OFD packet to send [04:17:54]OFD Sender: No OFD packet to send [04:17:59]OFD Sender: No OFD packet to send [04:18:04]OFD Sender: No OFD packet to send [04:18:09]OFD Sender: No OFD packet to send [04:18:14]OFD Sender: No OFD packet to send [04:18:19]OFD Sender: No OFD packet to send [04:18:24]OFD Sender: No OFD packet to send [04:18:29]OFD Sender: No OFD packet to send [04:18:34]OFD Sender: No OFD packet to send [04:18:39]OFD Sender: No OFD packet to send [04:18:44]OFD Sender: No OFD packet to send [04:18:49]OFD Sender: No OFD packet to send [04:18:54]OFD Sender: No OFD packet to send [04:18:59]OFD Sender: No OFD packet to send [04:19:04]OFD Sender: No OFD packet to send [04:19:09]OFD Sender: No OFD packet to send [04:19:14]OFD Sender: No OFD packet to send [04:19:19]OFD Sender: No OFD packet to send [04:19:24]OFD Sender: No OFD packet to send [04:19:29]OFD Sender: No OFD packet to send [04:19:34]OFD Sender: No OFD packet to send [04:19:39]OFD Sender: No OFD packet to send [04:19:44]OFD Sender: No OFD packet to send [04:19:49]OFD Sender: No OFD packet to send [04:19:54]OFD Sender: No OFD packet to send [04:19:59]OFD Sender: No OFD packet to send [04:20:04]OFD Sender: No OFD packet to send [04:20:09]OFD Sender: No OFD packet to send [04:20:14]OFD Sender: No OFD packet to send [04:20:19]OFD Sender: No OFD packet to send [04:20:24]OFD Sender: No OFD packet to send [04:20:29]OFD Sender: No OFD packet to send [04:20:34]OFD Sender: No OFD packet to send [04:20:39]OFD Sender: No OFD packet to send [04:20:44]OFD Sender: No OFD packet to send [04:20:49]OFD Sender: No OFD packet to send [04:20:54]OFD Sender: No OFD packet to send [04:20:59]OFD Sender: No OFD packet to send [04:21:04]OFD Sender: No OFD packet to send [04:21:09]OFD Sender: No OFD packet to send [04:21:14]OFD Sender: No OFD packet to send [04:21:19]OFD Sender: No OFD packet to send [04:21:24]OFD Sender: No OFD packet to send [04:21:29]OFD Sender: No OFD packet to send [04:21:34]OFD Sender: No OFD packet to send [04:21:39]OFD Sender: No OFD packet to send [04:21:44]OFD Sender: No OFD packet to send [04:21:49]OFD Sender: No OFD packet to send [04:21:54]OFD Sender: No OFD packet to send [04:21:59]OFD Sender: No OFD packet to send [04:22:04]OFD Sender: No OFD packet to send [04:22:09]OFD Sender: No OFD packet to send [04:22:14]OFD Sender: No OFD packet to send [04:22:19]OFD Sender: No OFD packet to send [04:22:24]OFD Sender: No OFD packet to send [04:22:29]OFD Sender: No OFD packet to send [04:22:34]OFD Sender: No OFD packet to send [04:22:39]OFD Sender: No OFD packet to send [04:22:44]OFD Sender: No OFD packet to send [04:22:49]OFD Sender: No OFD packet to send [04:22:54]OFD Sender: No OFD packet to send [04:22:59]OFD Sender: No OFD packet to send [04:23:04]OFD Sender: No OFD packet to send [04:23:09]OFD Sender: No OFD packet to send [04:23:14]OFD Sender: No OFD packet to send [04:23:19]OFD Sender: No OFD packet to send [04:23:24]OFD Sender: No OFD packet to send [04:23:29]OFD Sender: No OFD packet to send [04:23:34]OFD Sender: No OFD packet to send [04:23:39]OFD Sender: No OFD packet to send [04:23:44]OFD Sender: No OFD packet to send [04:23:49]OFD Sender: No OFD packet to send [04:23:54]OFD Sender: No OFD packet to send [04:23:59]OFD Sender: No OFD packet to send [04:24:04]OFD Sender: No OFD packet to send [04:24:09]OFD Sender: No OFD packet to send [04:24:14]OFD Sender: No OFD packet to send [04:24:19]OFD Sender: No OFD packet to send [04:24:24]OFD Sender: No OFD packet to send [04:24:29]OFD Sender: No OFD packet to send [04:24:34]OFD Sender: No OFD packet to send [04:24:39]OFD Sender: No OFD packet to send [04:24:44]OFD Sender: No OFD packet to send [04:24:49]OFD Sender: No OFD packet to send [04:24:54]OFD Sender: No OFD packet to send [04:24:59]OFD Sender: No OFD packet to send [04:25:04]OFD Sender: No OFD packet to send [04:25:09]OFD Sender: No OFD packet to send [04:25:14]OFD Sender: No OFD packet to send [04:25:19]OFD Sender: No OFD packet to send [04:25:24]OFD Sender: No OFD packet to send [04:25:29]OFD Sender: No OFD packet to send [04:25:34]OFD Sender: No OFD packet to send [04:25:39]OFD Sender: No OFD packet to send [04:25:44]OFD Sender: No OFD packet to send [04:25:49]OFD Sender: No OFD packet to send [04:25:54]OFD Sender: No OFD packet to send [04:25:59]OFD Sender: No OFD packet to send [04:26:04]OFD Sender: No OFD packet to send [04:26:09]OFD Sender: No OFD packet to send [04:26:14]OFD Sender: No OFD packet to send [04:26:19]OFD Sender: No OFD packet to send [04:26:24]OFD Sender: No OFD packet to send [04:26:29]OFD Sender: No OFD packet to send [04:26:34]OFD Sender: No OFD packet to send [04:26:39]OFD Sender: No OFD packet to send [04:26:44]OFD Sender: No OFD packet to send [04:26:49]OFD Sender: No OFD packet to send [04:26:54]OFD Sender: No OFD packet to send [04:26:59]OFD Sender: No OFD packet to send [04:27:04]OFD Sender: No OFD packet to send [04:27:09]OFD Sender: No OFD packet to send [04:27:14]OFD Sender: No OFD packet to send [04:27:19]OFD Sender: No OFD packet to send [04:27:24]OFD Sender: No OFD packet to send [04:27:29]OFD Sender: No OFD packet to send [04:27:34]OFD Sender: No OFD packet to send [04:27:39]OFD Sender: No OFD packet to send [04:27:44]OFD Sender: No OFD packet to send [04:27:49]OFD Sender: No OFD packet to send [04:27:54]OFD Sender: No OFD packet to send [04:27:59]OFD Sender: No OFD packet to send [04:28:04]OFD Sender: No OFD packet to send [04:28:09]OFD Sender: No OFD packet to send [04:28:14]OFD Sender: No OFD packet to send [04:28:19]OFD Sender: No OFD packet to send [04:28:24]OFD Sender: No OFD packet to send [04:28:29]OFD Sender: No OFD packet to send [04:28:34]OFD Sender: No OFD packet to send [04:28:40]OFD Sender: No OFD packet to send [04:28:45]OFD Sender: No OFD packet to send [04:28:50]OFD Sender: No OFD packet to send [04:28:55]OFD Sender: No OFD packet to send [04:29:00]OFD Sender: No OFD packet to send [04:29:05]OFD Sender: No OFD packet to send [04:29:10]OFD Sender: No OFD packet to send [04:29:15]OFD Sender: No OFD packet to send [04:29:20]OFD Sender: No OFD packet to send [04:29:25]OFD Sender: No OFD packet to send [04:29:30]OFD Sender: No OFD packet to send [04:29:35]OFD Sender: No OFD packet to send [04:29:40]OFD Sender: No OFD packet to send [04:29:45]OFD Sender: No OFD packet to send [04:29:50]OFD Sender: No OFD packet to send [04:29:55]OFD Sender: No OFD packet to send [04:30:00]OFD Sender: No OFD packet to send [04:30:05]OFD Sender: No OFD packet to send [04:30:10]OFD Sender: No OFD packet to send [04:30:15]OFD Sender: No OFD packet to send [04:30:20]OFD Sender: No OFD packet to send [04:30:25]OFD Sender: No OFD packet to send [04:30:30]OFD Sender: No OFD packet to send [04:30:35]OFD Sender: No OFD packet to send [04:30:40]OFD Sender: No OFD packet to send [04:30:45]OFD Sender: No OFD packet to send [04:30:50]OFD Sender: No OFD packet to send [04:30:55]OFD Sender: No OFD packet to send [04:31:00]OFD Sender: No OFD packet to send [04:31:05]OFD Sender: No OFD packet to send [04:31:10]OFD Sender: No OFD packet to send [04:31:15]OFD Sender: No OFD packet to send [04:31:20]OFD Sender: No OFD packet to send [04:31:25]OFD Sender: No OFD packet to send [04:31:30]OFD Sender: No OFD packet to send [04:31:35]OFD Sender: No OFD packet to send [04:31:40]OFD Sender: No OFD packet to send [04:31:45]OFD Sender: No OFD packet to send [04:31:50]OFD Sender: No OFD packet to send [04:31:55]OFD Sender: No OFD packet to send [04:32:00]OFD Sender: No OFD packet to send [04:32:05]OFD Sender: No OFD packet to send [04:32:10]OFD Sender: No OFD packet to send [04:32:15]OFD Sender: No OFD packet to send [04:32:20]OFD Sender: No OFD packet to send [04:32:25]OFD Sender: No OFD packet to send [04:32:30]OFD Sender: No OFD packet to send [04:32:35]OFD Sender: No OFD packet to send [04:32:40]OFD Sender: No OFD packet to send [04:32:45]OFD Sender: No OFD packet to send [04:32:50]OFD Sender: No OFD packet to send [04:32:55]OFD Sender: No OFD packet to send [04:33:00]OFD Sender: No OFD packet to send [04:33:05]OFD Sender: No OFD packet to send [04:33:10]OFD Sender: No OFD packet to send [04:33:15]OFD Sender: No OFD packet to send [04:33:20]OFD Sender: No OFD packet to send [04:33:25]OFD Sender: No OFD packet to send [04:33:30]OFD Sender: No OFD packet to send [04:33:35]OFD Sender: No OFD packet to send [04:33:40]OFD Sender: No OFD packet to send [04:33:45]OFD Sender: No OFD packet to send [04:33:50]OFD Sender: No OFD packet to send [04:33:55]OFD Sender: No OFD packet to send [04:34:00]OFD Sender: No OFD packet to send [04:34:05]OFD Sender: No OFD packet to send [04:34:10]OFD Sender: No OFD packet to send [04:34:15]OFD Sender: No OFD packet to send [04:34:20]OFD Sender: No OFD packet to send [04:34:25]OFD Sender: No OFD packet to send [04:34:30]OFD Sender: No OFD packet to send [04:34:35]OFD Sender: No OFD packet to send [04:34:40]OFD Sender: No OFD packet to send [04:34:45]OFD Sender: No OFD packet to send [04:34:50]OFD Sender: No OFD packet to send [04:34:55]OFD Sender: No OFD packet to send [04:35:00]OFD Sender: No OFD packet to send [04:35:05]OFD Sender: No OFD packet to send [04:35:10]OFD Sender: No OFD packet to send [04:35:15]OFD Sender: No OFD packet to send [04:35:20]OFD Sender: No OFD packet to send [04:35:25]OFD Sender: No OFD packet to send [04:35:30]OFD Sender: No OFD packet to send [04:35:35]OFD Sender: No OFD packet to send [04:35:40]OFD Sender: No OFD packet to send [04:35:45]OFD Sender: No OFD packet to send [04:35:50]OFD Sender: No OFD packet to send [04:35:55]OFD Sender: No OFD packet to send [04:36:00]OFD Sender: No OFD packet to send [04:36:05]OFD Sender: No OFD packet to send [04:36:10]OFD Sender: No OFD packet to send [04:36:15]OFD Sender: No OFD packet to send [04:36:20]OFD Sender: No OFD packet to send [04:36:25]OFD Sender: No OFD packet to send [04:36:30]OFD Sender: No OFD packet to send [04:36:35]OFD Sender: No OFD packet to send [04:36:40]OFD Sender: No OFD packet to send [04:36:45]OFD Sender: No OFD packet to send [04:36:50]OFD Sender: No OFD packet to send [04:36:55]OFD Sender: No OFD packet to send [04:37:00]OFD Sender: No OFD packet to send [04:37:05]OFD Sender: No OFD packet to send [04:37:10]OFD Sender: No OFD packet to send [04:37:15]OFD Sender: No OFD packet to send [04:37:20]OFD Sender: No OFD packet to send [04:37:25]OFD Sender: No OFD packet to send [04:37:30]OFD Sender: No OFD packet to send [04:37:35]OFD Sender: No OFD packet to send [04:37:40]OFD Sender: No OFD packet to send [04:37:45]OFD Sender: No OFD packet to send [04:37:50]OFD Sender: No OFD packet to send [04:37:55]OFD Sender: No OFD packet to send [04:38:00]OFD Sender: No OFD packet to send [04:38:05]OFD Sender: No OFD packet to send [04:38:10]OFD Sender: No OFD packet to send [04:38:15]OFD Sender: No OFD packet to send [04:38:20]OFD Sender: No OFD packet to send [04:38:25]OFD Sender: No OFD packet to send [04:38:30]OFD Sender: No OFD packet to send [04:38:35]OFD Sender: No OFD packet to send [04:38:40]OFD Sender: No OFD packet to send [04:38:45]OFD Sender: No OFD packet to send [04:38:50]OFD Sender: No OFD packet to send [04:38:55]OFD Sender: No OFD packet to send [04:39:00]OFD Sender: No OFD packet to send [04:39:05]OFD Sender: No OFD packet to send [04:39:10]OFD Sender: No OFD packet to send [04:39:15]OFD Sender: No OFD packet to send [04:39:20]OFD Sender: No OFD packet to send [04:39:25]OFD Sender: No OFD packet to send [04:39:30]OFD Sender: No OFD packet to send [04:39:35]OFD Sender: No OFD packet to send [04:39:40]OFD Sender: No OFD packet to send [04:39:45]OFD Sender: No OFD packet to send [04:39:50]OFD Sender: No OFD packet to send [04:39:55]OFD Sender: No OFD packet to send [04:40:00]OFD Sender: No OFD packet to send [04:40:05]OFD Sender: No OFD packet to send [04:40:10]OFD Sender: No OFD packet to send [04:40:15]OFD Sender: No OFD packet to send [04:40:20]OFD Sender: No OFD packet to send [04:40:25]OFD Sender: No OFD packet to send [04:40:30]OFD Sender: No OFD packet to send [04:40:35]OFD Sender: No OFD packet to send [04:40:40]OFD Sender: No OFD packet to send [04:40:45]OFD Sender: No OFD packet to send [04:40:50]OFD Sender: No OFD packet to send [04:40:55]OFD Sender: No OFD packet to send [04:41:00]OFD Sender: No OFD packet to send [04:41:05]OFD Sender: No OFD packet to send [04:41:10]OFD Sender: No OFD packet to send [04:41:15]OFD Sender: No OFD packet to send [04:41:20]OFD Sender: No OFD packet to send [04:41:25]OFD Sender: No OFD packet to send [04:41:30]OFD Sender: No OFD packet to send [04:41:35]OFD Sender: No OFD packet to send [04:41:40]OFD Sender: No OFD packet to send [04:41:45]OFD Sender: No OFD packet to send [04:41:50]OFD Sender: No OFD packet to send [04:41:55]OFD Sender: No OFD packet to send [04:42:00]OFD Sender: No OFD packet to send [04:42:05]OFD Sender: No OFD packet to send [04:42:10]OFD Sender: No OFD packet to send [04:42:15]OFD Sender: No OFD packet to send [04:42:20]OFD Sender: No OFD packet to send [04:42:25]OFD Sender: No OFD packet to send [04:42:30]OFD Sender: No OFD packet to send [04:42:35]OFD Sender: No OFD packet to send [04:42:40]OFD Sender: No OFD packet to send [04:42:45]OFD Sender: No OFD packet to send [04:42:50]OFD Sender: No OFD packet to send [04:42:55]OFD Sender: No OFD packet to send [04:43:00]OFD Sender: No OFD packet to send [04:43:05]OFD Sender: No OFD packet to send [04:43:10]OFD Sender: No OFD packet to send [04:43:15]OFD Sender: No OFD packet to send [04:43:20]OFD Sender: No OFD packet to send [04:43:25]OFD Sender: No OFD packet to send [04:43:30]OFD Sender: No OFD packet to send [04:43:35]OFD Sender: No OFD packet to send [04:43:40]OFD Sender: No OFD packet to send [04:43:46]OFD Sender: No OFD packet to send [04:43:51]OFD Sender: No OFD packet to send [04:43:56]OFD Sender: No OFD packet to send [04:44:01]OFD Sender: No OFD packet to send [04:44:06]OFD Sender: No OFD packet to send [04:44:11]OFD Sender: No OFD packet to send [04:44:16]OFD Sender: No OFD packet to send [04:44:21]OFD Sender: No OFD packet to send [04:44:26]OFD Sender: No OFD packet to send [04:44:31]OFD Sender: No OFD packet to send [04:44:36]OFD Sender: No OFD packet to send [04:44:41]OFD Sender: No OFD packet to send [04:44:46]OFD Sender: No OFD packet to send [04:44:51]OFD Sender: No OFD packet to send [04:44:56]OFD Sender: No OFD packet to send [04:45:01]OFD Sender: No OFD packet to send [04:45:06]OFD Sender: No OFD packet to send [04:45:11]OFD Sender: No OFD packet to send [04:45:16]OFD Sender: No OFD packet to send [04:45:21]OFD Sender: No OFD packet to send [04:45:26]OFD Sender: No OFD packet to send [04:45:31]OFD Sender: No OFD packet to send [04:45:36]OFD Sender: No OFD packet to send [04:45:41]OFD Sender: No OFD packet to send [04:45:46]OFD Sender: No OFD packet to send [04:45:51]OFD Sender: No OFD packet to send [04:45:56]OFD Sender: No OFD packet to send [04:46:01]OFD Sender: No OFD packet to send [04:46:06]OFD Sender: No OFD packet to send [04:46:11]OFD Sender: No OFD packet to send [04:46:16]OFD Sender: No OFD packet to send [04:46:21]OFD Sender: No OFD packet to send [04:46:26]OFD Sender: No OFD packet to send [04:46:31]OFD Sender: No OFD packet to send [04:46:36]OFD Sender: No OFD packet to send [04:46:41]OFD Sender: No OFD packet to send [04:46:46]OFD Sender: No OFD packet to send [04:46:51]OFD Sender: No OFD packet to send [04:46:56]OFD Sender: No OFD packet to send [04:47:01]OFD Sender: No OFD packet to send [04:47:06]OFD Sender: No OFD packet to send [04:47:11]OFD Sender: No OFD packet to send [04:47:16]OFD Sender: No OFD packet to send [04:47:21]OFD Sender: No OFD packet to send [04:47:26]OFD Sender: No OFD packet to send [04:47:31]OFD Sender: No OFD packet to send [04:47:36]OFD Sender: No OFD packet to send [04:47:41]OFD Sender: No OFD packet to send [04:47:46]OFD Sender: No OFD packet to send [04:47:51]OFD Sender: No OFD packet to send [04:47:56]OFD Sender: No OFD packet to send [04:48:01]OFD Sender: No OFD packet to send [04:48:06]OFD Sender: No OFD packet to send [04:48:11]OFD Sender: No OFD packet to send [04:48:16]OFD Sender: No OFD packet to send [04:48:21]OFD Sender: No OFD packet to send [04:48:26]OFD Sender: No OFD packet to send [04:48:31]OFD Sender: No OFD packet to send [04:48:36]OFD Sender: No OFD packet to send [04:48:41]OFD Sender: No OFD packet to send [04:48:46]OFD Sender: No OFD packet to send [04:48:51]OFD Sender: No OFD packet to send [04:48:56]OFD Sender: No OFD packet to send [04:49:01]OFD Sender: No OFD packet to send [04:49:06]OFD Sender: No OFD packet to send [04:49:11]OFD Sender: No OFD packet to send [04:49:16]OFD Sender: No OFD packet to send [04:49:21]OFD Sender: No OFD packet to send [04:49:26]OFD Sender: No OFD packet to send [04:49:31]OFD Sender: No OFD packet to send [04:49:36]OFD Sender: No OFD packet to send [04:49:41]OFD Sender: No OFD packet to send [04:49:46]OFD Sender: No OFD packet to send [04:49:51]OFD Sender: No OFD packet to send [04:49:56]OFD Sender: No OFD packet to send [04:50:01]OFD Sender: No OFD packet to send [04:50:06]OFD Sender: No OFD packet to send [04:50:11]OFD Sender: No OFD packet to send [04:50:16]OFD Sender: No OFD packet to send [04:50:21]OFD Sender: No OFD packet to send [04:50:26]OFD Sender: No OFD packet to send [04:50:31]OFD Sender: No OFD packet to send [04:50:36]OFD Sender: No OFD packet to send [04:50:41]OFD Sender: No OFD packet to send [04:50:46]OFD Sender: No OFD packet to send [04:50:51]OFD Sender: No OFD packet to send [04:50:56]OFD Sender: No OFD packet to send [04:51:01]OFD Sender: No OFD packet to send [04:51:06]OFD Sender: No OFD packet to send [04:51:11]OFD Sender: No OFD packet to send [04:51:16]OFD Sender: No OFD packet to send [04:51:21]OFD Sender: No OFD packet to send [04:51:26]OFD Sender: No OFD packet to send [04:51:31]OFD Sender: No OFD packet to send [04:51:36]OFD Sender: No OFD packet to send [04:51:41]OFD Sender: No OFD packet to send [04:51:46]OFD Sender: No OFD packet to send [04:51:51]OFD Sender: No OFD packet to send [04:51:56]OFD Sender: No OFD packet to send [04:52:01]OFD Sender: No OFD packet to send [04:52:06]OFD Sender: No OFD packet to send [04:52:11]OFD Sender: No OFD packet to send [04:52:16]OFD Sender: No OFD packet to send [04:52:21]OFD Sender: No OFD packet to send [04:52:26]OFD Sender: No OFD packet to send [04:52:31]OFD Sender: No OFD packet to send [04:52:36]OFD Sender: No OFD packet to send [04:52:41]OFD Sender: No OFD packet to send [04:52:46]OFD Sender: No OFD packet to send [04:52:51]OFD Sender: No OFD packet to send [04:52:56]OFD Sender: No OFD packet to send [04:53:01]OFD Sender: No OFD packet to send [04:53:06]OFD Sender: No OFD packet to send [04:53:11]OFD Sender: No OFD packet to send [04:53:16]OFD Sender: No OFD packet to send [04:53:21]OFD Sender: No OFD packet to send [04:53:26]OFD Sender: No OFD packet to send [04:53:31]OFD Sender: No OFD packet to send [04:53:36]OFD Sender: No OFD packet to send [04:53:41]OFD Sender: No OFD packet to send [04:53:46]OFD Sender: No OFD packet to send [04:53:51]OFD Sender: No OFD packet to send [04:53:56]OFD Sender: No OFD packet to send [04:54:01]OFD Sender: No OFD packet to send [04:54:06]OFD Sender: No OFD packet to send [04:54:11]OFD Sender: No OFD packet to send [04:54:16]OFD Sender: No OFD packet to send [04:54:21]OFD Sender: No OFD packet to send [04:54:26]OFD Sender: No OFD packet to send [04:54:31]OFD Sender: No OFD packet to send [04:54:36]OFD Sender: No OFD packet to send [04:54:41]OFD Sender: No OFD packet to send [04:54:46]OFD Sender: No OFD packet to send [04:54:51]OFD Sender: No OFD packet to send [04:54:56]OFD Sender: No OFD packet to send [04:55:01]OFD Sender: No OFD packet to send [04:55:06]OFD Sender: No OFD packet to send [04:55:11]OFD Sender: No OFD packet to send [04:55:16]OFD Sender: No OFD packet to send [04:55:21]OFD Sender: No OFD packet to send [04:55:26]OFD Sender: No OFD packet to send [04:55:31]OFD Sender: No OFD packet to send [04:55:36]OFD Sender: No OFD packet to send [04:55:41]OFD Sender: No OFD packet to send [04:55:46]OFD Sender: No OFD packet to send [04:55:51]OFD Sender: No OFD packet to send [04:55:56]OFD Sender: No OFD packet to send [04:56:01]OFD Sender: No OFD packet to send [04:56:06]OFD Sender: No OFD packet to send [04:56:16]OFD Sender: No OFD packet to send [04:56:21]OFD Sender: No OFD packet to send [04:56:26]OFD Sender: No OFD packet to send [04:56:31]OFD Sender: No OFD packet to send [04:56:36]OFD Sender: No OFD packet to send [04:56:41]OFD Sender: No OFD packet to send [04:56:46]OFD Sender: No OFD packet to send [04:56:51]OFD Sender: No OFD packet to send [04:56:56]OFD Sender: No OFD packet to send [04:57:01]OFD Sender: No OFD packet to send [04:57:06]OFD Sender: No OFD packet to send [04:57:11]OFD Sender: No OFD packet to send [04:57:16]OFD Sender: No OFD packet to send [04:57:21]OFD Sender: No OFD packet to send [04:57:26]OFD Sender: No OFD packet to send [04:57:31]OFD Sender: No OFD packet to send [04:57:36]OFD Sender: No OFD packet to send [04:57:41]OFD Sender: No OFD packet to send [04:57:46]OFD Sender: No OFD packet to send [04:57:51]OFD Sender: No OFD packet to send [04:57:56]OFD Sender: No OFD packet to send [04:58:01]OFD Sender: No OFD packet to send [04:58:06]OFD Sender: No OFD packet to send [04:58:11]OFD Sender: No OFD packet to send [04:58:16]OFD Sender: No OFD packet to send [04:58:21]OFD Sender: No OFD packet to send [04:58:26]OFD Sender: No OFD packet to send [04:58:28]ConnectInit Can't connect to host [04:58:31]OFD Sender: No OFD packet to send [04:58:36]OFD Sender: No OFD packet to send [04:58:41]OFD Sender: No OFD packet to send [04:58:46]OFD Sender: No OFD packet to send [04:58:51]OFD Sender: No OFD packet to send [04:58:57]OFD Sender: No OFD packet to send [04:59:02]OFD Sender: No OFD packet to send [04:59:07]OFD Sender: No OFD packet to send [04:59:12]OFD Sender: No OFD packet to send [04:59:17]OFD Sender: No OFD packet to send [04:59:22]OFD Sender: No OFD packet to send [04:59:27]OFD Sender: No OFD packet to send [04:59:32]OFD Sender: No OFD packet to send [04:59:37]OFD Sender: No OFD packet to send [04:59:42]OFD Sender: No OFD packet to send [04:59:47]OFD Sender: No OFD packet to send [04:59:52]OFD Sender: No OFD packet to send [04:59:57]OFD Sender: No OFD packet to send [05:00:02]OFD Sender: No OFD packet to send [05:00:07]OFD Sender: No OFD packet to send [05:00:12]OFD Sender: No OFD packet to send [05:00:17]OFD Sender: No OFD packet to send [05:00:22]OFD Sender: No OFD packet to send [05:00:27]OFD Sender: No OFD packet to send [05:00:32]OFD Sender: No OFD packet to send [05:00:37]OFD Sender: No OFD packet to send [05:00:42]OFD Sender: No OFD packet to send [05:00:47]OFD Sender: No OFD packet to send [05:00:52]OFD Sender: No OFD packet to send [05:00:57]OFD Sender: No OFD packet to send [05:01:02]OFD Sender: No OFD packet to send [05:01:07]OFD Sender: No OFD packet to send [05:01:12]OFD Sender: No OFD packet to send [05:01:17]OFD Sender: No OFD packet to send [05:01:22]OFD Sender: No OFD packet to send [05:01:27]OFD Sender: No OFD packet to send [05:01:32]OFD Sender: No OFD packet to send [05:01:37]OFD Sender: No OFD packet to send [05:01:42]OFD Sender: No OFD packet to send [05:01:47]OFD Sender: No OFD packet to send [05:01:52]OFD Sender: No OFD packet to send [05:01:57]OFD Sender: No OFD packet to send [05:02:02]OFD Sender: No OFD packet to send [05:02:07]OFD Sender: No OFD packet to send [05:02:12]OFD Sender: No OFD packet to send [05:02:17]OFD Sender: No OFD packet to send [05:02:22]OFD Sender: No OFD packet to send [05:02:27]OFD Sender: No OFD packet to send [05:02:32]OFD Sender: No OFD packet to send [05:02:37]OFD Sender: No OFD packet to send [05:02:42]OFD Sender: No OFD packet to send [05:02:47]OFD Sender: No OFD packet to send [05:02:52]OFD Sender: No OFD packet to send [05:02:57]OFD Sender: No OFD packet to send [05:03:02]OFD Sender: No OFD packet to send [05:03:07]OFD Sender: No OFD packet to send [05:03:12]OFD Sender: No OFD packet to send [05:03:17]OFD Sender: No OFD packet to send [05:03:22]OFD Sender: No OFD packet to send [05:03:27]OFD Sender: No OFD packet to send [05:03:32]OFD Sender: No OFD packet to send [05:03:37]OFD Sender: No OFD packet to send [05:03:42]OFD Sender: No OFD packet to send [05:03:47]OFD Sender: No OFD packet to send [05:03:52]OFD Sender: No OFD packet to send [05:03:57]OFD Sender: No OFD packet to send [05:04:02]OFD Sender: No OFD packet to send [05:04:07]OFD Sender: No OFD packet to send [05:04:12]OFD Sender: No OFD packet to send [05:04:17]OFD Sender: No OFD packet to send [05:04:22]OFD Sender: No OFD packet to send [05:04:27]OFD Sender: No OFD packet to send [05:04:32]OFD Sender: No OFD packet to send [05:04:37]OFD Sender: No OFD packet to send [05:04:42]OFD Sender: No OFD packet to send [05:04:47]OFD Sender: No OFD packet to send [05:04:52]OFD Sender: No OFD packet to send [05:04:57]OFD Sender: No OFD packet to send [05:05:02]OFD Sender: No OFD packet to send [05:05:07]OFD Sender: No OFD packet to send [05:05:12]OFD Sender: No OFD packet to send [05:05:17]OFD Sender: No OFD packet to send [05:05:22]OFD Sender: No OFD packet to send [05:05:27]OFD Sender: No OFD packet to send [05:05:32]OFD Sender: No OFD packet to send [05:05:37]OFD Sender: No OFD packet to send [05:05:42]OFD Sender: No OFD packet to send [05:05:47]OFD Sender: No OFD packet to send [05:05:52]OFD Sender: No OFD packet to send [05:05:57]OFD Sender: No OFD packet to send [05:06:02]OFD Sender: No OFD packet to send [05:06:07]OFD Sender: No OFD packet to send [05:06:12]OFD Sender: No OFD packet to send [05:06:17]OFD Sender: No OFD packet to send [05:06:22]OFD Sender: No OFD packet to send [05:06:27]OFD Sender: No OFD packet to send [05:06:32]OFD Sender: No OFD packet to send [05:06:37]OFD Sender: No OFD packet to send [05:06:42]OFD Sender: No OFD packet to send [05:06:47]OFD Sender: No OFD packet to send [05:06:52]OFD Sender: No OFD packet to send [05:06:57]OFD Sender: No OFD packet to send [05:07:02]OFD Sender: No OFD packet to send [05:07:07]OFD Sender: No OFD packet to send [05:07:12]OFD Sender: No OFD packet to send [05:07:17]OFD Sender: No OFD packet to send [05:07:22]OFD Sender: No OFD packet to send [05:07:27]OFD Sender: No OFD packet to send [05:07:32]OFD Sender: No OFD packet to send [05:07:37]OFD Sender: No OFD packet to send [05:07:42]OFD Sender: No OFD packet to send [05:07:47]OFD Sender: No OFD packet to send [05:07:52]OFD Sender: No OFD packet to send [05:07:57]OFD Sender: No OFD packet to send [05:08:02]OFD Sender: No OFD packet to send [05:08:07]OFD Sender: No OFD packet to send [05:08:12]OFD Sender: No OFD packet to send [05:08:17]OFD Sender: No OFD packet to send [05:08:22]OFD Sender: No OFD packet to send [05:08:27]OFD Sender: No OFD packet to send [05:08:32]OFD Sender: No OFD packet to send [05:08:37]OFD Sender: No OFD packet to send [05:08:42]OFD Sender: No OFD packet to send [05:08:47]OFD Sender: No OFD packet to send [05:08:52]OFD Sender: No OFD packet to send [05:08:57]OFD Sender: No OFD packet to send [05:09:02]OFD Sender: No OFD packet to send [05:09:07]OFD Sender: No OFD packet to send [05:09:12]OFD Sender: No OFD packet to send [05:09:17]OFD Sender: No OFD packet to send [05:09:22]OFD Sender: No OFD packet to send [05:09:27]OFD Sender: No OFD packet to send [05:09:32]OFD Sender: No OFD packet to send [05:09:37]OFD Sender: No OFD packet to send [05:09:42]OFD Sender: No OFD packet to send [05:09:47]OFD Sender: No OFD packet to send [05:09:52]OFD Sender: No OFD packet to send [05:09:57]OFD Sender: No OFD packet to send [05:10:02]OFD Sender: No OFD packet to send [05:10:07]OFD Sender: No OFD packet to send [05:10:12]OFD Sender: No OFD packet to send [05:10:17]OFD Sender: No OFD packet to send [05:10:22]OFD Sender: No OFD packet to send [05:10:27]OFD Sender: No OFD packet to send [05:10:32]OFD Sender: No OFD packet to send [05:10:37]OFD Sender: No OFD packet to send [05:10:42]OFD Sender: No OFD packet to send [05:10:47]OFD Sender: No OFD packet to send [05:10:52]OFD Sender: No OFD packet to send [05:10:57]OFD Sender: No OFD packet to send [05:11:02]OFD Sender: No OFD packet to send [05:11:07]OFD Sender: No OFD packet to send [05:11:12]OFD Sender: No OFD packet to send [05:11:17]OFD Sender: No OFD packet to send [05:11:22]OFD Sender: No OFD packet to send [05:11:27]OFD Sender: No OFD packet to send [05:11:32]OFD Sender: No OFD packet to send [05:11:37]OFD Sender: No OFD packet to send [05:11:42]OFD Sender: No OFD packet to send [05:11:47]OFD Sender: No OFD packet to send [05:11:52]OFD Sender: No OFD packet to send [05:11:57]OFD Sender: No OFD packet to send [05:12:02]OFD Sender: No OFD packet to send [05:12:07]OFD Sender: No OFD packet to send [05:12:12]OFD Sender: No OFD packet to send [05:12:17]OFD Sender: No OFD packet to send [05:12:22]OFD Sender: No OFD packet to send [05:12:27]OFD Sender: No OFD packet to send [05:12:32]OFD Sender: No OFD packet to send [05:12:37]OFD Sender: No OFD packet to send [05:12:42]OFD Sender: No OFD packet to send [05:12:47]OFD Sender: No OFD packet to send [05:12:52]OFD Sender: No OFD packet to send [05:12:57]OFD Sender: No OFD packet to send [05:13:02]OFD Sender: No OFD packet to send [05:13:07]OFD Sender: No OFD packet to send [05:13:12]OFD Sender: No OFD packet to send [05:13:17]OFD Sender: No OFD packet to send [05:13:22]OFD Sender: No OFD packet to send [05:13:27]OFD Sender: No OFD packet to send [05:13:32]OFD Sender: No OFD packet to send [05:13:37]OFD Sender: No OFD packet to send [05:13:42]OFD Sender: No OFD packet to send [05:13:47]OFD Sender: No OFD packet to send [05:13:52]OFD Sender: No OFD packet to send [05:13:57]OFD Sender: No OFD packet to send [05:14:02]OFD Sender: No OFD packet to send [05:14:08]OFD Sender: No OFD packet to send [05:14:13]OFD Sender: No OFD packet to send [05:14:18]OFD Sender: No OFD packet to send [05:14:23]OFD Sender: No OFD packet to send [05:14:28]OFD Sender: No OFD packet to send [05:14:33]OFD Sender: No OFD packet to send [05:14:38]OFD Sender: No OFD packet to send [05:14:43]OFD Sender: No OFD packet to send [05:14:48]OFD Sender: No OFD packet to send [05:14:53]OFD Sender: No OFD packet to send [05:14:58]OFD Sender: No OFD packet to send [05:15:03]OFD Sender: No OFD packet to send [05:15:08]OFD Sender: No OFD packet to send [05:15:13]OFD Sender: No OFD packet to send [05:15:18]OFD Sender: No OFD packet to send [05:15:23]OFD Sender: No OFD packet to send [05:15:28]OFD Sender: No OFD packet to send [05:15:33]OFD Sender: No OFD packet to send [05:15:38]OFD Sender: No OFD packet to send [05:15:43]OFD Sender: No OFD packet to send [05:15:48]OFD Sender: No OFD packet to send [05:15:53]OFD Sender: No OFD packet to send [05:15:58]OFD Sender: No OFD packet to send [05:16:03]OFD Sender: No OFD packet to send [05:16:08]OFD Sender: No OFD packet to send [05:16:13]OFD Sender: No OFD packet to send [05:16:18]OFD Sender: No OFD packet to send [05:16:23]OFD Sender: No OFD packet to send [05:16:28]OFD Sender: No OFD packet to send [05:16:33]OFD Sender: No OFD packet to send [05:16:38]OFD Sender: No OFD packet to send [05:16:43]OFD Sender: No OFD packet to send [05:16:48]OFD Sender: No OFD packet to send [05:16:53]OFD Sender: No OFD packet to send [05:16:58]OFD Sender: No OFD packet to send [05:17:03]OFD Sender: No OFD packet to send [05:17:08]OFD Sender: No OFD packet to send [05:17:13]OFD Sender: No OFD packet to send [05:17:18]OFD Sender: No OFD packet to send [05:17:23]OFD Sender: No OFD packet to send [05:17:28]OFD Sender: No OFD packet to send [05:17:33]OFD Sender: No OFD packet to send [05:17:38]OFD Sender: No OFD packet to send [05:17:43]OFD Sender: No OFD packet to send [05:17:48]OFD Sender: No OFD packet to send [05:17:53]OFD Sender: No OFD packet to send [05:17:58]OFD Sender: No OFD packet to send [05:18:03]OFD Sender: No OFD packet to send [05:18:08]OFD Sender: No OFD packet to send [05:18:13]OFD Sender: No OFD packet to send [05:18:18]OFD Sender: No OFD packet to send [05:18:23]OFD Sender: No OFD packet to send [05:18:28]OFD Sender: No OFD packet to send [05:18:33]OFD Sender: No OFD packet to send [05:18:38]OFD Sender: No OFD packet to send [05:18:43]OFD Sender: No OFD packet to send [05:18:48]OFD Sender: No OFD packet to send [05:18:53]OFD Sender: No OFD packet to send [05:18:58]OFD Sender: No OFD packet to send [05:19:03]OFD Sender: No OFD packet to send [05:19:08]OFD Sender: No OFD packet to send [05:19:13]OFD Sender: No OFD packet to send [05:19:18]OFD Sender: No OFD packet to send [05:19:23]OFD Sender: No OFD packet to send [05:19:28]OFD Sender: No OFD packet to send [05:19:33]OFD Sender: No OFD packet to send [05:19:38]OFD Sender: No OFD packet to send [05:19:43]OFD Sender: No OFD packet to send [05:19:48]OFD Sender: No OFD packet to send [05:19:53]OFD Sender: No OFD packet to send [05:19:58]OFD Sender: No OFD packet to send [05:20:03]OFD Sender: No OFD packet to send [05:20:08]OFD Sender: No OFD packet to send [05:20:13]OFD Sender: No OFD packet to send [05:20:18]OFD Sender: No OFD packet to send [05:20:23]OFD Sender: No OFD packet to send [05:20:28]OFD Sender: No OFD packet to send [05:20:33]OFD Sender: No OFD packet to send [05:20:38]OFD Sender: No OFD packet to send [05:20:43]OFD Sender: No OFD packet to send [05:20:48]OFD Sender: No OFD packet to send [05:20:53]OFD Sender: No OFD packet to send [05:20:58]OFD Sender: No OFD packet to send [05:21:03]OFD Sender: No OFD packet to send [05:21:08]OFD Sender: No OFD packet to send [05:21:13]OFD Sender: No OFD packet to send [05:21:18]OFD Sender: No OFD packet to send [05:21:23]OFD Sender: No OFD packet to send [05:21:28]OFD Sender: No OFD packet to send [05:21:33]OFD Sender: No OFD packet to send [05:21:38]OFD Sender: No OFD packet to send [05:21:43]OFD Sender: No OFD packet to send [05:21:48]OFD Sender: No OFD packet to send [05:21:53]OFD Sender: No OFD packet to send [05:21:58]OFD Sender: No OFD packet to send [05:22:03]OFD Sender: No OFD packet to send [05:22:08]OFD Sender: No OFD packet to send [05:22:13]OFD Sender: No OFD packet to send [05:22:18]OFD Sender: No OFD packet to send [05:22:23]OFD Sender: No OFD packet to send [05:22:28]OFD Sender: No OFD packet to send [05:22:33]OFD Sender: No OFD packet to send [05:22:38]OFD Sender: No OFD packet to send [05:22:43]OFD Sender: No OFD packet to send [05:22:48]OFD Sender: No OFD packet to send [05:22:53]OFD Sender: No OFD packet to send [05:22:58]OFD Sender: No OFD packet to send [05:23:03]OFD Sender: No OFD packet to send [05:23:08]OFD Sender: No OFD packet to send [05:23:13]OFD Sender: No OFD packet to send [05:23:18]OFD Sender: No OFD packet to send [05:23:23]OFD Sender: No OFD packet to send [05:23:28]OFD Sender: No OFD packet to send [05:23:33]OFD Sender: No OFD packet to send [05:23:38]OFD Sender: No OFD packet to send [05:23:43]OFD Sender: No OFD packet to send [05:23:48]OFD Sender: No OFD packet to send [05:23:53]OFD Sender: No OFD packet to send [05:23:58]OFD Sender: No OFD packet to send [05:24:03]OFD Sender: No OFD packet to send [05:24:08]OFD Sender: No OFD packet to send [05:24:13]OFD Sender: No OFD packet to send [05:24:18]OFD Sender: No OFD packet to send [05:24:23]OFD Sender: No OFD packet to send [05:24:28]OFD Sender: No OFD packet to send [05:24:33]OFD Sender: No OFD packet to send [05:24:38]OFD Sender: No OFD packet to send [05:24:43]OFD Sender: No OFD packet to send [05:24:48]OFD Sender: No OFD packet to send [05:24:53]OFD Sender: No OFD packet to send [05:24:58]OFD Sender: No OFD packet to send [05:25:03]OFD Sender: No OFD packet to send [05:25:08]OFD Sender: No OFD packet to send [05:25:13]OFD Sender: No OFD packet to send [05:25:18]OFD Sender: No OFD packet to send [05:25:23]OFD Sender: No OFD packet to send [05:25:28]OFD Sender: No OFD packet to send [05:25:33]OFD Sender: No OFD packet to send [05:25:38]OFD Sender: No OFD packet to send [05:25:43]OFD Sender: No OFD packet to send [05:25:48]OFD Sender: No OFD packet to send [05:25:53]OFD Sender: No OFD packet to send [05:25:58]OFD Sender: No OFD packet to send [05:26:03]OFD Sender: No OFD packet to send [05:26:08]OFD Sender: No OFD packet to send [05:26:13]OFD Sender: No OFD packet to send [05:26:18]OFD Sender: No OFD packet to send [05:26:23]OFD Sender: No OFD packet to send [05:26:28]OFD Sender: No OFD packet to send [05:26:33]OFD Sender: No OFD packet to send [05:26:38]OFD Sender: No OFD packet to send [05:26:43]OFD Sender: No OFD packet to send [05:26:48]OFD Sender: No OFD packet to send [05:26:53]OFD Sender: No OFD packet to send [05:26:58]OFD Sender: No OFD packet to send [05:27:03]OFD Sender: No OFD packet to send [05:27:08]OFD Sender: No OFD packet to send [05:27:13]OFD Sender: No OFD packet to send [05:27:18]OFD Sender: No OFD packet to send [05:27:23]OFD Sender: No OFD packet to send [05:27:28]OFD Sender: No OFD packet to send [05:27:33]OFD Sender: No OFD packet to send [05:27:38]OFD Sender: No OFD packet to send [05:27:43]OFD Sender: No OFD packet to send [05:27:48]OFD Sender: No OFD packet to send [05:27:53]OFD Sender: No OFD packet to send [05:27:58]OFD Sender: No OFD packet to send [05:28:03]OFD Sender: No OFD packet to send [05:28:08]OFD Sender: No OFD packet to send [05:28:13]OFD Sender: No OFD packet to send [05:28:18]OFD Sender: No OFD packet to send [05:28:23]OFD Sender: No OFD packet to send [05:28:28]OFD Sender: No OFD packet to send [05:28:33]OFD Sender: No OFD packet to send [05:28:38]OFD Sender: No OFD packet to send [05:28:43]OFD Sender: No OFD packet to send [05:28:48]OFD Sender: No OFD packet to send [05:28:53]OFD Sender: No OFD packet to send [05:28:58]OFD Sender: No OFD packet to send [05:29:03]OFD Sender: No OFD packet to send [05:29:08]OFD Sender: No OFD packet to send [05:29:14]OFD Sender: No OFD packet to send [05:29:19]OFD Sender: No OFD packet to send [05:29:24]OFD Sender: No OFD packet to send [05:29:29]OFD Sender: No OFD packet to send [05:29:34]OFD Sender: No OFD packet to send [05:29:39]OFD Sender: No OFD packet to send [05:29:44]OFD Sender: No OFD packet to send [05:29:49]OFD Sender: No OFD packet to send [05:29:54]OFD Sender: No OFD packet to send [05:29:59]OFD Sender: No OFD packet to send [05:30:04]OFD Sender: No OFD packet to send [05:30:09]OFD Sender: No OFD packet to send [05:30:14]OFD Sender: No OFD packet to send [05:30:19]OFD Sender: No OFD packet to send [05:30:24]OFD Sender: No OFD packet to send [05:30:29]OFD Sender: No OFD packet to send [05:30:34]OFD Sender: No OFD packet to send [05:30:39]OFD Sender: No OFD packet to send [05:30:44]OFD Sender: No OFD packet to send [05:30:49]OFD Sender: No OFD packet to send [05:30:54]OFD Sender: No OFD packet to send [05:30:59]OFD Sender: No OFD packet to send [05:31:04]OFD Sender: No OFD packet to send [05:31:09]OFD Sender: No OFD packet to send [05:31:14]OFD Sender: No OFD packet to send [05:31:19]OFD Sender: No OFD packet to send [05:31:24]OFD Sender: No OFD packet to send [05:31:29]OFD Sender: No OFD packet to send [05:31:34]OFD Sender: No OFD packet to send [05:31:39]OFD Sender: No OFD packet to send [05:31:44]OFD Sender: No OFD packet to send [05:31:49]OFD Sender: No OFD packet to send [05:31:54]OFD Sender: No OFD packet to send [05:31:59]OFD Sender: No OFD packet to send [05:32:04]OFD Sender: No OFD packet to send [05:32:09]OFD Sender: No OFD packet to send [05:32:14]OFD Sender: No OFD packet to send [05:32:19]OFD Sender: No OFD packet to send [05:32:24]OFD Sender: No OFD packet to send [05:32:29]OFD Sender: No OFD packet to send [05:32:34]OFD Sender: No OFD packet to send [05:32:39]OFD Sender: No OFD packet to send [05:32:44]OFD Sender: No OFD packet to send [05:32:49]OFD Sender: No OFD packet to send [05:32:54]OFD Sender: No OFD packet to send [05:32:59]OFD Sender: No OFD packet to send [05:33:04]OFD Sender: No OFD packet to send [05:33:09]OFD Sender: No OFD packet to send [05:33:14]OFD Sender: No OFD packet to send [05:33:19]OFD Sender: No OFD packet to send [05:33:24]OFD Sender: No OFD packet to send [05:33:29]OFD Sender: No OFD packet to send [05:33:34]OFD Sender: No OFD packet to send [05:33:39]OFD Sender: No OFD packet to send [05:33:44]OFD Sender: No OFD packet to send [05:33:49]OFD Sender: No OFD packet to send [05:33:54]OFD Sender: No OFD packet to send [05:33:59]OFD Sender: No OFD packet to send [05:34:04]OFD Sender: No OFD packet to send [05:34:09]OFD Sender: No OFD packet to send [05:34:14]OFD Sender: No OFD packet to send [05:34:19]OFD Sender: No OFD packet to send [05:34:24]OFD Sender: No OFD packet to send [05:34:29]OFD Sender: No OFD packet to send [05:34:34]OFD Sender: No OFD packet to send [05:34:39]OFD Sender: No OFD packet to send [05:34:44]OFD Sender: No OFD packet to send [05:34:49]OFD Sender: No OFD packet to send [05:34:54]OFD Sender: No OFD packet to send [05:34:59]OFD Sender: No OFD packet to send [05:35:04]OFD Sender: No OFD packet to send [05:35:09]OFD Sender: No OFD packet to send [05:35:14]OFD Sender: No OFD packet to send [05:35:19]OFD Sender: No OFD packet to send [05:35:24]OFD Sender: No OFD packet to send [05:35:29]OFD Sender: No OFD packet to send [05:35:34]OFD Sender: No OFD packet to send [05:35:39]OFD Sender: No OFD packet to send [05:35:44]OFD Sender: No OFD packet to send [05:35:49]OFD Sender: No OFD packet to send [05:35:54]OFD Sender: No OFD packet to send [05:35:59]OFD Sender: No OFD packet to send [05:36:04]OFD Sender: No OFD packet to send [05:36:09]OFD Sender: No OFD packet to send [05:36:14]OFD Sender: No OFD packet to send [05:36:19]OFD Sender: No OFD packet to send [05:36:24]OFD Sender: No OFD packet to send [05:36:29]OFD Sender: No OFD packet to send [05:36:34]OFD Sender: No OFD packet to send [05:36:39]OFD Sender: No OFD packet to send [05:36:44]OFD Sender: No OFD packet to send [05:36:49]OFD Sender: No OFD packet to send [05:36:54]OFD Sender: No OFD packet to send [05:36:59]OFD Sender: No OFD packet to send [05:37:04]OFD Sender: No OFD packet to send [05:37:09]OFD Sender: No OFD packet to send [05:37:14]OFD Sender: No OFD packet to send [05:37:19]OFD Sender: No OFD packet to send [05:37:24]OFD Sender: No OFD packet to send [05:37:29]OFD Sender: No OFD packet to send [05:37:34]OFD Sender: No OFD packet to send [05:37:39]OFD Sender: No OFD packet to send [05:37:44]OFD Sender: No OFD packet to send [05:37:49]OFD Sender: No OFD packet to send [05:37:54]OFD Sender: No OFD packet to send [05:37:59]OFD Sender: No OFD packet to send [05:38:04]OFD Sender: No OFD packet to send [05:38:09]OFD Sender: No OFD packet to send [05:38:14]OFD Sender: No OFD packet to send [05:38:19]OFD Sender: No OFD packet to send [05:38:24]OFD Sender: No OFD packet to send [05:38:29]OFD Sender: No OFD packet to send [05:38:34]OFD Sender: No OFD packet to send [05:38:39]OFD Sender: No OFD packet to send [05:38:44]OFD Sender: No OFD packet to send [05:38:49]OFD Sender: No OFD packet to send [05:38:54]OFD Sender: No OFD packet to send [05:38:59]OFD Sender: No OFD packet to send [05:39:04]OFD Sender: No OFD packet to send [05:39:09]OFD Sender: No OFD packet to send [05:39:14]OFD Sender: No OFD packet to send [05:39:19]OFD Sender: No OFD packet to send [05:39:24]OFD Sender: No OFD packet to send [05:39:29]OFD Sender: No OFD packet to send [05:39:34]OFD Sender: No OFD packet to send [05:39:39]OFD Sender: No OFD packet to send [05:39:44]OFD Sender: No OFD packet to send [05:39:49]OFD Sender: No OFD packet to send [05:39:54]OFD Sender: No OFD packet to send [05:39:59]OFD Sender: No OFD packet to send [05:40:04]OFD Sender: No OFD packet to send [05:40:09]OFD Sender: No OFD packet to send [05:40:14]OFD Sender: No OFD packet to send [05:40:19]OFD Sender: No OFD packet to send [05:40:24]OFD Sender: No OFD packet to send [05:40:29]OFD Sender: No OFD packet to send [05:40:34]OFD Sender: No OFD packet to send [05:40:39]OFD Sender: No OFD packet to send [05:40:44]OFD Sender: No OFD packet to send [05:40:49]OFD Sender: No OFD packet to send [05:40:54]OFD Sender: No OFD packet to send [05:40:59]OFD Sender: No OFD packet to send [05:41:04]OFD Sender: No OFD packet to send [05:41:09]OFD Sender: No OFD packet to send [05:41:14]OFD Sender: No OFD packet to send [05:41:19]OFD Sender: No OFD packet to send [05:41:24]OFD Sender: No OFD packet to send [05:41:29]OFD Sender: No OFD packet to send [05:41:34]OFD Sender: No OFD packet to send [05:41:39]OFD Sender: No OFD packet to send [05:41:44]OFD Sender: No OFD packet to send [05:41:49]OFD Sender: No OFD packet to send [05:41:54]OFD Sender: No OFD packet to send [05:41:59]OFD Sender: No OFD packet to send [05:42:04]OFD Sender: No OFD packet to send [05:42:09]OFD Sender: No OFD packet to send [05:42:14]OFD Sender: No OFD packet to send [05:42:19]OFD Sender: No OFD packet to send [05:42:24]OFD Sender: No OFD packet to send [05:42:29]OFD Sender: No OFD packet to send [05:42:34]OFD Sender: No OFD packet to send [05:42:39]OFD Sender: No OFD packet to send [05:42:44]OFD Sender: No OFD packet to send [05:42:49]OFD Sender: No OFD packet to send [05:42:54]OFD Sender: No OFD packet to send [05:42:59]OFD Sender: No OFD packet to send [05:43:04]OFD Sender: No OFD packet to send [05:43:09]OFD Sender: No OFD packet to send [05:43:14]OFD Sender: No OFD packet to send [05:43:19]OFD Sender: No OFD packet to send [05:43:24]OFD Sender: No OFD packet to send [05:43:29]OFD Sender: No OFD packet to send [05:43:34]OFD Sender: No OFD packet to send [05:43:39]OFD Sender: No OFD packet to send [05:43:44]OFD Sender: No OFD packet to send [05:43:49]OFD Sender: No OFD packet to send [05:43:54]OFD Sender: No OFD packet to send [05:43:59]OFD Sender: No OFD packet to send [05:44:04]OFD Sender: No OFD packet to send [05:44:09]OFD Sender: No OFD packet to send [05:44:14]OFD Sender: No OFD packet to send [05:44:20]OFD Sender: No OFD packet to send [05:44:25]OFD Sender: No OFD packet to send [05:44:30]OFD Sender: No OFD packet to send [05:44:35]OFD Sender: No OFD packet to send [05:44:40]OFD Sender: No OFD packet to send [05:44:45]OFD Sender: No OFD packet to send [05:44:50]OFD Sender: No OFD packet to send [05:44:55]OFD Sender: No OFD packet to send [05:45:00]OFD Sender: No OFD packet to send [05:45:05]OFD Sender: No OFD packet to send [05:45:10]OFD Sender: No OFD packet to send [05:45:15]OFD Sender: No OFD packet to send [05:45:20]OFD Sender: No OFD packet to send [05:45:25]OFD Sender: No OFD packet to send [05:45:30]OFD Sender: No OFD packet to send [05:45:35]OFD Sender: No OFD packet to send [05:45:40]OFD Sender: No OFD packet to send [05:45:45]OFD Sender: No OFD packet to send [05:45:50]OFD Sender: No OFD packet to send [05:45:55]OFD Sender: No OFD packet to send [05:46:00]OFD Sender: No OFD packet to send [05:46:05]OFD Sender: No OFD packet to send [05:46:10]OFD Sender: No OFD packet to send [05:46:15]OFD Sender: No OFD packet to send [05:46:20]OFD Sender: No OFD packet to send [05:46:25]OFD Sender: No OFD packet to send [05:46:30]OFD Sender: No OFD packet to send [05:46:35]OFD Sender: No OFD packet to send [05:46:40]OFD Sender: No OFD packet to send [05:46:45]OFD Sender: No OFD packet to send [05:46:50]OFD Sender: No OFD packet to send [05:46:55]OFD Sender: No OFD packet to send [05:47:00]OFD Sender: No OFD packet to send [05:47:05]OFD Sender: No OFD packet to send [05:47:10]OFD Sender: No OFD packet to send [05:47:15]OFD Sender: No OFD packet to send [05:47:20]OFD Sender: No OFD packet to send [05:47:25]OFD Sender: No OFD packet to send [05:47:30]OFD Sender: No OFD packet to send [05:47:35]OFD Sender: No OFD packet to send [05:47:40]OFD Sender: No OFD packet to send [05:47:45]OFD Sender: No OFD packet to send [05:47:50]OFD Sender: No OFD packet to send [05:47:55]OFD Sender: No OFD packet to send [05:48:00]OFD Sender: No OFD packet to send [05:48:05]OFD Sender: No OFD packet to send [05:48:10]OFD Sender: No OFD packet to send [05:48:15]OFD Sender: No OFD packet to send [05:48:20]OFD Sender: No OFD packet to send [05:48:25]OFD Sender: No OFD packet to send [05:48:30]OFD Sender: No OFD packet to send [05:48:35]OFD Sender: No OFD packet to send [05:48:40]OFD Sender: No OFD packet to send [05:48:45]OFD Sender: No OFD packet to send [05:48:50]OFD Sender: No OFD packet to send [05:48:55]OFD Sender: No OFD packet to send [05:49:00]OFD Sender: No OFD packet to send [05:49:05]OFD Sender: No OFD packet to send [05:49:10]OFD Sender: No OFD packet to send [05:49:15]OFD Sender: No OFD packet to send [05:49:20]OFD Sender: No OFD packet to send [05:49:25]OFD Sender: No OFD packet to send [05:49:30]OFD Sender: No OFD packet to send [05:49:35]OFD Sender: No OFD packet to send [05:49:40]OFD Sender: No OFD packet to send [05:49:45]OFD Sender: No OFD packet to send [05:49:50]OFD Sender: No OFD packet to send [05:49:55]OFD Sender: No OFD packet to send [05:50:00]OFD Sender: No OFD packet to send [05:50:05]OFD Sender: No OFD packet to send [05:50:10]OFD Sender: No OFD packet to send [05:50:15]OFD Sender: No OFD packet to send [05:50:20]OFD Sender: No OFD packet to send [05:50:25]OFD Sender: No OFD packet to send [05:50:30]OFD Sender: No OFD packet to send [05:50:35]OFD Sender: No OFD packet to send [05:50:40]OFD Sender: No OFD packet to send [05:50:45]OFD Sender: No OFD packet to send [05:50:50]OFD Sender: No OFD packet to send [05:50:55]OFD Sender: No OFD packet to send [05:51:00]OFD Sender: No OFD packet to send [05:51:05]OFD Sender: No OFD packet to send [05:51:10]OFD Sender: No OFD packet to send [05:51:15]OFD Sender: No OFD packet to send [05:51:20]OFD Sender: No OFD packet to send [05:51:25]OFD Sender: No OFD packet to send [05:51:30]OFD Sender: No OFD packet to send [05:51:35]OFD Sender: No OFD packet to send [05:51:40]OFD Sender: No OFD packet to send [05:51:45]OFD Sender: No OFD packet to send [05:51:50]OFD Sender: No OFD packet to send [05:51:55]OFD Sender: No OFD packet to send [05:52:00]OFD Sender: No OFD packet to send [05:52:05]OFD Sender: No OFD packet to send [05:52:10]OFD Sender: No OFD packet to send [05:52:15]OFD Sender: No OFD packet to send [05:52:20]OFD Sender: No OFD packet to send [05:52:25]OFD Sender: No OFD packet to send [05:52:30]OFD Sender: No OFD packet to send [05:52:35]OFD Sender: No OFD packet to send [05:52:40]OFD Sender: No OFD packet to send [05:52:45]OFD Sender: No OFD packet to send [05:52:50]OFD Sender: No OFD packet to send [05:52:55]OFD Sender: No OFD packet to send [05:53:00]OFD Sender: No OFD packet to send [05:53:05]OFD Sender: No OFD packet to send [05:53:10]OFD Sender: No OFD packet to send [05:53:15]OFD Sender: No OFD packet to send [05:53:20]OFD Sender: No OFD packet to send [05:53:25]OFD Sender: No OFD packet to send [05:53:30]OFD Sender: No OFD packet to send [05:53:35]OFD Sender: No OFD packet to send [05:53:40]OFD Sender: No OFD packet to send [05:53:45]OFD Sender: No OFD packet to send [05:53:50]OFD Sender: No OFD packet to send [05:53:55]OFD Sender: No OFD packet to send [05:54:00]OFD Sender: No OFD packet to send [05:54:05]OFD Sender: No OFD packet to send [05:54:10]OFD Sender: No OFD packet to send [05:54:15]OFD Sender: No OFD packet to send [05:54:20]OFD Sender: No OFD packet to send [05:54:25]OFD Sender: No OFD packet to send [05:54:30]OFD Sender: No OFD packet to send [05:54:35]OFD Sender: No OFD packet to send [05:54:40]OFD Sender: No OFD packet to send [05:54:45]OFD Sender: No OFD packet to send [05:54:50]OFD Sender: No OFD packet to send [05:54:55]OFD Sender: No OFD packet to send [05:55:00]OFD Sender: No OFD packet to send [05:55:05]OFD Sender: No OFD packet to send [05:55:10]OFD Sender: No OFD packet to send [05:55:15]OFD Sender: No OFD packet to send [05:55:20]OFD Sender: No OFD packet to send [05:55:25]OFD Sender: No OFD packet to send [05:55:30]OFD Sender: No OFD packet to send [05:55:35]OFD Sender: No OFD packet to send [05:55:40]OFD Sender: No OFD packet to send [05:55:45]OFD Sender: No OFD packet to send [05:55:50]OFD Sender: No OFD packet to send [05:55:55]OFD Sender: No OFD packet to send [05:56:00]OFD Sender: No OFD packet to send [05:56:05]OFD Sender: No OFD packet to send [05:56:10]OFD Sender: No OFD packet to send [05:56:15]OFD Sender: No OFD packet to send [05:56:20]OFD Sender: No OFD packet to send [05:56:25]OFD Sender: No OFD packet to send [05:56:30]OFD Sender: No OFD packet to send [05:56:35]OFD Sender: No OFD packet to send [05:56:40]OFD Sender: No OFD packet to send [05:56:45]OFD Sender: No OFD packet to send [05:56:50]OFD Sender: No OFD packet to send [05:56:55]OFD Sender: No OFD packet to send [05:57:00]OFD Sender: No OFD packet to send [05:57:05]OFD Sender: No OFD packet to send [05:57:10]OFD Sender: No OFD packet to send [05:57:15]OFD Sender: No OFD packet to send [05:57:20]OFD Sender: No OFD packet to send [05:57:25]OFD Sender: No OFD packet to send [05:57:30]OFD Sender: No OFD packet to send [05:57:35]OFD Sender: No OFD packet to send [05:57:40]OFD Sender: No OFD packet to send [05:57:45]OFD Sender: No OFD packet to send [05:57:50]OFD Sender: No OFD packet to send [05:57:55]OFD Sender: No OFD packet to send [05:58:00]OFD Sender: No OFD packet to send [05:58:05]OFD Sender: No OFD packet to send [05:58:10]OFD Sender: No OFD packet to send [05:58:15]OFD Sender: No OFD packet to send [05:58:20]OFD Sender: No OFD packet to send [05:58:25]OFD Sender: No OFD packet to send [05:58:30]OFD Sender: No OFD packet to send [05:58:35]OFD Sender: No OFD packet to send [05:58:40]OFD Sender: No OFD packet to send [05:58:45]OFD Sender: No OFD packet to send [05:58:50]OFD Sender: No OFD packet to send [05:58:55]OFD Sender: No OFD packet to send [05:59:00]OFD Sender: No OFD packet to send [05:59:05]OFD Sender: No OFD packet to send [05:59:10]OFD Sender: No OFD packet to send [05:59:15]OFD Sender: No OFD packet to send [05:59: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:27]OFD Sender: No OFD packet to send [06:14:32]OFD Sender: No OFD packet to send [06:14:37]OFD Sender: No OFD packet to send [06:14:42]OFD Sender: No OFD packet to send [06:14:47]OFD Sender: No OFD packet to send [06:14:52]OFD Sender: No OFD packet to send [06:14:57]OFD Sender: No OFD packet to send [06:15:02]OFD Sender: No OFD packet to send [06:15:07]OFD Sender: No OFD packet to send [06:15:12]OFD Sender: No OFD packet to send [06:15:17]OFD Sender: No OFD packet to send [06:15:22]OFD Sender: No OFD packet to send [06:15:27]OFD Sender: No OFD packet to send [06:15:32]OFD Sender: No OFD packet to send [06:15:37]OFD Sender: No OFD packet to send [06:15:42]OFD Sender: No OFD packet to send [06:15:47]OFD Sender: No OFD packet to send [06:15:52]OFD Sender: No OFD packet to send [06:15:57]OFD Sender: No OFD packet to send [06:16:02]OFD Sender: No OFD packet to send [06:16:07]OFD Sender: No OFD packet to send [06:16:12]OFD Sender: No OFD packet to send [06:16:17]OFD Sender: No OFD packet to send [06:16:22]OFD Sender: No OFD packet to send [06:16:27]OFD Sender: No OFD packet to send [06:16:32]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:18]OFD Sender: No OFD packet to send [06:29:23]OFD Sender: No OFD packet to send [06:29:28]OFD Sender: No OFD packet to send [06:29:33]OFD Sender: No OFD packet to send [06:29:38]OFD Sender: No OFD packet to send [06:29:43]OFD Sender: No OFD packet to send [06:29:48]OFD Sender: No OFD packet to send [06:29:53]OFD Sender: No OFD packet to send [06:29:58]OFD Sender: No OFD packet to send [06:30:03]OFD Sender: No OFD packet to send [06:30:08]OFD Sender: No OFD packet to send [06:30:13]OFD Sender: No OFD packet to send [06:30:18]OFD Sender: No OFD packet to send [06:30:23]OFD Sender: No OFD packet to send [06:30:28]OFD Sender: No OFD packet to send [06:30:33]OFD Sender: No OFD packet to send [06:30:38]OFD Sender: No OFD packet to send [06:30:43]OFD Sender: No OFD packet to send [06:30:48]OFD Sender: No OFD packet to send [06:30:53]OFD Sender: No OFD packet to send [06:30:58]OFD Sender: No OFD packet to send [06:31:03]OFD Sender: No OFD packet to send [06:31:08]OFD Sender: No OFD packet to send [06:31:13]OFD Sender: No OFD packet to send [06:31:18]OFD Sender: No OFD packet to send [06:31:23]OFD Sender: No OFD packet to send [06:31:28]OFD Sender: No OFD packet to send [06:31:33]OFD Sender: No OFD packet to send [06:31:38]OFD Sender: No OFD packet to send [06:31:43]OFD Sender: No OFD packet to send [06:31:48]OFD Sender: No OFD packet to send [06:31:53]OFD Sender: No OFD packet to send [06:31:58]OFD Sender: No OFD packet to send [06:32:03]OFD Sender: No OFD packet to send [06:32:08]OFD Sender: No OFD packet to send [06:32:13]OFD Sender: No OFD packet to send [06:32:18]OFD Sender: No OFD packet to send [06:32:23]OFD Sender: No OFD packet to send [06:32:28]OFD Sender: No OFD packet to send [06:32:33]OFD Sender: No OFD packet to send [06:32:38]OFD Sender: No OFD packet to send [06:32:43]OFD Sender: No OFD packet to send [06:32:48]OFD Sender: No OFD packet to send [06:32:53]OFD Sender: No OFD packet to send [06:32:58]OFD Sender: No OFD packet to send [06:33:03]OFD Sender: No OFD packet to send [06:33:08]OFD Sender: No OFD packet to send [06:33:13]OFD Sender: No OFD packet to send [06:33:18]OFD Sender: No OFD packet to send [06:33:23]OFD Sender: No OFD packet to send [06:33:28]OFD Sender: No OFD packet to send [06:33:33]OFD Sender: No OFD packet to send [06:33:38]OFD Sender: No OFD packet to send [06:33:43]OFD Sender: No OFD packet to send [06:33:48]OFD Sender: No OFD packet to send [06:33:53]OFD Sender: No OFD packet to send [06:33:58]OFD Sender: No OFD packet to send [06:34:03]OFD Sender: No OFD packet to send [06:34:08]OFD Sender: No OFD packet to send [06:34:13]OFD Sender: No OFD packet to send [06:34:18]OFD Sender: No OFD packet to send [06:34:23]OFD Sender: No OFD packet to send [06:34:28]OFD Sender: No OFD packet to send [06:34:33]OFD Sender: No OFD packet to send [06:34:38]OFD Sender: No OFD packet to send [06:34:43]OFD Sender: No OFD packet to send [06:34:48]OFD Sender: No OFD packet to send [06:34:53]OFD Sender: No OFD packet to send [06:34:58]OFD Sender: No OFD packet to send [06:35:03]OFD Sender: No OFD packet to send [06:35:08]OFD Sender: No OFD packet to send [06:35:13]OFD Sender: No OFD packet to send [06:35:18]OFD Sender: No OFD packet to send [06:35:23]OFD Sender: No OFD packet to send [06:35:28]OFD Sender: No OFD packet to send [06:35:33]OFD Sender: No OFD packet to send [06:35:38]OFD Sender: No OFD packet to send [06:35:43]OFD Sender: No OFD packet to send [06:35:48]OFD Sender: No OFD packet to send [06:35:53]OFD Sender: No OFD packet to send [06:35:58]OFD Sender: No OFD packet to send [06:36:03]OFD Sender: No OFD packet to send [06:36:08]OFD Sender: No OFD packet to send [06:36:13]OFD Sender: No OFD packet to send [06:36:18]OFD Sender: No OFD packet to send [06:36:23]OFD Sender: No OFD packet to send [06:36:28]OFD Sender: No OFD packet to send [06:36:33]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:19]OFD Sender: No OFD packet to send [06:44:24]OFD Sender: No OFD packet to send [06:44:29]OFD Sender: No OFD packet to send [06:44:34]OFD Sender: No OFD packet to send [06:44:39]OFD Sender: No OFD packet to send [06:44:44]OFD Sender: No OFD packet to send [06:44:49]OFD Sender: No OFD packet to send [06:44:54]OFD Sender: No OFD packet to send [06:44:59]OFD Sender: No OFD packet to send [06:45:04]OFD Sender: No OFD packet to send [06:45:09]OFD Sender: No OFD packet to send [06:45:14]OFD Sender: No OFD packet to send [06:45:19]OFD Sender: No OFD packet to send [06:45:24]OFD Sender: No OFD packet to send [06:45:29]OFD Sender: No OFD packet to send [06:45:34]OFD Sender: No OFD packet to send [06:45:39]OFD Sender: No OFD packet to send [06:45:44]OFD Sender: No OFD packet to send [06:45:49]OFD Sender: No OFD packet to send [06:45:54]OFD Sender: No OFD packet to send [06:45:59]OFD Sender: No OFD packet to send [06:46:04]OFD Sender: No OFD packet to send [06:46:09]OFD Sender: No OFD packet to send [06:46:14]OFD Sender: No OFD packet to send [06:46:19]OFD Sender: No OFD packet to send [06:46:24]OFD Sender: No OFD packet to send [06:46:29]OFD Sender: No OFD packet to send [06:46:34]OFD Sender: No OFD packet to send [06:46:39]OFD Sender: No OFD packet to send [06:46:44]OFD Sender: No OFD packet to send [06:46:49]OFD Sender: No OFD packet to send [06:46:54]OFD Sender: No OFD packet to send [06:46:59]OFD Sender: No OFD packet to send [06:47:04]OFD Sender: No OFD packet to send [06:47:09]OFD Sender: No OFD packet to send [06:47:14]OFD Sender: No OFD packet to send [06:47:19]OFD Sender: No OFD packet to send [06:47:24]OFD Sender: No OFD packet to send [06:47:29]OFD Sender: No OFD packet to send [06:47:34]OFD Sender: No OFD packet to send [06:47:39]OFD Sender: No OFD packet to send [06:47:44]OFD Sender: No OFD packet to send [06:47:49]OFD Sender: No OFD packet to send [06:47:54]OFD Sender: No OFD packet to send [06:47:59]OFD Sender: No OFD packet to send [06:48:04]OFD Sender: No OFD packet to send [06:48:09]OFD Sender: No OFD packet to send [06:48:14]OFD Sender: No OFD packet to send [06:48:19]OFD Sender: No OFD packet to send [06:48:24]OFD Sender: No OFD packet to send [06:48:29]OFD Sender: No OFD packet to send [06:48:34]OFD Sender: No OFD packet to send [06:48:39]OFD Sender: No OFD packet to send [06:48:44]OFD Sender: No OFD packet to send [06:48:49]OFD Sender: No OFD packet to send [06:48:54]OFD Sender: No OFD packet to send [06:48:59]OFD Sender: No OFD packet to send [06:49:04]OFD Sender: No OFD packet to send [06:49:09]OFD Sender: No OFD packet to send [06:49:14]OFD Sender: No OFD packet to send [06:49:19]OFD Sender: No OFD packet to send [06:49:24]OFD Sender: No OFD packet to send [06:49:29]OFD Sender: No OFD packet to send [06:49:34]OFD Sender: No OFD packet to send [06:49:39]OFD Sender: No OFD packet to send [06:49:44]OFD Sender: No OFD packet to send [06:49:49]OFD Sender: No OFD packet to send [06:49:54]OFD Sender: No OFD packet to send [06:49:59]OFD Sender: No OFD packet to send [06:50:04]OFD Sender: No OFD packet to send [06:50:09]OFD Sender: No OFD packet to send [06:50:14]OFD Sender: No OFD packet to send [06:50:19]OFD Sender: No OFD packet to send [06:50:24]OFD Sender: No OFD packet to send [06:50:29]OFD Sender: No OFD packet to send [06:50:34]OFD Sender: No OFD packet to send [06:50:39]OFD Sender: No OFD packet to send [06:50:44]OFD Sender: No OFD packet to send [06:50:49]OFD Sender: No OFD packet to send [06:50:54]OFD Sender: No OFD packet to send [06:50:59]OFD Sender: No OFD packet to send [06:51:04]OFD Sender: No OFD packet to send [06:51:09]OFD Sender: No OFD packet to send [06:51:14]OFD Sender: No OFD packet to send [06:51:19]OFD Sender: No OFD packet to send [06:51:24]OFD Sender: No OFD packet to send [06:51:29]OFD Sender: No OFD packet to send [06:51:34]OFD Sender: No OFD packet to send [06:51:39]OFD Sender: No OFD packet to send [06:51:44]OFD Sender: No OFD packet to send [06:51:49]OFD Sender: No OFD packet to send [06:51:54]OFD Sender: No OFD packet to send [06:51:59]OFD Sender: No OFD packet to send [06:52:04]OFD Sender: No OFD packet to send [06:52:09]OFD Sender: No OFD packet to send [06:52:14]OFD Sender: No OFD packet to send [06:52:19]OFD Sender: No OFD packet to send [06:52:24]OFD Sender: No OFD packet to send [06:52:29]OFD Sender: No OFD packet to send [06:52:34]OFD Sender: No OFD packet to send [06:52:39]OFD Sender: No OFD packet to send [06:52:44]OFD Sender: No OFD packet to send [06:52:49]OFD Sender: No OFD packet to send [06:52:54]OFD Sender: No OFD packet to send [06:52:59]OFD Sender: No OFD packet to send [06:53:04]OFD Sender: No OFD packet to send [06:53:09]OFD Sender: No OFD packet to send [06:53:14]OFD Sender: No OFD packet to send [06:53:19]OFD Sender: No OFD packet to send [06:53:24]OFD Sender: No OFD packet to send [06:53:29]OFD Sender: No OFD packet to send [06:53:34]OFD Sender: No OFD packet to send [06:53:39]OFD Sender: No OFD packet to send [06:53:44]OFD Sender: No OFD packet to send [06:53:49]OFD Sender: No OFD packet to send [06:53:54]OFD Sender: No OFD packet to send [06:53:59]OFD Sender: No OFD packet to send [06:54:04]OFD Sender: No OFD packet to send [06:54:09]OFD Sender: No OFD packet to send [06:54:14]OFD Sender: No OFD packet to send [06:54:19]OFD Sender: No OFD packet to send [06:54:24]OFD Sender: No OFD packet to send [06:54:29]OFD Sender: No OFD packet to send [06:54:34]OFD Sender: No OFD packet to send [06:54:39]OFD Sender: No OFD packet to send [06:54:44]OFD Sender: No OFD packet to send [06:54:49]OFD Sender: No OFD packet to send [06:54:54]OFD Sender: No OFD packet to send [06:54:59]OFD Sender: No OFD packet to send [06:55:04]OFD Sender: No OFD packet to send [06:55:09]OFD Sender: No OFD packet to send [06:55:14]OFD Sender: No OFD packet to send [06:55:19]OFD Sender: No OFD packet to send [06:55:24]OFD Sender: No OFD packet to send [06:55:29]OFD Sender: No OFD packet to send [06:55:34]OFD Sender: No OFD packet to send [06:55:39]OFD Sender: No OFD packet to send [06:55:44]OFD Sender: No OFD packet to send [06:55:49]OFD Sender: No OFD packet to send [06:55:54]OFD Sender: No OFD packet to send [06:55:59]OFD Sender: No OFD packet to send [06:56:04]OFD Sender: No OFD packet to send [06:56:09]OFD Sender: No OFD packet to send [06:56:14]OFD Sender: No OFD packet to send [06:56:19]OFD Sender: No OFD packet to send [06:56:24]OFD Sender: No OFD packet to send [06:56:29]OFD Sender: No OFD packet to send [06:56:34]OFD Sender: No OFD packet to send [06:56:39]OFD Sender: No OFD packet to send [06:56:44]OFD Sender: No OFD packet to send [06:56:49]OFD Sender: No OFD packet to send [06:56:54]OFD Sender: No OFD packet to send [06:56:59]OFD Sender: No OFD packet to send [06:57:04]OFD Sender: No OFD packet to send [06:57:09]OFD Sender: No OFD packet to send [06:57:14]OFD Sender: No OFD packet to send [06:57:19]OFD Sender: No OFD packet to send [06:57:24]OFD Sender: No OFD packet to send [06:57:29]OFD Sender: No OFD packet to send [06:57:34]OFD Sender: No OFD packet to send [06:57:39]OFD Sender: No OFD packet to send [06:57:44]OFD Sender: No OFD packet to send [06:57:49]OFD Sender: No OFD packet to send [06:57:54]OFD Sender: No OFD packet to send [06:57:59]OFD Sender: No OFD packet to send [06:58:04]OFD Sender: No OFD packet to send [06:58:09]OFD Sender: No OFD packet to send [06:58:14]OFD Sender: No OFD packet to send [06:58:19]OFD Sender: No OFD packet to send [06:58:24]OFD Sender: No OFD packet to send [06:58:29]OFD Sender: No OFD packet to send [06:58:34]OFD Sender: No OFD packet to send [06:58:39]OFD Sender: No OFD packet to send [06:58:44]OFD Sender: No OFD packet to send [06:58:49]OFD Sender: No OFD packet to send [06:58:54]OFD Sender: No OFD packet to send [06:58:59]OFD Sender: No OFD packet to send [06:59:04]OFD Sender: No OFD packet to send [06:59:10]OFD Sender: No OFD packet to send [06:59:15]OFD Sender: No OFD packet to send [06:59:20]OFD Sender: No OFD packet to send [06:59:25]OFD Sender: No OFD packet to send [06:59:30]OFD Sender: No OFD packet to send [06:59:35]OFD Sender: No OFD packet to send [06:59:40]OFD Sender: No OFD packet to send [06:59:45]OFD Sender: No OFD packet to send [06:59:50]OFD Sender: No OFD packet to send [06:59:55]OFD Sender: No OFD packet to send [07:00:00]OFD Sender: No OFD packet to send [07:00:05]OFD Sender: No OFD packet to send [07:00:10]OFD Sender: No OFD packet to send [07:00:15]OFD Sender: No OFD packet to send [07:00:20]OFD Sender: No OFD packet to send [07:00:25]OFD Sender: No OFD packet to send [07:00:30]OFD Sender: No OFD packet to send [07:00:35]OFD Sender: No OFD packet to send [07:00:40]OFD Sender: No OFD packet to send [07:00:45]OFD Sender: No OFD packet to send [07:00:50]OFD Sender: No OFD packet to send [07:00:55]OFD Sender: No OFD packet to send [07:01:00]OFD Sender: No OFD packet to send [07:01:05]OFD Sender: No OFD packet to send [07:01:10]OFD Sender: No OFD packet to send [07:01:15]OFD Sender: No OFD packet to send [07:01:20]OFD Sender: No OFD packet to send [07:01:25]OFD Sender: No OFD packet to send [07:01:30]OFD Sender: No OFD packet to send [07:01:35]OFD Sender: No OFD packet to send [07:01:40]OFD Sender: No OFD packet to send [07:01:45]OFD Sender: No OFD packet to send [07:01:50]OFD Sender: No OFD packet to send [07:01:55]OFD Sender: No OFD packet to send [07:02:00]OFD Sender: No OFD packet to send [07:02:05]OFD Sender: No OFD packet to send [07:02:10]OFD Sender: No OFD packet to send [07:02:15]OFD Sender: No OFD packet to send [07:02:20]OFD Sender: No OFD packet to send [07:02:25]OFD Sender: No OFD packet to send [07:02:30]OFD Sender: No OFD packet to send [07:02:35]OFD Sender: No OFD packet to send [07:02:40]OFD Sender: No OFD packet to send [07:02:45]OFD Sender: No OFD packet to send [07:02:50]OFD Sender: No OFD packet to send [07:02:55]OFD Sender: No OFD packet to send [07:03:00]OFD Sender: No OFD packet to send [07:03:05]OFD Sender: No OFD packet to send [07:03:10]OFD Sender: No OFD packet to send [07:03:15]OFD Sender: No OFD packet to send [07:03:20]OFD Sender: No OFD packet to send [07:03:25]OFD Sender: No OFD packet to send [07:03:30]OFD Sender: No OFD packet to send [07:03:35]OFD Sender: No OFD packet to send [07:03:40]OFD Sender: No OFD packet to send [07:03:45]OFD Sender: No OFD packet to send [07:03:50]OFD Sender: No OFD packet to send [07:03:55]OFD Sender: No OFD packet to send [07:04:00]OFD Sender: No OFD packet to send [07:04:05]OFD Sender: No OFD packet to send [07:04:10]OFD Sender: No OFD packet to send [07:04:15]OFD Sender: No OFD packet to send [07:04:20]OFD Sender: No OFD packet to send [07:04:25]OFD Sender: No OFD packet to send [07:04:30]OFD Sender: No OFD packet to send [07:04:35]OFD Sender: No OFD packet to send [07:04:40]OFD Sender: No OFD packet to send [07:04:45]OFD Sender: No OFD packet to send [07:04:50]OFD Sender: No OFD packet to send [07:04:55]OFD Sender: No OFD packet to send [07:05:00]OFD Sender: No OFD packet to send [07:05:05]OFD Sender: No OFD packet to send [07:05:10]OFD Sender: No OFD packet to send [07:05:15]OFD Sender: No OFD packet to send [07:05:20]OFD Sender: No OFD packet to send [07:05:25]OFD Sender: No OFD packet to send [07:05:30]OFD Sender: No OFD packet to send [07:05:35]OFD Sender: No OFD packet to send [07:05:40]OFD Sender: No OFD packet to send [07:05:45]OFD Sender: No OFD packet to send [07:05:50]OFD Sender: No OFD packet to send [07:05:55]OFD Sender: No OFD packet to send [07:06:00]OFD Sender: No OFD packet to send [07:06:05]OFD Sender: No OFD packet to send [07:06:10]OFD Sender: No OFD packet to send [07:06:15]OFD Sender: No OFD packet to send [07:06:20]OFD Sender: No OFD packet to send [07:06:25]OFD Sender: No OFD packet to send [07:06:30]OFD Sender: No OFD packet to send [07:06:35]OFD Sender: No OFD packet to send [07:06:40]OFD Sender: No OFD packet to send [07:06:45]OFD Sender: No OFD packet to send [07:06:50]OFD Sender: No OFD packet to send [07:06:55]OFD Sender: No OFD packet to send [07:07:00]OFD Sender: No OFD packet to send [07:07:05]OFD Sender: No OFD packet to send [07:07:10]OFD Sender: No OFD packet to send [07:07:15]OFD Sender: No OFD packet to send [07:07:20]OFD Sender: No OFD packet to send [07:07:25]OFD Sender: No OFD packet to send [07:07:30]OFD Sender: No OFD packet to send [07:07:35]OFD Sender: No OFD packet to send [07:07:40]OFD Sender: No OFD packet to send [07:07:45]OFD Sender: No OFD packet to send [07:07:50]OFD Sender: No OFD packet to send [07:07:55]OFD Sender: No OFD packet to send [07:08:00]OFD Sender: No OFD packet to send [07:08:05]OFD Sender: No OFD packet to send [07:08:10]OFD Sender: No OFD packet to send [07:08:15]OFD Sender: No OFD packet to send [07:08:20]OFD Sender: No OFD packet to send [07:08:25]OFD Sender: No OFD packet to send [07:08:30]OFD Sender: No OFD packet to send [07:08:35]OFD Sender: No OFD packet to send [07:08:40]OFD Sender: No OFD packet to send [07:08:45]OFD Sender: No OFD packet to send [07:08:50]OFD Sender: No OFD packet to send [07:08:55]OFD Sender: No OFD packet to send [07:09:00]OFD Sender: No OFD packet to send [07:09:05]OFD Sender: No OFD packet to send [07:09:10]OFD Sender: No OFD packet to send [07:09:15]OFD Sender: No OFD packet to send [07:09:20]OFD Sender: No OFD packet to send [07:09:25]OFD Sender: No OFD packet to send [07:09:30]OFD Sender: No OFD packet to send [07:09:35]OFD Sender: No OFD packet to send [07:09:40]OFD Sender: No OFD packet to send [07:09:45]OFD Sender: No OFD packet to send [07:09:50]OFD Sender: No OFD packet to send [07:09:55]OFD Sender: No OFD packet to send [07:10:00]OFD Sender: No OFD packet to send [07:10:05]OFD Sender: No OFD packet to send [07:10:10]OFD Sender: No OFD packet to send [07:10:15]OFD Sender: No OFD packet to send [07:10:20]OFD Sender: No OFD packet to send [07:10:25]OFD Sender: No OFD packet to send [07:10:30]OFD Sender: No OFD packet to send [07:10:35]OFD Sender: No OFD packet to send [07:10:40]OFD Sender: No OFD packet to send [07:10:45]OFD Sender: No OFD packet to send [07:10:50]OFD Sender: No OFD packet to send [07:10:55]OFD Sender: No OFD packet to send [07:11:00]OFD Sender: No OFD packet to send [07:11:05]OFD Sender: No OFD packet to send [07:11:10]OFD Sender: No OFD packet to send [07:11:15]OFD Sender: No OFD packet to send [07:11:20]OFD Sender: No OFD packet to send [07:11:25]OFD Sender: No OFD packet to send [07:11:30]OFD Sender: No OFD packet to send [07:11:35]OFD Sender: No OFD packet to send [07:11:40]OFD Sender: No OFD packet to send [07:11:45]OFD Sender: No OFD packet to send [07:11:50]OFD Sender: No OFD packet to send [07:11:55]OFD Sender: No OFD packet to send [07:12:00]OFD Sender: No OFD packet to send [07:12:05]OFD Sender: No OFD packet to send [07:12:10]OFD Sender: No OFD packet to send [07:12:15]OFD Sender: No OFD packet to send [07:12:20]OFD Sender: No OFD packet to send [07:12:25]OFD Sender: No OFD packet to send [07:12:30]OFD Sender: No OFD packet to send [07:12:35]OFD Sender: No OFD packet to send [07:12:40]OFD Sender: No OFD packet to send [07:12:45]OFD Sender: No OFD packet to send [07:12:50]OFD Sender: No OFD packet to send [07:12:55]OFD Sender: No OFD packet to send [07:13:00]OFD Sender: No OFD packet to send [07:13:05]OFD Sender: No OFD packet to send [07:13:10]OFD Sender: No OFD packet to send [07:13:15]OFD Sender: No OFD packet to send [07:13:20]OFD Sender: No OFD packet to send [07:13:25]OFD Sender: No OFD packet to send [07:13:30]OFD Sender: No OFD packet to send [07:13:35]OFD Sender: No OFD packet to send [07:13:40]OFD Sender: No OFD packet to send [07:13:45]OFD Sender: No OFD packet to send [07:13:50]OFD Sender: No OFD packet to send [07:13:55]OFD Sender: No OFD packet to send [07:14:00]OFD Sender: No OFD packet to send [07:14:05]OFD Sender: No OFD packet to send [07:14:11]OFD Sender: No OFD packet to send [07:14:16]OFD Sender: No OFD packet to send [07:14:21]OFD Sender: No OFD packet to send [07:14:26]OFD Sender: No OFD packet to send [07:14:31]OFD Sender: No OFD packet to send [07:14:36]OFD Sender: No OFD packet to send [07:14:41]OFD Sender: No OFD packet to send [07:14:46]OFD Sender: No OFD packet to send [07:14:51]OFD Sender: No OFD packet to send [07:14:56]OFD Sender: No OFD packet to send [07:15:01]OFD Sender: No OFD packet to send [07:15:06]OFD Sender: No OFD packet to send [07:15:11]OFD Sender: No OFD packet to send [07:15:16]OFD Sender: No OFD packet to send [07:15:21]OFD Sender: No OFD packet to send [07:15:26]OFD Sender: No OFD packet to send [07:15:31]OFD Sender: No OFD packet to send [07:15:36]OFD Sender: No OFD packet to send [07:15:41]OFD Sender: No OFD packet to send [07:15:46]OFD Sender: No OFD packet to send [07:15:51]OFD Sender: No OFD packet to send [07:15:56]OFD Sender: No OFD packet to send [07:16:01]OFD Sender: No OFD packet to send [07:16:06]OFD Sender: No OFD packet to send [07:16:11]OFD Sender: No OFD packet to send [07:16:16]OFD Sender: No OFD packet to send [07:16:21]OFD Sender: No OFD packet to send [07:16:26]OFD Sender: No OFD packet to send [07:16:31]OFD Sender: No OFD packet to send [07:16:36]OFD Sender: No OFD packet to send [07:16:41]OFD Sender: No OFD packet to send [07:16:46]OFD Sender: No OFD packet to send [07:16:51]OFD Sender: No OFD packet to send [07:16:56]OFD Sender: No OFD packet to send [07:17:01]OFD Sender: No OFD packet to send [07:17:06]OFD Sender: No OFD packet to send [07:17:11]OFD Sender: No OFD packet to send [07:17:16]OFD Sender: No OFD packet to send [07:17:21]OFD Sender: No OFD packet to send [07:17:26]OFD Sender: No OFD packet to send [07:17:31]OFD Sender: No OFD packet to send [07:17:36]OFD Sender: No OFD packet to send [07:17:41]OFD Sender: No OFD packet to send [07:17:46]OFD Sender: No OFD packet to send [07:17:51]OFD Sender: No OFD packet to send [07:17:56]OFD Sender: No OFD packet to send [07:18:01]OFD Sender: No OFD packet to send [07:18:06]OFD Sender: No OFD packet to send [07:18:11]OFD Sender: No OFD packet to send [07:18:16]OFD Sender: No OFD packet to send [07:18:21]OFD Sender: No OFD packet to send [07:18:26]OFD Sender: No OFD packet to send [07:18:31]OFD Sender: No OFD packet to send [07:18:36]OFD Sender: No OFD packet to send [07:18:41]OFD Sender: No OFD packet to send [07:18:46]OFD Sender: No OFD packet to send [07:18:51]OFD Sender: No OFD packet to send [07:18:56]OFD Sender: No OFD packet to send [07:19:01]OFD Sender: No OFD packet to send [07:19:06]OFD Sender: No OFD packet to send [07:19:11]OFD Sender: No OFD packet to send [07:19:16]OFD Sender: No OFD packet to send [07:19:21]OFD Sender: No OFD packet to send [07:19:26]OFD Sender: No OFD packet to send [07:19:31]OFD Sender: No OFD packet to send [07:19:36]OFD Sender: No OFD packet to send [07:19:41]OFD Sender: No OFD packet to send [07:19:46]OFD Sender: No OFD packet to send [07:19:51]OFD Sender: No OFD packet to send [07:19:56]OFD Sender: No OFD packet to send [07:20:01]OFD Sender: No OFD packet to send [07:20:06]OFD Sender: No OFD packet to send [07:20:11]OFD Sender: No OFD packet to send [07:20:16]OFD Sender: No OFD packet to send [07:20:21]OFD Sender: No OFD packet to send [07:20:26]OFD Sender: No OFD packet to send [07:20:31]OFD Sender: No OFD packet to send [07:20:36]OFD Sender: No OFD packet to send [07:20:41]OFD Sender: No OFD packet to send [07:20:46]OFD Sender: No OFD packet to send [07:20:51]OFD Sender: No OFD packet to send [07:20:56]OFD Sender: No OFD packet to send [07:21:01]OFD Sender: No OFD packet to send [07:21:06]OFD Sender: No OFD packet to send [07:21:11]OFD Sender: No OFD packet to send [07:21:16]OFD Sender: No OFD packet to send [07:21:21]OFD Sender: No OFD packet to send [07:21:26]OFD Sender: No OFD packet to send [07:21:31]OFD Sender: No OFD packet to send [07:21:36]OFD Sender: No OFD packet to send [07:21:41]OFD Sender: No OFD packet to send [07:21:46]OFD Sender: No OFD packet to send [07:21:51]OFD Sender: No OFD packet to send [07:21:56]OFD Sender: No OFD packet to send [07:22:01]OFD Sender: No OFD packet to send [07:22:06]OFD Sender: No OFD packet to send [07:22:11]OFD Sender: No OFD packet to send [07:22:16]OFD Sender: No OFD packet to send [07:22:21]OFD Sender: No OFD packet to send [07:22:26]OFD Sender: No OFD packet to send [07:22:31]OFD Sender: No OFD packet to send [07:22:36]OFD Sender: No OFD packet to send [07:22:41]OFD Sender: No OFD packet to send [07:22:46]OFD Sender: No OFD packet to send [07:22:51]OFD Sender: No OFD packet to send [07:22:56]OFD Sender: No OFD packet to send [07:23:01]OFD Sender: No OFD packet to send [07:23:06]OFD Sender: No OFD packet to send [07:23:11]OFD Sender: No OFD packet to send [07:23:16]OFD Sender: No OFD packet to send [07:23:21]OFD Sender: No OFD packet to send [07:23:26]OFD Sender: No OFD packet to send [07:23:31]OFD Sender: No OFD packet to send [07:23:36]OFD Sender: No OFD packet to send [07:23:41]OFD Sender: No OFD packet to send [07:23:46]OFD Sender: No OFD packet to send [07:23:51]OFD Sender: No OFD packet to send [07:23:56]OFD Sender: No OFD packet to send [07:24:01]OFD Sender: No OFD packet to send [07:24:06]OFD Sender: No OFD packet to send [07:24:11]OFD Sender: No OFD packet to send [07:24:16]OFD Sender: No OFD packet to send [07:24:21]OFD Sender: No OFD packet to send [07:24:26]OFD Sender: No OFD packet to send [07:24:31]OFD Sender: No OFD packet to send [07:24:36]OFD Sender: No OFD packet to send [07:24:41]OFD Sender: No OFD packet to send [07:24:46]OFD Sender: No OFD packet to send [07:24:51]OFD Sender: No OFD packet to send [07:24:56]OFD Sender: No OFD packet to send [07:25:01]OFD Sender: No OFD packet to send [07:25:06]OFD Sender: No OFD packet to send [07:25:11]OFD Sender: No OFD packet to send [07:25:16]OFD Sender: No OFD packet to send [07:25:21]OFD Sender: No OFD packet to send [07:25:26]OFD Sender: No OFD packet to send [07:25:31]OFD Sender: No OFD packet to send [07:25:36]OFD Sender: No OFD packet to send [07:25:41]OFD Sender: No OFD packet to send [07:25:46]OFD Sender: No OFD packet to send [07:25:51]OFD Sender: No OFD packet to send [07:25:56]OFD Sender: No OFD packet to send [07:26:01]OFD Sender: No OFD packet to send [07:26:06]OFD Sender: No OFD packet to send [07:26:11]OFD Sender: No OFD packet to send [07:26:16]OFD Sender: No OFD packet to send [07:26:21]OFD Sender: No OFD packet to send [07:26:26]OFD Sender: No OFD packet to send [07:26:31]OFD Sender: No OFD packet to send [07:26:36]OFD Sender: No OFD packet to send [07:26:41]OFD Sender: No OFD packet to send [07:26:46]OFD Sender: No OFD packet to send [07:26:51]OFD Sender: No OFD packet to send [07:26:56]OFD Sender: No OFD packet to send [07:27:01]OFD Sender: No OFD packet to send [07:27:06]OFD Sender: No OFD packet to send [07:27:11]OFD Sender: No OFD packet to send [07:27:16]OFD Sender: No OFD packet to send [07:27:21]OFD Sender: No OFD packet to send [07:27:26]OFD Sender: No OFD packet to send [07:27:31]OFD Sender: No OFD packet to send [07:27:36]OFD Sender: No OFD packet to send [07:27:41]OFD Sender: No OFD packet to send [07:27:46]OFD Sender: No OFD packet to send [07:27:51]OFD Sender: No OFD packet to send [07:27:56]OFD Sender: No OFD packet to send [07:28:01]OFD Sender: No OFD packet to send [07:28:06]OFD Sender: No OFD packet to send [07:28:11]OFD Sender: No OFD packet to send [07:28:16]OFD Sender: No OFD packet to send [07:28:21]OFD Sender: No OFD packet to send [07:28:26]OFD Sender: No OFD packet to send [07:28:31]OFD Sender: No OFD packet to send [07:28:36]OFD Sender: No OFD packet to send [07:28:41]OFD Sender: No OFD packet to send [07:28:46]OFD Sender: No OFD packet to send [07:28:51]OFD Sender: No OFD packet to send [07:28:56]OFD Sender: No OFD packet to send [07:29:01]OFD Sender: No OFD packet to send [07:29:06]OFD Sender: No OFD packet to send [07:29:12]OFD Sender: No OFD packet to send [07:29:17]OFD Sender: No OFD packet to send [07:29:22]OFD Sender: No OFD packet to send [07:29:27]OFD Sender: No OFD packet to send [07:29:32]OFD Sender: No OFD packet to send [07:29:37]OFD Sender: No OFD packet to send [07:29:42]OFD Sender: No OFD packet to send [07:29:47]OFD Sender: No OFD packet to send [07:29:52]OFD Sender: No OFD packet to send [07:29:57]OFD Sender: No OFD packet to send [07:30:02]OFD Sender: No OFD packet to send [07:30:07]OFD Sender: No OFD packet to send [07:30:12]OFD Sender: No OFD packet to send [07:30:17]OFD Sender: No OFD packet to send [07:30:22]OFD Sender: No OFD packet to send [07:30:27]OFD Sender: No OFD packet to send [07:30:32]OFD Sender: No OFD packet to send [07:30:37]OFD Sender: No OFD packet to send [07:30:42]OFD Sender: No OFD packet to send [07:30:47]OFD Sender: No OFD packet to send [07:30:52]OFD Sender: No OFD packet to send [07:30:57]OFD Sender: No OFD packet to send [07:31:02]OFD Sender: No OFD packet to send [07:31:07]OFD Sender: No OFD packet to send [07:31:12]OFD Sender: No OFD packet to send [07:31:17]OFD Sender: No OFD packet to send [07:31:22]OFD Sender: No OFD packet to send [07:31:27]OFD Sender: No OFD packet to send [07:31:32]OFD Sender: No OFD packet to send [07:31:37]OFD Sender: No OFD packet to send [07:31:42]OFD Sender: No OFD packet to send [07:31:47]OFD Sender: No OFD packet to send [07:31:52]OFD Sender: No OFD packet to send [07:31:57]OFD Sender: No OFD packet to send [07:32:02]OFD Sender: No OFD packet to send [07:32:07]OFD Sender: No OFD packet to send [07:32:12]OFD Sender: No OFD packet to send [07:32:17]OFD Sender: No OFD packet to send [07:32:22]OFD Sender: No OFD packet to send [07:32:27]OFD Sender: No OFD packet to send [07:32:32]OFD Sender: No OFD packet to send [07:32:37]OFD Sender: No OFD packet to send [07:32:42]OFD Sender: No OFD packet to send [07:32:47]OFD Sender: No OFD packet to send [07:32:52]OFD Sender: No OFD packet to send [07:32:57]OFD Sender: No OFD packet to send [07:33:02]OFD Sender: No OFD packet to send [07:33:07]OFD Sender: No OFD packet to send [07:33:12]OFD Sender: No OFD packet to send [07:33:17]OFD Sender: No OFD packet to send [07:33:22]OFD Sender: No OFD packet to send [07:33:27]OFD Sender: No OFD packet to send [07:33:32]OFD Sender: No OFD packet to send [07:33:37]OFD Sender: No OFD packet to send [07:33:42]OFD Sender: No OFD packet to send [07:33:47]OFD Sender: No OFD packet to send [07:33:52]OFD Sender: No OFD packet to send [07:33:57]OFD Sender: No OFD packet to send [07:34:02]OFD Sender: No OFD packet to send [07:34:07]OFD Sender: No OFD packet to send [07:34:12]OFD Sender: No OFD packet to send [07:34:17]OFD Sender: No OFD packet to send [07:34:22]OFD Sender: No OFD packet to send [07:34:27]OFD Sender: No OFD packet to send [07:34:32]OFD Sender: No OFD packet to send [07:34:37]OFD Sender: No OFD packet to send [07:34:42]OFD Sender: No OFD packet to send [07:34:47]OFD Sender: No OFD packet to send [07:34:52]OFD Sender: No OFD packet to send [07:34:57]OFD Sender: No OFD packet to send [07:35:02]OFD Sender: No OFD packet to send [07:35:07]OFD Sender: No OFD packet to send [07:35:12]OFD Sender: No OFD packet to send [07:35:17]OFD Sender: No OFD packet to send [07:35:22]OFD Sender: No OFD packet to send [07:35:27]OFD Sender: No OFD packet to send [07:35:32]OFD Sender: No OFD packet to send [07:35:37]OFD Sender: No OFD packet to send [07:35:42]OFD Sender: No OFD packet to send [07:35:47]OFD Sender: No OFD packet to send [07:35:52]OFD Sender: No OFD packet to send [07:35:57]OFD Sender: No OFD packet to send [07:36:02]OFD Sender: No OFD packet to send [07:36:07]OFD Sender: No OFD packet to send [07:36:12]OFD Sender: No OFD packet to send [07:36:17]OFD Sender: No OFD packet to send [07:36:22]OFD Sender: No OFD packet to send [07:36:27]OFD Sender: No OFD packet to send [07:36:32]OFD Sender: No OFD packet to send [07:36:37]OFD Sender: No OFD packet to send [07:36:42]OFD Sender: No OFD packet to send [07:36:47]OFD Sender: No OFD packet to send [07:36:52]OFD Sender: No OFD packet to send [07:36:57]OFD Sender: No OFD packet to send [07:37:02]OFD Sender: No OFD packet to send [07:37:07]OFD Sender: No OFD packet to send [07:37:12]OFD Sender: No OFD packet to send [07:37:17]OFD Sender: No OFD packet to send [07:37:22]OFD Sender: No OFD packet to send [07:37:27]OFD Sender: No OFD packet to send [07:37:32]OFD Sender: No OFD packet to send [07:37:37]OFD Sender: No OFD packet to send [07:37:42]OFD Sender: No OFD packet to send [07:37:47]OFD Sender: No OFD packet to send [07:37:52]OFD Sender: No OFD packet to send [07:37:57]OFD Sender: No OFD packet to send [07:38:02]OFD Sender: No OFD packet to send [07:38:07]OFD Sender: No OFD packet to send [07:38:12]OFD Sender: No OFD packet to send [07:38:17]OFD Sender: No OFD packet to send [07:38:22]OFD Sender: No OFD packet to send [07:38:27]OFD Sender: No OFD packet to send [07:38:32]OFD Sender: No OFD packet to send [07:38:37]OFD Sender: No OFD packet to send [07:38:42]OFD Sender: No OFD packet to send [07:38: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:03]OFD Sender: No OFD packet to send [07:44:08]OFD Sender: No OFD packet to send [07:44:13]OFD Sender: No OFD packet to send [07:44:18]OFD Sender: No OFD packet to send [07:44:23]OFD Sender: No OFD packet to send [07:44:28]OFD Sender: No OFD packet to send [07:44:33]OFD Sender: No OFD packet to send [07:44:38]OFD Sender: No OFD packet to send [07:44:43]OFD Sender: No OFD packet to send [07:44:48]OFD Sender: No OFD packet to send [07:44:53]OFD Sender: No OFD packet to send [07:44:58]OFD Sender: No OFD packet to send [07:45:03]OFD Sender: No OFD packet to send [07:45:08]OFD Sender: No OFD packet to send [07:45:13]OFD Sender: No OFD packet to send [07:45:18]OFD Sender: No OFD packet to send [07:45:23]OFD Sender: No OFD packet to send [07:45:28]OFD Sender: No OFD packet to send [07:45:33]OFD Sender: No OFD packet to send [07:45:38]OFD Sender: No OFD packet to send [07:45:43]OFD Sender: No OFD packet to send [07:45:48]OFD Sender: No OFD packet to send [07:45:53]OFD Sender: No OFD packet to send [07:45:58]OFD Sender: No OFD packet to send [07:46:03]OFD Sender: No OFD packet to send [07:46:08]OFD Sender: No OFD packet to send [07:46:13]OFD Sender: No OFD packet to send [07:46:18]OFD Sender: No OFD packet to send [07:46:23]OFD Sender: No OFD packet to send [07:46:28]OFD Sender: No OFD packet to send [07:46:33]OFD Sender: No OFD packet to send [07:46:38]OFD Sender: No OFD packet to send [07:46:43]OFD Sender: No OFD packet to send [07:46:48]OFD Sender: No OFD packet to send [07:46:53]OFD Sender: No OFD packet to send [07:46:58]OFD Sender: No OFD packet to send [07:47:03]OFD Sender: No OFD packet to send [07:47:08]OFD Sender: No OFD packet to send [07:47:13]OFD Sender: No OFD packet to send [07:47: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:48]OFD Sender: No OFD packet to send [07:50:53]OFD Sender: No OFD packet to send [07:50:58]OFD Sender: No OFD packet to send [07:51:03]OFD Sender: No OFD packet to send [07:51:08]OFD Sender: No OFD packet to send [07:51:13]OFD Sender: No OFD packet to send [07:51:18]OFD Sender: No OFD packet to send [07:51:23]OFD Sender: No OFD packet to send [07:51:28]OFD Sender: No OFD packet to send [07:51:33]OFD Sender: No OFD packet to send [07:51:38]OFD Sender: No OFD packet to send [07:51:43]OFD Sender: No OFD packet to send [07:51:48]OFD Sender: No OFD packet to send [07:51:53]OFD Sender: No OFD packet to send [07:51:58]OFD Sender: No OFD packet to send [07:52:03]OFD Sender: No OFD packet to send [07:52:08]OFD Sender: No OFD packet to send [07:52:13]OFD Sender: No OFD packet to send [07:52:18]OFD Sender: No OFD packet to send [07:52:23]OFD Sender: No OFD packet to send [07:52:28]OFD Sender: No OFD packet to send [07:52:33]OFD Sender: No OFD packet to send [07:52:38]OFD Sender: No OFD packet to send [07:52:43]OFD Sender: No OFD packet to send [07:52:48]OFD Sender: No OFD packet to send [07:52:53]OFD Sender: No OFD packet to send [07:52:58]OFD Sender: No OFD packet to send [07:53:03]OFD Sender: No OFD packet to send [07:53:08]OFD Sender: No OFD packet to send [07:53:13]OFD Sender: No OFD packet to send [07:53:18]OFD Sender: No OFD packet to send [07:53:23]OFD Sender: No OFD packet to send [07:53:28]OFD Sender: No OFD packet to send [07:53:33]OFD Sender: No OFD packet to send [07:53:38]OFD Sender: No OFD packet to send [07:53:43]OFD Sender: No OFD packet to send [07:53:48]OFD Sender: No OFD packet to send [07:53:53]OFD Sender: No OFD packet to send [07:53:58]OFD Sender: No OFD packet to send [07:54:03]OFD Sender: No OFD packet to send [07:54:08]OFD Sender: No OFD packet to send [07:54:13]OFD Sender: No OFD packet to send [07:54:18]OFD Sender: No OFD packet to send [07:54:23]OFD Sender: No OFD packet to send [07:54:28]OFD Sender: No OFD packet to send [07:54:33]OFD Sender: No OFD packet to send [07:54:38]OFD Sender: No OFD packet to send [07:54:43]OFD Sender: No OFD packet to send [07:54:48]OFD Sender: No OFD packet to send [07:54:53]OFD Sender: No OFD packet to send [07:54:58]OFD Sender: No OFD packet to send [07:55:03]OFD Sender: No OFD packet to send [07:55:08]OFD Sender: No OFD packet to send [07:55:13]OFD Sender: No OFD packet to send [07:55:18]OFD Sender: No OFD packet to send [07:55:23]OFD Sender: No OFD packet to send [07:55:28]OFD Sender: No OFD packet to send [07:55:33]OFD Sender: No OFD packet to send [07:55:38]OFD Sender: No OFD packet to send [07:55:43]OFD Sender: No OFD packet to send [07:55:48]OFD Sender: No OFD packet to send [07:55:53]OFD Sender: No OFD packet to send [07:55:58]OFD Sender: No OFD packet to send [07:56:03]OFD Sender: No OFD packet to send [07:56:08]OFD Sender: No OFD packet to send [07:56:13]OFD Sender: No OFD packet to send [07:56:18]OFD Sender: No OFD packet to send [07:56:23]OFD Sender: No OFD packet to send [07:56:28]OFD Sender: No OFD packet to send [07:56:33]OFD Sender: No OFD packet to send [07:56:38]OFD Sender: No OFD packet to send [07:56:43]OFD Sender: No OFD packet to send [07:56:48]OFD Sender: No OFD packet to send [07:56:53]OFD Sender: No OFD packet to send [07:56:58]OFD Sender: No OFD packet to send [07:57:03]OFD Sender: No OFD packet to send [07:57:08]OFD Sender: No OFD packet to send [07:57:13]OFD Sender: No OFD packet to send [07:57:18]OFD Sender: No OFD packet to send [07:57:23]OFD Sender: No OFD packet to send [07:57:28]OFD Sender: No OFD packet to send [07:57:33]OFD Sender: No OFD packet to send [07:57:38]OFD Sender: No OFD packet to send [07:57:43]OFD Sender: No OFD packet to send [07:57:48]OFD Sender: No OFD packet to send [07:57:53]OFD Sender: No OFD packet to send [07:57:58]OFD Sender: No OFD packet to send [07:58:03]OFD Sender: No OFD packet to send [07:58:08]OFD Sender: No OFD packet to send [07:58:13]OFD Sender: No OFD packet to send [07:58:18]OFD Sender: No OFD packet to send [07:58:23]OFD Sender: No OFD packet to send [07:58:28]OFD Sender: No OFD packet to send [07:58:33]OFD Sender: No OFD packet to send [07:58:38]OFD Sender: No OFD packet to send [07:58:43]OFD Sender: No OFD packet to send [07:58:48]OFD Sender: No OFD packet to send [07:58:53]OFD Sender: No OFD packet to send [07:58:58]OFD Sender: No OFD packet to send [07:59:04]OFD Sender: No OFD packet to send [07:59:09]OFD Sender: No OFD packet to send [07:59:14]OFD Sender: No OFD packet to send [07:59:19]OFD Sender: No OFD packet to send [07:59:24]OFD Sender: No OFD packet to send [07:59:29]OFD Sender: No OFD packet to send [07:59:34]OFD Sender: No OFD packet to send [07:59:39]OFD Sender: No OFD packet to send [07:59:44]OFD Sender: No OFD packet to send [07:59:49]OFD Sender: No OFD packet to send [07:59:54]OFD Sender: No OFD packet to send [07:59:59]OFD Sender: No OFD packet to send [08:00:04]OFD Sender: No OFD packet to send [08:00:09]OFD Sender: No OFD packet to send [08:00:14]OFD Sender: No OFD packet to send [08:00:19]OFD Sender: No OFD packet to send [08:00:24]OFD Sender: No OFD packet to send [08:00:29]OFD Sender: No OFD packet to send [08:00:34]OFD Sender: No OFD packet to send [08:00:39]OFD Sender: No OFD packet to send [08:00:44]OFD Sender: No OFD packet to send [08:00:49]OFD Sender: No OFD packet to send [08:00:54]OFD Sender: No OFD packet to send [08:00:59]OFD Sender: No OFD packet to send [08:01:04]OFD Sender: No OFD packet to send [08:01:09]OFD Sender: No OFD packet to send [08:01:14]OFD Sender: No OFD packet to send [08:01:19]OFD Sender: No OFD packet to send [08:01:24]OFD Sender: No OFD packet to send [08:01:29]OFD Sender: No OFD packet to send [08:01:34]OFD Sender: No OFD packet to send [08:01:39]OFD Sender: No OFD packet to send [08:01:44]OFD Sender: No OFD packet to send [08:01:49]OFD Sender: No OFD packet to send [08:01:54]OFD Sender: No OFD packet to send [08:01:59]OFD Sender: No OFD packet to send [08:02:04]OFD Sender: No OFD packet to send [08:02:09]OFD Sender: No OFD packet to send [08:02:14]OFD Sender: No OFD packet to send [08:02:19]OFD Sender: No OFD packet to send [08:02:24]OFD Sender: No OFD packet to send [08:02:29]OFD Sender: No OFD packet to send [08:02:34]OFD Sender: No OFD packet to send [08:02:39]OFD Sender: No OFD packet to send [08:02:44]OFD Sender: No OFD packet to send [08:02:49]OFD Sender: No OFD packet to send [08:02:54]OFD Sender: No OFD packet to send [08:02:59]OFD Sender: No OFD packet to send [08:03:04]OFD Sender: No OFD packet to send [08:03:09]OFD Sender: No OFD packet to send [08:03:14]OFD Sender: No OFD packet to send [08:03:19]OFD Sender: No OFD packet to send [08:03:24]OFD Sender: No OFD packet to send [08:03:29]OFD Sender: No OFD packet to send [08:03:34]OFD Sender: No OFD packet to send [08:03:39]OFD Sender: No OFD packet to send [08:03:44]OFD Sender: No OFD packet to send [08:03:49]OFD Sender: No OFD packet to send [08:03:54]OFD Sender: No OFD packet to send [08:03:59]OFD Sender: No OFD packet to send [08:04:04]OFD Sender: No OFD packet to send [08:04:09]OFD Sender: No OFD packet to send [08:04:14]OFD Sender: No OFD packet to send [08:04:19]OFD Sender: No OFD packet to send [08:04:24]OFD Sender: No OFD packet to send [08:04:29]OFD Sender: No OFD packet to send [08:04:34]OFD Sender: No OFD packet to send [08:04:39]OFD Sender: No OFD packet to send [08:04:44]OFD Sender: No OFD packet to send [08:04:49]OFD Sender: No OFD packet to send [08:04:54]OFD Sender: No OFD packet to send [08:04:59]OFD Sender: No OFD packet to send [08:05:04]OFD Sender: No OFD packet to send [08:05:09]OFD Sender: No OFD packet to send [08:05:14]OFD Sender: No OFD packet to send [08:05:19]OFD Sender: No OFD packet to send [08:05:24]OFD Sender: No OFD packet to send [08:05:29]OFD Sender: No OFD packet to send [08:05:34]OFD Sender: No OFD packet to send [08:05:39]OFD Sender: No OFD packet to send [08:05:44]OFD Sender: No OFD packet to send [08:05:49]OFD Sender: No OFD packet to send [08:05:54]OFD Sender: No OFD packet to send [08:05:59]OFD Sender: No OFD packet to send [08:06:04]OFD Sender: No OFD packet to send [08:06:09]OFD Sender: No OFD packet to send [08:06:14]OFD Sender: No OFD packet to send [08:06:19]OFD Sender: No OFD packet to send [08:06:24]OFD Sender: No OFD packet to send [08:06:29]OFD Sender: No OFD packet to send [08:06:34]OFD Sender: No OFD packet to send [08:06:39]OFD Sender: No OFD packet to send [08:06:44]OFD Sender: No OFD packet to send [08:06:49]OFD Sender: No OFD packet to send [08:06:54]OFD Sender: No OFD packet to send [08:06:59]OFD Sender: No OFD packet to send [08:07:04]OFD Sender: No OFD packet to send [08:07:09]OFD Sender: No OFD packet to send [08:07:14]OFD Sender: No OFD packet to send [08:07:19]OFD Sender: No OFD packet to send [08:07:24]OFD Sender: No OFD packet to send [08:07:29]OFD Sender: No OFD packet to send [08:07:34]OFD Sender: No OFD packet to send [08:07:39]OFD Sender: No OFD packet to send [08:07:44]OFD Sender: No OFD packet to send [08:07:49]OFD Sender: No OFD packet to send [08:07:54]OFD Sender: No OFD packet to send [08:07:59]OFD Sender: No OFD packet to send [08:08:04]OFD Sender: No OFD packet to send [08:08:09]OFD Sender: No OFD packet to send [08:08:14]OFD Sender: No OFD packet to send [08:08:19]OFD Sender: No OFD packet to send [08:08:24]OFD Sender: No OFD packet to send [08:08:29]OFD Sender: No OFD packet to send [08:08:34]OFD Sender: No OFD packet to send [08:08:39]OFD Sender: No OFD packet to send [08:08:44]OFD Sender: No OFD packet to send [08:08:49]OFD Sender: No OFD packet to send [08:08:54]OFD Sender: No OFD packet to send [08:08:59]OFD Sender: No OFD packet to send [08:09:04]OFD Sender: No OFD packet to send [08:09:09]OFD Sender: No OFD packet to send [08:09:14]OFD Sender: No OFD packet to send [08:09:19]OFD Sender: No OFD packet to send [08:09:24]OFD Sender: No OFD packet to send [08:09:29]OFD Sender: No OFD packet to send [08:09:34]OFD Sender: No OFD packet to send [08:09:39]OFD Sender: No OFD packet to send [08:09:44]OFD Sender: No OFD packet to send [08:09:49]OFD Sender: No OFD packet to send [08:09:54]OFD Sender: No OFD packet to send [08:09:59]OFD Sender: No OFD packet to send [08:10:04]OFD Sender: No OFD packet to send [08:10:09]OFD Sender: No OFD packet to send [08:10:14]OFD Sender: No OFD packet to send [08:10:19]OFD Sender: No OFD packet to send [08:10:24]OFD Sender: No OFD packet to send [08:10:29]OFD Sender: No OFD packet to send [08:10:34]OFD Sender: No OFD packet to send [08:10:39]OFD Sender: No OFD packet to send [08:10:44]OFD Sender: No OFD packet to send [08:10:49]OFD Sender: No OFD packet to send [08:10:54]OFD Sender: No OFD packet to send [08:10:59]OFD Sender: No OFD packet to send [08:11:04]OFD Sender: No OFD packet to send [08:11:09]OFD Sender: No OFD packet to send [08:11:14]OFD Sender: No OFD packet to send [08:11:19]OFD Sender: No OFD packet to send [08:11:24]OFD Sender: No OFD packet to send [08:11:29]OFD Sender: No OFD packet to send [08:11:34]OFD Sender: No OFD packet to send [08:11:39]OFD Sender: No OFD packet to send [08:11:44]OFD Sender: No OFD packet to send [08:11:49]OFD Sender: No OFD packet to send [08:11:54]OFD Sender: No OFD packet to send [08:11:59]OFD Sender: No OFD packet to send [08:12:04]OFD Sender: No OFD packet to send [08:12:09]OFD Sender: No OFD packet to send [08:12:14]OFD Sender: No OFD packet to send [08:12:19]OFD Sender: No OFD packet to send [08:12:24]OFD Sender: No OFD packet to send [08:12:29]OFD Sender: No OFD packet to send [08:12:34]OFD Sender: No OFD packet to send [08:12:39]OFD Sender: No OFD packet to send [08:12:44]OFD Sender: No OFD packet to send [08:12:49]OFD Sender: No OFD packet to send [08:12:54]OFD Sender: No OFD packet to send [08:12:59]OFD Sender: No OFD packet to send [08:13:04]OFD Sender: No OFD packet to send [08:13:09]OFD Sender: No OFD packet to send [08:13:14]OFD Sender: No OFD packet to send [08:13:19]OFD Sender: No OFD packet to send [08:13:24]OFD Sender: No OFD packet to send [08:13:29]OFD Sender: No OFD packet to send [08:13:34]OFD Sender: No OFD packet to send [08:13:39]OFD Sender: No OFD packet to send [08:13:44]OFD Sender: No OFD packet to send [08:13:49]OFD Sender: No OFD packet to send [08:13:54]OFD Sender: No OFD packet to send [08:14:00]OFD Sender: No OFD packet to send [08:14:05]OFD Sender: No OFD packet to send [08:14:10]OFD Sender: No OFD packet to send [08:14:15]OFD Sender: No OFD packet to send [08:14:20]OFD Sender: No OFD packet to send [08:14:25]OFD Sender: No OFD packet to send [08:14:30]OFD Sender: No OFD packet to send [08:14:35]OFD Sender: No OFD packet to send [08:14:40]OFD Sender: No OFD packet to send [08:14:45]OFD Sender: No OFD packet to send [08:14:50]OFD Sender: No OFD packet to send [08:14:55]OFD Sender: No OFD packet to send [08:15:00]OFD Sender: No OFD packet to send [08:15:05]OFD Sender: No OFD packet to send [08:15:10]OFD Sender: No OFD packet to send [08:15:15]OFD Sender: No OFD packet to send [08:15:20]OFD Sender: No OFD packet to send [08:15:25]OFD Sender: No OFD packet to send [08:15:30]OFD Sender: No OFD packet to send [08:15:35]OFD Sender: No OFD packet to send [08:15:40]OFD Sender: No OFD packet to send [08:15:45]OFD Sender: No OFD packet to send [08:15:50]OFD Sender: No OFD packet to send [08:15:55]OFD Sender: No OFD packet to send [08:16:00]OFD Sender: No OFD packet to send [08:16:10]OFD Sender: No OFD packet to send [08:16:15]OFD Sender: No OFD packet to send [08:16:20]OFD Sender: No OFD packet to send [08:16:25]OFD Sender: No OFD packet to send [08:16:30]OFD Sender: No OFD packet to send [08:16:35]OFD Sender: No OFD packet to send [08:16:40]OFD Sender: No OFD packet to send [08:16:45]OFD Sender: No OFD packet to send [08:16:50]OFD Sender: No OFD packet to send [08:16:55]OFD Sender: No OFD packet to send [08:17:00]OFD Sender: No OFD packet to send [08:17:05]OFD Sender: No OFD packet to send [08:17:10]OFD Sender: No OFD packet to send [08:17:15]OFD Sender: No OFD packet to send [08:17:20]OFD Sender: No OFD packet to send [08:17:25]OFD Sender: No OFD packet to send [08:17:30]OFD Sender: No OFD packet to send [08:17:35]OFD Sender: No OFD packet to send [08:17:40]OFD Sender: No OFD packet to send [08:17:45]OFD Sender: No OFD packet to send [08:17:50]OFD Sender: No OFD packet to send [08:17:55]OFD Sender: No OFD packet to send [08:18:00]OFD Sender: No OFD packet to send [08:18:05]OFD Sender: No OFD packet to send [08:18:10]OFD Sender: No OFD packet to send [08:18:15]OFD Sender: No OFD packet to send [08:18:19]ConnectInit Can't connect to host [08:18:20]OFD Sender: No OFD packet to send [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:05]OFD Sender: No OFD packet to send [08:20:10]OFD Sender: No OFD packet to send [08:20:15]OFD Sender: No OFD packet to send [08:20:15]int [08:20:15]Write to MH i2c: 01 00 00 85 05 8A [08:20:15]*** FLAG_PRN_KEY set [08:20:15]Write i2c OK [08:20:15]MH_I2C_Read... [08:20:15]Read from MH i2c: 01 [08:20:15]MH_I2C_Read... [08:20:15]Read from MH i2c: 01 07 00 [08:20:15]MH_I2C_Read... [08:20:15]Read from MH i2c: 01 07 00 85 05 00 08 00 00 00 FF 0F A7 [08:20:15]state=0 [08:20:15]Key pressed [08:20:15]Feed [08:20:15]Write to MH i2c: D8 00 00 86 05 62 [08:20:15]Write i2c OK [08:20:15]MH_I2C_Read... [08:20:15]Read from MH i2c: D8 [08:20:15]MH_I2C_Read... [08:20:15]Read from MH i2c: D8 01 00 [08:20:15]MH_I2C_Read... [08:20:15]Read from MH i2c: D8 01 00 86 05 00 63 [08:20:15]int [08:20:15]Write to MH i2c: 01 00 00 87 05 8C [08:20:15]Write i2c OK [08:20:15]MH_I2C_Read... [08:20:15]Read from MH i2c: 01 [08:20:15]MH_I2C_Read... [08:20:15]Read from MH i2c: 01 07 00 [08:20:15]MH_I2C_Read... [08:20:15]Read from MH i2c: 01 07 00 87 05 00 48 00 00 00 3C 00 17 [08:20:15]state=2 [08:20:15]Key pressed [08:20:16]int [08:20:16]Write to MH i2c: 01 00 00 88 05 8D [08:20:16]*** FLAG_PRN_KEY reset [08:20:16]Write i2c OK [08:20:16]MH_I2C_Read... [08:20:16]Read from MH i2c: 01 [08:20:16]MH_I2C_Read... [08:20:16]Read from MH i2c: 01 07 00 [08:20:16]MH_I2C_Read... [08:20:16]Read from MH i2c: 01 07 00 88 05 00 00 00 00 00 F6 0F 99 [08:20:16]state=2 [08:20:16]Stop feed [08:20:20]OFD Sender: No OFD packet to send [08:20:25]OFD Sender: No OFD packet to send [08:20:30]OFD Sender: No OFD packet to send [08:20:35]OFD Sender: No OFD packet to send [08:20:40]OFD Sender: No OFD packet to send [08:20:45]OFD Sender: No OFD packet to send [08:20:50]OFD Sender: No OFD packet to send [08:20:55]OFD Sender: No OFD packet to send [08:21:00]OFD Sender: No OFD packet to send [08:21:05]OFD Sender: No OFD packet to send [08:21:10]OFD Sender: No OFD packet to send [08:21:15]OFD Sender: No OFD packet to send [08:21:20]OFD Sender: No OFD packet to send [08:21:25]OFD Sender: No OFD packet to send [08:21:30]OFD Sender: No OFD packet to send [08:21:35]OFD Sender: No OFD packet to send [08:21:40]OFD Sender: No OFD packet to send [08:21:45]OFD Sender: No OFD packet to send [08:21:50]OFD Sender: No OFD packet to send [08:21:55]OFD Sender: No OFD packet to send [08:22:00]OFD Sender: No OFD packet to send [08:22:05]OFD Sender: No OFD packet to send [08:22:10]OFD Sender: No OFD packet to send [08:22:15]OFD Sender: No OFD packet to send [08:22:20]OFD Sender: No OFD packet to send [08:22:25]OFD Sender: No OFD packet to send [08:22:30]OFD Sender: No OFD packet to send [08:22:35]OFD Sender: No OFD packet to send [08:22:40]OFD Sender: No OFD packet to send [08:22:45]OFD Sender: No OFD packet to send [08:22:50]OFD Sender: No OFD packet to send [08:22:55]OFD Sender: No OFD packet to send [08:23:00]OFD Sender: No OFD packet to send [08:23:05]OFD Sender: No OFD packet to send [08:23:10]OFD Sender: No OFD packet to send [08:23:15]OFD Sender: No OFD packet to send [08:23:20]OFD Sender: No OFD packet to send [08:23:25]OFD Sender: No OFD packet to send [08:23:30]OFD Sender: No OFD packet to send [08:23:35]OFD Sender: No OFD packet to send [08:23:40]OFD Sender: No OFD packet to send [08:23:45]OFD Sender: No OFD packet to send [08:23:50]OFD Sender: No OFD packet to send [08:23:55]OFD Sender: No OFD packet to send [08:24:00]OFD Sender: No OFD packet to send [08:24:05]OFD Sender: No OFD packet to send [08:24:10]OFD Sender: No OFD packet to send [08:24:15]OFD Sender: No OFD packet to send [08:24:20]OFD Sender: No OFD packet to send [08:24:25]OFD Sender: No OFD packet to send [08:24:30]OFD Sender: No OFD packet to send [08:24:35]OFD Sender: No OFD packet to send [08:24:40]OFD Sender: No OFD packet to send [08:24:45]OFD Sender: No OFD packet to send [08:24:50]OFD Sender: No OFD packet to send [08:24:55]OFD Sender: No OFD packet to send [08:25:00]OFD Sender: No OFD packet to send [08:25:05]OFD Sender: No OFD packet to send [08:25:10]OFD Sender: No OFD packet to send [08:25:15]OFD Sender: No OFD packet to send [08:25:20]OFD Sender: No OFD packet to send [08:25:25]OFD Sender: No OFD packet to send [08:25:30]OFD Sender: No OFD packet to send [08:25:35]OFD Sender: No OFD packet to send [08:25:40]OFD Sender: No OFD packet to send [08:25:45]OFD Sender: No OFD packet to send [08:25:50]OFD Sender: No OFD packet to send [08:25:55]OFD Sender: No OFD packet to send [08:26:00]OFD Sender: No OFD packet to send [08:26:05]OFD Sender: No OFD packet to send [08:26:10]OFD Sender: No OFD packet to send [08:26:15]OFD Sender: No OFD packet to send [08:26:20]OFD Sender: No OFD packet to send [08:26:25]OFD Sender: No OFD packet to send [08:26:30]OFD Sender: No OFD packet to send [08:26:35]OFD Sender: No OFD packet to send [08:26:40]OFD Sender: No OFD packet to send [08:26:45]OFD Sender: No OFD packet to send [08:26:50]OFD Sender: No OFD packet to send [08:26:55]OFD Sender: No OFD packet to send [08:27:00]OFD Sender: No OFD packet to send [08:27:05]OFD Sender: No OFD packet to send [08:27:10]OFD Sender: No OFD packet to send [08:27:15]OFD Sender: No OFD packet to send [08:27:20]OFD Sender: No OFD packet to send [08:27:25]OFD Sender: No OFD packet to send [08:27:30]OFD Sender: No OFD packet to send [08:27:35]OFD Sender: No OFD packet to send [08:27:40]OFD Sender: No OFD packet to send [08:27:45]OFD Sender: No OFD packet to send [08:27:50]OFD Sender: No OFD packet to send [08:27:55]OFD Sender: No OFD packet to send [08:28:00]OFD Sender: No OFD packet to send [08:28:05]OFD Sender: No OFD packet to send [08:28:10]OFD Sender: No OFD packet to send [08:28:15]OFD Sender: No OFD packet to send [08:28:20]OFD Sender: No OFD packet to send [08:28:25]OFD Sender: No OFD packet to send [08:28:30]OFD Sender: No OFD packet to send [08:28:35]OFD Sender: No OFD packet to send [08:28:40]OFD Sender: No OFD packet to send [08:28:45]OFD Sender: No OFD packet to send [08:28:50]OFD Sender: No OFD packet to send [08:28:56]OFD Sender: No OFD packet to send [08:29:01]OFD Sender: No OFD packet to send [08:29:06]OFD Sender: No OFD packet to send [08:29:11]OFD Sender: No OFD packet to send [08:29:16]OFD Sender: No OFD packet to send [08:29:21]OFD Sender: No OFD packet to send [08:29:26]OFD Sender: No OFD packet to send [08:29:31]OFD Sender: No OFD packet to send [08:29:36]OFD Sender: No OFD packet to send [08:29:41]OFD Sender: No OFD packet to send [08:29:46]OFD Sender: No OFD packet to send [08:29:51]OFD Sender: No OFD packet to send [08:29:56]OFD Sender: No OFD packet to send [08:30:01]OFD Sender: No OFD packet to send [08:30:06]OFD Sender: No OFD packet to send [08:30:11]OFD Sender: No OFD packet to send [08:30:16]OFD Sender: No OFD packet to send [08:30:21]OFD Sender: No OFD packet to send [08:30:26]OFD Sender: No OFD packet to send [08:30:31]OFD Sender: No OFD packet to send [08:30:36]OFD Sender: No OFD packet to send [08:30:41]OFD Sender: No OFD packet to send [08:30:46]OFD Sender: No OFD packet to send [08:30:51]OFD Sender: No OFD packet to send [08:30:56]OFD Sender: No OFD packet to send [08:31:01]OFD Sender: No OFD packet to send [08:31:06]OFD Sender: No OFD packet to send [08:31:11]OFD Sender: No OFD packet to send [08:31:16]OFD Sender: No OFD packet to send [08:31:21]OFD Sender: No OFD packet to send [08:31:24]accept exits with 10 [08:31:24]New connection [08:31:24]New thread 3067485540 created [08:31:24]Thread 3067342180 joined [08:31:24]Waiting for new connection... [08:31:24] Sock 10.Parse request [08:31:24]Sock 10.Check first char [08:31:24]Sock 10.First char is OK [08:31:24]request: POST /json_proto HTTP/1.0 [08:31:24]Method: POST [08:31:24]URL: /json_proto [08:31:24]Method is POST - this is cgi request [08:31:24]url: /json_proto [08:31:24]query_string will be loaded in cgi processing [08:31:24]execute_cgi json_proto POST (null) [08:31:24]execute_cgi path=json_proto method=POST [08:31:24]POST find Content-Length [08:31:24]Host: 172.17.47.135:8080 [08:31:24]Content-Length: 655 [08:31:24]Content-Type: application/json [08:31:24] [08:31:24]POST finish read [08:31:24]Found Content-Length = 655 [08:31:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130828", "tax_sys" : 0, "items" : [ { "code": "4870145004807", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 74.00, "quantity" : 1.000, "sum" : 74.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 74.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:31:24]execute_script... [08:31:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130828", "tax_sys" : 0, "items" : [ { "code": "4870145004807", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 74.00, "quantity" : 1.000, "sum" : 74.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 74.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:31:24]POST & json_proto [08:31:24]process_json_proto [08:31:24]json parsed OK: [08:31:24]protocol is kg_v1.0 [08:31:24]action value=close_receipt [08:31:24]process_action close_receipt [08:31:24]cmd_close_receipt [08:31:24]MH_GetDate [08:31:24]Write to MH i2c: F0 00 00 89 05 7D [08:31:24]Write i2c OK [08:31:24]MH_I2C_Read... [08:31:24]Read from MH i2c: F0 [08:31:24]MH_I2C_Read... [08:31:24]Read from MH i2c: F0 09 00 [08:31:24]MH_I2C_Read... [08:31:24]Read from MH i2c: F0 09 00 89 05 00 DF 39 B8 67 19 D8 DE 66 F2 [08:31:24]GetLastDocTimeStamp 1740100380 [08:31:24]current date 1740126687 [08:31:24]FM_GetShiftState [08:31:24]SAM_PROTO_GetShiftState [08:31:24]wFMCommunicate request_size=4 [08:31:24]MH_SAM_APDU [08:31:24]CAPDU: 80 13 01 00 [08:31:24]Write to MH i2c: E2 08 00 8A 05 80 13 01 00 00 00 00 00 0C [08:31:24]Write i2c OK [08:31:24]MH_I2C_Read... [08:31:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:31:24]Read from MH i2c: E2 [08:31:24]MH_I2C_Read... [08:31:24]Read from MH i2c: E2 0E 00 [08:31:24]MH_I2C_Read... [08:31:24]Read from MH i2c: E2 0E 00 8A 05 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 71 [08:31:24]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [08:31:24]wFMCommunicate OK [08:31:24]SAM_PROTO_GetShiftState done [08:31:24]FM_GetShiftState done [08:31:24]opened in 1740096631 [08:31:24]opened+sec_in_day 1740183031 [08:31:24]quantity*price = 7400 [08:31:24]sum+1 = 7401 [08:31:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 74.00 НСП 1% : 0.65 НДС 12% : 7.86 Наличными: 74.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 3 21.02.2025 08:31 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32615 ФПД: 66572978660775 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T083127&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32615&fm=66572978660775&tin=02508201610067®Number=0000000000146237&sum=7400 0 [08:31:25]StoreToDocumentArchive [08:31:25]shift 386 fd 32615 [08:31:25]save to /storage/0386/doc_00032615 [08:31:25]save last doc name /storage/0386/doc_00032615 to /storage/kkm_last_doc_name [08:31:25]save OK [08:31:25]Clear old archive folders... [08:31:25]ProcessDocumentItem done err = 0, tmpTLVsize=294 [08:31:25]tlvbuf is 017C54F0 [08:31:25]SAM_PROTO_ClearQueue [08:31:25]wFMCommunicate request_size=4 [08:31:25]MH_SAM_APDU [08:31:25]CAPDU: 80 09 00 00 [08:31:25]Write to MH i2c: E2 08 00 97 05 80 09 00 00 00 00 00 00 0E [08:31:25]Write i2c OK [08:31:25]MH_I2C_Read... [08:31:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:31:25]Read from MH i2c: E2 [08:31:25]MH_I2C_Read... [08:31:25]Read from MH i2c: E2 03 00 [08:31:25]MH_I2C_Read... [08:31:25]Read from MH i2c: E2 03 00 97 05 00 90 00 10 [08:31:25]RAPDU: 90 00 [08:31:25]wFMCommunicate OK [08:31:25]SAM_PROTO_ClearQueue done [08:31:25]KKMCreateOFDPacket [08:31:25]OFDProtocolAddRootSTLVToBuf [08:31:25]FM_MakeSignedData [08:31:25]FM_MakeSignedData [08:31:25]SAM_PROTO_SignData [08:31:25]wFMCommunicate request_size=4 [08:31:25]MH_SAM_APDU [08:31:25]CAPDU: 80 0D 01 02 [08:31:25]Write to MH i2c: E2 08 00 98 05 80 0D 01 02 00 00 00 00 16 [08:31:25]Write i2c OK [08:31:25]MH_I2C_Read... [08:31:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:31:25]Read from MH i2c: E2 [08:31:25]MH_I2C_Read... [08:31:25]Read from MH i2c: E2 03 00 [08:31:25]MH_I2C_Read... [08:31:25]Read from MH i2c: E2 03 00 98 05 00 90 00 11 [08:31:25]RAPDU: 90 00 [08:31:25]wFMCommunicate OK [08:31:25]wFMCommunicate request_size=255 [08:31:25]MH_SAM_APDU [08:31:25]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 38 30 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 1C 00 00 00 00 13 04 06 00 E8 1C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 1C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 41 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 12 03 00 00 00 00 07 04 06 00 E8 1C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 DF 39 B8 67 0E 04 04 00 82 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [08:31:25]Write to MH i2c: E2 02 01 99 05 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 38 30 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 1C 00 00 00 00 13 04 06 00 E8 1C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 1C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 41 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 12 03 00 00 00 00 07 04 06 00 E8 1C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 DF 39 B8 67 0E 04 04 00 82 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 EA [08:31:25]Write i2c OK [08:31:25]MH_I2C_Read... [08:31:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:31:25]Read from MH i2c: E2 [08:31:25]MH_I2C_Read... [08:31:25]Read from MH i2c: E2 03 00 [08:31:25]MH_I2C_Read... [08:31:25]Read from MH i2c: E2 03 00 99 05 00 90 00 12 [08:31:25]RAPDU: 90 00 [08:31:25]wFMCommunicate OK [08:31:25]wFMCommunicate request_size=53 [08:31:25]MH_SAM_APDU [08:31:25]CAPDU: 80 0D 02 02 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 67 7F 00 00 35 04 06 00 3C 8C 3A BE A5 A7 [08:31:25]Write to MH i2c: E2 38 00 9A 05 80 0D 02 02 30 00 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 67 7F 00 00 35 04 06 00 3C 8C 3A BE A5 A7 00 00 01 [08:31:25]Write i2c OK [08:31:25]MH_I2C_Read... [08:31:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:31:25]Read from MH i2c: E2 [08:31:25]MH_I2C_Read... [08:31:25]Read from MH i2c: E2 03 00 [08:31:25]MH_I2C_Read... [08:31:25]Read from MH i2c: E2 03 00 9A 05 00 90 00 13 [08:31:25]RAPDU: 90 00 [08:31:25]wFMCommunicate OK [08:31:25]wFMCommunicate request_size=4 [08:31:25]MH_SAM_APDU [08:31:25]CAPDU: 80 0D 03 02 [08:31:25]Write to MH i2c: E2 08 00 9B 05 80 0D 03 02 00 00 00 00 1B [08:31:25]Write i2c OK [08:31:25]MH_I2C_Read... [08:31:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:31:26]Read from MH i2c: E2 [08:31:26]MH_I2C_Read... [08:31:26]Read from MH i2c: E2 0B 00 [08:31:26]MH_I2C_Read... [08:31:26]Read from MH i2c: E2 0B 00 9B 05 00 BA 3D 47 A5 2F B0 81 B5 90 00 14 [08:31:26]RAPDU: BA 3D 47 A5 2F B0 81 B5 90 00 [08:31:26]wFMCommunicate OK [08:31:26]SAM_PROTO_SignData done [08:31:26]FM_MakeSignedData done [08:31:26]CreateOFDProtocolMessage [08:31:26]wFMCommunicate request_size=4 [08:31:26]MH_SAM_APDU [08:31:26]CAPDU: 80 11 00 00 [08:31:26]Write to MH i2c: E2 08 00 9C 05 80 11 00 00 00 00 00 00 1B [08:31:26]Write i2c OK [08:31:26]MH_I2C_Read... [08:31:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:31:26]Read from MH i2c: E2 [08:31:26]MH_I2C_Read... [08:31:26]Read from MH i2c: E2 17 00 [08:31:26]MH_I2C_Read... [08:31:26]Read from MH i2c: E2 17 00 9C 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 71 [08:31:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [08:31:26]wFMCommunicate OK [08:31:26]CreateOFDProtocolMessage done [08:31:26]OFDSenderStorePacket 32615 [08:31:26]StoreOFDPacket docnum=32615 [08:31:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 3A 01 00 00 0C 1A 32 01 26 B7 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 31 34 35 30 30 34 38 30 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 1C 00 00 00 00 13 04 06 00 E8 1C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 1C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 41 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 12 03 00 00 00 00 07 04 06 00 E8 1C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 DF 39 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 67 7F 00 00 35 04 06 00 3C 8C 3A BE A5 A7 BA 3D 47 A5 2F B0 81 B5 [08:31:26]CheckFolder [08:31:26]dirname=/storage/ofd_packets [08:31:26]CheckFolder done [08:31:26]ProducePacketName [08:31:26]name=ofd_packets/00032615 [08:31:26]NVStorageSaveData ofd_packets/00032615 [08:31:26]File name is /storage/ofd_packets/00032615 [08:31:26]Write 344 bytes [08:31:26]NVStorageSaveData done [08:31:26]OFDSenderStorePacket done [08:31:26]KKMCreateOFDPacket done [08:31:26]NVStorageSaveData kkm_last_timestamp [08:31:26]File name is /storage/kkm_last_timestamp [08:31:26]Write 4 bytes [08:31:26]NVStorageSaveData done [08:31:26]ExternCall_PrintAddStr [08:31:26]wPrintStart [08:31:26]Write to MH i2c: 01 00 00 9D 05 A2 [08:31:26]Write i2c OK [08:31:26]MH_I2C_Read... [08:31:26]Read from MH i2c: 01 [08:31:26]MH_I2C_Read... [08:31:26]Read from MH i2c: 01 07 00 [08:31:26]MH_I2C_Read... [08:31:26]Read from MH i2c: 01 07 00 9D 05 00 00 00 00 00 FF 0F B7 [08:31:26]RasterBufferAndPrint [08:31:26]line Счет N : (3)130828 [08:31:26]line ИНН: 02508201610067 [08:31:26]line Контрольно-Кассовый Чек [08:31:26]line ПРОДАЖА [08:31:26]line Товар: 4870145004807 [08:31:26]line Напиток FLash up energy эн ж/б 0,5/0,45л [08:31:26]line 1.000 * 74.00 [08:31:26]line = 74.00 [08:31:26]line НДС 12% НСП 1% [08:31:26]line > о реализуемом товаре [08:31:26]line ИТОГО: 74.00 [08:31:26]line НСП 1% : 0.65 [08:31:26]line НДС 12% : 7.86 [08:31:26]line Наличными: 74.00 [08:31:26]line Безнал.: 0.00 [08:31:26]line Место: АЗС № 96 "Партнер Нефть" [08:31:26]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [08:31:26]line СНО: Общий режим [08:31:26]line Чек 3 21.02.2025 08:31 [08:31:26]line Смена: 386 ФФД: 1.0 [08:31:26]line ЗНМ: 0300000059 [08:31:26]line РНМ: 0000000000146237 [08:31:26]line Версия ККМ: v1.0 [08:31:26]line ФМ: 0000000000959282 [08:31:26]line ФД: 32615 [08:31:26]line ФПД: 66572978660775 [08:31:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T083127&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32615&fm=66572978660775&tin=02508201610067®Number=0000000000146237&sum=7400 [08:31:26]OFD Sender: Processing packet 32615 [packets to send 105, broken 104] [08:31:26]ProducePacketName [08:31:26]name=ofd_packets/00032615 [08:31:26]OFD Sender: To server: pG, [08:31:26]CommunicateWithHost lk.salyk.kg:30040 [08:31:26]ConnectInit lk.salyk.kg [08:31:26]line 0 [08:31:26]written 0, free lines is 4095 [08:31:26]Connected sock=9 [08:31: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 32 38 32 3A 01 00 00 0C 1A 32 01 26 B7 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 31 34 35 30 30 34 38 30 37 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 1C 00 00 00 00 13 04 06 00 E8 1C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 1C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 41 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 12 03 00 00 00 00 07 04 06 00 E8 1C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 DF 39 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 67 7F 00 00 35 04 06 00 3C 8C 3A BE A5 A7 BA 3D 47 A5 2F B0 81 B5 [08:31:26]Write to MH i2c: 01 00 00 C6 05 CB [08:31:26]Write i2c OK [08:31:26]MH_I2C_Read... [08:31:26]Read from MH i2c: 01 [08:31:26]MH_I2C_Read... [08:31:26]Read from MH i2c: 01 07 00 [08:31:26]MH_I2C_Read... [08:31:26]Read from MH i2c: 01 07 00 C6 05 00 00 00 00 00 0D 0D EC [08:31:26]RasterBufferAndPrint [08:31:26]line [08:31:26]line [08:31:26]line [08:31:26]line [08:31:26]line [08:31:26]written 0, free lines is 3350 [08:31:26]MH_Cut [08:31:26]Write to MH i2c: D1 01 00 CD 05 01 A4 [08:31:26]Write i2c OK [08:31:26]MH_I2C_Read... [08:31:26]Read from MH i2c: D1 [08:31:26]MH_I2C_Read... [08:31:26]Read from MH i2c: D1 01 00 [08:31:26]MH_I2C_Read... [08:31:26]Read from MH i2c: D1 01 00 CD 05 00 A3 [08:31:26]Write to MH i2c: 01 00 00 CE 05 D3 [08:31:26]Write i2c OK [08:31:26]MH_I2C_Read... [08:31:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 EE EC 47 00 A8 97 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 67 7F 00 00 F4 03 04 00 76 E3 B7 67 B6 04 01 00 00 3D A1 AF 2C 14 6A 64 7D [08:31:26]CommunicateWithHost err = 0 [08:31:26]CheckOFDResponse [08:31:26]1017 (14) - 77093643461234 [08:31:26]1041 (16) - 0000000000959282 [08:31:26]1040 (4) - 32615 [08:31:26]1012 (4) - 21.02.2025 02:22 [08:31:26]1206 (1) - 0 [08:31:26]OFD Sender: Remove packet 32615 [08:31:26]ProducePacketName [08:31:26]name=ofd_packets/00032615 [08:31:26]NVStorageDeleteData [08:31:27]OFD Sender: No OFD packet to send [08:31:27]*** Cut start [08:31:27]*** Partial cut [08:31:27]*** CUTSNS_PIN = 1 [08:31:27]*** CUTSNS_PIN = 0 [08:31:27]*** Brake cut motor [08:31:28]Read from MH i2c: 01 [08:31:28]MH_I2C_Read... [08:31:28]*** Stop cut motor [08:31:28]*** Cut end [08:31:28]Read from MH i2c: 01 07 00 [08:31:28]MH_I2C_Read... [08:31:28]Read from MH i2c: 01 07 00 CE 05 00 00 00 00 00 FF 0F E8 [08:31:28]process_action close_receipt done [08:31:28]requested_data is exist [08:31:28]produce_requested_data [08:31:28]requested_item fm.sn is exist - process it [08:31:28]wFMCommunicate request_size=4 [08:31:28]MH_SAM_APDU [08:31:28]CAPDU: 80 11 00 00 [08:31:28]Write to MH i2c: E2 08 00 CF 05 80 11 00 00 00 00 00 00 4E [08:31:28]Write i2c OK [08:31:28]MH_I2C_Read... [08:31:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:31:28]Read from MH i2c: E2 [08:31:28]MH_I2C_Read... [08:31:28]Read from MH i2c: E2 17 00 [08:31:28]MH_I2C_Read... [08:31:28]Read from MH i2c: E2 17 00 CF 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 A4 [08:31:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [08:31:28]wFMCommunicate OK [08:31:28]requested_item fd.num is exist - process it [08:31:28]SAM_PROTO_GetFieldsCounters [08:31:28]wFMCommunicate request_size=4 [08:31:28]MH_SAM_APDU [08:31:28]CAPDU: 80 13 00 00 [08:31:28]Write to MH i2c: E2 08 00 D0 05 80 13 00 00 00 00 00 00 51 [08:31:28]Write i2c OK [08:31:28]MH_I2C_Read... [08:31:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:31:28]Read from MH i2c: E2 [08:31:28]MH_I2C_Read... [08:31:28]Read from MH i2c: E2 62 00 [08:31:28]MH_I2C_Read... [08:31:28]Read from MH i2c: E2 62 00 D0 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 67 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 E5 [08:31: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 67 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:31:28]wFMCommunicate OK [08:31:28]SAM_PROTO_GetFieldsCounters done [08:31:28]requested_item shift.num is exist - process it [08:31:28]requested_item shift.opened is exist - process it [08:31:28]req_shift_opened [08:31:28]FM_GetShiftState [08:31:28]SAM_PROTO_GetShiftState [08:31:28]wFMCommunicate request_size=4 [08:31:28]MH_SAM_APDU [08:31:28]CAPDU: 80 13 01 00 [08:31:28]Write to MH i2c: E2 08 00 D1 05 80 13 01 00 00 00 00 00 53 [08:31:28]Write i2c OK [08:31:28]MH_I2C_Read... [08:31:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:31:28]Read from MH i2c: E2 [08:31:28]MH_I2C_Read... [08:31:28]Read from MH i2c: E2 0E 00 [08:31:28]MH_I2C_Read... [08:31:28]Read from MH i2c: E2 0E 00 D1 05 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 B8 [08:31:28]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [08:31:28]wFMCommunicate OK [08:31:28]SAM_PROTO_GetShiftState done [08:31:28]FM_GetShiftState done [08:31:28]req_shift_opened done [08:31:28]requested_item shift.open_date is exist - process it [08:31:28]req_shift_open_date [08:31:28]req_shift_open_date done [08:31:28]produce_requested_data done [08:31:28]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32615,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [08:31:28]process_action_free close_receipt [08:31:28]json_value_free [08:31:28]json_value_free done [08:31:28]process_json_proto returns [08:31:28]Send response to host [08:31:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32615,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [08:31:28]free response buf [08:31:28]execute_script done [08:31:28]execute_script returns [08:31:28]free content buf [08:31:28]Sock 10.Close socket [08:31:28]Sock 10.Thread stoped [08:31:32]OFD Sender: No OFD packet to send [08:31:37]OFD Sender: No OFD packet to send [08:31:42]OFD Sender: No OFD packet to send [08:31:47]OFD Sender: No OFD packet to send [08:31:52]OFD Sender: No OFD packet to send [08:31:57]OFD Sender: No OFD packet to send [08:32:02]OFD Sender: No OFD packet to send [08:32:07]OFD Sender: No OFD packet to send [08:32:12]OFD Sender: No OFD packet to send [08:32:17]OFD Sender: No OFD packet to send [08:32:22]OFD Sender: No OFD packet to send [08:32:27]OFD Sender: No OFD packet to send [08:32:32]OFD Sender: No OFD packet to send [08:37:17]OFD Sender: No OFD packet to send [08:37:22]OFD Sender: No OFD packet to send [08:37:27]OFD Sender: No OFD packet to send [08:37:32]OFD Sender: No OFD packet to send [08:37:37]OFD Sender: No OFD packet to send [08:37:42]OFD Sender: No OFD packet to send [08:37:47]OFD Sender: No OFD packet to send [08:37:52]OFD Sender: No OFD packet to send [08:37:57]OFD Sender: No OFD packet to send [08:38:02]OFD Sender: No OFD packet to send [08:38:07]OFD Sender: No OFD packet to send [08:38:12]OFD Sender: No OFD packet to send [08:38:17]OFD Sender: No OFD packet to send [08:38:22]OFD Sender: No OFD packet to send [08:38:27]OFD Sender: No OFD packet to send [08:38:32]OFD Sender: No OFD packet to send [08:38:37]OFD Sender: No OFD packet to send [08:38:42]OFD Sender: No OFD packet to send [08:38:47]OFD Sender: No OFD packet to send [08:38:52]OFD Sender: No OFD packet to send [08:38:57]OFD Sender: No OFD packet to send [08:39:02]OFD Sender: No OFD packet to send [08:39:07]OFD Sender: No OFD packet to send [08:39:12]OFD Sender: No OFD packet to send [08:39:17]OFD Sender: No OFD packet to send [08:39:22]OFD Sender: No OFD packet to send [08:39:27]OFD Sender: No OFD packet to send [08:39:28]ConnectInit Can't connect to host [08:39:32]OFD Sender: No OFD packet to send [08:39:37]OFD Sender: No OFD packet to send [08:39:42]OFD Sender: No OFD packet to send [08:39:47]OFD Sender: No OFD packet to send [08:39:52]OFD Sender: No OFD packet to send [08:39:57]OFD Sender: No OFD packet to send [08:40:02]OFD Sender: No OFD packet to send [08:40:07]OFD Sender: No OFD packet to send [08:40:12]OFD Sender: No OFD packet to send [08:40:17]OFD Sender: No OFD packet to send [08:40:22]OFD Sender: No OFD packet to send [08:40:27]OFD Sender: No OFD packet to send [08:40:32]OFD Sender: No OFD packet to send [08:40:37]OFD Sender: No OFD packet to send [08:40:43]OFD Sender: No OFD packet to send [08:40:48]OFD Sender: No OFD packet to send [08:40:53]OFD Sender: No OFD packet to send [08:40:58]OFD Sender: No OFD packet to send [08:41:03]OFD Sender: No OFD packet to send [08:41:08]OFD Sender: No OFD packet to send [08:41:13]OFD Sender: No OFD packet to send [08:41:18]OFD Sender: No OFD packet to send [08:41:23]OFD Sender: No OFD packet to send [08:41:28]OFD Sender: No OFD packet to send [08:41:33]OFD Sender: No OFD packet to send [08:41:38]OFD Sender: No OFD packet to send [08:41:43]OFD Sender: No OFD packet to send [08:41:48]OFD Sender: No OFD packet to send [08:41:53]OFD Sender: No OFD packet to send [08:41:58]OFD Sender: No OFD packet to send [08:42:03]OFD Sender: No OFD packet to send [08:42:08]OFD Sender: No OFD packet to send [08:42:13]OFD Sender: No OFD packet to send [08:42:18]OFD Sender: No OFD packet to send [08:42:23]OFD Sender: No OFD packet to send [08:42:28]OFD Sender: No OFD packet to send [08:42:33]OFD Sender: No OFD packet to send [08:42:38]OFD Sender: No OFD packet to send [08:42:43]OFD Sender: No OFD packet to send [08:42:48]OFD Sender: No OFD packet to send [08:42:53]OFD Sender: No OFD packet to send [08:42:58]OFD Sender: No OFD packet to send [08:43:03]OFD Sender: No OFD packet to send [08:43:08]OFD Sender: No OFD packet to send [08:43:13]OFD Sender: No OFD packet to send [08:43:18]OFD Sender: No OFD packet to send [08:43:23]OFD Sender: No OFD packet to send [08:43:28]OFD Sender: No OFD packet to send [08:43:33]OFD Sender: No OFD packet to send [08:43:38]OFD Sender: No OFD packet to send [08:43:43]OFD Sender: No OFD packet to send [08:43:48]OFD Sender: No OFD packet to send [08:43:53]OFD Sender: No OFD packet to send [08:43:57]int [08:43:57]Write to MH i2c: 01 00 00 D2 05 D7 [08:43:57]*** FLAG_PRN_KEY set [08:43:57]Write i2c OK [08:43:57]MH_I2C_Read... [08:43:57]Read from MH i2c: 01 [08:43:57]MH_I2C_Read... [08:43:57]Read from MH i2c: 01 07 00 [08:43:57]MH_I2C_Read... [08:43:57]Read from MH i2c: 01 07 00 D2 05 00 08 00 00 00 FF 0F F4 [08:43:57]state=0 [08:43:57]Key pressed [08:43:57]Feed [08:43:57]Write to MH i2c: D8 00 00 D3 05 AF [08:43:57]Write i2c OK [08:43:57]MH_I2C_Read... [08:43:57]Read from MH i2c: D8 [08:43:57]MH_I2C_Read... [08:43:57]Read from MH i2c: D8 01 00 [08:43:57]MH_I2C_Read... [08:43:57]Read from MH i2c: D8 01 00 D3 05 00 B0 [08:43:57]int [08:43:57]Write to MH i2c: 01 00 00 D4 05 D9 [08:43:57]Write i2c OK [08:43:57]MH_I2C_Read... [08:43:57]Read from MH i2c: 01 [08:43:57]MH_I2C_Read... [08:43:57]Read from MH i2c: 01 07 00 [08:43:57]MH_I2C_Read... [08:43:57]Read from MH i2c: 01 07 00 D4 05 00 48 00 00 00 3C 00 64 [08:43:57]state=2 [08:43:57]Key pressed [08:43:58]OFD Sender: No OFD packet to send [08:43:58]int [08:43:58]Write to MH i2c: 01 00 00 D5 05 DA [08:43:58]*** FLAG_PRN_KEY reset [08:43:58]Write i2c OK [08:43:58]MH_I2C_Read... [08:43:58]Read from MH i2c: 01 [08:43:58]MH_I2C_Read... [08:43:58]Read from MH i2c: 01 07 00 [08:43:58]MH_I2C_Read... [08:43:58]Read from MH i2c: 01 07 00 D5 05 00 00 00 00 00 F6 0F E6 [08:43:58]state=2 [08:43:58]Stop feed [08:44:03]OFD Sender: No OFD packet to send [08:44:08]OFD Sender: No OFD packet to send [08:44:13]OFD Sender: No OFD packet to send [08:44:18]OFD Sender: No OFD packet to send [08:44:23]OFD Sender: No OFD packet to send [08:44:28]OFD Sender: No OFD packet to send [08:44:33]OFD Sender: No OFD packet to send [08:44:38]OFD Sender: No OFD packet to send [08:44:43]OFD Sender: No OFD packet to send [08:44:48]OFD Sender: No OFD packet to send [08:44:53]OFD Sender: No OFD packet to send [08:44:58]OFD Sender: No OFD packet to send [08:45:03]OFD Sender: No OFD packet to send [08:45:08]OFD Sender: No OFD packet to send [08:45:13]OFD Sender: No OFD packet to send [08:45:18]OFD Sender: No OFD packet to send [08:45:23]OFD Sender: No OFD packet to send [08:45:28]OFD Sender: No OFD packet to send [08:45:33]OFD Sender: No OFD packet to send [08:45:38]OFD Sender: No OFD packet to send [08:45:43]OFD Sender: No OFD packet to send [08:45:48]OFD Sender: No OFD packet to send [08:45:53]OFD Sender: No OFD packet to send [08:45:58]OFD Sender: No OFD packet to send [08:46:03]OFD Sender: No OFD packet to send [08:46:08]OFD Sender: No OFD packet to send [08:46:13]OFD Sender: No OFD packet to send [08:46:18]OFD Sender: No OFD packet to send [08:46:23]OFD Sender: No OFD packet to send [08:46:28]OFD Sender: No OFD packet to send [08:46:33]OFD Sender: No OFD packet to send [08:46:38]OFD Sender: No OFD packet to send [08:46:43]OFD Sender: No OFD packet to send [08:46:48]OFD Sender: No OFD packet to send [08:46:53]OFD Sender: No OFD packet to send [08:46:58]OFD Sender: No OFD packet to send [08:47:03]OFD Sender: No OFD packet to send [08:47:08]OFD Sender: No OFD packet to send [08:47:13]OFD Sender: No OFD packet to send [08:47:18]OFD Sender: No OFD packet to send [08:47:23]OFD Sender: No OFD packet to send [08:47:28]OFD Sender: No OFD packet to send [08:47:33]OFD Sender: No OFD packet to send [08:47:38]OFD Sender: No OFD packet to send [08:47:43]OFD Sender: No OFD packet to send [08:47:48]OFD Sender: No OFD packet to send [08:47:53]OFD Sender: No OFD packet to send [08:47:58]OFD Sender: No OFD packet to send [08:48:03]OFD Sender: No OFD packet to send [08:48:08]OFD Sender: No OFD packet to send [08:48:13]OFD Sender: No OFD packet to send [08:48:18]OFD Sender: No OFD packet to send [08:48:23]OFD Sender: No OFD packet to send [08:48:25]accept exits with 8 [08:48:25]New connection [08:48:25]New thread 3067342180 created [08:48:25]Thread 3067485540 joined [08:48:25]Waiting for new connection... [08:48:25] Sock 8.Parse request [08:48:25]Sock 8.Check first char [08:48:25]Sock 8.First char is OK [08:48:25]request: POST /json_proto HTTP/1.0 [08:48:25]Method: POST [08:48:25]URL: /json_proto [08:48:25]Method is POST - this is cgi request [08:48:25]url: /json_proto [08:48:25]query_string will be loaded in cgi processing [08:48:25]execute_cgi json_proto POST (null) [08:48:25]execute_cgi path=json_proto method=POST [08:48:25]POST find Content-Length [08:48:25]Host: 172.17.47.135:8080 [08:48:25]Content-Length: 820 [08:48:25]Content-Type: application/json [08:48:25] [08:48:25]POST finish read [08:48:25]Found Content-Length = 820 [08:48:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6544904", "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" : 64.20, "quantity" : 15.580, "sum" : 1000.24, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 1000.24 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:48:25]execute_script... [08:48:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6544904", "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" : 64.20, "quantity" : 15.580, "sum" : 1000.24, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 1000.24 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:48:25]POST & json_proto [08:48:25]process_json_proto [08:48:25]json parsed OK: [08:48:25]protocol is kg_v1.0 [08:48:25]action value=close_receipt [08:48:25]process_action close_receipt [08:48:25]cmd_close_receipt [08:48:25]MH_GetDate [08:48:25]Write to MH i2c: F0 00 00 D6 05 CA [08:48:25]Write i2c OK [08:48:25]MH_I2C_Read... [08:48:25]Read from MH i2c: F0 [08:48:25]MH_I2C_Read... [08:48:25]Read from MH i2c: F0 09 00 [08:48:25]MH_I2C_Read... [08:48:25]Read from MH i2c: F0 09 00 D6 05 00 DD 3D B8 67 19 D8 DE 66 41 [08:48:25]GetLastDocTimeStamp 1740126687 [08:48:25]current date 1740127709 [08:48:25]FM_GetShiftState [08:48:25]SAM_PROTO_GetShiftState [08:48:25]wFMCommunicate request_size=4 [08:48:25]MH_SAM_APDU [08:48:25]CAPDU: 80 13 01 00 [08:48:25]Write to MH i2c: E2 08 00 D7 05 80 13 01 00 00 00 00 00 59 [08:48:25]Write i2c OK [08:48:25]MH_I2C_Read... [08:48:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:48:25]Read from MH i2c: E2 [08:48:25]MH_I2C_Read... [08:48:25]Read from MH i2c: E2 0E 00 [08:48:25]MH_I2C_Read... [08:48:25]Read from MH i2c: E2 0E 00 D7 05 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 BE [08:48:25]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [08:48:25]wFMCommunicate OK [08:48:25]SAM_PROTO_GetShiftState done [08:48:25]FM_GetShiftState done [08:48:25]opened in 1740096631 [08:48:25]opened+sec_in_day 1740183031 [08:48:25]quantity*price = 100023 [08:48:25]sum+1 = 100025 [08:48:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.24 НСП 1% : 8.85 НДС 12% : 106.22 Наличными: 0.00 Безнал.: 1000.24 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 4 21.02.2025 08:48 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32616 ФПД: 32298030431292 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T084829&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32616&fm=32298030431292&tin=02508201610067®Number=0000000000146237&sum=100024 [08:48:26]StoreToDocumentArchive [08:48:26]shift 386 fd 32616 [08:48:26]save to /storage/0386/doc_00032616 [08:48:26]save last doc name /storage/0386/doc_00032616 to /storage/kkm_last_doc_name [08:48:26]save OK [08:48:26]Clear old archive folders... [08:48:26]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:48:26]tlvbuf is B6F43D60 [08:48:26]SAM_PROTO_ClearQueue [08:48:26]wFMCommunicate request_size=4 [08:48:26]MH_SAM_APDU [08:48:26]CAPDU: 80 09 00 00 [08:48:26]Write to MH i2c: E2 08 00 E4 05 80 09 00 00 00 00 00 00 5B [08:48:26]Write i2c OK [08:48:26]MH_I2C_Read... [08:48:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:48:27]Read from MH i2c: E2 [08:48:27]MH_I2C_Read... [08:48:27]Read from MH i2c: E2 03 00 [08:48:27]MH_I2C_Read... [08:48:27]Read from MH i2c: E2 03 00 E4 05 00 90 00 5D [08:48:27]RAPDU: 90 00 [08:48:27]wFMCommunicate OK [08:48:27]SAM_PROTO_ClearQueue done [08:48:27]KKMCreateOFDPacket [08:48:27]OFDProtocolAddRootSTLVToBuf [08:48:27]FM_MakeSignedData [08:48:27]FM_MakeSignedData [08:48:27]SAM_PROTO_SignData [08:48:27]wFMCommunicate request_size=4 [08:48:27]MH_SAM_APDU [08:48:27]CAPDU: 80 0D 01 02 [08:48:27]Write to MH i2c: E2 08 00 E5 05 80 0D 01 02 00 00 00 00 63 [08:48:27]Write i2c OK [08:48:27]MH_I2C_Read... [08:48:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:48:27]Read from MH i2c: E2 [08:48:27]MH_I2C_Read... [08:48:27]Read from MH i2c: E2 03 00 [08:48:27]MH_I2C_Read... [08:48:27]Read from MH i2c: E2 03 00 E5 05 00 90 00 5E [08:48:27]RAPDU: 90 00 [08:48:27]wFMCommunicate OK [08:48:27]wFMCommunicate request_size=255 [08:48:27]MH_SAM_APDU [08:48:27]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 DC 3C 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 B8 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 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 00 00 00 00 00 00 39 04 06 00 B8 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 DD 3D B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 68 7F 00 00 35 04 06 00 1D [08:48:27]Write to MH i2c: E2 02 01 E6 05 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 DC 3C 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 B8 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 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 00 00 00 00 00 00 39 04 06 00 B8 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 DD 3D B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 68 7F 00 00 35 04 06 00 1D 00 00 53 [08:48:27]Write i2c OK [08:48:27]MH_I2C_Read... [08:48:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:48:27]Read from MH i2c: E2 [08:48:27]MH_I2C_Read... [08:48:27]Read from MH i2c: E2 03 00 [08:48:27]MH_I2C_Read... [08:48:27]Read from MH i2c: E2 03 00 E6 05 00 90 00 5F [08:48:27]RAPDU: 90 00 [08:48:27]wFMCommunicate OK [08:48:27]wFMCommunicate request_size=10 [08:48:27]MH_SAM_APDU [08:48:27]CAPDU: 80 0D 02 02 05 5F F8 A1 7C 3C [08:48:27]Write to MH i2c: E2 0D 00 E7 05 80 0D 02 02 05 00 5F F8 A1 7C 3C 00 00 20 [08:48:27]Write i2c OK [08:48:27]MH_I2C_Read... [08:48:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:48:27]Read from MH i2c: E2 [08:48:27]MH_I2C_Read... [08:48:27]Read from MH i2c: E2 03 00 [08:48:27]MH_I2C_Read... [08:48:27]Read from MH i2c: E2 03 00 E7 05 00 90 00 60 [08:48:27]RAPDU: 90 00 [08:48:27]wFMCommunicate OK [08:48:27]wFMCommunicate request_size=4 [08:48:27]MH_SAM_APDU [08:48:27]CAPDU: 80 0D 03 02 [08:48:27]Write to MH i2c: E2 08 00 E8 05 80 0D 03 02 00 00 00 00 68 [08:48:27]Write i2c OK [08:48:27]MH_I2C_Read... [08:48:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:48:27]Read from MH i2c: E2 [08:48:27]MH_I2C_Read... [08:48:27]Read from MH i2c: E2 0B 00 [08:48:27]MH_I2C_Read... [08:48:27]Read from MH i2c: E2 0B 00 E8 05 00 C6 67 A0 40 11 BF 04 C4 90 00 0E [08:48:27]RAPDU: C6 67 A0 40 11 BF 04 C4 90 00 [08:48:27]wFMCommunicate OK [08:48:27]SAM_PROTO_SignData done [08:48:27]FM_MakeSignedData done [08:48:27]CreateOFDProtocolMessage [08:48:27]wFMCommunicate request_size=4 [08:48:27]MH_SAM_APDU [08:48:27]CAPDU: 80 11 00 00 [08:48:27]Write to MH i2c: E2 08 00 E9 05 80 11 00 00 00 00 00 00 68 [08:48:27]Write i2c OK [08:48:27]MH_I2C_Read... [08:48:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:48:27]Read from MH i2c: E2 [08:48:27]MH_I2C_Read... [08:48:27]Read from MH i2c: E2 17 00 [08:48:27]MH_I2C_Read... [08:48:27]Read from MH i2c: E2 17 00 E9 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 BE [08:48:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [08:48:27]wFMCommunicate OK [08:48:27]CreateOFDProtocolMessage done [08:48:27]OFDSenderStorePacket 32616 [08:48:27]StoreOFDPacket docnum=32616 [08:48:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 F9 73 07 01 61 72 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 DC 3C 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 B8 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 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 00 00 00 00 00 00 39 04 06 00 B8 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 DD 3D B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 68 7F 00 00 35 04 06 00 1D 5F F8 A1 7C 3C C6 67 A0 40 11 BF 04 C4 [08:48:27]CheckFolder [08:48:27]dirname=/storage/ofd_packets [08:48:27]CheckFolder done [08:48:27]ProducePacketName [08:48:27]name=ofd_packets/00032616 [08:48:27]NVStorageSaveData ofd_packets/00032616 [08:48:27]File name is /storage/ofd_packets/00032616 [08:48:27]Write 301 bytes [08:48:27]NVStorageSaveData done [08:48:27]OFDSenderStorePacket done [08:48:27]KKMCreateOFDPacket done [08:48:27]NVStorageSaveData kkm_last_timestamp [08:48:27]File name is /storage/kkm_last_timestamp [08:48:27]Write 4 bytes [08:48:27]NVStorageSaveData done [08:48:27]ExternCall_PrintAddStr [08:48:27]wPrintStart [08:48:27]Write to MH i2c: 01 00 00 EA 05 EF [08:48:27]Write i2c OK [08:48:27]MH_I2C_Read... [08:48:27]Read from MH i2c: 01 [08:48:27]MH_I2C_Read... [08:48:27]Read from MH i2c: 01 07 00 [08:48:27]MH_I2C_Read... [08:48:27]Read from MH i2c: 01 07 00 EA 05 00 00 00 00 00 FF 0F 04 [08:48:27]RasterBufferAndPrint [08:48:27]line Счет N : (1)6544904 [08:48:27]line ИНН: 02508201610067 [08:48:27]line Контрольно-Кассовый Чек [08:48:27]line ПРОДАЖА [08:48:27]line ТРК (МРК, ГНК) : 22 [08:48:27]line Товар: 2710124130 [08:48:27]line Аи-92-К-5 [08:48:27]line 15.580 * 64.20 [08:48:27]line = 1000.24 [08:48:27]line НДС 12% НСП 1% [08:48:27]line > о реализуемом товаре [08:48:27]line ИТОГО: 1000.24 [08:48:27]line НСП 1% : 8.85 [08:48:27]line НДС 12% : 106.22 [08:48:27]line Наличными: 0.00 [08:48:27]line Безнал.: 1000.24 [08:48:27]line Место: АЗС № 96 "Партнер Нефть" [08:48:27]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [08:48:27]line СНО: Общий режим [08:48:27]line Чек 4 21.02.2025 08:48 [08:48:27]line Смена: 386 ФФД: 1.0 [08:48:27]line ЗНМ: 0300000059 [08:48:27]line РНМ: 0000000000146237 [08:48:27]line Версия ККМ: v1.0 [08:48:27]line Платежная система: Бакай Банк [08:48:27]line ФМ: 0000000000959282 [08:48:27]line ФД: 32616 [08:48:27]line ФПД: 32298030431292 [08:48:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T084829&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32616&fm=32298030431292&tin=02508201610067®Number=0000000000146237&sum=100024 [08:48:27]OFD Sender: Processing packet 32616 [packets to send 105, broken 104] [08:48:27]ProducePacketName [08:48:27]name=ofd_packets/00032616 [08:48:27]OFD Sender: To server: pG, [08:48:27]CommunicateWithHost lk.salyk.kg:30040 [08:48:27]ConnectInit lk.salyk.kg [08:48:27]written 0, free lines is 4095 [08:48:28]Write to MH i2c: 01 00 00 14 06 1A [08:48:28]Write i2c OK [08:48:28]MH_I2C_Read... [08:48:28]Read from MH i2c: 01 [08:48:28]MH_I2C_Read... [08:48:28]Read from MH i2c: 01 07 00 [08:48:28]MH_I2C_Read... [08:48:28]Read from MH i2c: 01 07 00 14 06 00 00 00 00 00 00 0D 2E [08:48:28]RasterBufferAndPrint [08:48:28]line [08:48:28]line [08:48:28]line [08:48:28]line [08:48:28]line [08:48:28]written 0, free lines is 3333 [08:48:28]MH_Cut [08:48:28]Write to MH i2c: D1 01 00 1B 06 01 F3 [08:48:28]Write i2c OK [08:48:28]MH_I2C_Read... [08:48:28]Read from MH i2c: D1 [08:48:28]MH_I2C_Read... [08:48:28]Read from MH i2c: D1 01 00 [08:48:28]MH_I2C_Read... [08:48:28]Read from MH i2c: D1 01 00 1B 06 00 F2 [08:48:28]Write to MH i2c: 01 00 00 1C 06 22 [08:48:28]Write i2c OK [08:48:28]MH_I2C_Read... [08:48:28]Connected sock=10 [08:48: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 32 38 32 0F 01 00 00 F9 73 07 01 61 72 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 DC 3C 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 B8 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 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 00 00 00 00 00 00 39 04 06 00 B8 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 DD 3D B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 68 7F 00 00 35 04 06 00 1D 5F F8 A1 7C 3C C6 67 A0 40 11 BF 04 C4 [08:48:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 B4 45 47 00 FD 59 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 32 38 32 10 04 04 00 68 7F 00 00 F4 03 04 00 74 E7 B7 67 B6 04 01 00 00 59 22 81 AD 3E 03 77 A7 [08:48:28]CommunicateWithHost err = 0 [08:48:28]CheckOFDResponse [08:48:28]1017 (14) - 77093643461234 [08:48:28]1041 (16) - 0000000000959282 [08:48:28]1040 (4) - 32616 [08:48:28]1012 (4) - 21.02.2025 02:39 [08:48:28]1206 (1) - 0 [08:48:28]OFD Sender: Remove packet 32616 [08:48:28]ProducePacketName [08:48:28]name=ofd_packets/00032616 [08:48:28]NVStorageDeleteData [08:48:28]*** Cut start [08:48:28]*** Partial cut [08:48:28]*** CUTSNS_PIN = 1 [08:48:28]*** CUTSNS_PIN = 0 [08:48:29]OFD Sender: No OFD packet to send [08:48:29]*** Brake cut motor [08:48:29]Read from MH i2c: 01 [08:48:29]MH_I2C_Read... [08:48:29]*** Stop cut motor [08:48:29]*** Cut end [08:48:29]Read from MH i2c: 01 07 00 [08:48:29]MH_I2C_Read... [08:48:29]Read from MH i2c: 01 07 00 1C 06 00 00 00 00 00 FF 0F 37 [08:48:29]process_action close_receipt done [08:48:29]requested_data is exist [08:48:29]produce_requested_data [08:48:29]requested_item fm.sn is exist - process it [08:48:29]wFMCommunicate request_size=4 [08:48:29]MH_SAM_APDU [08:48:29]CAPDU: 80 11 00 00 [08:48:29]Write to MH i2c: E2 08 00 1D 06 80 11 00 00 00 00 00 00 9D [08:48:29]Write i2c OK [08:48:29]MH_I2C_Read... [08:48:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:48:29]Read from MH i2c: E2 [08:48:29]MH_I2C_Read... [08:48:29]Read from MH i2c: E2 17 00 [08:48:29]MH_I2C_Read... [08:48:29]Read from MH i2c: E2 17 00 1D 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 F3 [08:48:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [08:48:29]wFMCommunicate OK [08:48:29]requested_item fd.num is exist - process it [08:48:29]SAM_PROTO_GetFieldsCounters [08:48:29]wFMCommunicate request_size=4 [08:48:29]MH_SAM_APDU [08:48:29]CAPDU: 80 13 00 00 [08:48:29]Write to MH i2c: E2 08 00 1E 06 80 13 00 00 00 00 00 00 A0 [08:48:29]Write i2c OK [08:48:29]MH_I2C_Read... [08:48:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:48:29]Read from MH i2c: E2 [08:48:29]MH_I2C_Read... [08:48:29]Read from MH i2c: E2 62 00 [08:48:29]MH_I2C_Read... [08:48:29]Read from MH i2c: E2 62 00 1E 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 68 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 38 [08:48:29]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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 68 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:48:29]wFMCommunicate OK [08:48:29]SAM_PROTO_GetFieldsCounters done [08:48:29]requested_item shift.num is exist - process it [08:48:29]requested_item shift.opened is exist - process it [08:48:29]req_shift_opened [08:48:29]FM_GetShiftState [08:48:29]SAM_PROTO_GetShiftState [08:48:29]wFMCommunicate request_size=4 [08:48:29]MH_SAM_APDU [08:48:29]CAPDU: 80 13 01 00 [08:48:29]Write to MH i2c: E2 08 00 1F 06 80 13 01 00 00 00 00 00 A2 [08:48:29]Write i2c OK [08:48:29]MH_I2C_Read... [08:48:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:48:29]Read from MH i2c: E2 [08:48:29]MH_I2C_Read... [08:48:29]Read from MH i2c: E2 0E 00 [08:48:29]MH_I2C_Read... [08:48:29]Read from MH i2c: E2 0E 00 1F 06 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 07 [08:48:29]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [08:48:29]wFMCommunicate OK [08:48:29]SAM_PROTO_GetShiftState done [08:48:29]FM_GetShiftState done [08:48:29]req_shift_opened done [08:48:29]requested_item shift.open_date is exist - process it [08:48:29]req_shift_open_date [08:48:29]req_shift_open_date done [08:48:29]produce_requested_data done [08:48:29]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32616,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [08:48:29]process_action_free close_receipt [08:48:29]json_value_free [08:48:29]json_value_free done [08:48:29]process_json_proto returns [08:48:29]Send response to host [08:48:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32616,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [08:48:29]free response buf [08:48:29]execute_script done [08:48:29]execute_script returns [08:48:29]free content buf [08:48:29]Sock 8.Close socket [08:48:29]Sock 8.Thread stoped [08:48:34]OFD Sender: No OFD packet to send [08:48:39]OFD Sender: No OFD packet to send [08:48:44]OFD Sender: No OFD packet to send [08:48:49]OFD Sender: No OFD packet to send [08:48:54]OFD Sender: No OFD packet to send [08:48:59]OFD Sender: No OFD packet to send [08:49:04]OFD Sender: No OFD packet to send [08:49:09]OFD Sender: No OFD packet to send [08:49:14]OFD Sender: No OFD packet to send [08:49:19]OFD Sender: No OFD packet to send [08:49:24]OFD Sender: No OFD packet to send [08:49:29]OFD Sender: No OFD packet to send [08:49:34]OFD Sender: No OFD packet to send [08:49:39]OFD Sender: No OFD packet to send [08:49:44]OFD Sender: No OFD packet to send [08:49:49]OFD Sender: No OFD packet to send [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]accept exits with 9 [08:52:34]New connection [08:52:34]New thread 3067485540 created [08:52:34]Thread 3067342180 joined [08:52:34]Waiting for new connection... [08:52:34] Sock 9.Parse request [08:52:34]Sock 9.Check first char [08:52:34]Sock 9.First char is OK [08:52:34]request: POST /json_proto HTTP/1.0 [08:52:34]Method: POST [08:52:34]URL: /json_proto [08:52:34]Method is POST - this is cgi request [08:52:34]url: /json_proto [08:52:34]query_string will be loaded in cgi processing [08:52:34]execute_cgi json_proto POST (null) [08:52:34]execute_cgi path=json_proto method=POST [08:52:34]POST find Content-Length [08:52:34]Host: 172.17.47.135:8080 [08:52:34]Content-Length: 675 [08:52:34]Content-Type: application/json [08:52:34] [08:52:34]POST finish read [08:52:34]Found Content-Length = 675 [08:52:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6544905", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 72.60, "quantity" : 1.380, "sum" : 100.19, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 100.00, "total" : 100.00, "payments": [ { "type": 0, "sum" : 100.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:52:34]execute_script... [08:52:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6544905", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 72.60, "quantity" : 1.380, "sum" : 100.19, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 100.00, "total" : 100.00, "payments": [ { "type": 0, "sum" : 100.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:52:34]POST & json_proto [08:52:34]process_json_proto [08:52:34]json parsed OK: [08:52:34]protocol is kg_v1.0 [08:52:34]action value=close_receipt [08:52:34]process_action close_receipt [08:52:34]cmd_close_receipt [08:52:34]MH_GetDate [08:52:34]Write to MH i2c: F0 00 00 20 06 15 [08:52:34]Write i2c OK [08:52:34]MH_I2C_Read... [08:52:34]Read from MH i2c: F0 [08:52:34]MH_I2C_Read... [08:52:34]Read from MH i2c: F0 09 00 [08:52:34]MH_I2C_Read... [08:52:34]Read from MH i2c: F0 09 00 20 06 00 D5 3E B8 67 19 D8 DE 66 85 [08:52:34]GetLastDocTimeStamp 1740127709 [08:52:34]current date 1740127957 [08:52:34]FM_GetShiftState [08:52:34]SAM_PROTO_GetShiftState [08:52:34]wFMCommunicate request_size=4 [08:52:34]MH_SAM_APDU [08:52:34]CAPDU: 80 13 01 00 [08:52:34]Write to MH i2c: E2 08 00 21 06 80 13 01 00 00 00 00 00 A4 [08:52:34]Write i2c OK [08:52:34]MH_I2C_Read... [08:52:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:52:34]Read from MH i2c: E2 [08:52:34]MH_I2C_Read... [08:52:34]Read from MH i2c: E2 0E 00 [08:52:34]MH_I2C_Read... [08:52:34]Read from MH i2c: E2 0E 00 21 06 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 09 [08:52:34]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [08:52:34]wFMCommunicate OK [08:52:34]SAM_PROTO_GetShiftState done [08:52:34]FM_GetShiftState done [08:52:34]opened in 1740096631 [08:52:34]opened+sec_in_day 1740183031 [08:52:34]quantity*price = 10018 [08:52:34]sum+1 = 10020 [08:52:34]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.19 ИТОГО: 100.00 Внесено: 100.00 СДАЧА: 0.00 НСП 1% : 0.89 НДС 12% : 10.64 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 5 21.02.2025 08:52 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32617 ФПД: 219590201601980 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T085237&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32617&fm=219590201601980&tin=02508201610067®Number=0000000000146237&sum=10000 [08:52:35]StoreToDocumentArchive [08:52:35]shift 386 fd 32617 [08:52:35]save to /storage/0386/doc_00032617 [08:52:35]save last doc name /storage/0386/doc_00032617 to /storage/kkm_last_doc_name [08:52:35]save OK [08:52:35]Clear old archive folders... [08:52:35]ProcessDocumentItem done err = 0, tmpTLVsize=248 [08:52:35]tlvbuf is 017B6A40 [08:52:35]SAM_PROTO_ClearQueue [08:52:35]wFMCommunicate request_size=4 [08:52:35]MH_SAM_APDU [08:52:35]CAPDU: 80 09 00 00 [08:52:35]Write to MH i2c: E2 08 00 2E 06 80 09 00 00 00 00 00 00 A6 [08:52:35]Write i2c OK [08:52:35]MH_I2C_Read... [08:52:35]Read from MH i2c: E2 [08:52:35]MH_I2C_Read... [08:52:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:52:35]Read from MH i2c: E2 03 00 [08:52:35]MH_I2C_Read... [08:52:35]Read from MH i2c: E2 03 00 2E 06 00 90 00 A8 [08:52:35]RAPDU: 90 00 [08:52:35]wFMCommunicate OK [08:52:35]SAM_PROTO_ClearQueue done [08:52:35]KKMCreateOFDPacket [08:52:35]OFDProtocolAddRootSTLVToBuf [08:52:35]FM_MakeSignedData [08:52:35]FM_MakeSignedData [08:52:35]SAM_PROTO_SignData [08:52:35]wFMCommunicate request_size=4 [08:52:35]MH_SAM_APDU [08:52:35]CAPDU: 80 0D 01 02 [08:52:35]Write to MH i2c: E2 08 00 2F 06 80 0D 01 02 00 00 00 00 AE [08:52:35]Write i2c OK [08:52:35]MH_I2C_Read... [08:52:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:52:35]Read from MH i2c: E2 [08:52:35]MH_I2C_Read... [08:52:35]Read from MH i2c: E2 03 00 [08:52:35]MH_I2C_Read... [08:52:35]Read from MH i2c: E2 03 00 2F 06 00 90 00 A9 [08:52:35]RAPDU: 90 00 [08:52:35]wFMCommunicate OK [08:52:35]wFMCommunicate request_size=255 [08:52:35]MH_SAM_APDU [08:52:35]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 32 FF 03 08 00 03 64 05 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 23 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 D5 3E B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 69 7F 00 00 35 04 06 00 C7 B7 53 F6 [08:52:35]Write to MH i2c: E2 02 01 30 06 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 32 FF 03 08 00 03 64 05 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 23 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 D5 3E B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 69 7F 00 00 35 04 06 00 C7 B7 53 F6 00 00 90 [08:52:35]Write i2c OK [08:52:35]MH_I2C_Read... [08:52:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:52:35]Read from MH i2c: E2 [08:52:35]MH_I2C_Read... [08:52:35]Read from MH i2c: E2 03 00 [08:52:35]MH_I2C_Read... [08:52:35]Read from MH i2c: E2 03 00 30 06 00 90 00 AA [08:52:35]RAPDU: 90 00 [08:52:35]wFMCommunicate OK [08:52:35]wFMCommunicate request_size=7 [08:52:35]MH_SAM_APDU [08:52:35]CAPDU: 80 0D 02 02 02 6F BC [08:52:35]Write to MH i2c: E2 0A 00 31 06 80 0D 02 02 02 00 6F BC 00 00 E0 [08:52:35]Write i2c OK [08:52:35]MH_I2C_Read... [08:52:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:52:35]Read from MH i2c: E2 [08:52:35]MH_I2C_Read... [08:52:35]Read from MH i2c: E2 03 00 [08:52:35]MH_I2C_Read... [08:52:35]Read from MH i2c: E2 03 00 31 06 00 90 00 AB [08:52:35]RAPDU: 90 00 [08:52:35]wFMCommunicate OK [08:52:35]wFMCommunicate request_size=4 [08:52:35]MH_SAM_APDU [08:52:35]CAPDU: 80 0D 03 02 [08:52:35]Write to MH i2c: E2 08 00 32 06 80 0D 03 02 00 00 00 00 B3 [08:52:35]Write i2c OK [08:52:35]MH_I2C_Read... [08:52:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:52:35]Read from MH i2c: E2 [08:52:35]MH_I2C_Read... [08:52:35]Read from MH i2c: E2 0B 00 [08:52:35]MH_I2C_Read... [08:52:35]Read from MH i2c: E2 0B 00 32 06 00 59 A8 B4 A4 11 56 2A DB 90 00 79 [08:52:35]RAPDU: 59 A8 B4 A4 11 56 2A DB 90 00 [08:52:35]wFMCommunicate OK [08:52:35]SAM_PROTO_SignData done [08:52:35]FM_MakeSignedData done [08:52:35]CreateOFDProtocolMessage [08:52:35]wFMCommunicate request_size=4 [08:52:35]MH_SAM_APDU [08:52:35]CAPDU: 80 11 00 00 [08:52:35]Write to MH i2c: E2 08 00 33 06 80 11 00 00 00 00 00 00 B3 [08:52:35]Write i2c OK [08:52:35]MH_I2C_Read... [08:52:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:52:35]Read from MH i2c: E2 [08:52:35]MH_I2C_Read... [08:52:35]Read from MH i2c: E2 17 00 [08:52:35]MH_I2C_Read... [08:52:35]Read from MH i2c: E2 17 00 33 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 09 [08:52:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [08:52:35]wFMCommunicate OK [08:52:35]CreateOFDProtocolMessage done [08:52:35]OFDSenderStorePacket 32617 [08:52:35]StoreOFDPacket docnum=32617 [08:52:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0C 01 00 00 D3 6A 04 01 84 11 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 32 FF 03 08 00 03 64 05 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 23 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 D5 3E B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 69 7F 00 00 35 04 06 00 C7 B7 53 F6 6F BC 59 A8 B4 A4 11 56 2A DB [08:52:35]CheckFolder [08:52:35]dirname=/storage/ofd_packets [08:52:35]CheckFolder done [08:52:35]ProducePacketName [08:52:35]name=ofd_packets/00032617 [08:52:35]NVStorageSaveData ofd_packets/00032617 [08:52:35]File name is /storage/ofd_packets/00032617 [08:52:35]Write 298 bytes [08:52:35]NVStorageSaveData done [08:52:35]OFDSenderStorePacket done [08:52:35]KKMCreateOFDPacket done [08:52:35]NVStorageSaveData kkm_last_timestamp [08:52:35]File name is /storage/kkm_last_timestamp [08:52:35]Write 4 bytes [08:52:35]NVStorageSaveData done [08:52:35]ExternCall_PrintAddStr [08:52:35]wPrintStart [08:52:35]Write to MH i2c: 01 00 00 34 06 3A [08:52:35]Write i2c OK [08:52:35]MH_I2C_Read... [08:52:35]Read from MH i2c: 01 [08:52:35]MH_I2C_Read... [08:52:35]Read from MH i2c: 01 07 00 [08:52:35]MH_I2C_Read... [08:52:35]Read from MH i2c: 01 07 00 34 06 00 00 00 00 00 FF 0F 4F [08:52:35]RasterBufferAndPrint [08:52:35]line Счет N : (1)6544905 [08:52:35]line ИНН: 02508201610067 [08:52:35]line Контрольно-Кассовый Чек [08:52:35]line ПРОДАЖА [08:52:35]line ТРК (МРК, ГНК) : 43 [08:52:35]line Товар: 2710194210 [08:52:35]line ДТ-К-2 [08:52:35]line 1.380 * 72.60 [08:52:35]line = 100.19 [08:52:35]line НДС 12% НСП 1% [08:52:35]line > о реализуемом товаре [08:52:35]line ОКРУГЛЕНИЕ: -0.19 [08:52:35]line ИТОГО: 100.00 [08:52:35]line Внесено: 100.00 [08:52:35]line СДАЧА: 0.00 [08:52:35]line НСП 1% : 0.89 [08:52:35]line НДС 12% : 10.64 [08:52:35]line Наличными: 100.00 [08:52:35]line Безнал.: 0.00 [08:52:35]line Место: АЗС № 96 "Партнер Нефть" [08:52:35]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [08:52:35]line СНО: Общий режим [08:52:35]line Чек 5 21.02.2025 08:52 [08:52:35]line Смена: 386 ФФД: 1.0 [08:52:35]line ЗНМ: 0300000059 [08:52:35]line РНМ: 0000000000146237 [08:52:35]line Версия ККМ: v1.0 [08:52:35]line ФМ: 0000000000959282 [08:52:35]line ФД: 32617 [08:52:35]line ФПД: 219590201601980 [08:52:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T085237&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32617&fm=219590201601980&tin=02508201610067®Number=0000000000146237&sum=10000 [08:52:36]OFD Sender: Processing packet 32617 [packets to send 105, broken 104] [08:52:36]ProducePacketName [08:52:36]name=ofd_packets/00032617 [08:52:36]OFD Sender: To server: pG, [08:52:36]CommunicateWithHost lk.salyk.kg:30040 [08:52:36]ConnectInit lk.salyk.kg [08:52:36]written 0, free lines is 4095 [08:52:36]Connected sock=10 [08:52:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0C 01 00 00 D3 6A 04 01 84 11 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 32 FF 03 08 00 03 64 05 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 23 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 28 04 00 00 00 00 07 04 06 00 10 27 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 D5 3E B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 69 7F 00 00 35 04 06 00 C7 B7 53 F6 6F BC 59 A8 B4 A4 11 56 2A DB [08:52:36]Write to MH i2c: 01 00 00 5F 06 65 [08:52:36]Write i2c OK [08:52:36]MH_I2C_Read... [08:52:36]Read from MH i2c: 01 [08:52:36]MH_I2C_Read... [08:52:36]Read from MH i2c: 01 07 00 [08:52:36]MH_I2C_Read... [08:52:36]Read from MH i2c: 01 07 00 5F 06 00 00 00 00 00 ED 0C 65 [08:52:36]RasterBufferAndPrint [08:52:36]line [08:52:36]line [08:52:36]line [08:52:36]line [08:52:36]line [08:52:36]written 0, free lines is 3315 [08:52:36]MH_Cut [08:52:36]Write to MH i2c: D1 01 00 66 06 01 3E [08:52:36]Write i2c OK [08:52:36]MH_I2C_Read... [08:52:36]Read from MH i2c: D1 [08:52:36]MH_I2C_Read... [08:52:36]Read from MH i2c: D1 01 00 [08:52:36]MH_I2C_Read... [08:52:36]Read from MH i2c: D1 01 00 66 06 00 3D [08:52:36]Write to MH i2c: 01 00 00 67 06 6D [08:52:36]Write i2c OK [08:52:36]MH_I2C_Read... [08:52:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 CC 73 47 00 6B 71 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 69 7F 00 00 F4 03 04 00 6C E8 B7 67 B6 04 01 00 00 DC C5 53 07 67 D1 49 AA [08:52:36]CommunicateWithHost err = 0 [08:52:36]CheckOFDResponse [08:52:36]1017 (14) - 77093643461234 [08:52:36]1041 (16) - 0000000000959282 [08:52:36]1040 (4) - 32617 [08:52:36]1012 (4) - 21.02.2025 02:43 [08:52:36]1206 (1) - 0 [08:52:36]OFD Sender: Remove packet 32617 [08:52:36]ProducePacketName [08:52:36]name=ofd_packets/00032617 [08:52:36]NVStorageDeleteData [08:52:37]OFD Sender: No OFD packet to send [08:52:37]*** Cut start [08:52:37]*** Partial cut [08:52:37]*** CUTSNS_PIN = 1 [08:52:37]*** CUTSNS_PIN = 0 [08:52:37]*** Brake cut motor [08:52:37]Read from MH i2c: 01 [08:52:37]MH_I2C_Read... [08:52:37]*** Stop cut motor [08:52:37]*** Cut end [08:52:37]Read from MH i2c: 01 07 00 [08:52:37]MH_I2C_Read... [08:52:37]Read from MH i2c: 01 07 00 67 06 00 00 00 00 00 FF 0F 82 [08:52:37]process_action close_receipt done [08:52:37]requested_data is exist [08:52:37]produce_requested_data [08:52:37]requested_item fm.sn is exist - process it [08:52:37]wFMCommunicate request_size=4 [08:52:37]MH_SAM_APDU [08:52:37]CAPDU: 80 11 00 00 [08:52:37]Write to MH i2c: E2 08 00 68 06 80 11 00 00 00 00 00 00 E8 [08:52:37]Write i2c OK [08:52:37]MH_I2C_Read... [08:52:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:52:38]Read from MH i2c: E2 [08:52:38]MH_I2C_Read... [08:52:38]Read from MH i2c: E2 17 00 [08:52:38]MH_I2C_Read... [08:52:38]Read from MH i2c: E2 17 00 68 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 3E [08:52:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [08:52:38]wFMCommunicate OK [08:52:38]requested_item fd.num is exist - process it [08:52:38]SAM_PROTO_GetFieldsCounters [08:52:38]wFMCommunicate request_size=4 [08:52:38]MH_SAM_APDU [08:52:38]CAPDU: 80 13 00 00 [08:52:38]Write to MH i2c: E2 08 00 69 06 80 13 00 00 00 00 00 00 EB [08:52:38]Write i2c OK [08:52:38]MH_I2C_Read... [08:52:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:52:38]Read from MH i2c: E2 [08:52:38]MH_I2C_Read... [08:52:38]Read from MH i2c: E2 62 00 [08:52:38]MH_I2C_Read... [08:52:38]Read from MH i2c: E2 62 00 69 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 69 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 87 [08:52:38]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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 69 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:52:38]wFMCommunicate OK [08:52:38]SAM_PROTO_GetFieldsCounters done [08:52:38]requested_item shift.num is exist - process it [08:52:38]requested_item shift.opened is exist - process it [08:52:38]req_shift_opened [08:52:38]FM_GetShiftState [08:52:38]SAM_PROTO_GetShiftState [08:52:38]wFMCommunicate request_size=4 [08:52:38]MH_SAM_APDU [08:52:38]CAPDU: 80 13 01 00 [08:52:38]Write to MH i2c: E2 08 00 6A 06 80 13 01 00 00 00 00 00 ED [08:52:38]Write i2c OK [08:52:38]MH_I2C_Read... [08:52:38]Read from MH i2c: E2 [08:52:38]MH_I2C_Read... [08:52:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:52:38]Read from MH i2c: E2 0E 00 [08:52:38]MH_I2C_Read... [08:52:38]Read from MH i2c: E2 0E 00 6A 06 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 52 [08:52:38]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [08:52:38]wFMCommunicate OK [08:52:38]SAM_PROTO_GetShiftState done [08:52:38]FM_GetShiftState done [08:52:38]req_shift_opened done [08:52:38]requested_item shift.open_date is exist - process it [08:52:38]req_shift_open_date [08:52:38]req_shift_open_date done [08:52:38]produce_requested_data done [08:52:38]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32617,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [08:52:38]process_action_free close_receipt [08:52:38]json_value_free [08:52:38]json_value_free done [08:52:38]process_json_proto returns [08:52:38]Send response to host [08:52:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32617,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [08:52:38]free response buf [08:52:38]execute_script done [08:52:38]execute_script returns [08:52:38]free content buf [08:52:38]Sock 9.Close socket [08:52:38]Sock 9.Thread stoped [08:52:42]OFD Sender: No OFD packet to send [08:52:47]OFD Sender: No OFD packet to send [08:52:52]OFD Sender: No OFD packet to send [08:52:57]OFD Sender: No OFD packet to send [08:53:02]OFD Sender: No OFD packet to send [08:53:07]OFD Sender: No OFD packet to send [08:53:12]OFD Sender: No OFD packet to send [08:53:17]OFD Sender: No OFD packet to send [08:53:22]OFD Sender: No OFD packet to send [08:53:27]OFD Sender: No OFD packet to send [08:53:32]OFD Sender: No OFD packet to send [08:53:37]OFD Sender: No OFD packet to send [08:53:42]OFD Sender: No OFD packet to send [08:53:47]OFD Sender: No OFD packet to send [08:53:52]OFD Sender: No OFD packet to send [08:53:57]OFD Sender: No OFD packet to send [08:54:02]OFD Sender: No OFD packet to send [08:54:07]OFD Sender: No OFD packet to send [08:54:12]OFD Sender: No OFD packet to send [08:54:17]OFD Sender: No OFD packet to send [08:54:22]OFD Sender: No OFD packet to send [08:54:27]OFD Sender: No OFD packet to send [08:54:32]OFD Sender: No OFD packet to send [08:54:37]OFD Sender: No OFD packet to send [08:54:42]OFD Sender: No OFD packet to send [08:54:47]OFD Sender: No OFD packet to send [08:54:52]OFD Sender: No OFD packet to send [08:54:57]OFD Sender: No OFD packet to send [08:55:02]OFD Sender: No OFD packet to send [08:55:07]OFD Sender: No OFD packet to send [08:55:12]OFD Sender: No OFD packet to send [08:55:17]OFD Sender: No OFD packet to send [08:55:22]OFD Sender: No OFD packet to send [08:55:27]OFD Sender: No OFD packet to send [08:55:32]OFD Sender: No OFD packet to send [08:55:37]OFD Sender: No OFD packet to send [08:55:42]OFD Sender: No OFD packet to send [08:55:47]OFD Sender: No OFD packet to send [08:55:52]OFD Sender: No OFD packet to send [08:55:57]OFD Sender: No OFD packet to send [08:56:02]OFD Sender: No OFD packet to send [08:56:07]OFD Sender: No OFD packet to send [08:56:12]OFD Sender: No OFD packet to send [08:56:17]OFD Sender: No OFD packet to send [08:56:22]OFD Sender: No OFD packet to send [08:56:27]OFD Sender: No OFD packet to send [08:56:32]OFD Sender: No OFD packet to send [08:56:35]accept exits with 8 [08:56:35]New connection [08:56:35]New thread 3067342180 created [08:56:35]Thread 3067485540 joined [08:56:35]Waiting for new connection... [08:56:35] Sock 8.Parse request [08:56:35]Sock 8.Check first char [08:56:35]Sock 8.First char is OK [08:56:35]request: POST /json_proto HTTP/1.0 [08:56:35]Method: POST [08:56:35]URL: /json_proto [08:56:35]Method is POST - this is cgi request [08:56:35]url: /json_proto [08:56:35]query_string will be loaded in cgi processing [08:56:35]execute_cgi json_proto POST (null) [08:56:35]execute_cgi path=json_proto method=POST [08:56:35]POST find Content-Length [08:56:35]Host: 172.17.47.135:8080 [08:56:35]Content-Length: 805 [08:56:35]Content-Type: application/json [08:56:35] [08:56:35]POST finish read [08:56:35]Found Content-Length = 805 [08:56:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130829", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 146.00, "quantity" : 1.000, "sum" : 146.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 146.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:56:35]execute_script... [08:56: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 : (3)130829", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 146.00, "quantity" : 1.000, "sum" : 146.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 146.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:56:35]POST & json_proto [08:56:35]process_json_proto [08:56:35]json parsed OK: [08:56:35]protocol is kg_v1.0 [08:56:35]action value=close_receipt [08:56:35]process_action close_receipt [08:56:35]cmd_close_receipt [08:56:35]MH_GetDate [08:56:35]Write to MH i2c: F0 00 00 6B 06 60 [08:56:35]Write i2c OK [08:56:35]MH_I2C_Read... [08:56:35]Read from MH i2c: F0 [08:56:35]MH_I2C_Read... [08:56:35]Read from MH i2c: F0 09 00 [08:56:35]MH_I2C_Read... [08:56:35]Read from MH i2c: F0 09 00 6B 06 00 C6 3F B8 67 19 D8 DE 66 C2 [08:56:35]GetLastDocTimeStamp 1740127957 [08:56:35]current date 1740128198 [08:56:35]FM_GetShiftState [08:56:35]SAM_PROTO_GetShiftState [08:56:35]wFMCommunicate request_size=4 [08:56:35]MH_SAM_APDU [08:56:35]CAPDU: 80 13 01 00 [08:56:35]Write to MH i2c: E2 08 00 6C 06 80 13 01 00 00 00 00 00 EF [08:56:35]Write i2c OK [08:56:35]MH_I2C_Read... [08:56:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:56:35]Read from MH i2c: E2 [08:56:35]MH_I2C_Read... [08:56:35]Read from MH i2c: E2 0E 00 [08:56:35]MH_I2C_Read... [08:56:35]Read from MH i2c: E2 0E 00 6C 06 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 54 [08:56:35]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [08:56:35]wFMCommunicate OK [08:56:35]SAM_PROTO_GetShiftState done [08:56:35]FM_GetShiftState done [08:56:35]opened in 1740096631 [08:56:35]opened+sec_in_day 1740183031 [08:56:35]quantity*price = 14600 [08:56:35]sum+1 = 14601 [08:56:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 146.00 НСП 1% : 1.29 НДС 12% : 15.50 Наличными: 0.00 Безнал.: 146.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 6 21.02.2025 08:56 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32618 ФПД: 221778719398638 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T085638&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32618&fm=221778719398638&tin=02508201610067®Number=0000000000146237&sum=14600 0 [08:56:36]StoreToDocumentArchive [08:56:36]shift 386 fd 32618 [08:56:36]save to /storage/0386/doc_00032618 [08:56:36]save last doc name /storage/0386/doc_00032618 to /storage/kkm_last_doc_name [08:56:36]save OK [08:56:36]Clear old archive folders... [08:56:36]ProcessDocumentItem done err = 0, tmpTLVsize=280 [08:56:36]tlvbuf is 017B3AD0 [08:56:36]SAM_PROTO_ClearQueue [08:56:36]wFMCommunicate request_size=4 [08:56:36]MH_SAM_APDU [08:56:36]CAPDU: 80 09 00 00 [08:56:36]Write to MH i2c: E2 08 00 79 06 80 09 00 00 00 00 00 00 F1 [08:56:36]Write i2c OK [08:56:36]MH_I2C_Read... [08:56:36]Read from MH i2c: E2 [08:56:36]MH_I2C_Read... [08:56:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:56:36]Read from MH i2c: E2 03 00 [08:56:36]MH_I2C_Read... [08:56:36]Read from MH i2c: E2 03 00 79 06 00 90 00 F3 [08:56:36]RAPDU: 90 00 [08:56:36]wFMCommunicate OK [08:56:36]SAM_PROTO_ClearQueue done [08:56:36]KKMCreateOFDPacket [08:56:36]OFDProtocolAddRootSTLVToBuf [08:56:36]FM_MakeSignedData [08:56:36]FM_MakeSignedData [08:56:36]SAM_PROTO_SignData [08:56:36]wFMCommunicate request_size=4 [08:56:36]MH_SAM_APDU [08:56:36]CAPDU: 80 0D 01 02 [08:56:36]Write to MH i2c: E2 08 00 7A 06 80 0D 01 02 00 00 00 00 F9 [08:56:36]Write i2c OK [08:56:36]MH_I2C_Read... [08:56:36]Read from MH i2c: E2 [08:56:36]MH_I2C_Read... [08:56:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:56:36]Read from MH i2c: E2 03 00 [08:56:36]MH_I2C_Read... [08:56:36]Read from MH i2c: E2 03 00 7A 06 00 90 00 F4 [08:56:36]RAPDU: 90 00 [08:56:36]wFMCommunicate OK [08:56:36]wFMCommunicate request_size=255 [08:56:36]MH_SAM_APDU [08:56:36]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 39 00 00 00 00 13 04 06 00 08 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 81 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 39 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 C6 3F B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 [08:56:36]Write to MH i2c: E2 02 01 7B 06 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 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 08 39 00 00 00 00 13 04 06 00 08 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 81 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 39 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 C6 3F B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 00 00 C2 [08:56:36]Write i2c OK [08:56:36]MH_I2C_Read... [08:56:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:56:36]Read from MH i2c: E2 [08:56:36]MH_I2C_Read... [08:56:36]Read from MH i2c: E2 03 00 [08:56:36]MH_I2C_Read... [08:56:36]Read from MH i2c: E2 03 00 7B 06 00 90 00 F5 [08:56:36]RAPDU: 90 00 [08:56:36]wFMCommunicate OK [08:56:36]wFMCommunicate request_size=39 [08:56:36]MH_SAM_APDU [08:56:36]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6A 7F 00 00 35 04 06 00 C9 B4 E1 C9 DA EE [08:56:36]Write to MH i2c: E2 2A 00 7C 06 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6A 7F 00 00 35 04 06 00 C9 B4 E1 C9 DA EE 00 00 92 [08:56:36]Write i2c OK [08:56:36]MH_I2C_Read... [08:56:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:56:36]Read from MH i2c: E2 [08:56:36]MH_I2C_Read... [08:56:36]Read from MH i2c: E2 03 00 [08:56:36]MH_I2C_Read... [08:56:36]Read from MH i2c: E2 03 00 7C 06 00 90 00 F6 [08:56:36]RAPDU: 90 00 [08:56:36]wFMCommunicate OK [08:56:36]wFMCommunicate request_size=4 [08:56:36]MH_SAM_APDU [08:56:36]CAPDU: 80 0D 03 02 [08:56:36]Write to MH i2c: E2 08 00 7D 06 80 0D 03 02 00 00 00 00 FE [08:56:36]Write i2c OK [08:56:36]MH_I2C_Read... [08:56:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:56:36]Read from MH i2c: E2 [08:56:36]MH_I2C_Read... [08:56:36]Read from MH i2c: E2 0B 00 [08:56:36]MH_I2C_Read... [08:56:36]Read from MH i2c: E2 0B 00 7D 06 00 12 F9 96 F3 B0 A6 46 B4 90 00 E3 [08:56:36]RAPDU: 12 F9 96 F3 B0 A6 46 B4 90 00 [08:56:36]wFMCommunicate OK [08:56:36]SAM_PROTO_SignData done [08:56:36]FM_MakeSignedData done [08:56:36]CreateOFDProtocolMessage [08:56:36]wFMCommunicate request_size=4 [08:56:36]MH_SAM_APDU [08:56:36]CAPDU: 80 11 00 00 [08:56:36]Write to MH i2c: E2 08 00 7E 06 80 11 00 00 00 00 00 00 FE [08:56:36]Write i2c OK [08:56:36]MH_I2C_Read... [08:56:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:56:36]Read from MH i2c: E2 [08:56:36]MH_I2C_Read... [08:56:36]Read from MH i2c: E2 17 00 [08:56:36]MH_I2C_Read... [08:56:36]Read from MH i2c: E2 17 00 7E 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 54 [08:56:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [08:56:36]wFMCommunicate OK [08:56:36]CreateOFDProtocolMessage done [08:56:36]OFDSenderStorePacket 32618 [08:56:36]StoreOFDPacket docnum=32618 [08:56:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2C 01 00 00 11 28 24 01 9C DF 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 08 39 00 00 00 00 13 04 06 00 08 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 81 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 39 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 C6 3F B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6A 7F 00 00 35 04 06 00 C9 B4 E1 C9 DA EE 12 F9 96 F3 B0 A6 46 B4 [08:56:36]CheckFolder [08:56:36]dirname=/storage/ofd_packets [08:56:36]CheckFolder done [08:56:36]ProducePacketName [08:56:36]name=ofd_packets/00032618 [08:56:36]NVStorageSaveData ofd_packets/00032618 [08:56:36]File name is /storage/ofd_packets/00032618 [08:56:36]Write 330 bytes [08:56:36]NVStorageSaveData done [08:56:36]OFDSenderStorePacket done [08:56:36]KKMCreateOFDPacket done [08:56:36]NVStorageSaveData kkm_last_timestamp [08:56:36]File name is /storage/kkm_last_timestamp [08:56:36]Write 4 bytes [08:56:36]NVStorageSaveData done [08:56:36]ExternCall_PrintAddStr [08:56:36]wPrintStart [08:56:36]Write to MH i2c: 01 00 00 7F 06 85 [08:56:36]Write i2c OK [08:56:36]MH_I2C_Read... [08:56:36]Read from MH i2c: 01 [08:56:36]MH_I2C_Read... [08:56:36]Read from MH i2c: 01 07 00 [08:56:36]MH_I2C_Read... [08:56:36]Read from MH i2c: 01 07 00 7F 06 00 00 00 00 00 FF 0F 9A [08:56:36]RasterBufferAndPrint [08:56:36]line Счет N : (3)130829 [08:56:36]line ИНН: 02508201610067 [08:56:36]line Контрольно-Кассовый Чек [08:56:36]line ПРОДАЖА [08:56:36]line Товар: 48741231 [08:56:36]line Сигареты Winston Super Slims Silver [08:56:36]line 1.000 * 146.00 [08:56:36]line = 146.00 [08:56:36]line НДС 12% НСП 1% [08:56:36]line > о реализуемом товаре [08:56:36]line ИТОГО: 146.00 [08:56:36]line НСП 1% : 1.29 [08:56:36]line НДС 12% : 15.50 [08:56:36]line Наличными: 0.00 [08:56:36]line Безнал.: 146.00 [08:56:36]line Место: АЗС № 96 "Партнер Нефть" [08:56:36]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [08:56:36]line СНО: Общий режим [08:56:36]line Чек 6 21.02.2025 08:56 [08:56:36]line Смена: 386 ФФД: 1.0 [08:56:36]line ЗНМ: 0300000059 [08:56:36]line РНМ: 0000000000146237 [08:56:36]line Версия ККМ: v1.0 [08:56:36]line Платежная система: Бакай Банк [08:56:36]line ФМ: 0000000000959282 [08:56:36]line ФД: 32618 [08:56:36]line ФПД: 221778719398638 [08:56:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T085638&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32618&fm=221778719398638&tin=02508201610067®Number=0000000000146237&sum=14600 [08:56:37]line 0 [08:56:37]OFD Sender: Processing packet 32618 [packets to send 105, broken 104] [08:56:37]ProducePacketName [08:56:37]name=ofd_packets/00032618 [08:56:37]OFD Sender: To server: pG, [08:56:37]CommunicateWithHost lk.salyk.kg:30040 [08:56:37]ConnectInit lk.salyk.kg [08:56:37]written 0, free lines is 4095 [08:56:37]Connected sock=9 [08:56: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 32 38 32 2C 01 00 00 11 28 24 01 9C DF 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 08 39 00 00 00 00 13 04 06 00 08 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 81 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0E 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 08 39 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 C6 3F B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6A 7F 00 00 35 04 06 00 C9 B4 E1 C9 DA EE 12 F9 96 F3 B0 A6 46 B4 [08:56:37]Write to MH i2c: 01 00 00 AA 06 B0 [08:56:37]Write i2c OK [08:56:37]MH_I2C_Read... [08:56:37]Read from MH i2c: 01 [08:56:37]MH_I2C_Read... [08:56:37]Read from MH i2c: 01 07 00 [08:56:37]MH_I2C_Read... [08:56:37]Read from MH i2c: 01 07 00 AA 06 00 00 00 00 00 D8 0C 9B [08:56:37]RasterBufferAndPrint [08:56:37]line [08:56:37]line [08:56:37]line [08:56:37]line [08:56:37]line [08:56:37]written 0, free lines is 3294 [08:56:37]MH_Cut [08:56:37]Write to MH i2c: D1 01 00 B1 06 01 89 [08:56:37]Write i2c OK [08:56:37]MH_I2C_Read... [08:56:37]Read from MH i2c: D1 [08:56:37]MH_I2C_Read... [08:56:37]Read from MH i2c: D1 01 00 [08:56:37]MH_I2C_Read... [08:56:37]Read from MH i2c: D1 01 00 B1 06 00 88 [08:56:37]Write to MH i2c: 01 00 00 B2 06 B8 [08:56:37]Write i2c OK [08:56:37]MH_I2C_Read... [08:56:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 81 52 47 00 F3 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 32 38 32 10 04 04 00 6A 7F 00 00 F4 03 04 00 5D E9 B7 67 B6 04 01 00 00 A3 A3 EA 3E DD 62 5B C4 [08:56:37]CommunicateWithHost err = 0 [08:56:37]CheckOFDResponse [08:56:37]1017 (14) - 77093643461234 [08:56:37]1041 (16) - 0000000000959282 [08:56:37]1040 (4) - 32618 [08:56:37]1012 (4) - 21.02.2025 02:47 [08:56:37]1206 (1) - 0 [08:56:37]OFD Sender: Remove packet 32618 [08:56:37]ProducePacketName [08:56:37]name=ofd_packets/00032618 [08:56:37]NVStorageDeleteData [08:56:38]OFD Sender: No OFD packet to send [08:56:38]*** Cut start [08:56:38]*** Partial cut [08:56:38]*** CUTSNS_PIN = 1 [08:56:38]*** CUTSNS_PIN = 0 [08:56:38]*** Brake cut motor [08:56:39]Read from MH i2c: 01 [08:56:39]MH_I2C_Read... [08:56:39]*** Stop cut motor [08:56:39]*** Cut end [08:56:39]Read from MH i2c: 01 07 00 [08:56:39]MH_I2C_Read... [08:56:39]Read from MH i2c: 01 07 00 B2 06 00 00 00 00 00 FF 0F CD [08:56:39]process_action close_receipt done [08:56:39]requested_data is exist [08:56:39]produce_requested_data [08:56:39]requested_item fm.sn is exist - process it [08:56:39]wFMCommunicate request_size=4 [08:56:39]MH_SAM_APDU [08:56:39]CAPDU: 80 11 00 00 [08:56:39]Write to MH i2c: E2 08 00 B3 06 80 11 00 00 00 00 00 00 33 [08:56:39]Write i2c OK [08:56:39]MH_I2C_Read... [08:56:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:56:39]Read from MH i2c: E2 [08:56:39]MH_I2C_Read... [08:56:39]Read from MH i2c: E2 17 00 [08:56:39]MH_I2C_Read... [08:56:39]Read from MH i2c: E2 17 00 B3 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 89 [08:56:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [08:56:39]wFMCommunicate OK [08:56:39]requested_item fd.num is exist - process it [08:56:39]SAM_PROTO_GetFieldsCounters [08:56:39]wFMCommunicate request_size=4 [08:56:39]MH_SAM_APDU [08:56:39]CAPDU: 80 13 00 00 [08:56:39]Write to MH i2c: E2 08 00 B4 06 80 13 00 00 00 00 00 00 36 [08:56:39]Write i2c OK [08:56:39]MH_I2C_Read... [08:56:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:56:39]Read from MH i2c: E2 [08:56:39]MH_I2C_Read... [08:56:39]Read from MH i2c: E2 62 00 [08:56:39]MH_I2C_Read... [08:56:39]Read from MH i2c: E2 62 00 B4 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 6A 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 D6 [08:56: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 6A 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:56:39]wFMCommunicate OK [08:56:39]SAM_PROTO_GetFieldsCounters done [08:56:39]requested_item shift.num is exist - process it [08:56:39]requested_item shift.opened is exist - process it [08:56:39]req_shift_opened [08:56:39]FM_GetShiftState [08:56:39]SAM_PROTO_GetShiftState [08:56:39]wFMCommunicate request_size=4 [08:56:39]MH_SAM_APDU [08:56:39]CAPDU: 80 13 01 00 [08:56:39]Write to MH i2c: E2 08 00 B5 06 80 13 01 00 00 00 00 00 38 [08:56:39]Write i2c OK [08:56:39]MH_I2C_Read... [08:56:39]Read from MH i2c: E2 [08:56:39]MH_I2C_Read... [08:56:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:56:39]Read from MH i2c: E2 0E 00 [08:56:39]MH_I2C_Read... [08:56:39]Read from MH i2c: E2 0E 00 B5 06 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 9D [08:56:39]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [08:56:39]wFMCommunicate OK [08:56:39]SAM_PROTO_GetShiftState done [08:56:39]FM_GetShiftState done [08:56:39]req_shift_opened done [08:56:39]requested_item shift.open_date is exist - process it [08:56:39]req_shift_open_date [08:56:39]req_shift_open_date done [08:56:39]produce_requested_data done [08:56:39]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32618,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [08:56:39]process_action_free close_receipt [08:56:39]json_value_free [08:56:39]json_value_free done [08:56:39]process_json_proto returns [08:56:39]Send response to host [08:56:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32618,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [08:56:39]free response buf [08:56:39]execute_script done [08:56:39]execute_script returns [08:56:39]free content buf [08:56:39]Sock 8.Close socket [08:56:39]Sock 8.Thread stoped [08:56:43]OFD Sender: No OFD packet to send [08:56:48]OFD Sender: No OFD packet to send [08:56:53]OFD Sender: No OFD packet to send [08:56:58]OFD Sender: No OFD packet to send [08:57:03]OFD Sender: No OFD packet to send [08:57:08]OFD Sender: No OFD packet to send [08:57:13]OFD Sender: No OFD packet to send [08:57:18]OFD Sender: No OFD packet to send [08:57:23]OFD Sender: No OFD packet to send [08:57:28]OFD Sender: No OFD packet to send [08:57:33]OFD Sender: No OFD packet to send [08:57:38]OFD Sender: No OFD packet to send [08:57:43]OFD Sender: No OFD packet to send [08:57:48]OFD Sender: No OFD packet to send [08:57:53]OFD Sender: No OFD packet to send [08:57:58]OFD Sender: No OFD packet to send [08:58:03]OFD Sender: No OFD packet to send [08:58:08]OFD Sender: No OFD packet to send [08:58:13]OFD Sender: No OFD packet to send [08:58:18]OFD Sender: No OFD packet to send [08:58:23]OFD Sender: No OFD packet to send [08:58:28]OFD Sender: No OFD packet to send [08:58:33]OFD Sender: No OFD packet to send [08:58:38]OFD Sender: No OFD packet to send [08:58:43]OFD Sender: No OFD packet to send [08:58:48]OFD Sender: No OFD packet to send [08:58:53]OFD Sender: No OFD packet to send [08:58:58]OFD Sender: No OFD packet to send [08:59:03]OFD Sender: No OFD packet to send [08:59:08]OFD Sender: No OFD packet to send [08:59:13]OFD Sender: No OFD packet to send [08:59:18]OFD Sender: No OFD packet to send [08:59:23]OFD Sender: No OFD packet to send [08:59:28]OFD Sender: No OFD packet to send [08:59:33]OFD Sender: No OFD packet to send [00:00:10] *** EcrCore started. Build 196 *** [00:00:10]/dev/ttyS4 opened [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]Malloc ok [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 01 00 00 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 6E FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 13 [00:00:10]Are we in boot? [00:00:10]We are in boot - try to switch [00:00:10]Write to MH i2c: A0 00 00 02 00 A1 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 02 *** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:10]00 *** [00:00:10]00 A2 [00:00:10]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:10]*** Waiting for read because exit forced [00:00:10]*** 10 ms more... [00:00:10]*** MH1903S init start (LINUX_LIGHT) [00:00:10]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:10]*** Serial: 3139303353513838 540000000057256E (1903SQ88T) [00:00:10]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:10]*** step 0: 5000 (2650, 2350 REF) [00:00:10]*** step 1: 4835 (2500, 2335 REF) [00:00:10]*** step 2: 4676 (2440, 2236 REF) [00:00:10]*** step 3: 4523 (2280, 2243 REF) [00:00:10]*** step 4: 4376 (2160, 2216 REF) [00:00:10]*** step 5: 4235 (2050, 2185 REF) [00:00:10]*** step 6: 4098 (1950, 2148 REF) [00:00:10]*** step 7: 3967 (1870, 2097 REF) [00:00:10]*** step 8: 3840 (1828, 2012 REF) [00:00:10]*** step 9: 3719 (1728, 1991 REF) [00:00:10]*** step 10: 3601 (1675, 1926 REF) [00:00:10]*** step 11: 3488 (1635, 1853 REF) [00:00:10]*** step 12: 3379 (1595, 1784 REF) [00:00:10]*** step 13: 3275 (1565, 1710 REF) [00:00:10]*** step 14: 3174 (1543, 1631 REF) [00:00:10]*** step 15: 3077 (1523, 1554 REF) [00:00:10]*** step 16: 2983 (1503, 1480 REF) [00:00:10]*** step 17: 2893 (1486, 1407 REF) [00:00:10]*** step 18: 2806 (1466, 1340 REF) [00:00:10]*** step 19: 2723 (1426, 1297 REF) [00:00:10]*** step 20: 2642 (1406, 1236 REF) [00:00:10]*** step 21: 2565 (1384, 1181 REF) [00:00:10]*** step 22: 2490 (1364, 1126 REF) [00:00:10]*** step 23: 2418 (1344, 1074 REF) [00:00:10]*** step 24: 2349 (1322, 1027 REF) [00:00:10]*** step 25: 2283 (1302, 981 REF) [00:00:10]*** step 26: 2218 (1282, 936 REF) [00:00:10]*** step 27: 2157 (1262, 895 REF) [00:00:10]*** step 28: 2097 (1242, 855 REF) [00:00:10]*** step 29: 2040 (1222, 818 REF) [00:00:10]*** step 30: 1985 (1202, 783 REF) [00:00:10]*** step 31: 1932 (1191, 741 REF) [00:00:10]*** step 32: 1880 (1181, 699 REF) [00:00:10]*** step 33: 1831 (1171, 660 REF) [00:00:10]*** step 34: 1784 (1161, 623 REF) [00:00:10]*** step 35: 1738 (1151, 587 REF) [00:00:10]*** step 36: 1694 (1141, 553 REF) [00:00:10]*** step 37: 1652 (1131, 521 REF) [00:00:10]*** step 38: 1611 (1121, 490 REF) [00:00:10]*** step 39: 1572 (1111, 461 REF) [00:00:10]*** step 40: 1534 (1103, 431 REF) [00:00:10]*** step 41: 1497 (1093, 404 REF) [00:00:10]*** step 42: 1462 (1083, 379 REF) [00:00:10]*** step 43: 1428 (1073, 355 REF) [00:00:10]*** step 44: 1396 (1063, 333 REF) [00:00:10]*** step 45: 1365 (1053, 312 REF) [00:00:10]*** step 46: 1334 (1043, 291 REF) [00:00:10]*** step 47: 1305 (1033, 272 REF) [00:00:10]*** step 48: 1277 (1023, 254 REF) [00:00:10]*** step 49: 1250 (1013, 237 REF) [00:00:10]*** step 50: 1224 (990, 234 REF) [00:00:10]*** step 51: 1199 (980, 219 REF) [00:00:10]*** step 52: 1175 (970, 205 REF) [00:00:10]*** step 53: 1152 (960, 192 REF) [00:00:10]*** step 54: 1130 (950, 180 REF) [00:00:10]*** step 55: 1108 (940, 168 REF) [00:00:10]*** step 56: 1088 (930, 158 REF) [00:00:10]*** step 57: 1068 (920, 148 REF) [00:00:10]*** step 58: 1049 (910, 139 REF) [00:00:10]*** step 59: 1030 (900, 130 REF) [00:00:10]*** step 60: 1012 (890, 122 REF) [00:00:10]*** step 61: 995 (880, 115 REF) [00:00:10]*** step 62: 979 (870, 109 REF) [00:00:10]*** step 63: 963 (860, 103 REF) [00:00:10]*** step 64: 948 (850, 98 REF) [00:00:10]*** step 65: 933 (840, 93 REF) [00:00:10]*** step 66: 919 (830, 89 REF) [00:00:10]*** step 67: 905 (820, 85 REF) [00:00:10]*** step 68: 892 (810, 82 REF) [00:00:10]*** step 69: 879 (800, 79 REF) [00:00:10]*** step 70: 867 (790, 77 REF) [00:00:10]*** step 71: 855 (780, 75 REF) [00:00:10]*** step 72: 844 (770, 74 REF) [00:00:10]*** step 73: 833 (760, 73 REF) [00:00:10]*** step 74: 822 (750, 72 REF) [00:00:10]*** step 75: 812 (740, 72 REF) [00:00:10]*** step 76: 803 (730, 73 REF) [00:00:10]*** step 77: 793 (720, 73 REF) [00:00:10]*** step 78: 784 (710, 74 REF) [00:00:10]*** step 79: 776 (700, 76 REF) [00:00:10]*** step 80: 767 (690, 77 REF) [00:00:10]*** step 81: 759 (680, 79 REF) [00:00:10]*** step 82: 751 (670, 81 REF) [00:00:10]*** step 83: 744 (660, 84 REF) [00:00:10]*** step 84: 737 (650, 87 REF) [00:00:10]*** step 85: 730 (640, 90 REF) [00:00:10]*** step 86: 723 (630, 93 REF) [00:00:10]*** step 87: 717 (620, 97 REF) [00:00:10]*** step 88: 710 (610, 100 REF) [00:00:10]*** step 89: 705 (600, 105 REF) [00:00:10]*** step 90: 699 [00:00:10]*** step 91: 693 [00:00:10]*** step 92: 688 [00:00:10]*** step 93: 683 [00:00:10]*** step 94: 678 [00:00:10]*** step 95: 673 [00:00:10]*** step 96: 669 [00:00:10]*** step 97: 664 [00:00:10]*** step 98: 660 [00:00:10]*** step 99: 656 [00:00:10]*** step 100: 652 [00:00:10]*** step 101: 648 [00:00:10]*** step 102: 644 [00:00:10]*** step 103: 641 [00:00:10]*** step 104: 638 [00:00:10]*** step 105: 634 [00:00:10]*** step 106: 631 [00:00:10]*** step 107: 628 [00:00:10]*** step 108: 625 [00:00:10]*** step 109: 622 [00:00:10]*** step 110: 620 [00:00:10]*** step 111: 617 [00:00:10]*** step 112: 615 [00:00:10]*** step 113: 612 [00:00:10]*** step 114: 610 [00:00:10]*** step 115: 608 [00:00:10]*** step 116: 605 [00:00:10]*** step 117: 603 [00:00:10]*** step 118: 601 [00:00:10]*** step 119: 599 [00:00:10]*** printer: Printer HW initialized [00:00:10]*** initSamCard finished [00:00:10]*** RTC: 14248055+1725880345=1740128400 [00:00:10]*** BPK Status Register BPK_RDY = 0x0 [00:00:10]*** SEN State Register SEN_STATE = 0x20ff [00:00:10]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:10]*** Analog Control Register 0 SEN_ANA0 = 0x33550624 [00:00:10]*** Is cutter blocked? [00:00:11]MH_GetMetrics [00:00:11]Write to MH i2c: 00 00 00 03 00 02 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 03 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 6E FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 14 [00:00:11]Are we in boot? [00:00:11]We are not in boot now [00:00:11]Write to MH i2c: 01 00 00 04 00 04 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:11]Model is 3 [00:00:11]MH firmware is 30620 [00:00:11]MH boot firmware is 3 [00:00:11]MH_SetPrinterDots 448 [00:00:11]HeadWidthInBytes 56 [00:00:11]maxmasksize 7 [00:00:11]Write to MH i2c: D6 06 00 05 00 41 00 60 00 FF FF 7F [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:11]Write to MH i2c: D5 00 00 06 00 DA [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]ExternCall_SetCallbacks [00:00:11]NVStorageInit [00:00:11]MH_GetDate [00:00:11]Write to MH i2c: F0 00 00 07 00 F6 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 07 00 00 91 40 B8 67 19 D8 DE 66 24 [09:00:01]Current date/time: 21.02.2025 09:00 [09:00:01]FM_Init [09:00:01]wFMConnect [09:00:01]MH_SAM_On [09:00:01]Write to MH i2c: E0 00 00 08 00 E7 [09:00:01]Write i2c OK [09:00:01]MH_I2C_Read... [09:00:01]*** iso7816_init finished! [09:00:01]*** atr: [09:00:01]*** 0F 3B D5 18 FF 81 91 FE [09:00:01]*** 1F C3 80 73 C8 21 10 0A [09:00:01]*** 00 00 00 00 00 00 00 00 [09:00:01]*** 00 00 00 00 00 00 00 00 [09:00:01]*** 00 00 00 00 00 00 00 00 [09:00:01]*** 00 00 00 00 00 00 00 00 [09:00:01]*** 00 00 00 00 00 00 00 00 [09:00:01]*** 00 00 00 00 00 00 00 00 [09:00:01]Read from MH i2c: E0 [09:00:01]MH_I2C_Read... [09:00:01]Read from MH i2c: E0 10 00 [09:00:01]MH_I2C_Read... [09:00:01]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [09:00:01]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [09:00:01]wFMCommunicate request_size=10 [09:00:01]MH_SAM_APDU [09:00:01]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [09:00:01]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [09:00:01]Write i2c OK [09:00:01]MH_I2C_Read... [09:00:01]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [09:00:01]Read from MH i2c: E2 [09:00:01]MH_I2C_Read... [09:00:01]Read from MH i2c: E2 03 00 [09:00:01]MH_I2C_Read... [09:00:01]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [09:00:01]RAPDU: 90 00 [09:00:01]wFMCommunicate OK [09:00:01]wFMCommunicate request_size=4 [09:00:01]MH_SAM_APDU [09:00:01]CAPDU: 80 11 00 00 [09:00:01]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [09:00:01]Write i2c OK [09:00:01]MH_I2C_Read... [09:00:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:00:01]Read from MH i2c: E2 [09:00:01]MH_I2C_Read... [09:00:01]Read from MH i2c: E2 17 00 [09:00:01]MH_I2C_Read... [09:00:01]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 DA [09:00:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:00:01]wFMCommunicate OK [09:00:01]Detected FM SN is 0000000000959282 [09:00:01]Stored FM SN is 0000000000959282 [09:00:01]wFMCommunicate request_size=9 [09:00:01]MH_SAM_APDU [09:00:01]CAPDU: 80 16 00 00 04 04 F4 00 00 [09:00:01]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 04 F4 00 00 00 00 8A [09:00:01]Write i2c OK [09:00:01]MH_I2C_Read... [09:00:01]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [09:00:01]Read from MH i2c: E2 [09:00:01]MH_I2C_Read... [09:00:01]Read from MH i2c: E2 03 00 [09:00:01]MH_I2C_Read... [09:00:01]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [09:00:01]RAPDU: 90 00 [09:00:01]wFMCommunicate OK [09:00:01]FM PIN OK [09:00:01]wFMCommunicate request_size=8 [09:00:01]MH_SAM_APDU [09:00:01]CAPDU: 80 14 04 00 03 02 00 01 [09:00:01]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [09:00:01]Write i2c OK [09:00:01]MH_I2C_Read... [09:00:01]Read from MH i2c: E2 [09:00:01]MH_I2C_Read... [09:00:01]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [09:00:01]Read from MH i2c: E2 03 00 [09:00:01]MH_I2C_Read... [09:00:01]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [09:00:01]RAPDU: 90 00 [09:00:01]wFMCommunicate OK [09:00:01]wFMCommunicate request_size=13 [09:00:01]MH_SAM_APDU [09:00:01]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [09:00:01]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [09:00:01]Write i2c OK [09:00:01]MH_I2C_Read... [09:00:01]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [09:00:01]Read from MH i2c: E2 [09:00:01]MH_I2C_Read... [09:00:01]Read from MH i2c: E2 03 00 [09:00:01]MH_I2C_Read... [09:00:01]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [09:00:01]RAPDU: 90 00 [09:00:01]wFMCommunicate OK [09:00:01]wFMCommunicate request_size=4 [09:00:01]MH_SAM_APDU [09:00:01]CAPDU: 80 11 00 00 [09:00:01]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [09:00:01]Write i2c OK [09:00:01]MH_I2C_Read... [09:00:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:00:01]Read from MH i2c: E2 [09:00:01]MH_I2C_Read... [09:00:01]Read from MH i2c: E2 17 00 [09:00:01]MH_I2C_Read... [09:00:01]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 DE [09:00:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:00:01]wFMCommunicate OK [09:00:01]DocumentArchiveInit [09:00:01]Start Httpd... [09:00:01]Httpd thread 3067170148 created [09:00:01]Write to MH i2c: 01 00 00 0F 00 0F [09:00:01]Write i2c OK [09:00:01]MH_I2C_Read... [09:00:01]Read from MH i2c: 01 [09:00:01]MH_I2C_Read... [09:00:01]Read from MH i2c: 01 07 00 [09:00:01]MH_I2C_Read... [09:00:01]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [09:00:01]MH Int Process started [09:00:01]Allocated Socket 7 [09:00:01]Bind OK [09:00:01]Listen OK [09:00:01]httpd running on port 8080 [09:00:01]Waiting for new connection... [09:00:01]OFD Sender: No OFD packet to send [09:00:06]OFD Sender: No OFD packet to send [09:00:11]OFD Sender: No OFD packet to send [09:00:16]OFD Sender: No OFD packet to send [09:00:21]OFD Sender: No OFD packet to send [09:00:26]OFD Sender: No OFD packet to send [09:00:31]OFD Sender: No OFD packet to send [09:00:36]OFD Sender: No OFD packet to send [09:00:41]OFD Sender: No OFD packet to send [09:00:46]OFD Sender: No OFD packet to send [09:00:51]OFD Sender: No OFD packet to send [09:00:55]accept exits with 8 [09:00:55]New connection [09:00:55]New thread 3066883428 created [09:00:55]Waiting for new connection... [09:00:55] Sock 8.Parse request [09:00:55]Sock 8.Check first char [09:00:55]Sock 8.First char is OK [09:00:55]request: POST /json_proto HTTP/1.0 [09:00:55]Method: POST [09:00:55]URL: /json_proto [09:00:55]Method is POST - this is cgi request [09:00:55]url: /json_proto [09:00:55]query_string will be loaded in cgi processing [09:00:55]execute_cgi json_proto POST (null) [09:00:55]execute_cgi path=json_proto method=POST [09:00:55]POST find Content-Length [09:00:55]Host: 172.17.47.135:8080 [09:00:55]Content-Length: 215 [09:00:55]Content-Type: application/json [09:00:55] [09:00:55]POST finish read [09:00:55]Found Content-Length = 215 [09:00:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:00:55]execute_script... [09:00:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:00:55]POST & json_proto [09:00:55]process_json_proto [09:00:55]json parsed OK: [09:00:55]protocol is kg_v1.0 [09:00:55]action value=get_value [09:00:55]process_action get_value [09:00:55]cmd_get_value [09:00:55]process_action get_value done [09:00:55]requested_data is exist [09:00:55]produce_requested_data [09:00:55]requested_item kkm.sn is exist - process it [09:00:55]requested_item kkm.ver is exist - process it [09:00:55]requested_item fm.sn is exist - process it [09:00:55]wFMCommunicate request_size=4 [09:00:55]MH_SAM_APDU [09:00:55]CAPDU: 80 11 00 00 [09:00:55]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [09:00:55]Write i2c OK [09:00:55]MH_I2C_Read... [09:00:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:00:55]Read from MH i2c: E2 [09:00:55]MH_I2C_Read... [09:00:55]Read from MH i2c: E2 17 00 [09:00:55]MH_I2C_Read... [09:00:55]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 E0 [09:00:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:00:55]wFMCommunicate OK [09:00:55]requested_item fd.num is exist - process it [09:00:55]SAM_PROTO_GetFieldsCounters [09:00:55]wFMCommunicate request_size=4 [09:00:55]MH_SAM_APDU [09:00:55]CAPDU: 80 13 00 00 [09:00:55]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [09:00:55]Write i2c OK [09:00:55]MH_I2C_Read... [09:00:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:00:55]Read from MH i2c: E2 [09:00:55]MH_I2C_Read... [09:00:55]Read from MH i2c: E2 62 00 [09:00:55]MH_I2C_Read... [09:00:55]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 6A 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 2D [09:00: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 6A 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:00:55]wFMCommunicate OK [09:00:55]SAM_PROTO_GetFieldsCounters done [09:00:55]requested_item shift.num is exist - process it [09:00:55]requested_item shift.opened is exist - process it [09:00:55]req_shift_opened [09:00:55]FM_GetShiftState [09:00:55]SAM_PROTO_GetShiftState [09:00:55]wFMCommunicate request_size=4 [09:00:55]MH_SAM_APDU [09:00:55]CAPDU: 80 13 01 00 [09:00:55]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [09:00:55]Write i2c OK [09:00:55]MH_I2C_Read... [09:00:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:00:55]Read from MH i2c: E2 [09:00:55]MH_I2C_Read... [09:00:55]Read from MH i2c: E2 0E 00 [09:00:55]MH_I2C_Read... [09:00:55]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 F4 [09:00:55]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [09:00:55]wFMCommunicate OK [09:00:55]SAM_PROTO_GetShiftState done [09:00:55]FM_GetShiftState done [09:00:55]req_shift_opened done [09:00:55]requested_item shift.open_date is exist - process it [09:00:55]req_shift_open_date [09:00:55]req_shift_open_date done [09:00:55]produce_requested_data done [09:00:55]produce_requested_data return {"kkm.sn":"0300000059","kkm.ver":"v1.0","fm.sn":"0000000000959282","fd.num":32618,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [09:00:55]process_action_free get_value [09:00:55]json_value_free [09:00:55]json_value_free done [09:00:55]process_json_proto returns [09:00:55]Send response to host [09:00:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000059","kkm.ver":"v1.0","fm.sn":"0000000000959282","fd.num":32618,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [09:00:55]free response buf [09:00:55]execute_script done [09:00:55]execute_script returns [09:00:55]free content buf [09:00:55]Sock 8.Close socket [09:00:55]Sock 8.Thread stoped [09:00:56]OFD Sender: No OFD packet to send [09:00:58]accept exits with 9 [09:00:58]New connection [09:00:58]New thread 3066740068 created [09:00:58]Thread 3066883428 joined [09:00:58]Waiting for new connection... [09:00:58] Sock 9.Parse request [09:00:58]Sock 9.Check first char [09:00:58]Sock 9.First char is OK [09:00:58]request: POST /json_proto HTTP/1.0 [09:00:58]Method: POST [09:00:58]URL: /json_proto [09:00:58]Method is POST - this is cgi request [09:00:58]url: /json_proto [09:00:58]query_string will be loaded in cgi processing [09:00:58]execute_cgi json_proto POST (null) [09:00:58]execute_cgi path=json_proto method=POST [09:00:58]POST find Content-Length [09:00:58]Host: 172.17.47.135:8080 [09:00:58]Content-Length: 331 [09:00:58]Content-Type: application/json [09:00:58] [09:00:58]POST finish read [09:00:58]Found Content-Length = 331 [09:00:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [09:00:58]execute_script... [09:00:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [09:00:58]POST & json_proto [09:00:58]process_json_proto [09:00:58]json parsed OK: [09:00:58]protocol is kg_v1.0 [09:00:58]action value=get_value [09:00:58]process_action get_value [09:00:58]cmd_get_value [09:00:58]process_action get_value done [09:00:58]requested_data is exist [09:00:58]produce_requested_data [09:00:58]requested_item fm.sale.total is exist - process it [09:00:58]SAM_PROTO_GetFMData [09:00:58]wFMCommunicate request_size=4 [09:00:58]MH_SAM_APDU [09:00:58]CAPDU: 80 13 03 00 [09:00:58]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [09:00:58]Write i2c OK [09:00:58]MH_I2C_Read... [09:00:59]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [09:00:59]Read from MH i2c: E2 [09:00:59]MH_I2C_Read... [09:00:59]Read from MH i2c: E2 FD 00 [09:00:59]MH_I2C_Read... [09:00:59]Read from MH i2c: E2 FD 00 13 00 00 C4 04 85 04 C0 04 6E 04 04 00 65 7C 00 00 69 04 A0 00 6F 04 04 00 DA 7A 00 00 B1 04 04 00 31 EB FA 57 70 04 04 00 45 C7 15 28 72 04 04 00 EC 23 E5 2F 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 40 08 58 09 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 25 4C C7 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8B 01 00 00 B1 04 04 00 4C 4C 33 02 70 04 04 00 A0 94 14 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D6 D3 3B EF 03 09 00 90 00 A5 [09:00:59]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 65 7C 00 00 69 04 A0 00 6F 04 04 00 DA 7A 00 00 B1 04 04 00 31 EB FA 57 70 04 04 00 45 C7 15 28 72 04 04 00 EC 23 E5 2F 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 40 08 58 09 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 25 4C C7 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8B 01 00 00 B1 04 04 00 4C 4C 33 02 70 04 04 00 A0 94 14 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D6 D3 3B EF 03 09 00 90 00 [09:00:59]wFMCommunicate OK [09:00:59]wFMCommunicate request_size=4 [09:00:59]MH_SAM_APDU [09:00:59]CAPDU: 80 17 00 00 [09:00:59]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [09:00:59]Write i2c OK [09:00:59]MH_I2C_Read... [09:00:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:00:59]Read from MH i2c: E2 [09:00:59]MH_I2C_Read... [09:00:59]Read from MH i2c: E2 FD 00 [09:00:59]MH_I2C_Read... [09:00:59]Read from MH i2c: E2 FD 00 14 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 25 FC 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 6F [09:00:59]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 25 FC 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [09:00:59]wFMCommunicate OK [09:00:59]wFMCommunicate request_size=4 [09:00:59]MH_SAM_APDU [09:00:59]CAPDU: 80 17 00 00 [09:00:59]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [09:00:59]Write i2c OK [09:00:59]MH_I2C_Read... [09:00:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:00:59]Read from MH i2c: E2 [09:00:59]MH_I2C_Read... [09:00:59]Read from MH i2c: E2 FD 00 [09:00:59]MH_I2C_Read... [09:00:59]Read from MH i2c: E2 FD 00 15 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 AA [09:00:59]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [09:00:59]wFMCommunicate OK [09:00:59]wFMCommunicate request_size=4 [09:00:59]MH_SAM_APDU [09:00:59]CAPDU: 80 17 00 00 [09:00:59]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [09:00:59]Write i2c OK [09:00:59]MH_I2C_Read... [09:00:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:00:59]Read from MH i2c: E2 [09:00:59]MH_I2C_Read... [09:00:59]Read from MH i2c: E2 FD 00 [09:00:59]MH_I2C_Read... [09:00:59]Read from MH i2c: E2 FD 00 16 00 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 0E [09:00:59]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [09:00:59]wFMCommunicate OK [09:00:59]wFMCommunicate request_size=4 [09:00:59]MH_SAM_APDU [09:00:59]CAPDU: 80 17 00 00 [09:00:59]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [09:00:59]Write i2c OK [09:00:59]MH_I2C_Read... [09:01:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [09:01:00]Read from MH i2c: E2 [09:01:00]MH_I2C_Read... [09:01:00]Read from MH i2c: E2 E1 00 [09:01:00]MH_I2C_Read... [09:01:00]Read from MH i2c: E2 E1 00 17 00 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [09:01:00]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:01:00]wFMCommunicate OK [09:01:00]SAM_PROTO_GetFMData done [09:01:00]requested_item fm.sale_refund.total is exist - process it [09:01:00]requested_item fm.buy.total is exist - process it [09:01:00]requested_item shift.sale.total is exist - process it [09:01:00]SAM_PROTO_GetShiftData [09:01:00]wFMCommunicate request_size=4 [09:01:00]MH_SAM_APDU [09:01:00]CAPDU: 80 13 02 00 [09:01:00]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [09:01:00]Write i2c OK [09:01:00]MH_I2C_Read... [09:01:00]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:01:00]Read from MH i2c: E2 [09:01:00]MH_I2C_Read... [09:01:00]Read from MH i2c: E2 FD 00 [09:01:00]MH_I2C_Read... [09:01:00]Read from MH i2c: E2 FD 00 18 00 00 AD 04 AA 04 A9 04 6E 04 04 00 06 00 00 00 69 04 9A 00 6F 04 04 00 06 00 00 00 B1 04 03 00 AC 4A 03 70 04 03 00 EC 8A 01 72 04 03 00 C0 BF 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7E 59 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 75 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 A3 [09:01:00]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 06 00 00 00 69 04 9A 00 6F 04 04 00 06 00 00 00 B1 04 03 00 AC 4A 03 70 04 03 00 EC 8A 01 72 04 03 00 C0 BF 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7E 59 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 75 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [09:01:00]wFMCommunicate OK [09:01:00]wFMCommunicate request_size=4 [09:01:00]MH_SAM_APDU [09:01:00]CAPDU: 80 17 00 00 [09:01:00]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [09:01:00]Write i2c OK [09:01:00]MH_I2C_Read... [09:01:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:01:00]Read from MH i2c: E2 [09:01:00]MH_I2C_Read... [09:01:00]Read from MH i2c: E2 FD 00 [09:01:00]MH_I2C_Read... [09:01:00]Read from MH i2c: E2 FD 00 19 00 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 AB [09:01:00]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [09:01:00]wFMCommunicate OK [09:01:00]wFMCommunicate request_size=4 [09:01:00]MH_SAM_APDU [09:01:00]CAPDU: 80 17 00 00 [09:01:00]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [09:01:00]Write i2c OK [09:01:00]MH_I2C_Read... [09:01:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:01:01]Read from MH i2c: E2 [09:01:01]MH_I2C_Read... [09:01:01]Read from MH i2c: E2 FD 00 [09:01:01]MH_I2C_Read... [09:01:01]Read from MH i2c: E2 FD 00 1A 00 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 5E [09:01:01]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [09:01:01]wFMCommunicate OK [09:01:01]wFMCommunicate request_size=4 [09:01:01]MH_SAM_APDU [09:01:01]CAPDU: 80 17 00 00 [09:01:01]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [09:01:01]Write i2c OK [09:01:01]MH_I2C_Read... [09:01:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:01:01]Read from MH i2c: E2 [09:01:01]MH_I2C_Read... [09:01:01]Read from MH i2c: E2 FD 00 [09:01:01]MH_I2C_Read... [09:01:01]Read from MH i2c: E2 FD 00 1B 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 10 [09:01:01]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [09:01:01]wFMCommunicate OK [09:01:01]wFMCommunicate request_size=4 [09:01:01]MH_SAM_APDU [09:01:01]CAPDU: 80 17 00 00 [09:01:01]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [09:01:01]Write i2c OK [09:01:01]MH_I2C_Read... [09:01:01]OFD Sender: No OFD packet to send [09:01:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [09:01:01]Read from MH i2c: E2 [09:01:01]MH_I2C_Read... [09:01:01]Read from MH i2c: E2 CA 00 [09:01:01]MH_I2C_Read... [09:01:01]Read from MH i2c: E2 CA 00 1C 00 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 81 [09:01:01]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:01:01]wFMCommunicate OK [09:01:01]SAM_PROTO_GetShiftData done [09:01:01]requested_item shift.sale.total_cash is exist - process it [09:01:01]requested_item shift.sale_refund.total is exist - process it [09:01:01]requested_item shift.sale_refund.total_cash is exist - process it [09:01:01]requested_item shift.buy.total is exist - process it [09:01:01]requested_item shift.buy.total_cash is exist - process it [09:01:01]produce_requested_data done [09:01:01]produce_requested_data return {"fm.sale.total":14760620.01,"fm.sale_refund.total":369163.00,"fm.buy.total":0.00,"shift.sale.total":2157.24,"shift.sale.total_cash":1011.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [09:01:01]process_action_free get_value [09:01:01]json_value_free [09:01:01]json_value_free done [09:01:01]process_json_proto returns [09:01:01]Send response to host [09:01:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":14760620.01,"fm.sale_refund.total":369163.00,"fm.buy.total":0.00,"shift.sale.total":2157.24,"shift.sale.total_cash":1011.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [09:01:01]free response buf [09:01:01]execute_script done [09:01:01]execute_script returns [09:01:01]free content buf [09:01:01]Sock 9.Close socket [09:01:01]Sock 9.Thread stoped [09:01:06]OFD Sender: No OFD packet to send [09:01:11]OFD Sender: No OFD packet to send [09:01:16]OFD Sender: No OFD packet to send [09:01:21]OFD Sender: No OFD packet to send [09:01:26]OFD Sender: No OFD packet to send [09:01:31]OFD Sender: No OFD packet to send [09:01:36]OFD Sender: No OFD packet to send [09:01:41]OFD Sender: No OFD packet to send [09:01:46]OFD Sender: No OFD packet to send [09:01:51]OFD Sender: No OFD packet to send [09:01:56]OFD Sender: No OFD packet to send [09:02:01]OFD Sender: No OFD packet to send [09:02:06]OFD Sender: No OFD packet to send [09:02:11]OFD Sender: No OFD packet to send [09:02:16]OFD Sender: No OFD packet to send [09:02:21]OFD Sender: No OFD packet to send [09:02:26]OFD Sender: No OFD packet to send [09:02:31]OFD Sender: No OFD packet to send [09:02:36]OFD Sender: No OFD packet to send [09:02:41]OFD Sender: No OFD packet to send [09:02:46]OFD Sender: No OFD packet to send [09:02:51]OFD Sender: No OFD packet to send [09:02:56]OFD Sender: No OFD packet to send [09:03:01]OFD Sender: No OFD packet to send [09:03:06]OFD Sender: No OFD packet to send [09:03:11]OFD Sender: No OFD packet to send [09:03:16]OFD Sender: No OFD packet to send [09:03:21]OFD Sender: No OFD packet to send [09:03:23]accept exits with 8 [09:03:23]New connection [09:03:23]New thread 3066883428 created [09:03:23]Thread 3066740068 joined [09:03:23]Waiting for new connection... [09:03:23] Sock 8.Parse request [09:03:23]Sock 8.Check first char [09:03:23]Sock 8.First char is OK [09:03:23]request: POST /json_proto HTTP/1.0 [09:03:23]Method: POST [09:03:23]URL: /json_proto [09:03:23]Method is POST - this is cgi request [09:03:23]url: /json_proto [09:03:23]query_string will be loaded in cgi processing [09:03:23]execute_cgi json_proto POST (null) [09:03:23]execute_cgi path=json_proto method=POST [09:03:23]POST find Content-Length [09:03:23]Host: 172.17.47.135:8080 [09:03:23]Content-Length: 622 [09:03:23]Content-Type: application/json [09:03:23] [09:03:23]POST finish read [09:03:23]Found Content-Length = 622 [09:03:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130830", "tax_sys" : 0, "items" : [ { "code": "4640030091669", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange S", "price" : 169.00, "quantity" : 1.000, "sum" : 169.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 169.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:03:23]execute_script... [09:03:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130830", "tax_sys" : 0, "items" : [ { "code": "4640030091669", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange S", "price" : 169.00, "quantity" : 1.000, "sum" : 169.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 169.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:03:23]POST & json_proto [09:03:23]process_json_proto [09:03:23]json parsed OK: [09:03:23]protocol is kg_v1.0 [09:03:23]action value=close_receipt [09:03:23]process_action close_receipt [09:03:23]cmd_close_receipt [09:03:23]MH_GetDate [09:03:23]Write to MH i2c: F0 00 00 1D 00 0C [09:03:23]Write i2c OK [09:03:23]MH_I2C_Read... [09:03:23]Read from MH i2c: F0 [09:03:23]MH_I2C_Read... [09:03:23]Read from MH i2c: F0 09 00 [09:03:23]MH_I2C_Read... [09:03:23]Read from MH i2c: F0 09 00 1D 00 00 5C 41 B8 67 19 D8 DE 66 06 [09:03:23]GetLastDocTimeStamp 1740128198 [09:03:23]current date 1740128604 [09:03:23]FM_GetShiftState [09:03:23]SAM_PROTO_GetShiftState [09:03:23]wFMCommunicate request_size=4 [09:03:23]MH_SAM_APDU [09:03:23]CAPDU: 80 13 01 00 [09:03:23]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [09:03:23]Write i2c OK [09:03:23]MH_I2C_Read... [09:03:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:03:23]Read from MH i2c: E2 [09:03:23]MH_I2C_Read... [09:03:23]Read from MH i2c: E2 0E 00 [09:03:23]MH_I2C_Read... [09:03:23]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 00 [09:03:23]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [09:03:23]wFMCommunicate OK [09:03:23]SAM_PROTO_GetShiftState done [09:03:23]FM_GetShiftState done [09:03:23]opened in 1740096631 [09:03:23]opened+sec_in_day 1740183031 [09:03:23]quantity*price = 16900 [09:03:23]sum+1 = 16901 [09:03:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 169.00 НСП 1% : 1.50 НДС 12% : 17.95 Наличными: 169.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 7 21.02.2025 09:03 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32619 ФПД: 201463626928508 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T090324&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32619&fm=201463626928508&tin=02508201610067®Number=0000000000146237&sum=16900 0 [09:03:24]StoreToDocumentArchive [09:03:24]shift 386 fd 32619 [09:03:24]save to /storage/0386/doc_00032619 [09:03:24]save last doc name /storage/0386/doc_00032619 to /storage/kkm_last_doc_name [09:03:24]save OK [09:03:24]Clear old archive folders... [09:03:24]ProcessDocumentItem done err = 0, tmpTLVsize=274 [09:03:24]tlvbuf is 003C36E0 [09:03:24]SAM_PROTO_ClearQueue [09:03:24]wFMCommunicate request_size=4 [09:03:24]MH_SAM_APDU [09:03:24]CAPDU: 80 09 00 00 [09:03:24]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [09:03:24]Write i2c OK [09:03:24]MH_I2C_Read... [09:03:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:03:24]Read from MH i2c: E2 [09:03:24]MH_I2C_Read... [09:03:24]Read from MH i2c: E2 03 00 [09:03:24]MH_I2C_Read... [09:03:24]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [09:03:24]RAPDU: 90 00 [09:03:24]wFMCommunicate OK [09:03:24]SAM_PROTO_ClearQueue done [09:03:24]KKMCreateOFDPacket [09:03:24]OFDProtocolAddRootSTLVToBuf [09:03:24]FM_MakeSignedData [09:03:24]FM_MakeSignedData [09:03:24]SAM_PROTO_SignData [09:03:24]wFMCommunicate request_size=4 [09:03:24]MH_SAM_APDU [09:03:24]CAPDU: 80 0D 01 02 [09:03:24]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [09:03:24]Write i2c OK [09:03:24]MH_I2C_Read... [09:03:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:03:24]Read from MH i2c: E2 [09:03:24]MH_I2C_Read... [09:03:24]Read from MH i2c: E2 03 00 [09:03:24]MH_I2C_Read... [09:03:24]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [09:03:24]RAPDU: 90 00 [09:03:24]wFMCommunicate OK [09:03:24]wFMCommunicate request_size=255 [09:03:24]MH_SAM_APDU [09:03:24]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 36 39 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 53 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 42 00 00 00 00 13 04 06 00 04 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 07 00 00 00 00 07 04 06 00 04 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 5C 41 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 [09:03:24]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 36 39 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 53 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 42 00 00 00 00 13 04 06 00 04 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 07 00 00 00 00 07 04 06 00 04 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 5C 41 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 00 00 3E [09:03:24]Write i2c OK [09:03:24]MH_I2C_Read... [09:03:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:03:25]Read from MH i2c: E2 [09:03:25]MH_I2C_Read... [09:03:25]Read from MH i2c: E2 03 00 [09:03:25]MH_I2C_Read... [09:03:25]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [09:03:25]RAPDU: 90 00 [09:03:25]wFMCommunicate OK [09:03:25]wFMCommunicate request_size=33 [09:03:25]MH_SAM_APDU [09:03:25]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6B 7F 00 00 35 04 06 00 B7 3A E7 EB 11 7C [09:03:25]Write to MH i2c: E2 24 00 2E 00 80 0D 02 02 1C 00 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6B 7F 00 00 35 04 06 00 B7 3A E7 EB 11 7C 00 00 74 [09:03:25]Write i2c OK [09:03:25]MH_I2C_Read... [09:03:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:03:25]Read from MH i2c: E2 [09:03:25]MH_I2C_Read... [09:03:25]Read from MH i2c: E2 03 00 [09:03:25]MH_I2C_Read... [09:03:25]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [09:03:25]RAPDU: 90 00 [09:03:25]wFMCommunicate OK [09:03:25]wFMCommunicate request_size=4 [09:03:25]MH_SAM_APDU [09:03:25]CAPDU: 80 0D 03 02 [09:03:25]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [09:03:25]Write i2c OK [09:03:25]MH_I2C_Read... [09:03:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:03:25]Read from MH i2c: E2 [09:03:25]MH_I2C_Read... [09:03:25]Read from MH i2c: E2 0B 00 [09:03:25]MH_I2C_Read... [09:03:25]Read from MH i2c: E2 0B 00 2F 00 00 64 9F 65 BA 39 64 C1 CA 90 00 F5 [09:03:25]RAPDU: 64 9F 65 BA 39 64 C1 CA 90 00 [09:03:25]wFMCommunicate OK [09:03:25]SAM_PROTO_SignData done [09:03:25]FM_MakeSignedData done [09:03:25]CreateOFDProtocolMessage [09:03:25]wFMCommunicate request_size=4 [09:03:25]MH_SAM_APDU [09:03:25]CAPDU: 80 11 00 00 [09:03:25]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [09:03:25]Write i2c OK [09:03:25]MH_I2C_Read... [09:03:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:03:25]Read from MH i2c: E2 [09:03:25]MH_I2C_Read... [09:03:25]Read from MH i2c: E2 17 00 [09:03:25]MH_I2C_Read... [09:03:25]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 00 [09:03:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:03:25]wFMCommunicate OK [09:03:25]CreateOFDProtocolMessage done [09:03:25]OFDSenderStorePacket 32619 [09:03:25]StoreOFDPacket docnum=32619 [09:03:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 26 01 00 00 19 FB 1E 01 35 39 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 36 39 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 53 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 42 00 00 00 00 13 04 06 00 04 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 07 00 00 00 00 07 04 06 00 04 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 5C 41 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6B 7F 00 00 35 04 06 00 B7 3A E7 EB 11 7C 64 9F 65 BA 39 64 C1 CA [09:03:25]CheckFolder [09:03:25]dirname=/storage/ofd_packets [09:03:25]CheckFolder done [09:03:25]ProducePacketName [09:03:25]name=ofd_packets/00032619 [09:03:25]NVStorageSaveData ofd_packets/00032619 [09:03:25]File name is /storage/ofd_packets/00032619 [09:03:25]Write 324 bytes [09:03:25]NVStorageSaveData done [09:03:25]OFDSenderStorePacket done [09:03:25]KKMCreateOFDPacket done [09:03:25]NVStorageSaveData kkm_last_timestamp [09:03:25]File name is /storage/kkm_last_timestamp [09:03:25]Write 4 bytes [09:03:25]NVStorageSaveData done [09:03:25]ExternCall_PrintAddStr [09:03:25]wPrintStart [09:03:25]Write to MH i2c: 01 00 00 31 00 31 [09:03:25]Write i2c OK [09:03:25]MH_I2C_Read... [09:03:25]Read from MH i2c: 01 [09:03:25]MH_I2C_Read... [09:03:25]Read from MH i2c: 01 07 00 [09:03:25]MH_I2C_Read... [09:03:25]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [09:03:25]RasterBufferAndPrint [09:03:25]line Счет N : (3)130830 [09:03:25]line ИНН: 02508201610067 [09:03:25]line Контрольно-Кассовый Чек [09:03:25]line ПРОДАЖА [09:03:25]line Товар: 4640030091669 [09:03:25]line Сигареты ESSE Exchange S [09:03:25]line 1.000 * 169.00 [09:03:25]line = 169.00 [09:03:25]line НДС 12% НСП 1% [09:03:25]line > о реализуемом товаре [09:03:25]line ИТОГО: 169.00 [09:03:25]line НСП 1% : 1.50 [09:03:25]line НДС 12% : 17.95 [09:03:25]line Наличными: 169.00 [09:03:25]line Безнал.: 0.00 [09:03:25]line Место: АЗС № 96 "Партнер Нефть" [09:03:25]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [09:03:25]line СНО: Общий режим [09:03:25]line Чек 7 21.02.2025 09:03 [09:03:25]line Смена: 386 ФФД: 1.0 [09:03:25]line ЗНМ: 0300000059 [09:03:25]line РНМ: 0000000000146237 [09:03:25]line Версия ККМ: v1.0 [09:03:25]line ФМ: 0000000000959282 [09:03:25]line ФД: 32619 [09:03:25]line ФПД: 201463626928508 [09:03:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T090324&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32619&fm=201463626928508&tin=02508201610067®Number=0000000000146237&sum=16900 [09:03:25]OFD Sender: Processing packet 32619 [packets to send 105, broken 104] [09:03:25]ProducePacketName [09:03:25]name=ofd_packets/00032619 [09:03:25]OFD Sender: To server: pG, [09:03:25]CommunicateWithHost lk.salyk.kg:30040 [09:03:25]ConnectInit lk.salyk.kg [09:03:25]line 0 [09:03:25]written 0, free lines is 4095 [09:03:25]Connected sock=10 [09:03: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 32 38 32 26 01 00 00 19 FB 1E 01 35 39 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 36 39 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 53 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 42 00 00 00 00 13 04 06 00 04 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 07 00 00 00 00 07 04 06 00 04 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 5C 41 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6B 7F 00 00 35 04 06 00 B7 3A E7 EB 11 7C 64 9F 65 BA 39 64 C1 CA [09:03:25]Write to MH i2c: 01 00 00 59 00 59 [09:03:25]Write i2c OK [09:03:25]MH_I2C_Read... [09:03:25]Read from MH i2c: 01 [09:03:25]MH_I2C_Read... [09:03:25]Read from MH i2c: 01 07 00 [09:03:25]MH_I2C_Read... [09:03:25]Read from MH i2c: 01 07 00 59 00 00 00 00 00 00 10 0D 7D [09:03:25]RasterBufferAndPrint [09:03:25]line [09:03:25]line [09:03:25]line [09:03:25]line [09:03:25]line [09:03:25]written 0, free lines is 3350 [09:03:25]MH_Cut [09:03:25]Write to MH i2c: D1 01 00 60 00 01 32 [09:03:25]Write i2c OK [09:03:25]MH_I2C_Read... [09:03:25]Read from MH i2c: D1 [09:03:25]MH_I2C_Read... [09:03:25]Read from MH i2c: D1 01 00 [09:03:25]MH_I2C_Read... [09:03:25]Read from MH i2c: D1 01 00 60 00 00 31 [09:03:25]Write to MH i2c: 01 00 00 61 00 61 [09:03:25]Write i2c OK [09:03:25]MH_I2C_Read... [09:03:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 DE 4C 47 00 BD 76 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6B 7F 00 00 F4 03 04 00 F3 EA B7 67 B6 04 01 00 00 3A 9B AD A5 58 E7 88 FD [09:03:26]CommunicateWithHost err = 0 [09:03:26]CheckOFDResponse [09:03:26]1017 (14) - 77093643461234 [09:03:26]1041 (16) - 0000000000959282 [09:03:26]1040 (4) - 32619 [09:03:26]1012 (4) - 21.02.2025 02:54 [09:03:26]1206 (1) - 0 [09:03:26]OFD Sender: Remove packet 32619 [09:03:26]ProducePacketName [09:03:26]name=ofd_packets/00032619 [09:03:26]NVStorageDeleteData [09:03:26]*** Cut start [09:03:26]*** Partial cut [09:03:26]*** CUTSNS_PIN = 1 [09:03:26]OFD Sender: No OFD packet to send [09:03:26]*** CUTSNS_PIN = 0 [09:03:26]*** Brake cut motor [09:03:27]Read from MH i2c: 01 [09:03:27]MH_I2C_Read... [09:03:27]*** Stop cut motor [09:03:27]*** Cut end [09:03:27]Read from MH i2c: 01 07 00 [09:03:27]MH_I2C_Read... [09:03:27]Read from MH i2c: 01 07 00 61 00 00 00 00 00 00 FF 0F 76 [09:03:27]process_action close_receipt done [09:03:27]requested_data is exist [09:03:27]produce_requested_data [09:03:27]requested_item fm.sn is exist - process it [09:03:27]wFMCommunicate request_size=4 [09:03:27]MH_SAM_APDU [09:03:27]CAPDU: 80 11 00 00 [09:03:27]Write to MH i2c: E2 08 00 62 00 80 11 00 00 00 00 00 00 DC [09:03:27]Write i2c OK [09:03:27]MH_I2C_Read... [09:03:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:03:27]Read from MH i2c: E2 [09:03:27]MH_I2C_Read... [09:03:27]Read from MH i2c: E2 17 00 [09:03:27]MH_I2C_Read... [09:03:27]Read from MH i2c: E2 17 00 62 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 32 [09:03:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:03:27]wFMCommunicate OK [09:03:27]requested_item fd.num is exist - process it [09:03:27]SAM_PROTO_GetFieldsCounters [09:03:27]wFMCommunicate request_size=4 [09:03:27]MH_SAM_APDU [09:03:27]CAPDU: 80 13 00 00 [09:03:27]Write to MH i2c: E2 08 00 63 00 80 13 00 00 00 00 00 00 DF [09:03:27]Write i2c OK [09:03:27]MH_I2C_Read... [09:03:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:03:27]Read from MH i2c: E2 [09:03:27]MH_I2C_Read... [09:03:27]Read from MH i2c: E2 62 00 [09:03:27]MH_I2C_Read... [09:03:27]Read from MH i2c: E2 62 00 63 00 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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 6B 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 83 [09:03:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 6B 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:03:27]wFMCommunicate OK [09:03:27]SAM_PROTO_GetFieldsCounters done [09:03:27]requested_item shift.num is exist - process it [09:03:27]requested_item shift.opened is exist - process it [09:03:27]req_shift_opened [09:03:27]FM_GetShiftState [09:03:27]SAM_PROTO_GetShiftState [09:03:27]wFMCommunicate request_size=4 [09:03:27]MH_SAM_APDU [09:03:27]CAPDU: 80 13 01 00 [09:03:27]Write to MH i2c: E2 08 00 64 00 80 13 01 00 00 00 00 00 E1 [09:03:27]Write i2c OK [09:03:27]MH_I2C_Read... [09:03:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:03:27]Read from MH i2c: E2 [09:03:27]MH_I2C_Read... [09:03:27]Read from MH i2c: E2 0E 00 [09:03:27]MH_I2C_Read... [09:03:27]Read from MH i2c: E2 0E 00 64 00 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 46 [09:03:27]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [09:03:27]wFMCommunicate OK [09:03:27]SAM_PROTO_GetShiftState done [09:03:27]FM_GetShiftState done [09:03:27]req_shift_opened done [09:03:27]requested_item shift.open_date is exist - process it [09:03:27]req_shift_open_date [09:03:27]req_shift_open_date done [09:03:27]produce_requested_data done [09:03:27]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32619,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [09:03:27]process_action_free close_receipt [09:03:27]json_value_free [09:03:27]json_value_free done [09:03:27]process_json_proto returns [09:03:27]Send response to host [09:03:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32619,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [09:03:27]free response buf [09:03:27]execute_script done [09:03:27]execute_script returns [09:03:27]free content buf [09:03:27]Sock 8.Close socket [09:03:27]Sock 8.Thread stoped [09:03:31]OFD Sender: No OFD packet to send [09:03:36]OFD Sender: No OFD packet to send [09:03:41]OFD Sender: No OFD packet to send [09:03:46]OFD Sender: No OFD packet to send [09:03:51]OFD Sender: No OFD packet to send [09:03:56]OFD Sender: No OFD packet to send [09:04:01]OFD Sender: No OFD packet to send [09:04:06]OFD Sender: No OFD packet to send [09:04:11]OFD Sender: No OFD packet to send [09:04:16]OFD Sender: No OFD packet to send [09:04:21]OFD Sender: No OFD packet to send [09:04:26]OFD Sender: No OFD packet to send [09:04:31]OFD Sender: No OFD packet to send [09:04:36]OFD Sender: No OFD packet to send [09:04:41]OFD Sender: No OFD packet to send [09:04:46]OFD Sender: No OFD packet to send [09:04:51]OFD Sender: No OFD packet to send [09:04:56]OFD Sender: No OFD packet to send [09:05:01]OFD Sender: No OFD packet to send [09:05:06]OFD Sender: No OFD packet to send [09:05:11]OFD Sender: No OFD packet to send [09:05:16]OFD Sender: No OFD packet to send [09:05:21]OFD Sender: No OFD packet to send [09:05:26]OFD Sender: No OFD packet to send [09:05:31]OFD Sender: No OFD packet to send [09:05:36]OFD Sender: No OFD packet to send [09:05:41]OFD Sender: No OFD packet to send [09:05:46]OFD Sender: No OFD packet to send [09:05:51]OFD Sender: No OFD packet to send [09:05:56]OFD Sender: No OFD packet to send [09:06:01]OFD Sender: No OFD packet to send [09:06:06]OFD Sender: No OFD packet to send [09:06:11]OFD Sender: No OFD packet to send [09:06:16]OFD Sender: No OFD packet to send [09:06:21]OFD Sender: No OFD packet to send [09:06:22]accept exits with 9 [09:06:22]New connection [09:06:22]New thread 3066740068 created [09:06:22]Thread 3066883428 joined [09:06:22]Waiting for new connection... [09:06:22] Sock 9.Parse request [09:06:22]Sock 9.Check first char [09:06:22]Sock 9.First char is OK [09:06:22]request: POST /json_proto HTTP/1.0 [09:06:22]Method: POST [09:06:22]URL: /json_proto [09:06:22]Method is POST - this is cgi request [09:06:22]url: /json_proto [09:06:22]query_string will be loaded in cgi processing [09:06:22]execute_cgi json_proto POST (null) [09:06:22]execute_cgi path=json_proto method=POST [09:06:22]POST find Content-Length [09:06:22]Host: 172.17.47.135:8080 [09:06:22]Content-Length: 628 [09:06:22]Content-Type: application/json [09:06:22] [09:06:22]POST finish read [09:06:22]Found Content-Length = 628 [09:06:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130831", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 139.00, "quantity" : 2.000, "sum" : 278.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 278.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:06:22]execute_script... [09:06:22]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130831", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 139.00, "quantity" : 2.000, "sum" : 278.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 278.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:06:22]POST & json_proto [09:06:22]process_json_proto [09:06:22]json parsed OK: [09:06:22]protocol is kg_v1.0 [09:06:22]action value=close_receipt [09:06:22]process_action close_receipt [09:06:22]cmd_close_receipt [09:06:22]MH_GetDate [09:06:22]Write to MH i2c: F0 00 00 65 00 54 [09:06:22]Write i2c OK [09:06:22]MH_I2C_Read... [09:06:22]Read from MH i2c: F0 [09:06:22]MH_I2C_Read... [09:06:22]Read from MH i2c: F0 09 00 [09:06:22]MH_I2C_Read... [09:06:22]Read from MH i2c: F0 09 00 65 00 00 0F 42 B8 67 19 D8 DE 66 02 [09:06:22]GetLastDocTimeStamp 1740128604 [09:06:22]current date 1740128783 [09:06:22]FM_GetShiftState [09:06:22]SAM_PROTO_GetShiftState [09:06:22]wFMCommunicate request_size=4 [09:06:22]MH_SAM_APDU [09:06:22]CAPDU: 80 13 01 00 [09:06:22]Write to MH i2c: E2 08 00 66 00 80 13 01 00 00 00 00 00 E3 [09:06:22]Write i2c OK [09:06:22]MH_I2C_Read... [09:06:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:06:22]Read from MH i2c: E2 [09:06:22]MH_I2C_Read... [09:06:22]Read from MH i2c: E2 0E 00 [09:06:22]MH_I2C_Read... [09:06:22]Read from MH i2c: E2 0E 00 66 00 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 48 [09:06:22]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [09:06:22]wFMCommunicate OK [09:06:22]SAM_PROTO_GetShiftState done [09:06:22]FM_GetShiftState done [09:06:22]opened in 1740096631 [09:06:22]opened+sec_in_day 1740183031 [09:06:22]quantity*price = 27800 [09:06:22]sum+1 = 27801 [09:06:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 278.00 НСП 1% : 2.46 НДС 12% : 29.52 Наличными: 278.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 8 21.02.2025 09:06 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32620 ФПД: 176755960576936 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T090623&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32620&fm=176755960576936&tin=02508201610067®Number=0000000000146237&sum=27800 0 [09:06:23]StoreToDocumentArchive [09:06:23]shift 386 fd 32620 [09:06:23]save to /storage/0386/doc_00032620 [09:06:23]save last doc name /storage/0386/doc_00032620 to /storage/kkm_last_doc_name [09:06:23]save OK [09:06:23]Clear old archive folders... [09:06:23]ProcessDocumentItem done err = 0, tmpTLVsize=276 [09:06:23]tlvbuf is 003EAFD0 [09:06:23]SAM_PROTO_ClearQueue [09:06:23]wFMCommunicate request_size=4 [09:06:23]MH_SAM_APDU [09:06:23]CAPDU: 80 09 00 00 [09:06:23]Write to MH i2c: E2 08 00 73 00 80 09 00 00 00 00 00 00 E5 [09:06:23]Write i2c OK [09:06:23]MH_I2C_Read... [09:06:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:06:23]Read from MH i2c: E2 [09:06:23]MH_I2C_Read... [09:06:23]Read from MH i2c: E2 03 00 [09:06:23]MH_I2C_Read... [09:06:23]Read from MH i2c: E2 03 00 73 00 00 90 00 E7 [09:06:23]RAPDU: 90 00 [09:06:23]wFMCommunicate OK [09:06:23]SAM_PROTO_ClearQueue done [09:06:23]KKMCreateOFDPacket [09:06:23]OFDProtocolAddRootSTLVToBuf [09:06:23]FM_MakeSignedData [09:06:23]FM_MakeSignedData [09:06:23]SAM_PROTO_SignData [09:06:23]wFMCommunicate request_size=4 [09:06:23]MH_SAM_APDU [09:06:23]CAPDU: 80 0D 01 02 [09:06:23]Write to MH i2c: E2 08 00 74 00 80 0D 01 02 00 00 00 00 ED [09:06:23]Write i2c OK [09:06:23]MH_I2C_Read... [09:06:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:06:23]Read from MH i2c: E2 [09:06:23]MH_I2C_Read... [09:06:23]Read from MH i2c: E2 03 00 [09:06:23]MH_I2C_Read... [09:06:23]Read from MH i2c: E2 03 00 74 00 00 90 00 E8 [09:06:23]RAPDU: 90 00 [09:06:23]wFMCommunicate OK [09:06:23]wFMCommunicate request_size=255 [09:06:23]MH_SAM_APDU [09:06:23]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 98 6C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 0F 42 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 [09:06:23]Write to MH i2c: E2 02 01 75 00 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 98 6C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 0F 42 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 00 00 40 [09:06:23]Write i2c OK [09:06:23]MH_I2C_Read... [09:06:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:06:24]Read from MH i2c: E2 [09:06:24]MH_I2C_Read... [09:06:24]Read from MH i2c: E2 03 00 [09:06:24]MH_I2C_Read... [09:06:24]Read from MH i2c: E2 03 00 75 00 00 90 00 E9 [09:06:24]RAPDU: 90 00 [09:06:24]wFMCommunicate OK [09:06:24]wFMCommunicate request_size=35 [09:06:24]MH_SAM_APDU [09:06:24]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6C 7F 00 00 35 04 06 00 A0 C2 34 3D FB A8 [09:06:24]Write to MH i2c: E2 26 00 76 00 80 0D 02 02 1E 00 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6C 7F 00 00 35 04 06 00 A0 C2 34 3D FB A8 00 00 47 [09:06:24]Write i2c OK [09:06:24]MH_I2C_Read... [09:06:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:06:24]Read from MH i2c: E2 [09:06:24]MH_I2C_Read... [09:06:24]Read from MH i2c: E2 03 00 [09:06:24]MH_I2C_Read... [09:06:24]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [09:06:24]RAPDU: 90 00 [09:06:24]wFMCommunicate OK [09:06:24]wFMCommunicate request_size=4 [09:06:24]MH_SAM_APDU [09:06:24]CAPDU: 80 0D 03 02 [09:06:24]Write to MH i2c: E2 08 00 77 00 80 0D 03 02 00 00 00 00 F2 [09:06:24]Write i2c OK [09:06:24]MH_I2C_Read... [09:06:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:06:24]Read from MH i2c: E2 [09:06:24]MH_I2C_Read... [09:06:24]Read from MH i2c: E2 0B 00 [09:06:24]MH_I2C_Read... [09:06:24]Read from MH i2c: E2 0B 00 77 00 00 DA C0 30 0D D6 02 AD E4 90 00 33 [09:06:24]RAPDU: DA C0 30 0D D6 02 AD E4 90 00 [09:06:24]wFMCommunicate OK [09:06:24]SAM_PROTO_SignData done [09:06:24]FM_MakeSignedData done [09:06:24]CreateOFDProtocolMessage [09:06:24]wFMCommunicate request_size=4 [09:06:24]MH_SAM_APDU [09:06:24]CAPDU: 80 11 00 00 [09:06:24]Write to MH i2c: E2 08 00 78 00 80 11 00 00 00 00 00 00 F2 [09:06:24]Write i2c OK [09:06:24]MH_I2C_Read... [09:06:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:06:24]Read from MH i2c: E2 [09:06:24]MH_I2C_Read... [09:06:24]Read from MH i2c: E2 17 00 [09:06:24]MH_I2C_Read... [09:06:24]Read from MH i2c: E2 17 00 78 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 48 [09:06:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:06:24]wFMCommunicate OK [09:06:24]CreateOFDProtocolMessage done [09:06:24]OFDSenderStorePacket 32620 [09:06:24]StoreOFDPacket docnum=32620 [09:06:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 28 01 00 00 C3 8C 20 01 24 6B 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 98 6C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 0F 42 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6C 7F 00 00 35 04 06 00 A0 C2 34 3D FB A8 DA C0 30 0D D6 02 AD E4 [09:06:24]CheckFolder [09:06:24]dirname=/storage/ofd_packets [09:06:24]CheckFolder done [09:06:24]ProducePacketName [09:06:24]name=ofd_packets/00032620 [09:06:24]NVStorageSaveData ofd_packets/00032620 [09:06:24]File name is /storage/ofd_packets/00032620 [09:06:24]Write 326 bytes [09:06:24]NVStorageSaveData done [09:06:24]OFDSenderStorePacket done [09:06:24]KKMCreateOFDPacket done [09:06:24]NVStorageSaveData kkm_last_timestamp [09:06:24]File name is /storage/kkm_last_timestamp [09:06:24]Write 4 bytes [09:06:24]NVStorageSaveData done [09:06:24]ExternCall_PrintAddStr [09:06:24]wPrintStart [09:06:24]Write to MH i2c: 01 00 00 79 00 79 [09:06:24]Write i2c OK [09:06:24]MH_I2C_Read... [09:06:24]Read from MH i2c: 01 [09:06:24]MH_I2C_Read... [09:06:24]Read from MH i2c: 01 07 00 [09:06:24]MH_I2C_Read... [09:06:24]Read from MH i2c: 01 07 00 79 00 00 00 00 00 00 FF 0F 8E [09:06:24]RasterBufferAndPrint [09:06:24]line Счет N : (3)130831 [09:06:24]line ИНН: 02508201610067 [09:06:24]line Контрольно-Кассовый Чек [09:06:24]line ПРОДАЖА [09:06:24]line Товар: 2000036230011 [09:06:24]line Кофе Латте XL(GABB TRADE) [09:06:24]line 2.000 * 139.00 [09:06:24]line = 278.00 [09:06:24]line НДС 12% НСП 1% [09:06:24]line > о реализуемом товаре [09:06:24]line ИТОГО: 278.00 [09:06:24]line НСП 1% : 2.46 [09:06:24]line НДС 12% : 29.52 [09:06:24]line Наличными: 278.00 [09:06:24]line Безнал.: 0.00 [09:06:24]line Место: АЗС № 96 "Партнер Нефть" [09:06:24]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [09:06:24]line СНО: Общий режим [09:06:24]line Чек 8 21.02.2025 09:06 [09:06:24]line Смена: 386 ФФД: 1.0 [09:06:24]line ЗНМ: 0300000059 [09:06:24]line РНМ: 0000000000146237 [09:06:24]line Версия ККМ: v1.0 [09:06:24]line ФМ: 0000000000959282 [09:06:24]line ФД: 32620 [09:06:24]line ФПД: 176755960576936 [09:06:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T090623&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32620&fm=176755960576936&tin=02508201610067®Number=0000000000146237&sum=27800 [09:06:24]line 0 [09:06:24]OFD Sender: Processing packet 32620 [packets to send 105, broken 104] [09:06:24]ProducePacketName [09:06:24]name=ofd_packets/00032620 [09:06:24]OFD Sender: To server: pG, [09:06:24]CommunicateWithHost lk.salyk.kg:30040 [09:06:24]ConnectInit lk.salyk.kg [09:06:24]written 0, free lines is 4095 [09:06:25]Connected sock=10 [09:06: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 32 38 32 28 01 00 00 C3 8C 20 01 24 6B 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 98 6C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 0F 42 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6C 7F 00 00 35 04 06 00 A0 C2 34 3D FB A8 DA C0 30 0D D6 02 AD E4 [09:06:25]Write to MH i2c: 01 00 00 A1 00 A1 [09:06:25]Write i2c OK [09:06:25]MH_I2C_Read... [09:06:25]Read from MH i2c: 01 [09:06:25]MH_I2C_Read... [09:06:25]Read from MH i2c: 01 07 00 [09:06:25]MH_I2C_Read... [09:06:25]Read from MH i2c: 01 07 00 A1 00 00 00 00 00 00 2D 0D E2 [09:06:25]RasterBufferAndPrint [09:06:25]line [09:06:25]line [09:06:25]line [09:06:25]line [09:06:25]line [09:06:25]written 0, free lines is 3380 [09:06:25]MH_Cut [09:06:25]Write to MH i2c: D1 01 00 A8 00 01 7A [09:06:25]Write i2c OK [09:06:25]MH_I2C_Read... [09:06:25]Read from MH i2c: D1 [09:06:25]MH_I2C_Read... [09:06:25]Read from MH i2c: D1 01 00 [09:06:25]MH_I2C_Read... [09:06:25]Read from MH i2c: D1 01 00 A8 00 00 79 [09:06:25]Write to MH i2c: 01 00 00 A9 00 A9 [09:06:25]Write i2c OK [09:06:25]MH_I2C_Read... [09:06:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 1A BD 47 00 C6 20 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6C 7F 00 00 F4 03 04 00 A6 EB B7 67 B6 04 01 00 00 88 81 D0 08 87 97 05 AB [09:06:25]CommunicateWithHost err = 0 [09:06:25]CheckOFDResponse [09:06:25]1017 (14) - 77093643461234 [09:06:25]1041 (16) - 0000000000959282 [09:06:25]1040 (4) - 32620 [09:06:25]1012 (4) - 21.02.2025 02:57 [09:06:25]1206 (1) - 0 [09:06:25]OFD Sender: Remove packet 32620 [09:06:25]ProducePacketName [09:06:25]name=ofd_packets/00032620 [09:06:25]NVStorageDeleteData [09:06:25]*** Cut start [09:06:25]*** Partial cut [09:06:25]*** CUTSNS_PIN = 1 [09:06:25]*** CUTSNS_PIN = 0 [09:06:25]OFD Sender: No OFD packet to send [09:06:26]*** Brake cut motor [09:06:26]Read from MH i2c: 01 [09:06:26]MH_I2C_Read... [09:06:26]*** Stop cut motor [09:06:26]*** Cut end [09:06:26]Read from MH i2c: 01 07 00 [09:06:26]MH_I2C_Read... [09:06:26]Read from MH i2c: 01 07 00 A9 00 00 00 00 00 00 FF 0F BE [09:06:26]process_action close_receipt done [09:06:26]requested_data is exist [09:06:26]produce_requested_data [09:06:26]requested_item fm.sn is exist - process it [09:06:26]wFMCommunicate request_size=4 [09:06:26]MH_SAM_APDU [09:06:26]CAPDU: 80 11 00 00 [09:06:26]Write to MH i2c: E2 08 00 AA 00 80 11 00 00 00 00 00 00 24 [09:06:26]Write i2c OK [09:06:26]MH_I2C_Read... [09:06:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:06:26]Read from MH i2c: E2 [09:06:26]MH_I2C_Read... [09:06:26]Read from MH i2c: E2 17 00 [09:06:26]MH_I2C_Read... [09:06:26]Read from MH i2c: E2 17 00 AA 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 7A [09:06:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:06:26]wFMCommunicate OK [09:06:26]requested_item fd.num is exist - process it [09:06:26]SAM_PROTO_GetFieldsCounters [09:06:26]wFMCommunicate request_size=4 [09:06:26]MH_SAM_APDU [09:06:26]CAPDU: 80 13 00 00 [09:06:26]Write to MH i2c: E2 08 00 AB 00 80 13 00 00 00 00 00 00 27 [09:06:26]Write i2c OK [09:06:26]MH_I2C_Read... [09:06:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:06:26]Read from MH i2c: E2 [09:06:26]MH_I2C_Read... [09:06:26]Read from MH i2c: E2 62 00 [09:06:26]MH_I2C_Read... [09:06:26]Read from MH i2c: E2 62 00 AB 00 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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 6C 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 CF [09:06: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 6C 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:06:26]wFMCommunicate OK [09:06:26]SAM_PROTO_GetFieldsCounters done [09:06:26]requested_item shift.num is exist - process it [09:06:26]requested_item shift.opened is exist - process it [09:06:26]req_shift_opened [09:06:26]FM_GetShiftState [09:06:26]SAM_PROTO_GetShiftState [09:06:26]wFMCommunicate request_size=4 [09:06:26]MH_SAM_APDU [09:06:26]CAPDU: 80 13 01 00 [09:06:26]Write to MH i2c: E2 08 00 AC 00 80 13 01 00 00 00 00 00 29 [09:06:26]Write i2c OK [09:06:26]MH_I2C_Read... [09:06:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:06:26]Read from MH i2c: E2 [09:06:26]MH_I2C_Read... [09:06:26]Read from MH i2c: E2 0E 00 [09:06:26]MH_I2C_Read... [09:06:26]Read from MH i2c: E2 0E 00 AC 00 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 8E [09:06:26]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [09:06:26]wFMCommunicate OK [09:06:26]SAM_PROTO_GetShiftState done [09:06:26]FM_GetShiftState done [09:06:26]req_shift_opened done [09:06:26]requested_item shift.open_date is exist - process it [09:06:26]req_shift_open_date [09:06:26]req_shift_open_date done [09:06:26]produce_requested_data done [09:06:26]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32620,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [09:06:26]process_action_free close_receipt [09:06:26]json_value_free [09:06:26]json_value_free done [09:06:26]process_json_proto returns [09:06:26]Send response to host [09:06:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32620,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [09:06:26]free response buf [09:06:26]execute_script done [09:06:26]execute_script returns [09:06:26]free content buf [09:06:26]Sock 9.Close socket [09:06:26]Sock 9.Thread stoped [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:12]accept exits with 8 [09:07:12]New connection [09:07:12]New thread 3066883428 created [09:07:12]Thread 3066740068 joined [09:07:12]Waiting for new connection... [09:07:12] Sock 8.Parse request [09:07:12]Sock 8.Check first char [09:07:12]Sock 8.First char is OK [09:07:12]request: POST /json_proto HTTP/1.0 [09:07:12]Method: POST [09:07:12]URL: /json_proto [09:07:12]Method is POST - this is cgi request [09:07:12]url: /json_proto [09:07:12]query_string will be loaded in cgi processing [09:07:12]execute_cgi json_proto POST (null) [09:07:12]execute_cgi path=json_proto method=POST [09:07:12]POST find Content-Length [09:07:12]Host: 172.17.47.135:8080 [09:07:12]Content-Length: 718 [09:07:12]Content-Type: application/json [09:07:12] [09:07:12]POST finish read [09:07:12]Found Content-Length = 718 [09:07:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130832", "tax_sys" : 0, "items" : [ { "code": "4606532000189", "name": "\u0422\u043E\u0440\u043C\u043E\u0437\u043D\u0430\u044F \u0436\u0438\u0434\u043A\u043E\u0441\u0442\u044C \u0420\u043E\u0441\u0414\u043E\u0442-4 0,455\u043A\u0433", "price" : 234.00, "quantity" : 1.000, "sum" : 234.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 234.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:07:12]execute_script... [09:07:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130832", "tax_sys" : 0, "items" : [ { "code": "4606532000189", "name": "\u0422\u043E\u0440\u043C\u043E\u0437\u043D\u0430\u044F \u0436\u0438\u0434\u043A\u043E\u0441\u0442\u044C \u0420\u043E\u0441\u0414\u043E\u0442-4 0,455\u043A\u0433", "price" : 234.00, "quantity" : 1.000, "sum" : 234.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 234.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:07:12]POST & json_proto [09:07:12]process_json_proto [09:07:12]json parsed OK: [09:07:12]protocol is kg_v1.0 [09:07:12]action value=close_receipt [09:07:12]process_action close_receipt [09:07:12]cmd_close_receipt [09:07:12]MH_GetDate [09:07:12]Write to MH i2c: F0 00 00 AD 00 9C [09:07:12]Write i2c OK [09:07:12]MH_I2C_Read... [09:07:12]Read from MH i2c: F0 [09:07:12]MH_I2C_Read... [09:07:12]Read from MH i2c: F0 09 00 [09:07:12]MH_I2C_Read... [09:07:12]Read from MH i2c: F0 09 00 AD 00 00 40 42 B8 67 19 D8 DE 66 7B [09:07:12]GetLastDocTimeStamp 1740128783 [09:07:12]current date 1740128832 [09:07:12]FM_GetShiftState [09:07:12]SAM_PROTO_GetShiftState [09:07:12]wFMCommunicate request_size=4 [09:07:12]MH_SAM_APDU [09:07:12]CAPDU: 80 13 01 00 [09:07:12]Write to MH i2c: E2 08 00 AE 00 80 13 01 00 00 00 00 00 2B [09:07:12]Write i2c OK [09:07:12]MH_I2C_Read... [09:07:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:07:12]Read from MH i2c: E2 [09:07:12]MH_I2C_Read... [09:07:12]Read from MH i2c: E2 0E 00 [09:07:12]MH_I2C_Read... [09:07:12]Read from MH i2c: E2 0E 00 AE 00 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 90 [09:07:12]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [09:07:12]wFMCommunicate OK [09:07:12]SAM_PROTO_GetShiftState done [09:07:12]FM_GetShiftState done [09:07:12]opened in 1740096631 [09:07:12]opened+sec_in_day 1740183031 [09:07:12]quantity*price = 23400 [09:07:12]sum+1 = 23401 [09:07:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 234.00 НСП 1% : 2.07 НДС 12% : 24.85 Наличными: 234.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 9 21.02.2025 09:07 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32621 ФПД: 146019946301 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T090712&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32621&fm=146019946301&tin=02508201610067®Number=0000000000146237&sum=23400 0 [09:07:13]StoreToDocumentArchive [09:07:13]shift 386 fd 32621 [09:07:13]save to /storage/0386/doc_00032621 [09:07:13]save last doc name /storage/0386/doc_00032621 to /storage/kkm_last_doc_name [09:07:13]save OK [09:07:13]Clear old archive folders... [09:07:13]ProcessDocumentItem done err = 0, tmpTLVsize=302 [09:07:13]tlvbuf is 003F5570 [09:07:13]SAM_PROTO_ClearQueue [09:07:13]wFMCommunicate request_size=4 [09:07:13]MH_SAM_APDU [09:07:13]CAPDU: 80 09 00 00 [09:07:13]Write to MH i2c: E2 08 00 BB 00 80 09 00 00 00 00 00 00 2D [09:07:13]Write i2c OK [09:07:13]MH_I2C_Read... [09:07:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:07:13]Read from MH i2c: E2 [09:07:13]MH_I2C_Read... [09:07:13]Read from MH i2c: E2 03 00 [09:07:13]MH_I2C_Read... [09:07:13]Read from MH i2c: E2 03 00 BB 00 00 90 00 2F [09:07:13]RAPDU: 90 00 [09:07:13]wFMCommunicate OK [09:07:13]SAM_PROTO_ClearQueue done [09:07:13]KKMCreateOFDPacket [09:07:13]OFDProtocolAddRootSTLVToBuf [09:07:13]FM_MakeSignedData [09:07:13]FM_MakeSignedData [09:07:13]SAM_PROTO_SignData [09:07:13]wFMCommunicate request_size=4 [09:07:13]MH_SAM_APDU [09:07:13]CAPDU: 80 0D 01 02 [09:07:13]Write to MH i2c: E2 08 00 BC 00 80 0D 01 02 00 00 00 00 35 [09:07:13]Write i2c OK [09:07:13]MH_I2C_Read... [09:07:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:07:13]Read from MH i2c: E2 [09:07:13]MH_I2C_Read... [09:07:13]Read from MH i2c: E2 03 00 [09:07:13]MH_I2C_Read... [09:07:13]Read from MH i2c: E2 03 00 BC 00 00 90 00 30 [09:07:13]RAPDU: 90 00 [09:07:13]wFMCommunicate OK [09:07:13]wFMCommunicate request_size=255 [09:07:13]MH_SAM_APDU [09:07:13]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 30 36 35 33 32 30 30 30 31 38 39 06 04 3C 00 D0 A2 D0 BE D1 80 D0 BC D0 BE D0 B7 D0 BD D0 B0 D1 8F 20 D0 B6 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D0 A0 D0 BE D1 81 D0 94 D0 BE D1 82 2D 34 20 30 2C 34 35 35 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 5B 00 00 00 00 13 04 06 00 68 5B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 09 00 00 00 00 07 04 06 00 68 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 40 42 B8 67 0E 04 04 00 82 01 00 00 B9 04 01 00 01 0D 04 [09:07:13]Write to MH i2c: E2 02 01 BD 00 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 30 36 35 33 32 30 30 30 31 38 39 06 04 3C 00 D0 A2 D0 BE D1 80 D0 BC D0 BE D0 B7 D0 BD D0 B0 D1 8F 20 D0 B6 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D0 A0 D0 BE D1 81 D0 94 D0 BE D1 82 2D 34 20 30 2C 34 35 35 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 5B 00 00 00 00 13 04 06 00 68 5B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 09 00 00 00 00 07 04 06 00 68 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 40 42 B8 67 0E 04 04 00 82 01 00 00 B9 04 01 00 01 0D 04 00 00 5B [09:07:13]Write i2c OK [09:07:13]MH_I2C_Read... [09:07:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:07:13]Read from MH i2c: E2 [09:07:13]MH_I2C_Read... [09:07:13]Read from MH i2c: E2 03 00 [09:07:13]MH_I2C_Read... [09:07:13]Read from MH i2c: E2 03 00 BD 00 00 90 00 31 [09:07:13]RAPDU: 90 00 [09:07:13]wFMCommunicate OK [09:07:13]wFMCommunicate request_size=61 [09:07:13]MH_SAM_APDU [09:07:13]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6D 7F 00 00 35 04 06 00 00 21 FF 77 8F 3D [09:07:13]Write to MH i2c: E2 40 00 BE 00 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6D 7F 00 00 35 04 06 00 00 21 FF 77 8F 3D 00 00 BD [09:07:13]Write i2c OK [09:07:13]MH_I2C_Read... [09:07:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:07:13]Read from MH i2c: E2 [09:07:13]MH_I2C_Read... [09:07:13]Read from MH i2c: E2 03 00 [09:07:13]MH_I2C_Read... [09:07:13]Read from MH i2c: E2 03 00 BE 00 00 90 00 32 [09:07:13]RAPDU: 90 00 [09:07:13]wFMCommunicate OK [09:07:13]wFMCommunicate request_size=4 [09:07:13]MH_SAM_APDU [09:07:13]CAPDU: 80 0D 03 02 [09:07:13]Write to MH i2c: E2 08 00 BF 00 80 0D 03 02 00 00 00 00 3A [09:07:13]Write i2c OK [09:07:13]MH_I2C_Read... [09:07:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:07:13]Read from MH i2c: E2 [09:07:13]MH_I2C_Read... [09:07:13]Read from MH i2c: E2 0B 00 [09:07:13]MH_I2C_Read... [09:07:13]Read from MH i2c: E2 0B 00 BF 00 00 D8 D3 32 3B 0D F4 29 FC 90 00 79 [09:07:13]RAPDU: D8 D3 32 3B 0D F4 29 FC 90 00 [09:07:13]wFMCommunicate OK [09:07:13]SAM_PROTO_SignData done [09:07:13]FM_MakeSignedData done [09:07:13]CreateOFDProtocolMessage [09:07:13]wFMCommunicate request_size=4 [09:07:13]MH_SAM_APDU [09:07:13]CAPDU: 80 11 00 00 [09:07:13]Write to MH i2c: E2 08 00 C0 00 80 11 00 00 00 00 00 00 3A [09:07:13]Write i2c OK [09:07:13]MH_I2C_Read... [09:07:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:07:13]Read from MH i2c: E2 [09:07:13]MH_I2C_Read... [09:07:13]Read from MH i2c: E2 17 00 [09:07:13]MH_I2C_Read... [09:07:13]Read from MH i2c: E2 17 00 C0 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 90 [09:07:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:07:13]wFMCommunicate OK [09:07:13]CreateOFDProtocolMessage done [09:07:13]OFDSenderStorePacket 32621 [09:07:13]StoreOFDPacket docnum=32621 [09:07:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 42 01 00 00 59 2A 3A 01 EE CF 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 30 36 35 33 32 30 30 30 31 38 39 06 04 3C 00 D0 A2 D0 BE D1 80 D0 BC D0 BE D0 B7 D0 BD D0 B0 D1 8F 20 D0 B6 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D0 A0 D0 BE D1 81 D0 94 D0 BE D1 82 2D 34 20 30 2C 34 35 35 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 5B 00 00 00 00 13 04 06 00 68 5B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 09 00 00 00 00 07 04 06 00 68 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 40 42 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6D 7F 00 00 35 04 06 00 00 21 FF 77 8F 3D D8 D3 32 3B 0D F4 29 FC [09:07:13]CheckFolder [09:07:13]dirname=/storage/ofd_packets [09:07:13]CheckFolder done [09:07:13]ProducePacketName [09:07:13]name=ofd_packets/00032621 [09:07:13]NVStorageSaveData ofd_packets/00032621 [09:07:13]File name is /storage/ofd_packets/00032621 [09:07:13]Write 352 bytes [09:07:13]NVStorageSaveData done [09:07:13]OFDSenderStorePacket done [09:07:13]KKMCreateOFDPacket done [09:07:13]NVStorageSaveData kkm_last_timestamp [09:07:13]File name is /storage/kkm_last_timestamp [09:07:13]Write 4 bytes [09:07:13]NVStorageSaveData done [09:07:13]ExternCall_PrintAddStr [09:07:13]wPrintStart [09:07:13]Write to MH i2c: 01 00 00 C1 00 C1 [09:07:13]Write i2c OK [09:07:13]MH_I2C_Read... [09:07:13]Read from MH i2c: 01 [09:07:13]MH_I2C_Read... [09:07:13]Read from MH i2c: 01 07 00 [09:07:13]MH_I2C_Read... [09:07:13]Read from MH i2c: 01 07 00 C1 00 00 00 00 00 00 FF 0F D6 [09:07:13]RasterBufferAndPrint [09:07:13]line Счет N : (3)130832 [09:07:13]line ИНН: 02508201610067 [09:07:13]line Контрольно-Кассовый Чек [09:07:13]line ПРОДАЖА [09:07:13]line Товар: 4606532000189 [09:07:13]line Тормозная жидкость РосДот-4 0,455кг [09:07:13]line 1.000 * 234.00 [09:07:13]line = 234.00 [09:07:13]line НДС 12% НСП 1% [09:07:13]line > о реализуемом товаре [09:07:13]line ИТОГО: 234.00 [09:07:13]line НСП 1% : 2.07 [09:07:13]line НДС 12% : 24.85 [09:07:13]line Наличными: 234.00 [09:07:13]line Безнал.: 0.00 [09:07:13]line Место: АЗС № 96 "Партнер Нефть" [09:07:13]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [09:07:13]line СНО: Общий режим [09:07:13]line Чек 9 21.02.2025 09:07 [09:07:13]line Смена: 386 ФФД: 1.0 [09:07:13]line ЗНМ: 0300000059 [09:07:13]line РНМ: 0000000000146237 [09:07:13]line Версия ККМ: v1.0 [09:07:13]line ФМ: 0000000000959282 [09:07:13]line ФД: 32621 [09:07:13]line ФПД: 146019946301 [09:07:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T090712&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32621&fm=146019946301&tin=02508201610067®Number=0000000000146237&sum=23400 [09:07:14]line 0 [09:07:14]OFD Sender: Processing packet 32621 [packets to send 105, broken 104] [09:07:14]ProducePacketName [09:07:14]name=ofd_packets/00032621 [09:07:14]OFD Sender: To server: pG, [09:07:14]CommunicateWithHost lk.salyk.kg:30040 [09:07:14]ConnectInit lk.salyk.kg [09:07:14]written 0, free lines is 4095 [09:07:14]Write to MH i2c: 01 00 00 EA 00 EA [09:07:14]Write i2c OK [09:07:14]MH_I2C_Read... [09:07:14]Read from MH i2c: 01 [09:07:14]MH_I2C_Read... [09:07:14]Read from MH i2c: 01 07 00 [09:07:14]MH_I2C_Read... [09:07:14]Read from MH i2c: 01 07 00 EA 00 00 00 00 00 00 F1 0C EE [09:07:14]RasterBufferAndPrint [09:07:14]line [09:07:14]line [09:07:14]line [09:07:14]line [09:07:14]line [09:07:14]written 0, free lines is 3319 [09:07:14]MH_Cut [09:07:14]Write to MH i2c: D1 01 00 F1 00 01 C3 [09:07:14]Write i2c OK [09:07:14]MH_I2C_Read... [09:07:14]Read from MH i2c: D1 [09:07:14]MH_I2C_Read... [09:07:14]Read from MH i2c: D1 01 00 [09:07:14]MH_I2C_Read... [09:07:14]Read from MH i2c: D1 01 00 F1 00 00 C2 [09:07:14]Write to MH i2c: 01 00 00 F2 00 F2 [09:07:14]Write i2c OK [09:07:14]MH_I2C_Read... [09:07:14]Connected sock=10 [09:07:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 42 01 00 00 59 2A 3A 01 EE CF 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 30 36 35 33 32 30 30 30 31 38 39 06 04 3C 00 D0 A2 D0 BE D1 80 D0 BC D0 BE D0 B7 D0 BD D0 B0 D1 8F 20 D0 B6 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D0 A0 D0 BE D1 81 D0 94 D0 BE D1 82 2D 34 20 30 2C 34 35 35 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 5B 00 00 00 00 13 04 06 00 68 5B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 5B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B5 09 00 00 00 00 07 04 06 00 68 5B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 40 42 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6D 7F 00 00 35 04 06 00 00 21 FF 77 8F 3D D8 D3 32 3B 0D F4 29 FC [09:07:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 29 CC 47 00 F6 AA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6D 7F 00 00 F4 03 04 00 D8 EB B7 67 B6 04 01 00 00 12 BA 46 43 B8 E5 8B 78 [09:07:15]CommunicateWithHost err = 0 [09:07:15]CheckOFDResponse [09:07:15]1017 (14) - 77093643461234 [09:07:15]1041 (16) - 0000000000959282 [09:07:15]1040 (4) - 32621 [09:07:15]1012 (4) - 21.02.2025 02:58 [09:07:15]1206 (1) - 0 [09:07:15]OFD Sender: Remove packet 32621 [09:07:15]ProducePacketName [09:07:15]name=ofd_packets/00032621 [09:07:15]NVStorageDeleteData [09:07:15]*** Cut start [09:07:15]*** Partial cut [09:07:15]*** CUTSNS_PIN = 1 [09:07:15]*** CUTSNS_PIN = 0 [09:07:15]OFD Sender: No OFD packet to send [09:07:15]*** Brake cut motor [09:07:15]Read from MH i2c: 01 [09:07:15]MH_I2C_Read... [09:07:15]*** Stop cut motor [09:07:15]*** Cut end [09:07:15]Read from MH i2c: 01 07 00 [09:07:15]MH_I2C_Read... [09:07:15]Read from MH i2c: 01 07 00 F2 00 00 00 00 00 00 FF 0F 07 [09:07:15]process_action close_receipt done [09:07:15]requested_data is exist [09:07:15]produce_requested_data [09:07:15]requested_item fm.sn is exist - process it [09:07:15]wFMCommunicate request_size=4 [09:07:15]MH_SAM_APDU [09:07:15]CAPDU: 80 11 00 00 [09:07:15]Write to MH i2c: E2 08 00 F3 00 80 11 00 00 00 00 00 00 6D [09:07:15]Write i2c OK [09:07:15]MH_I2C_Read... [09:07:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:07:16]Read from MH i2c: E2 [09:07:16]MH_I2C_Read... [09:07:16]Read from MH i2c: E2 17 00 [09:07:16]MH_I2C_Read... [09:07:16]Read from MH i2c: E2 17 00 F3 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 C3 [09:07:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:07:16]wFMCommunicate OK [09:07:16]requested_item fd.num is exist - process it [09:07:16]SAM_PROTO_GetFieldsCounters [09:07:16]wFMCommunicate request_size=4 [09:07:16]MH_SAM_APDU [09:07:16]CAPDU: 80 13 00 00 [09:07:16]Write to MH i2c: E2 08 00 F4 00 80 13 00 00 00 00 00 00 70 [09:07:16]Write i2c OK [09:07:16]MH_I2C_Read... [09:07:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:07:16]Read from MH i2c: E2 [09:07:16]MH_I2C_Read... [09:07:16]Read from MH i2c: E2 62 00 [09:07:16]MH_I2C_Read... [09:07:16]Read from MH i2c: E2 62 00 F4 00 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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 6D 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 1C [09:07:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 6D 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:07:16]wFMCommunicate OK [09:07:16]SAM_PROTO_GetFieldsCounters done [09:07:16]requested_item shift.num is exist - process it [09:07:16]requested_item shift.opened is exist - process it [09:07:16]req_shift_opened [09:07:16]FM_GetShiftState [09:07:16]SAM_PROTO_GetShiftState [09:07:16]wFMCommunicate request_size=4 [09:07:16]MH_SAM_APDU [09:07:16]CAPDU: 80 13 01 00 [09:07:16]Write to MH i2c: E2 08 00 F5 00 80 13 01 00 00 00 00 00 72 [09:07:16]Write i2c OK [09:07:16]MH_I2C_Read... [09:07:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:07:16]Read from MH i2c: E2 [09:07:16]MH_I2C_Read... [09:07:16]Read from MH i2c: E2 0E 00 [09:07:16]MH_I2C_Read... [09:07:16]Read from MH i2c: E2 0E 00 F5 00 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 D7 [09:07:16]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [09:07:16]wFMCommunicate OK [09:07:16]SAM_PROTO_GetShiftState done [09:07:16]FM_GetShiftState done [09:07:16]req_shift_opened done [09:07:16]requested_item shift.open_date is exist - process it [09:07:16]req_shift_open_date [09:07:16]req_shift_open_date done [09:07:16]produce_requested_data done [09:07:16]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32621,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [09:07:16]process_action_free close_receipt [09:07:16]json_value_free [09:07:16]json_value_free done [09:07:16]process_json_proto returns [09:07:16]Send response to host [09:07:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32621,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [09:07:16]free response buf [09:07:16]execute_script done [09:07:16]execute_script returns [09:07:16]free content buf [09:07:16]Sock 8.Close socket [09:07:16]Sock 8.Thread stoped [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:08]accept exits with 9 [09:09:08]New connection [09:09:08]New thread 3066740068 created [09:09:08]Thread 3066883428 joined [09:09:08]Waiting for new connection... [09:09:08] Sock 9.Parse request [09:09:08]Sock 9.Check first char [09:09:08]Sock 9.First char is OK [09:09:08]request: POST /json_proto HTTP/1.0 [09:09:08]Method: POST [09:09:08]URL: /json_proto [09:09:08]Method is POST - this is cgi request [09:09:08]url: /json_proto [09:09:08]query_string will be loaded in cgi processing [09:09:08]execute_cgi json_proto POST (null) [09:09:08]execute_cgi path=json_proto method=POST [09:09:08]POST find Content-Length [09:09:08]Host: 172.17.47.135:8080 [09:09:08]Content-Length: 646 [09:09:08]Content-Type: application/json [09:09:08] [09:09:08]POST finish read [09:09:08]Found Content-Length = 646 [09:09:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130833", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:09:08]execute_script... [09:09:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130833", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:09:08]POST & json_proto [09:09:08]process_json_proto [09:09:08]json parsed OK: [09:09:08]protocol is kg_v1.0 [09:09:08]action value=close_receipt [09:09:08]process_action close_receipt [09:09:08]cmd_close_receipt [09:09:08]MH_GetDate [09:09:08]Write to MH i2c: F0 00 00 F6 00 E5 [09:09:08]Write i2c OK [09:09:08]MH_I2C_Read... [09:09:08]Read from MH i2c: F0 [09:09:08]MH_I2C_Read... [09:09:08]Read from MH i2c: F0 09 00 [09:09:08]MH_I2C_Read... [09:09:08]Read from MH i2c: F0 09 00 F6 00 00 B5 42 B8 67 19 D8 DE 66 39 [09:09:08]GetLastDocTimeStamp 1740128832 [09:09:08]current date 1740128949 [09:09:08]FM_GetShiftState [09:09:08]SAM_PROTO_GetShiftState [09:09:08]wFMCommunicate request_size=4 [09:09:08]MH_SAM_APDU [09:09:08]CAPDU: 80 13 01 00 [09:09:08]Write to MH i2c: E2 08 00 F7 00 80 13 01 00 00 00 00 00 74 [09:09:08]Write i2c OK [09:09:08]MH_I2C_Read... [09:09:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:09:08]Read from MH i2c: E2 [09:09:08]MH_I2C_Read... [09:09:08]Read from MH i2c: E2 0E 00 [09:09:08]MH_I2C_Read... [09:09:08]Read from MH i2c: E2 0E 00 F7 00 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 D9 [09:09:08]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [09:09:08]wFMCommunicate OK [09:09:08]SAM_PROTO_GetShiftState done [09:09:08]FM_GetShiftState done [09:09:08]opened in 1740096631 [09:09:08]opened+sec_in_day 1740183031 [09:09:08]quantity*price = 13900 [09:09:08]sum+1 = 13901 [09:09:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 10 21.02.2025 09:09 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32622 ФПД: 43184637866818 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T090909&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32622&fm=43184637866818&tin=02508201610067®Number=0000000000146237&sum=13900 0 [09:09:09]StoreToDocumentArchive [09:09:09]shift 386 fd 32622 [09:09:09]save to /storage/0386/doc_00032622 [09:09:09]save last doc name /storage/0386/doc_00032622 to /storage/kkm_last_doc_name [09:09:09]save OK [09:09:09]Clear old archive folders... [09:09:09]ProcessDocumentItem done err = 0, tmpTLVsize=282 [09:09:09]tlvbuf is 003F52F0 [09:09:09]SAM_PROTO_ClearQueue [09:09:09]wFMCommunicate request_size=4 [09:09:09]MH_SAM_APDU [09:09:09]CAPDU: 80 09 00 00 [09:09:09]Write to MH i2c: E2 08 00 04 01 80 09 00 00 00 00 00 00 77 [09:09:09]Write i2c OK [09:09:09]MH_I2C_Read... [09:09:09]Read from MH i2c: E2 [09:09:09]MH_I2C_Read... [09:09:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:09:09]Read from MH i2c: E2 03 00 [09:09:09]MH_I2C_Read... [09:09:09]Read from MH i2c: E2 03 00 04 01 00 90 00 79 [09:09:09]RAPDU: 90 00 [09:09:09]wFMCommunicate OK [09:09:09]SAM_PROTO_ClearQueue done [09:09:09]KKMCreateOFDPacket [09:09:09]OFDProtocolAddRootSTLVToBuf [09:09:09]FM_MakeSignedData [09:09:09]FM_MakeSignedData [09:09:09]SAM_PROTO_SignData [09:09:09]wFMCommunicate request_size=4 [09:09:09]MH_SAM_APDU [09:09:09]CAPDU: 80 0D 01 02 [09:09:09]Write to MH i2c: E2 08 00 05 01 80 0D 01 02 00 00 00 00 7F [09:09:09]Write i2c OK [09:09:09]MH_I2C_Read... [09:09:10]Read from MH i2c: E2 [09:09:10]MH_I2C_Read... [09:09:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:09:10]Read from MH i2c: E2 03 00 [09:09:10]MH_I2C_Read... [09:09:10]Read from MH i2c: E2 03 00 05 01 00 90 00 7A [09:09:10]RAPDU: 90 00 [09:09:10]wFMCommunicate OK [09:09:10]wFMCommunicate request_size=255 [09:09:10]MH_SAM_APDU [09:09:10]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 0A 00 00 00 F4 03 04 00 B5 42 B8 67 0E 04 04 00 82 01 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 33 37 11 04 [09:09:10]Write to MH i2c: E2 02 01 06 01 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 0A 00 00 00 F4 03 04 00 B5 42 B8 67 0E 04 04 00 82 01 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 33 37 11 04 00 00 B7 [09:09:10]Write i2c OK [09:09:10]MH_I2C_Read... [09:09:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:09:10]Read from MH i2c: E2 [09:09:10]MH_I2C_Read... [09:09:10]Read from MH i2c: E2 03 00 [09:09:10]MH_I2C_Read... [09:09:10]Read from MH i2c: E2 03 00 06 01 00 90 00 7B [09:09:10]RAPDU: 90 00 [09:09:10]wFMCommunicate OK [09:09:10]wFMCommunicate request_size=41 [09:09:10]MH_SAM_APDU [09:09:10]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6E 7F 00 00 35 04 06 00 27 46 B4 FF F3 42 [09:09:10]Write to MH i2c: E2 2C 00 07 01 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6E 7F 00 00 35 04 06 00 27 46 B4 FF F3 42 00 00 96 [09:09:10]Write i2c OK [09:09:10]MH_I2C_Read... [09:09:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:09:10]Read from MH i2c: E2 [09:09:10]MH_I2C_Read... [09:09:10]Read from MH i2c: E2 03 00 [09:09:10]MH_I2C_Read... [09:09:10]Read from MH i2c: E2 03 00 07 01 00 90 00 7C [09:09:10]RAPDU: 90 00 [09:09:10]wFMCommunicate OK [09:09:10]wFMCommunicate request_size=4 [09:09:10]MH_SAM_APDU [09:09:10]CAPDU: 80 0D 03 02 [09:09:10]Write to MH i2c: E2 08 00 08 01 80 0D 03 02 00 00 00 00 84 [09:09:10]Write i2c OK [09:09:10]MH_I2C_Read... [09:09:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:09:10]Read from MH i2c: E2 [09:09:10]MH_I2C_Read... [09:09:10]Read from MH i2c: E2 0B 00 [09:09:10]MH_I2C_Read... [09:09:10]Read from MH i2c: E2 0B 00 08 01 00 19 08 45 A7 AB 74 30 DA 90 00 BB [09:09:10]RAPDU: 19 08 45 A7 AB 74 30 DA 90 00 [09:09:10]wFMCommunicate OK [09:09:10]SAM_PROTO_SignData done [09:09:10]FM_MakeSignedData done [09:09:10]CreateOFDProtocolMessage [09:09:10]wFMCommunicate request_size=4 [09:09:10]MH_SAM_APDU [09:09:10]CAPDU: 80 11 00 00 [09:09:10]Write to MH i2c: E2 08 00 09 01 80 11 00 00 00 00 00 00 84 [09:09:10]Write i2c OK [09:09:10]MH_I2C_Read... [09:09:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:09:10]Read from MH i2c: E2 [09:09:10]MH_I2C_Read... [09:09:10]Read from MH i2c: E2 17 00 [09:09:10]MH_I2C_Read... [09:09:10]Read from MH i2c: E2 17 00 09 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 DA [09:09:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:09:10]wFMCommunicate OK [09:09:10]CreateOFDProtocolMessage done [09:09:10]OFDSenderStorePacket 32622 [09:09:10]StoreOFDPacket docnum=32622 [09:09:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2E 01 00 00 90 94 26 01 17 1D 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 0A 00 00 00 F4 03 04 00 B5 42 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6E 7F 00 00 35 04 06 00 27 46 B4 FF F3 42 19 08 45 A7 AB 74 30 DA [09:09:10]CheckFolder [09:09:10]dirname=/storage/ofd_packets [09:09:10]CheckFolder done [09:09:10]ProducePacketName [09:09:10]name=ofd_packets/00032622 [09:09:10]NVStorageSaveData ofd_packets/00032622 [09:09:10]File name is /storage/ofd_packets/00032622 [09:09:10]Write 332 bytes [09:09:10]NVStorageSaveData done [09:09:10]OFDSenderStorePacket done [09:09:10]KKMCreateOFDPacket done [09:09:10]NVStorageSaveData kkm_last_timestamp [09:09:10]File name is /storage/kkm_last_timestamp [09:09:10]Write 4 bytes [09:09:10]NVStorageSaveData done [09:09:10]ExternCall_PrintAddStr [09:09:10]wPrintStart [09:09:10]Write to MH i2c: 01 00 00 0A 01 0B [09:09:10]Write i2c OK [09:09:10]MH_I2C_Read... [09:09:10]Read from MH i2c: 01 [09:09:10]MH_I2C_Read... [09:09:10]Read from MH i2c: 01 07 00 [09:09:10]MH_I2C_Read... [09:09:10]Read from MH i2c: 01 07 00 0A 01 00 00 00 00 00 FF 0F 20 [09:09:10]RasterBufferAndPrint [09:09:10]line Счет N : (3)130833 [09:09:10]line ИНН: 02508201610067 [09:09:10]line Контрольно-Кассовый Чек [09:09:10]line ПРОДАЖА [09:09:10]line Товар: 2000036220012 [09:09:10]line Кофе Капучино XL(GABB TRADE) [09:09:10]line 1.000 * 139.00 [09:09:10]line = 139.00 [09:09:10]line НДС 12% НСП 1% [09:09:10]line > о реализуемом товаре [09:09:10]line ИТОГО: 139.00 [09:09:10]line НСП 1% : 1.23 [09:09:10]line НДС 12% : 14.76 [09:09:10]line Наличными: 139.00 [09:09:10]line Безнал.: 0.00 [09:09:10]line Место: АЗС № 96 "Партнер Нефть" [09:09:10]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [09:09:10]line СНО: Общий режим [09:09:10]line Чек 10 21.02.2025 09:09 [09:09:10]line Смена: 386 ФФД: 1.0 [09:09:10]line ЗНМ: 0300000059 [09:09:10]line РНМ: 0000000000146237 [09:09:10]line Версия ККМ: v1.0 [09:09:10]line ФМ: 0000000000959282 [09:09:10]line ФД: 32622 [09:09:10]line ФПД: 43184637866818 [09:09:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T090909&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32622&fm=43184637866818&tin=02508201610067®Number=0000000000146237&sum=13900 [09:09:10]line 0 [09:09:10]OFD Sender: Processing packet 32622 [packets to send 105, broken 104] [09:09:10]ProducePacketName [09:09:10]name=ofd_packets/00032622 [09:09:10]OFD Sender: To server: pG, [09:09:10]CommunicateWithHost lk.salyk.kg:30040 [09:09:10]ConnectInit lk.salyk.kg [09:09:10]written 0, free lines is 4095 [09:09:11]Connected sock=10 [09:09: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 32 38 32 2E 01 00 00 90 94 26 01 17 1D 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 0A 00 00 00 F4 03 04 00 B5 42 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6E 7F 00 00 35 04 06 00 27 46 B4 FF F3 42 19 08 45 A7 AB 74 30 DA [09:09:11]Write to MH i2c: 01 00 00 33 01 34 [09:09:11]Write i2c OK [09:09:11]MH_I2C_Read... [09:09:11]Read from MH i2c: 01 [09:09:11]MH_I2C_Read... [09:09:11]Read from MH i2c: 01 07 00 [09:09:11]MH_I2C_Read... [09:09:11]Read from MH i2c: 01 07 00 33 01 00 00 00 00 00 01 0D 49 [09:09:11]RasterBufferAndPrint [09:09:11]line [09:09:11]line [09:09:11]line [09:09:11]line [09:09:11]line [09:09:11]written 0, free lines is 3335 [09:09:11]MH_Cut [09:09:11]Write to MH i2c: D1 01 00 3A 01 01 0D [09:09:11]Write i2c OK [09:09:11]MH_I2C_Read... [09:09:11]Read from MH i2c: D1 [09:09:11]MH_I2C_Read... [09:09:11]Read from MH i2c: D1 01 00 [09:09:11]MH_I2C_Read... [09:09:11]Read from MH i2c: D1 01 00 3A 01 00 0C [09:09:11]Write to MH i2c: 01 00 00 3B 01 3C [09:09:11]Write i2c OK [09:09:11]MH_I2C_Read... [09:09:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 55 70 47 00 7A 06 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 32 38 32 10 04 04 00 6E 7F 00 00 F4 03 04 00 4C EC B7 67 B6 04 01 00 00 CA D9 7C 6C 5C DC DF CD [09:09:11]CommunicateWithHost err = 0 [09:09:11]CheckOFDResponse [09:09:11]1017 (14) - 77093643461234 [09:09:11]1041 (16) - 0000000000959282 [09:09:11]1040 (4) - 32622 [09:09:11]1012 (4) - 21.02.2025 03:00 [09:09:11]1206 (1) - 0 [09:09:11]OFD Sender: Remove packet 32622 [09:09:11]ProducePacketName [09:09:11]name=ofd_packets/00032622 [09:09:11]NVStorageDeleteData [09:09:11]OFD Sender: No OFD packet to send [09:09:11]*** Cut start [09:09:11]*** Partial cut [09:09:11]*** CUTSNS_PIN = 1 [09:09:11]*** CUTSNS_PIN = 0 [09:09:12]*** Brake cut motor [09:09:12]Read from MH i2c: 01 [09:09:12]MH_I2C_Read... [09:09:12]*** Stop cut motor [09:09:12]*** Cut end [09:09:12]Read from MH i2c: 01 07 00 [09:09:12]MH_I2C_Read... [09:09:12]Read from MH i2c: 01 07 00 3B 01 00 00 00 00 00 FF 0F 51 [09:09:12]process_action close_receipt done [09:09:12]requested_data is exist [09:09:12]produce_requested_data [09:09:12]requested_item fm.sn is exist - process it [09:09:12]wFMCommunicate request_size=4 [09:09:12]MH_SAM_APDU [09:09:12]CAPDU: 80 11 00 00 [09:09:12]Write to MH i2c: E2 08 00 3C 01 80 11 00 00 00 00 00 00 B7 [09:09:12]Write i2c OK [09:09:12]MH_I2C_Read... [09:09:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:09:12]Read from MH i2c: E2 [09:09:12]MH_I2C_Read... [09:09:12]Read from MH i2c: E2 17 00 [09:09:12]MH_I2C_Read... [09:09:12]Read from MH i2c: E2 17 00 3C 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 0D [09:09:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:09:12]wFMCommunicate OK [09:09:12]requested_item fd.num is exist - process it [09:09:12]SAM_PROTO_GetFieldsCounters [09:09:12]wFMCommunicate request_size=4 [09:09:12]MH_SAM_APDU [09:09:12]CAPDU: 80 13 00 00 [09:09:12]Write to MH i2c: E2 08 00 3D 01 80 13 00 00 00 00 00 00 BA [09:09:12]Write i2c OK [09:09:12]MH_I2C_Read... [09:09:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:09:12]Read from MH i2c: E2 [09:09:12]MH_I2C_Read... [09:09:12]Read from MH i2c: E2 62 00 [09:09:12]MH_I2C_Read... [09:09:12]Read from MH i2c: E2 62 00 3D 01 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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 6E 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 6A [09:09: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 6E 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:09:12]wFMCommunicate OK [09:09:12]SAM_PROTO_GetFieldsCounters done [09:09:12]requested_item shift.num is exist - process it [09:09:12]requested_item shift.opened is exist - process it [09:09:12]req_shift_opened [09:09:12]FM_GetShiftState [09:09:12]SAM_PROTO_GetShiftState [09:09:12]wFMCommunicate request_size=4 [09:09:12]MH_SAM_APDU [09:09:12]CAPDU: 80 13 01 00 [09:09:12]Write to MH i2c: E2 08 00 3E 01 80 13 01 00 00 00 00 00 BC [09:09:12]Write i2c OK [09:09:12]MH_I2C_Read... [09:09:12]Read from MH i2c: E2 [09:09:12]MH_I2C_Read... [09:09:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:09:12]Read from MH i2c: E2 0E 00 [09:09:12]MH_I2C_Read... [09:09:12]Read from MH i2c: E2 0E 00 3E 01 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 21 [09:09:12]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [09:09:12]wFMCommunicate OK [09:09:12]SAM_PROTO_GetShiftState done [09:09:12]FM_GetShiftState done [09:09:12]req_shift_opened done [09:09:12]requested_item shift.open_date is exist - process it [09:09:12]req_shift_open_date [09:09:12]req_shift_open_date done [09:09:12]produce_requested_data done [09:09:12]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32622,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [09:09:12]process_action_free close_receipt [09:09:12]json_value_free [09:09:12]json_value_free done [09:09:12]process_json_proto returns [09:09:12]Send response to host [09:09:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32622,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [09:09:12]free response buf [09:09:12]execute_script done [09:09:12]execute_script returns [09:09:12]free content buf [09:09:12]Sock 9.Close socket [09:09:12]Sock 9.Thread stoped [09:09:16]OFD Sender: No OFD packet to send [09:09:21]OFD Sender: No OFD packet to send [09:09:26]OFD Sender: No OFD packet to send [09:09:31]OFD Sender: No OFD packet to send [09:09:36]OFD Sender: No OFD packet to send [09:09:41]OFD Sender: No OFD packet to send [09:09:46]OFD Sender: No OFD packet to send [09:09:49]accept exits with 8 [09:09:49]New connection [09:09:49]New thread 3066883428 created [09:09:49]Thread 3066740068 joined [09:09:49]Waiting for new connection... [09:09:49] Sock 8.Parse request [09:09:49]Sock 8.Check first char [09:09:49]Sock 8.First char is OK [09:09:49]request: POST /json_proto HTTP/1.0 [09:09:49]Method: POST [09:09:49]URL: /json_proto [09:09:49]Method is POST - this is cgi request [09:09:49]url: /json_proto [09:09:49]query_string will be loaded in cgi processing [09:09:49]execute_cgi json_proto POST (null) [09:09:49]execute_cgi path=json_proto method=POST [09:09:49]POST find Content-Length [09:09:49]Host: 172.17.47.135:8080 [09:09:49]Content-Length: 642 [09:09:49]Content-Type: application/json [09:09:49] [09:09:49]POST finish read [09:09:49]Found Content-Length = 642 [09:09:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130834", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 64.00, "quantity" : 1.000, "sum" : 64.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 64.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:09:49]execute_script... [09:09:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130834", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 64.00, "quantity" : 1.000, "sum" : 64.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 64.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:09:49]POST & json_proto [09:09:49]process_json_proto [09:09:49]json parsed OK: [09:09:49]protocol is kg_v1.0 [09:09:49]action value=close_receipt [09:09:49]process_action close_receipt [09:09:49]cmd_close_receipt [09:09:49]MH_GetDate [09:09:49]Write to MH i2c: F0 00 00 3F 01 2F [09:09:49]Write i2c OK [09:09:49]MH_I2C_Read... [09:09:49]Read from MH i2c: F0 [09:09:49]MH_I2C_Read... [09:09:49]Read from MH i2c: F0 09 00 [09:09:49]MH_I2C_Read... [09:09:49]Read from MH i2c: F0 09 00 3F 01 00 DE 42 B8 67 19 D8 DE 66 AC [09:09:49]GetLastDocTimeStamp 1740128949 [09:09:49]current date 1740128990 [09:09:49]FM_GetShiftState [09:09:49]SAM_PROTO_GetShiftState [09:09:49]wFMCommunicate request_size=4 [09:09:49]MH_SAM_APDU [09:09:49]CAPDU: 80 13 01 00 [09:09:49]Write to MH i2c: E2 08 00 40 01 80 13 01 00 00 00 00 00 BE [09:09:49]Write i2c OK [09:09:49]MH_I2C_Read... [09:09:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:09:49]Read from MH i2c: E2 [09:09:49]MH_I2C_Read... [09:09:49]Read from MH i2c: E2 0E 00 [09:09:49]MH_I2C_Read... [09:09:49]Read from MH i2c: E2 0E 00 40 01 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 23 [09:09:49]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [09:09:49]wFMCommunicate OK [09:09:49]SAM_PROTO_GetShiftState done [09:09:49]FM_GetShiftState done [09:09:49]opened in 1740096631 [09:09:49]opened+sec_in_day 1740183031 [09:09:49]quantity*price = 6400 [09:09:49]sum+1 = 6401 [09:09:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 64.00 НСП 1% : 0.57 НДС 12% : 6.80 Наличными: 64.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 11 21.02.2025 09:09 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32623 ФПД: 40658825016403 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T090950&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32623&fm=40658825016403&tin=02508201610067®Number=0000000000146237&sum=6400 0 [09:09:50]StoreToDocumentArchive [09:09:50]shift 386 fd 32623 [09:09:50]save to /storage/0386/doc_00032623 [09:09:50]save last doc name /storage/0386/doc_00032623 to /storage/kkm_last_doc_name [09:09:50]save OK [09:09:50]Clear old archive folders... [09:09:50]ProcessDocumentItem done err = 0, tmpTLVsize=281 [09:09:50]tlvbuf is 003B1F10 [09:09:50]SAM_PROTO_ClearQueue [09:09:50]wFMCommunicate request_size=4 [09:09:50]MH_SAM_APDU [09:09:50]CAPDU: 80 09 00 00 [09:09:50]Write to MH i2c: E2 08 00 4D 01 80 09 00 00 00 00 00 00 C0 [09:09:50]Write i2c OK [09:09:50]MH_I2C_Read... [09:09:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:09:50]Read from MH i2c: E2 [09:09:50]MH_I2C_Read... [09:09:50]Read from MH i2c: E2 03 00 [09:09:50]MH_I2C_Read... [09:09:50]Read from MH i2c: E2 03 00 4D 01 00 90 00 C2 [09:09:50]RAPDU: 90 00 [09:09:50]wFMCommunicate OK [09:09:50]SAM_PROTO_ClearQueue done [09:09:50]KKMCreateOFDPacket [09:09:50]OFDProtocolAddRootSTLVToBuf [09:09:50]FM_MakeSignedData [09:09:50]FM_MakeSignedData [09:09:50]SAM_PROTO_SignData [09:09:50]wFMCommunicate request_size=4 [09:09:50]MH_SAM_APDU [09:09:50]CAPDU: 80 0D 01 02 [09:09:50]Write to MH i2c: E2 08 00 4E 01 80 0D 01 02 00 00 00 00 C8 [09:09:50]Write i2c OK [09:09:50]MH_I2C_Read... [09:09:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:09:50]Read from MH i2c: E2 [09:09:50]MH_I2C_Read... [09:09:50]Read from MH i2c: E2 03 00 [09:09:50]MH_I2C_Read... [09:09:50]Read from MH i2c: E2 03 00 4E 01 00 90 00 C3 [09:09:50]RAPDU: 90 00 [09:09:50]wFMCommunicate OK [09:09:50]wFMCommunicate request_size=255 [09:09:50]MH_SAM_APDU [09:09:50]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 00 19 00 00 00 00 13 04 06 00 00 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A8 02 00 00 00 00 07 04 06 00 00 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 DE 42 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 [09:09:50]Write to MH i2c: E2 02 01 4F 01 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 00 19 00 00 00 00 13 04 06 00 00 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A8 02 00 00 00 00 07 04 06 00 00 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 DE 42 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 00 33 [09:09:51]Write i2c OK [09:09:51]MH_I2C_Read... [09:09:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:09:51]Read from MH i2c: E2 [09:09:51]MH_I2C_Read... [09:09:51]Read from MH i2c: E2 03 00 [09:09:51]MH_I2C_Read... [09:09:51]Read from MH i2c: E2 03 00 4F 01 00 90 00 C4 [09:09:51]RAPDU: 90 00 [09:09:51]wFMCommunicate OK [09:09:51]wFMCommunicate request_size=40 [09:09:51]MH_SAM_APDU [09:09:51]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6F 7F 00 00 35 04 06 00 24 FA 9E D2 74 53 [09:09:51]Write to MH i2c: E2 2B 00 50 01 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6F 7F 00 00 35 04 06 00 24 FA 9E D2 74 53 00 00 CE [09:09:51]Write i2c OK [09:09:51]MH_I2C_Read... [09:09:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:09:51]Read from MH i2c: E2 [09:09:51]MH_I2C_Read... [09:09:51]Read from MH i2c: E2 03 00 [09:09:51]MH_I2C_Read... [09:09:51]Read from MH i2c: E2 03 00 50 01 00 90 00 C5 [09:09:51]RAPDU: 90 00 [09:09:51]wFMCommunicate OK [09:09:51]wFMCommunicate request_size=4 [09:09:51]MH_SAM_APDU [09:09:51]CAPDU: 80 0D 03 02 [09:09:51]Write to MH i2c: E2 08 00 51 01 80 0D 03 02 00 00 00 00 CD [09:09:51]Write i2c OK [09:09:51]MH_I2C_Read... [09:09:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:09:51]Read from MH i2c: E2 [09:09:51]MH_I2C_Read... [09:09:51]Read from MH i2c: E2 0B 00 [09:09:51]MH_I2C_Read... [09:09:51]Read from MH i2c: E2 0B 00 51 01 00 BC BC 5A 7E B0 20 84 15 90 00 87 [09:09:51]RAPDU: BC BC 5A 7E B0 20 84 15 90 00 [09:09:51]wFMCommunicate OK [09:09:51]SAM_PROTO_SignData done [09:09:51]FM_MakeSignedData done [09:09:51]CreateOFDProtocolMessage [09:09:51]wFMCommunicate request_size=4 [09:09:51]MH_SAM_APDU [09:09:51]CAPDU: 80 11 00 00 [09:09:51]Write to MH i2c: E2 08 00 52 01 80 11 00 00 00 00 00 00 CD [09:09:51]Write i2c OK [09:09:51]MH_I2C_Read... [09:09:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:09:51]Read from MH i2c: E2 [09:09:51]MH_I2C_Read... [09:09:51]Read from MH i2c: E2 17 00 [09:09:51]MH_I2C_Read... [09:09:51]Read from MH i2c: E2 17 00 52 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 23 [09:09:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:09:51]wFMCommunicate OK [09:09:51]CreateOFDProtocolMessage done [09:09:51]OFDSenderStorePacket 32623 [09:09:51]StoreOFDPacket docnum=32623 [09:09:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2D 01 00 00 38 6F 25 01 56 A3 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 00 19 00 00 00 00 13 04 06 00 00 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A8 02 00 00 00 00 07 04 06 00 00 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 DE 42 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6F 7F 00 00 35 04 06 00 24 FA 9E D2 74 53 BC BC 5A 7E B0 20 84 15 [09:09:51]CheckFolder [09:09:51]dirname=/storage/ofd_packets [09:09:51]CheckFolder done [09:09:51]ProducePacketName [09:09:51]name=ofd_packets/00032623 [09:09:51]NVStorageSaveData ofd_packets/00032623 [09:09:51]File name is /storage/ofd_packets/00032623 [09:09:51]Write 331 bytes [09:09:51]NVStorageSaveData done [09:09:51]OFDSenderStorePacket done [09:09:51]KKMCreateOFDPacket done [09:09:51]NVStorageSaveData kkm_last_timestamp [09:09:51]File name is /storage/kkm_last_timestamp [09:09:51]Write 4 bytes [09:09:51]NVStorageSaveData done [09:09:51]ExternCall_PrintAddStr [09:09:51]wPrintStart [09:09:51]Write to MH i2c: 01 00 00 53 01 54 [09:09:51]Write i2c OK [09:09:51]MH_I2C_Read... [09:09:51]Read from MH i2c: 01 [09:09:51]MH_I2C_Read... [09:09:51]Read from MH i2c: 01 07 00 [09:09:51]MH_I2C_Read... [09:09:51]Read from MH i2c: 01 07 00 53 01 00 00 00 00 00 FF 0F 69 [09:09:51]RasterBufferAndPrint [09:09:51]line Счет N : (3)130834 [09:09:51]line ИНН: 02508201610067 [09:09:51]line Контрольно-Кассовый Чек [09:09:51]line ПРОДАЖА [09:09:51]line Товар: 4607065001445 [09:09:51]line Шок батончик Snickers 50,5г [09:09:51]line 1.000 * 64.00 [09:09:51]line = 64.00 [09:09:51]line НДС 12% НСП 1% [09:09:51]line > о реализуемом товаре [09:09:51]line ИТОГО: 64.00 [09:09:51]line НСП 1% : 0.57 [09:09:51]line НДС 12% : 6.80 [09:09:51]line Наличными: 64.00 [09:09:51]line Безнал.: 0.00 [09:09:51]line Место: АЗС № 96 "Партнер Нефть" [09:09:51]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [09:09:51]line СНО: Общий режим [09:09:51]line Чек 11 21.02.2025 09:09 [09:09:51]line Смена: 386 ФФД: 1.0 [09:09:51]line ЗНМ: 0300000059 [09:09:51]line РНМ: 0000000000146237 [09:09:51]line Версия ККМ: v1.0 [09:09:51]line ФМ: 0000000000959282 [09:09:51]line ФД: 32623 [09:09:51]line ФПД: 40658825016403 [09:09:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T090950&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32623&fm=40658825016403&tin=02508201610067®Number=0000000000146237&sum=6400 [09:09:51]OFD Sender: Processing packet 32623 [packets to send 105, broken 104] [09:09:51]ProducePacketName [09:09:51]name=ofd_packets/00032623 [09:09:51]OFD Sender: To server: pG, [09:09:51]CommunicateWithHost lk.salyk.kg:30040 [09:09:51]ConnectInit lk.salyk.kg [09:09:51]line 0 [09:09:51]written 0, free lines is 4095 [09:09:51]Connected sock=10 [09:09: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 32 38 32 2D 01 00 00 38 6F 25 01 56 A3 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 00 19 00 00 00 00 13 04 06 00 00 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A8 02 00 00 00 00 07 04 06 00 00 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 DE 42 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 6F 7F 00 00 35 04 06 00 24 FA 9E D2 74 53 BC BC 5A 7E B0 20 84 15 [09:09:52]Write to MH i2c: 01 00 00 7B 01 7C [09:09:52]Write i2c OK [09:09:52]MH_I2C_Read... [09:09:52]Read from MH i2c: 01 [09:09:52]MH_I2C_Read... [09:09:52]Read from MH i2c: 01 07 00 [09:09:52]MH_I2C_Read... [09:09:52]Read from MH i2c: 01 07 00 7B 01 00 00 00 00 00 18 0D A8 [09:09:52]RasterBufferAndPrint [09:09:52]line [09:09:52]line [09:09:52]line [09:09:52]line [09:09:52]line [09:09:52]written 0, free lines is 3360 [09:09:52]MH_Cut [09:09:52]Write to MH i2c: D1 01 00 82 01 01 55 [09:09:52]Write i2c OK [09:09:52]MH_I2C_Read... [09:09:52]Read from MH i2c: D1 [09:09:52]MH_I2C_Read... [09:09:52]Read from MH i2c: D1 01 00 [09:09:52]MH_I2C_Read... [09:09:52]Read from MH i2c: D1 01 00 82 01 00 54 [09:09:52]Write to MH i2c: 01 00 00 83 01 84 [09:09:52]Write i2c OK [09:09:52]MH_I2C_Read... [09:09:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 14 20 47 00 B9 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 32 38 32 10 04 04 00 6F 7F 00 00 F4 03 04 00 75 EC B7 67 B6 04 01 00 00 2A 44 D6 4C 2B 36 93 67 [09:09:52]CommunicateWithHost err = 0 [09:09:52]CheckOFDResponse [09:09:52]1017 (14) - 77093643461234 [09:09:52]1041 (16) - 0000000000959282 [09:09:52]1040 (4) - 32623 [09:09:52]1012 (4) - 21.02.2025 03:01 [09:09:52]1206 (1) - 0 [09:09:52]OFD Sender: Remove packet 32623 [09:09:52]ProducePacketName [09:09:52]name=ofd_packets/00032623 [09:09:52]NVStorageDeleteData [09:09:52]OFD Sender: No OFD packet to send [09:09:52]*** Cut start [09:09:52]*** Partial cut [09:09:52]*** CUTSNS_PIN = 1 [09:09:52]*** CUTSNS_PIN = 0 [09:09:53]*** Brake cut motor [09:09:53]Read from MH i2c: 01 [09:09:53]MH_I2C_Read... [09:09:53]*** Stop cut motor [09:09:53]*** Cut end [09:09:53]Read from MH i2c: 01 07 00 [09:09:53]MH_I2C_Read... [09:09:53]Read from MH i2c: 01 07 00 83 01 00 00 00 00 00 FF 0F 99 [09:09:53]process_action close_receipt done [09:09:53]requested_data is exist [09:09:53]produce_requested_data [09:09:53]requested_item fm.sn is exist - process it [09:09:53]wFMCommunicate request_size=4 [09:09:53]MH_SAM_APDU [09:09:53]CAPDU: 80 11 00 00 [09:09:53]Write to MH i2c: E2 08 00 84 01 80 11 00 00 00 00 00 00 FF [09:09:53]Write i2c OK [09:09:53]MH_I2C_Read... [09:09:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:09:53]Read from MH i2c: E2 [09:09:53]MH_I2C_Read... [09:09:53]Read from MH i2c: E2 17 00 [09:09:53]MH_I2C_Read... [09:09:53]Read from MH i2c: E2 17 00 84 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 55 [09:09:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:09:53]wFMCommunicate OK [09:09:53]requested_item fd.num is exist - process it [09:09:53]SAM_PROTO_GetFieldsCounters [09:09:53]wFMCommunicate request_size=4 [09:09:53]MH_SAM_APDU [09:09:53]CAPDU: 80 13 00 00 [09:09:53]Write to MH i2c: E2 08 00 85 01 80 13 00 00 00 00 00 00 02 [09:09:53]Write i2c OK [09:09:53]MH_I2C_Read... [09:09:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:09:53]Read from MH i2c: E2 [09:09:53]MH_I2C_Read... [09:09:53]Read from MH i2c: E2 62 00 [09:09:53]MH_I2C_Read... [09:09:53]Read from MH i2c: E2 62 00 85 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 6F 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 B6 [09:09:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 6F 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:09:53]wFMCommunicate OK [09:09:53]SAM_PROTO_GetFieldsCounters done [09:09:53]requested_item shift.num is exist - process it [09:09:53]requested_item shift.opened is exist - process it [09:09:53]req_shift_opened [09:09:53]FM_GetShiftState [09:09:53]SAM_PROTO_GetShiftState [09:09:53]wFMCommunicate request_size=4 [09:09:53]MH_SAM_APDU [09:09:53]CAPDU: 80 13 01 00 [09:09:53]Write to MH i2c: E2 08 00 86 01 80 13 01 00 00 00 00 00 04 [09:09:53]Write i2c OK [09:09:53]MH_I2C_Read... [09:09:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:09:53]Read from MH i2c: E2 [09:09:53]MH_I2C_Read... [09:09:53]Read from MH i2c: E2 0E 00 [09:09:53]MH_I2C_Read... [09:09:53]Read from MH i2c: E2 0E 00 86 01 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 69 [09:09:53]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [09:09:53]wFMCommunicate OK [09:09:53]SAM_PROTO_GetShiftState done [09:09:53]FM_GetShiftState done [09:09:53]req_shift_opened done [09:09:53]requested_item shift.open_date is exist - process it [09:09:53]req_shift_open_date [09:09:53]req_shift_open_date done [09:09:53]produce_requested_data done [09:09:53]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32623,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [09:09:53]process_action_free close_receipt [09:09:53]json_value_free [09:09:53]json_value_free done [09:09:53]process_json_proto returns [09:09:53]Send response to host [09:09:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32623,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [09:09:53]free response buf [09:09:53]execute_script done [09:09:53]execute_script returns [09:09:53]free content buf [09:09:53]Sock 8.Close socket [09:09:53]Sock 8.Thread stoped [09:09:57]OFD Sender: No OFD packet to send [09:10:02]OFD Sender: No OFD packet to send [09:10:07]OFD Sender: No OFD packet to send [09:10:12]OFD Sender: No OFD packet to send [09:10:17]OFD Sender: No OFD packet to send [09:10:22]OFD Sender: No OFD packet to send [09:10:27]OFD Sender: No OFD packet to send [09:10:32]OFD Sender: No OFD packet to send [09:10:37]OFD Sender: No OFD packet to send [09:10:42]OFD Sender: No OFD packet to send [09:10:47]OFD Sender: No OFD packet to send [09:10:52]OFD Sender: No OFD packet to send [09:10:57]OFD Sender: No OFD packet to send [09:11:02]OFD Sender: No OFD packet to send [09:11:07]OFD Sender: No OFD packet to send [09:11:12]OFD Sender: No OFD packet to send [09:11:17]OFD Sender: No OFD packet to send [09:11:22]OFD Sender: No OFD packet to send [09:11:27]OFD Sender: No OFD packet to send [09:11:32]OFD Sender: No OFD packet to send [09:11:37]OFD Sender: No OFD packet to send [09:11:42]OFD Sender: No OFD packet to send [09:11:47]OFD Sender: No OFD packet to send [09:11:52]OFD Sender: No OFD packet to send [09:11:57]OFD Sender: No OFD packet to send [09:12:02]OFD Sender: No OFD packet to send [09:12:08]OFD Sender: No OFD packet to send [09:12:13]OFD Sender: No OFD packet to send [09:12:18]OFD Sender: No OFD packet to send [09:12:23]OFD Sender: No OFD packet to send [09:12:28]OFD Sender: No OFD packet to send [09:12:33]OFD Sender: No OFD packet to send [09:12:38]OFD Sender: No OFD packet to send [09:12:43]OFD Sender: No OFD packet to send [09:12:48]OFD Sender: No OFD packet to send [09:12:53]OFD Sender: No OFD packet to send [09:12:58]OFD Sender: No OFD packet to send [09:13:03]OFD Sender: No OFD packet to send [09:13:08]OFD Sender: No OFD packet to send [09:13:13]OFD Sender: No OFD packet to send [09:13:18]OFD Sender: No OFD packet to send [09:13:23]OFD Sender: No OFD packet to send [09:13:28]OFD Sender: No OFD packet to send [09:13:33]OFD Sender: No OFD packet to send [09:13:38]OFD Sender: No OFD packet to send [09:13:43]OFD Sender: No OFD packet to send [09:13:48]OFD Sender: No OFD packet to send [09:13:53]OFD Sender: No OFD packet to send [09:13:58]OFD Sender: No OFD packet to send [09:14:03]OFD Sender: No OFD packet to send [09:14:08]OFD Sender: No OFD packet to send [09:14:13]OFD Sender: No OFD packet to send [09:14:18]OFD Sender: No OFD packet to send [09:14:23]OFD Sender: No OFD packet to send [09:14:28]OFD Sender: No OFD packet to send [09:14:33]OFD Sender: No OFD packet to send [09:14:38]OFD Sender: No OFD packet to send [09:14:43]OFD Sender: No OFD packet to send [09:14:48]OFD Sender: No OFD packet to send [09:14:53]OFD Sender: No OFD packet to send [09:14:58]OFD Sender: No OFD packet to send [09:15:03]OFD Sender: No OFD packet to send [09:15:08]OFD Sender: No OFD packet to send [09:15:13]OFD Sender: No OFD packet to send [09:15:18]OFD Sender: No OFD packet to send [09:15:23]OFD Sender: No OFD packet to send [09:15:27]accept exits with 9 [09:15:27]New connection [09:15:27]New thread 3066740068 created [09:15:27]Thread 3066883428 joined [09:15:27]Waiting for new connection... [09:15:27] Sock 9.Parse request [09:15:27]Sock 9.Check first char [09:15:27]Sock 9.First char is OK [09:15:27]request: POST /json_proto HTTP/1.0 [09:15:27]Method: POST [09:15:27]URL: /json_proto [09:15:27]Method is POST - this is cgi request [09:15:27]url: /json_proto [09:15:27]query_string will be loaded in cgi processing [09:15:27]execute_cgi json_proto POST (null) [09:15:27]execute_cgi path=json_proto method=POST [09:15:27]POST find Content-Length [09:15:27]Host: 172.17.47.135:8080 [09:15:27]Content-Length: 1226 [09:15:27]Content-Type: application/json [09:15:27] [09:15:27]POST finish read [09:15:27]Found Content-Length = 1226 [09:15:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130835", "tax_sys" : 0, "items" : [ { "code": "4700000160051", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 1\u043B", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700041420169", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST \u0411\u0415\u0417 \u0417\u0410\u041F\u0410\u0425\u0410 72\u0448\u0442", "price" : 84.00, "quantity" : 1.000, "sum" : 84.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 192.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:15:27]execute_script... [09:15:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130835", "tax_sys" : 0, "items" : [ { "code": "4700000160051", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 1\u043B", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700041420169", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST \u0411\u0415\u0417 \u0417\u0410\u041F\u0410\u0425\u0410 72\u0448\u0442", "price" : 84.00, "quantity" : 1.000, "sum" : 84.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 192.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:15:28]POST & json_proto [09:15:28]process_json_proto [09:15:28]json parsed OK: [09:15:28]protocol is kg_v1.0 [09:15:28]action value=close_receipt [09:15:28]process_action close_receipt [09:15:28]cmd_close_receipt [09:15:28]MH_GetDate [09:15:28]Write to MH i2c: F0 00 00 87 01 77 [09:15:28]Write i2c OK [09:15:28]MH_I2C_Read... [09:15:28]Read from MH i2c: F0 [09:15:28]MH_I2C_Read... [09:15:28]Read from MH i2c: F0 09 00 [09:15:28]MH_I2C_Read... [09:15:28]Read from MH i2c: F0 09 00 87 01 00 30 44 B8 67 19 D8 DE 66 48 [09:15:28]GetLastDocTimeStamp 1740128990 [09:15:28]current date 1740129328 [09:15:28]FM_GetShiftState [09:15:28]SAM_PROTO_GetShiftState [09:15:28]wFMCommunicate request_size=4 [09:15:28]MH_SAM_APDU [09:15:28]CAPDU: 80 13 01 00 [09:15:28]Write to MH i2c: E2 08 00 88 01 80 13 01 00 00 00 00 00 06 [09:15:28]Write i2c OK [09:15:28]MH_I2C_Read... [09:15:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:15:28]Read from MH i2c: E2 [09:15:28]MH_I2C_Read... [09:15:28]Read from MH i2c: E2 0E 00 [09:15:28]MH_I2C_Read... [09:15:28]Read from MH i2c: E2 0E 00 88 01 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 6B [09:15:28]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [09:15:28]wFMCommunicate OK [09:15:28]SAM_PROTO_GetShiftState done [09:15:28]FM_GetShiftState done [09:15:28]opened in 1740096631 [09:15:28]opened+sec_in_day 1740183031 [09:15:28]quantity*price = 5900 [09:15:28]sum+1 = 5901 [09:15:28]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000310326 Вода Адыгене 1л б/г 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700041420169 Салфетки влажн BEST БЕЗ ЗАПАХА 72шт 1.000 * 84.00 = 84.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 192.00 НСП 1% : 1.69 НДС 12% : 20.38 Наличными: 192.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 12 21.02.2025 09:15 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32624 ФПД: 211270120113242 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T091528&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32624&fm=211270120113242&tin=02508201610067®Number=0000000000146237&sum=19200 0 [09:15:29]StoreToDocumentArchive [09:15:29]shift 386 fd 32624 [09:15:29]save to /storage/0386/doc_00032624 [09:15:29]save last doc name /storage/0386/doc_00032624 to /storage/kkm_last_doc_name [09:15:29]save OK [09:15:29]Clear old archive folders... [09:15:29]ProcessDocumentItem done err = 0, tmpTLVsize=508 [09:15:29]tlvbuf is 003B1A40 [09:15:29]SAM_PROTO_ClearQueue [09:15:29]wFMCommunicate request_size=4 [09:15:29]MH_SAM_APDU [09:15:29]CAPDU: 80 09 00 00 [09:15:29]Write to MH i2c: E2 08 00 95 01 80 09 00 00 00 00 00 00 08 [09:15:29]Write i2c OK [09:15:29]MH_I2C_Read... [09:15:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:15:29]Read from MH i2c: E2 [09:15:29]MH_I2C_Read... [09:15:29]Read from MH i2c: E2 03 00 [09:15:29]MH_I2C_Read... [09:15:29]Read from MH i2c: E2 03 00 95 01 00 90 00 0A [09:15:29]RAPDU: 90 00 [09:15:29]wFMCommunicate OK [09:15:29]SAM_PROTO_ClearQueue done [09:15:29]KKMCreateOFDPacket [09:15:29]OFDProtocolAddRootSTLVToBuf [09:15:29]FM_MakeSignedData [09:15:29]FM_MakeSignedData [09:15:29]SAM_PROTO_SignData [09:15:29]wFMCommunicate request_size=4 [09:15:29]MH_SAM_APDU [09:15:29]CAPDU: 80 0D 01 02 [09:15:29]Write to MH i2c: E2 08 00 96 01 80 0D 01 02 00 00 00 00 10 [09:15:29]Write i2c OK [09:15:29]MH_I2C_Read... [09:15:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:15:29]Read from MH i2c: E2 [09:15:29]MH_I2C_Read... [09:15:29]Read from MH i2c: E2 03 00 [09:15:29]MH_I2C_Read... [09:15:29]Read from MH i2c: E2 03 00 96 01 00 90 00 0B [09:15:29]RAPDU: 90 00 [09:15:29]wFMCommunicate OK [09:15:29]wFMCommunicate request_size=255 [09:15:29]MH_SAM_APDU [09:15:29]CAPDU: 80 0D 02 02 FA 03 00 FC 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 31 36 39 06 04 3B 00 D0 A1 D0 B0 D0 BB D1 84 D0 [09:15:29]Write to MH i2c: E2 02 01 97 01 80 0D 02 02 FA 00 03 00 FC 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 31 36 39 06 04 3B 00 D0 A1 D0 B0 D0 BB D1 84 D0 00 00 45 [09:15:29]Write i2c OK [09:15:29]MH_I2C_Read... [09:15:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:15:29]Read from MH i2c: E2 [09:15:29]MH_I2C_Read... [09:15:29]Read from MH i2c: E2 03 00 [09:15:29]MH_I2C_Read... [09:15:29]Read from MH i2c: E2 03 00 97 01 00 90 00 0C [09:15:29]RAPDU: 90 00 [09:15:29]wFMCommunicate OK [09:15:29]wFMCommunicate request_size=255 [09:15:29]MH_SAM_APDU [09:15:29]CAPDU: 80 0D 02 02 FA B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 D0 91 D0 95 D0 97 20 D0 97 D0 90 D0 9F D0 90 D0 A5 D0 90 20 37 32 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F6 07 00 00 00 00 07 04 06 00 00 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 0C 00 00 00 F4 03 04 00 30 44 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 70 7F [09:15:29]Write to MH i2c: E2 02 01 98 01 80 0D 02 02 FA 00 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 D0 91 D0 95 D0 97 20 D0 97 D0 90 D0 9F D0 90 D0 A5 D0 90 20 37 32 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F6 07 00 00 00 00 07 04 06 00 00 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 0C 00 00 00 F4 03 04 00 30 44 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 70 7F 00 00 78 [09:15:29]Write i2c OK [09:15:29]MH_I2C_Read... [09:15:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:15:30]Read from MH i2c: E2 [09:15:30]MH_I2C_Read... [09:15:30]Read from MH i2c: E2 03 00 [09:15:30]MH_I2C_Read... [09:15:30]Read from MH i2c: E2 03 00 98 01 00 90 00 0D [09:15:30]RAPDU: 90 00 [09:15:30]wFMCommunicate OK [09:15:30]wFMCommunicate request_size=17 [09:15:30]MH_SAM_APDU [09:15:30]CAPDU: 80 0D 02 02 0C 00 00 35 04 06 00 C0 26 28 76 04 5A [09:15:30]Write to MH i2c: E2 14 00 99 01 80 0D 02 02 0C 00 00 00 35 04 06 00 C0 26 28 76 04 5A 00 00 4D [09:15:30]Write i2c OK [09:15:30]MH_I2C_Read... [09:15:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:15:30]Read from MH i2c: E2 [09:15:30]MH_I2C_Read... [09:15:30]Read from MH i2c: E2 03 00 [09:15:30]MH_I2C_Read... [09:15:30]Read from MH i2c: E2 03 00 99 01 00 90 00 0E [09:15:30]RAPDU: 90 00 [09:15:30]wFMCommunicate OK [09:15:30]wFMCommunicate request_size=4 [09:15:30]MH_SAM_APDU [09:15:30]CAPDU: 80 0D 03 02 [09:15:30]Write to MH i2c: E2 08 00 9A 01 80 0D 03 02 00 00 00 00 16 [09:15:30]Write i2c OK [09:15:30]MH_I2C_Read... [09:15:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:15:30]Read from MH i2c: E2 [09:15:30]MH_I2C_Read... [09:15:30]Read from MH i2c: E2 0B 00 [09:15:30]MH_I2C_Read... [09:15:30]Read from MH i2c: E2 0B 00 9A 01 00 05 2A 0D 47 F1 5D 07 E2 90 00 D1 [09:15:30]RAPDU: 05 2A 0D 47 F1 5D 07 E2 90 00 [09:15:30]wFMCommunicate OK [09:15:30]SAM_PROTO_SignData done [09:15:30]FM_MakeSignedData done [09:15:30]CreateOFDProtocolMessage [09:15:30]wFMCommunicate request_size=4 [09:15:30]MH_SAM_APDU [09:15:30]CAPDU: 80 11 00 00 [09:15:30]Write to MH i2c: E2 08 00 9B 01 80 11 00 00 00 00 00 00 16 [09:15:30]Write i2c OK [09:15:30]MH_I2C_Read... [09:15:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:15:30]Read from MH i2c: E2 [09:15:30]MH_I2C_Read... [09:15:30]Read from MH i2c: E2 17 00 [09:15:30]MH_I2C_Read... [09:15:30]Read from MH i2c: E2 17 00 9B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 6C [09:15:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:15:30]wFMCommunicate OK [09:15:30]CreateOFDProtocolMessage done [09:15:30]OFDSenderStorePacket 32624 [09:15:30]StoreOFDPacket docnum=32624 [09:15:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 02 00 00 E4 BD 08 02 70 A7 5A 03 01 00 03 00 FC 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 31 36 39 06 04 3B 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 D0 91 D0 95 D0 97 20 D0 97 D0 90 D0 9F D0 90 D0 A5 D0 90 20 37 32 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F6 07 00 00 00 00 07 04 06 00 00 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 0C 00 00 00 F4 03 04 00 30 44 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 70 7F 00 00 35 04 06 00 C0 26 28 76 04 5A 05 2A 0D 47 F1 5D 07 E2 [09:15:30]CheckFolder [09:15:30]dirname=/storage/ofd_packets [09:15:30]CheckFolder done [09:15:30]ProducePacketName [09:15:30]name=ofd_packets/00032624 [09:15:30]NVStorageSaveData ofd_packets/00032624 [09:15:30]File name is /storage/ofd_packets/00032624 [09:15:30]Write 558 bytes [09:15:30]NVStorageSaveData done [09:15:30]OFDSenderStorePacket done [09:15:30]KKMCreateOFDPacket done [09:15:30]NVStorageSaveData kkm_last_timestamp [09:15:30]File name is /storage/kkm_last_timestamp [09:15:30]Write 4 bytes [09:15:30]NVStorageSaveData done [09:15:30]ExternCall_PrintAddStr [09:15:30]wPrintStart [09:15:30]Write to MH i2c: 01 00 00 9C 01 9D [09:15:30]Write i2c OK [09:15:30]MH_I2C_Read... [09:15:30]Read from MH i2c: 01 [09:15:30]MH_I2C_Read... [09:15:30]Read from MH i2c: 01 07 00 [09:15:30]MH_I2C_Read... [09:15:30]Read from MH i2c: 01 07 00 9C 01 00 00 00 00 00 FF 0F B2 [09:15:30]RasterBufferAndPrint [09:15:30]line Счет N : (3)130835 [09:15:30]line ИНН: 02508201610067 [09:15:30]line Контрольно-Кассовый Чек [09:15:30]line ПРОДАЖА [09:15:30]line Товар: 4700000160051 [09:15:30]line Вода Ыссык Ата 1л [09:15:30]line 1.000 * 59.00 [09:15:30]line = 59.00 [09:15:30]line НДС 12% НСП 1% [09:15:30]line > о реализуемом товаре [09:15:30]line Товар: 4700000310326 [09:15:30]line Вода Адыгене 1л б/г [09:15:30]line 1.000 * 49.00 [09:15:30]line = 49.00 [09:15:30]line НДС 12% НСП 1% [09:15:30]line > о реализуемом товаре [09:15:30]line Товар: 4700041420169 [09:15:30]line Салфетки влажн BEST БЕЗ ЗАПАХА 72шт [09:15:30]line 1.000 * 84.00 [09:15:30]line = 84.00 [09:15:30]line НДС 12% НСП 1% [09:15:30]line > о реализуемом товаре [09:15:30]line ИТОГО: 192.00 [09:15:30]line НСП 1% : 1.69 [09:15:30]line НДС 12% : 20.38 [09:15:30]line Наличными: 192.00 [09:15:30]line Безнал.: 0.00 [09:15:30]line Место: АЗС № 96 "Партнер Нефть" [09:15:30]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [09:15:30]line СНО: Общий режим [09:15:30]line Чек 12 21.02.2025 09:15 [09:15:30]line Смена: 386 ФФД: 1.0 [09:15:30]line ЗНМ: 0300000059 [09:15:30]line РНМ: 0000000000146237 [09:15:30]line Версия ККМ: v1.0 [09:15:30]line ФМ: 0000000000959282 [09:15:30]line ФД: 32624 [09:15:30]line ФПД: 211270120113242 [09:15:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T091528&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32624&fm=211270120113242&tin=02508201610067®Number=0000000000146237&sum=19200 [09:15:30]line 0 [09:15:30]OFD Sender: Processing packet 32624 [packets to send 105, broken 104] [09:15:30]ProducePacketName [09:15:30]name=ofd_packets/00032624 [09:15:30]OFD Sender: To server: pG, [09:15:30]CommunicateWithHost lk.salyk.kg:30040 [09:15:30]ConnectInit lk.salyk.kg [09:15:30]written 0, free lines is 4095 [09:15:31]Write to MH i2c: 01 00 00 D1 01 D2 [09:15:31]Write i2c OK [09:15:31]MH_I2C_Read... [09:15:31]Read from MH i2c: 01 [09:15:31]MH_I2C_Read... [09:15:31]Read from MH i2c: 01 07 00 [09:15:31]MH_I2C_Read... [09:15:31]Read from MH i2c: 01 07 00 D1 01 00 00 00 00 00 5C 0C 41 [09:15:31]RasterBufferAndPrint [09:15:31]line [09:15:31]line [09:15:31]line [09:15:31]line [09:15:31]line [09:15:31]written 0, free lines is 3170 [09:15:31]MH_Cut [09:15:31]Write to MH i2c: D1 01 00 D8 01 01 AB [09:15:31]Write i2c OK [09:15:31]MH_I2C_Read... [09:15:31]Read from MH i2c: D1 [09:15:31]MH_I2C_Read... [09:15:31]Read from MH i2c: D1 01 00 [09:15:31]MH_I2C_Read... [09:15:31]Read from MH i2c: D1 01 00 D8 01 00 AA [09:15:31]Write to MH i2c: 01 00 00 D9 01 DA [09:15:31]Write i2c OK [09:15:31]MH_I2C_Read... [09:15:31]Connected sock=10 [09:15:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 02 00 00 E4 BD 08 02 70 A7 5A 03 01 00 03 00 FC 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 31 36 39 06 04 3B 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 D0 91 D0 95 D0 97 20 D0 97 D0 90 D0 9F D0 90 D0 A5 D0 90 20 37 32 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F6 07 00 00 00 00 07 04 06 00 00 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 0C 00 00 00 F4 03 04 00 30 44 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 70 7F 00 00 35 04 06 00 C0 26 28 76 04 5A 05 2A 0D 47 F1 5D 07 E2 [09:15:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 95 37 47 00 09 03 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 32 38 32 10 04 04 00 70 7F 00 00 F4 03 04 00 C8 ED B7 67 B6 04 01 00 00 F8 22 CA 3E D7 5B 60 AC [09:15:31]CommunicateWithHost err = 0 [09:15:31]CheckOFDResponse [09:15:31]1017 (14) - 77093643461234 [09:15:31]1041 (16) - 0000000000959282 [09:15:31]1040 (4) - 32624 [09:15:31]1012 (4) - 21.02.2025 03:06 [09:15:31]1206 (1) - 0 [09:15:31]OFD Sender: Remove packet 32624 [09:15:31]ProducePacketName [09:15:31]name=ofd_packets/00032624 [09:15:31]NVStorageDeleteData [09:15:31]*** Cut start [09:15:31]*** Partial cut [09:15:31]*** CUTSNS_PIN = 1 [09:15:31]*** CUTSNS_PIN = 0 [09:15:32]OFD Sender: No OFD packet to send [09:15:32]*** Brake cut motor [09:15:32]Read from MH i2c: 01 [09:15:32]MH_I2C_Read... [09:15:32]*** Stop cut motor [09:15:32]*** Cut end [09:15:32]Read from MH i2c: 01 07 00 [09:15:32]MH_I2C_Read... [09:15:32]Read from MH i2c: 01 07 00 D9 01 00 00 00 00 00 FF 0F EF [09:15:32]process_action close_receipt done [09:15:32]requested_data is exist [09:15:32]produce_requested_data [09:15:32]requested_item fm.sn is exist - process it [09:15:32]wFMCommunicate request_size=4 [09:15:32]MH_SAM_APDU [09:15:32]CAPDU: 80 11 00 00 [09:15:32]Write to MH i2c: E2 08 00 DA 01 80 11 00 00 00 00 00 00 55 [09:15:32]Write i2c OK [09:15:32]MH_I2C_Read... [09:15:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:15:32]Read from MH i2c: E2 [09:15:32]MH_I2C_Read... [09:15:32]Read from MH i2c: E2 17 00 [09:15:32]MH_I2C_Read... [09:15:32]Read from MH i2c: E2 17 00 DA 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 AB [09:15:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:15:32]wFMCommunicate OK [09:15:32]requested_item fd.num is exist - process it [09:15:32]SAM_PROTO_GetFieldsCounters [09:15:32]wFMCommunicate request_size=4 [09:15:32]MH_SAM_APDU [09:15:32]CAPDU: 80 13 00 00 [09:15:32]Write to MH i2c: E2 08 00 DB 01 80 13 00 00 00 00 00 00 58 [09:15:32]Write i2c OK [09:15:32]MH_I2C_Read... [09:15:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:15:32]Read from MH i2c: E2 [09:15:32]MH_I2C_Read... [09:15:32]Read from MH i2c: E2 62 00 [09:15:32]MH_I2C_Read... [09:15:32]Read from MH i2c: E2 62 00 DB 01 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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 70 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 10 [09:15:32]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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 70 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:15:32]wFMCommunicate OK [09:15:32]SAM_PROTO_GetFieldsCounters done [09:15:32]requested_item shift.num is exist - process it [09:15:32]requested_item shift.opened is exist - process it [09:15:32]req_shift_opened [09:15:32]FM_GetShiftState [09:15:32]SAM_PROTO_GetShiftState [09:15:32]wFMCommunicate request_size=4 [09:15:32]MH_SAM_APDU [09:15:32]CAPDU: 80 13 01 00 [09:15:32]Write to MH i2c: E2 08 00 DC 01 80 13 01 00 00 00 00 00 5A [09:15:32]Write i2c OK [09:15:32]MH_I2C_Read... [09:15:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:15:32]Read from MH i2c: E2 [09:15:32]MH_I2C_Read... [09:15:32]Read from MH i2c: E2 0E 00 [09:15:32]MH_I2C_Read... [09:15:32]Read from MH i2c: E2 0E 00 DC 01 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 BF [09:15:32]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [09:15:32]wFMCommunicate OK [09:15:32]SAM_PROTO_GetShiftState done [09:15:32]FM_GetShiftState done [09:15:32]req_shift_opened done [09:15:32]requested_item shift.open_date is exist - process it [09:15:32]req_shift_open_date [09:15:32]req_shift_open_date done [09:15:32]produce_requested_data done [09:15:32]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32624,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [09:15:32]process_action_free close_receipt [09:15:32]json_value_free [09:15:32]json_value_free done [09:15:32]process_json_proto returns [09:15:32]Send response to host [09:15:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32624,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [09:15:32]free response buf [09:15:32]execute_script done [09:15:32]execute_script returns [09:15:32]free content buf [09:15:32]Sock 9.Close socket [09:15:32]Sock 9.Thread stoped [09:15:37]OFD Sender: No OFD packet to send [09:15:42]OFD Sender: No OFD packet to send [09:15:47]OFD Sender: No OFD packet to send [09:15:52]OFD Sender: No OFD packet to send [09:15:57]OFD Sender: No OFD packet to send [09:16:02]OFD Sender: No OFD packet to send [09:16:07]OFD Sender: No OFD packet to send [09:16:12]OFD Sender: No OFD packet to send [09:16:17]OFD Sender: No OFD packet to send [09:16:22]OFD Sender: No OFD packet to send [09:16:27]OFD Sender: No OFD packet to send [09:16:32]OFD Sender: No OFD packet to send [09:16:37]OFD Sender: No OFD packet to send [09:16:42]OFD Sender: No OFD packet to send [09:16:47]OFD Sender: No OFD packet to send [09:16:52]OFD Sender: No OFD packet to send [09:16:57]OFD Sender: No OFD packet to send [09:17:02]OFD Sender: No OFD packet to send [09:17:07]OFD Sender: No OFD packet to send [09:17:12]OFD Sender: No OFD packet to send [09:17:17]OFD Sender: No OFD packet to send [09:17:22]OFD Sender: No OFD packet to send [09:17:27]OFD Sender: No OFD packet to send [09:17:32]OFD Sender: No OFD packet to send [09:17:37]OFD Sender: No OFD packet to send [09:17:42]OFD Sender: No OFD packet to send [09:17:47]OFD Sender: No OFD packet to send [09:17:52]OFD Sender: No OFD packet to send [09:17:57]OFD Sender: No OFD packet to send [09:18:02]OFD Sender: No OFD packet to send [09:18:07]OFD Sender: No OFD packet to send [09:18:12]OFD Sender: No OFD packet to send [09:18:17]OFD Sender: No OFD packet to send [09:18:22]OFD Sender: No OFD packet to send [09:18:27]OFD Sender: No OFD packet to send [09:18:32]OFD Sender: No OFD packet to send [09:18:37]OFD Sender: No OFD packet to send [09:18:42]OFD Sender: No OFD packet to send [09:18:47]OFD Sender: No OFD packet to send [09:18:52]OFD Sender: No OFD packet to send [09:18:57]OFD Sender: No OFD packet to send [09:19:02]OFD Sender: No OFD packet to send [09:19:07]OFD Sender: No OFD packet to send [09:19:12]OFD Sender: No OFD packet to send [09:19:17]OFD Sender: No OFD packet to send [09:19:22]OFD Sender: No OFD packet to send [09:19:27]OFD Sender: No OFD packet to send [09:19:32]OFD Sender: No OFD packet to send [09:19:37]OFD Sender: No OFD packet to send [09:19:42]OFD Sender: No OFD packet to send [09:19:47]OFD Sender: No OFD packet to send [09:19:52]OFD Sender: No OFD packet to send [09:19:57]OFD Sender: No OFD packet to send [09:20:02]OFD Sender: No OFD packet to send [09:20:07]OFD Sender: No OFD packet to send [09:20:12]OFD Sender: No OFD packet to send [09:20:17]OFD Sender: No OFD packet to send [09:20:22]OFD Sender: No OFD packet to send [09:20:27]OFD Sender: No OFD packet to send [09:20:32]OFD Sender: No OFD packet to send [09:20:37]OFD Sender: No OFD packet to send [09:20:42]OFD Sender: No OFD packet to send [09:20:47]OFD Sender: No OFD packet to send [09:20:52]OFD Sender: No OFD packet to send [09:20:57]OFD Sender: No OFD packet to send [09:21:02]OFD Sender: No OFD packet to send [09:21:07]OFD Sender: No OFD packet to send [09:21:12]OFD Sender: No OFD packet to send [09:21:17]OFD Sender: No OFD packet to send [09:21:22]OFD Sender: No OFD packet to send [09:21:27]OFD Sender: No OFD packet to send [09:21:32]OFD Sender: No OFD packet to send [09:21:37]OFD Sender: No OFD packet to send [09:21:42]OFD Sender: No OFD packet to send [09:21:47]OFD Sender: No OFD packet to send [09:21:52]OFD Sender: No OFD packet to send [09:21:57]OFD Sender: No OFD packet to send [09:22:02]OFD Sender: No OFD packet to send [09:22:07]OFD Sender: No OFD packet to send [09:22:12]OFD Sender: No OFD packet to send [09:22:17]OFD Sender: No OFD packet to send [09:22:22]OFD Sender: No OFD packet to send [09:22:27]OFD Sender: No OFD packet to send [09:22:32]OFD Sender: No OFD packet to send [09:22:37]OFD Sender: No OFD packet to send [09:22:42]OFD Sender: No OFD packet to send [09:22:47]OFD Sender: No OFD packet to send [09:22:52]OFD Sender: No OFD packet to send [09:22:57]OFD Sender: No OFD packet to send [09:23:02]OFD Sender: No OFD packet to send [09:23:07]OFD Sender: No OFD packet to send [09:23:12]OFD Sender: No OFD packet to send [09:23:17]OFD Sender: No OFD packet to send [09:23:22]OFD Sender: No OFD packet to send [09:23:27]OFD Sender: No OFD packet to send [09:23:32]OFD Sender: No OFD packet to send [09:23:37]OFD Sender: No OFD packet to send [09:23:42]OFD Sender: No OFD packet to send [09:23:47]OFD Sender: No OFD packet to send [09:23:52]OFD Sender: No OFD packet to send [09:23:57]OFD Sender: No OFD packet to send [09:24:02]OFD Sender: No OFD packet to send [09:24:07]OFD Sender: No OFD packet to send [09:24:12]OFD Sender: No OFD packet to send [09:24:17]OFD Sender: No OFD packet to send [09:24:22]OFD Sender: No OFD packet to send [09:24:27]OFD Sender: No OFD packet to send [09:24:32]OFD Sender: No OFD packet to send [09:24:37]OFD Sender: No OFD packet to send [09:24:42]OFD Sender: No OFD packet to send [09:24:47]OFD Sender: No OFD packet to send [09:24:52]OFD Sender: No OFD packet to send [09:24:57]OFD Sender: No OFD packet to send [09:25:02]OFD Sender: No OFD packet to send [09:25:07]OFD Sender: No OFD packet to send [09:25:12]OFD Sender: No OFD packet to send [09:25:17]OFD Sender: No OFD packet to send [09:25:22]OFD Sender: No OFD packet to send [09:25:27]OFD Sender: No OFD packet to send [09:25:32]OFD Sender: No OFD packet to send [09:25:37]OFD Sender: No OFD packet to send [09:25:42]OFD Sender: No OFD packet to send [09:25:47]OFD Sender: No OFD packet to send [09:25:52]OFD Sender: No OFD packet to send [09:25:57]OFD Sender: No OFD packet to send [09:26:02]OFD Sender: No OFD packet to send [09:26:07]OFD Sender: No OFD packet to send [09:26:12]OFD Sender: No OFD packet to send [09:26:17]OFD Sender: No OFD packet to send [09:26:21]accept exits with 8 [09:26:21]New connection [09:26:21]New thread 3066883428 created [09:26:21]Thread 3066740068 joined [09:26:21]Waiting for new connection... [09:26:21] Sock 8.Parse request [09:26:21]Sock 8.Check first char [09:26:21]Sock 8.First char is OK [09:26:21]request: POST /json_proto HTTP/1.0 [09:26:21]Method: POST [09:26:21]URL: /json_proto [09:26:21]Method is POST - this is cgi request [09:26:21]url: /json_proto [09:26:21]query_string will be loaded in cgi processing [09:26:21]execute_cgi json_proto POST (null) [09:26:21]execute_cgi path=json_proto method=POST [09:26:21]POST find Content-Length [09:26:21]Host: 172.17.47.135:8080 [09:26:21]Content-Length: 823 [09:26:21]Content-Type: application/json [09:26:21] [09:26:21]POST finish read [09:26:21]Found Content-Length = 823 [09:26:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130836", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:26:21]execute_script... [09:26: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)130836", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:26:21]POST & json_proto [09:26:21]process_json_proto [09:26:21]json parsed OK: [09:26:21]protocol is kg_v1.0 [09:26:21]action value=close_receipt [09:26:21]process_action close_receipt [09:26:21]cmd_close_receipt [09:26:21]MH_GetDate [09:26:21]Write to MH i2c: F0 00 00 DD 01 CD [09:26:21]Write i2c OK [09:26:21]MH_I2C_Read... [09:26:21]Read from MH i2c: F0 [09:26:21]MH_I2C_Read... [09:26:21]Read from MH i2c: F0 09 00 [09:26:21]MH_I2C_Read... [09:26:21]Read from MH i2c: F0 09 00 DD 01 00 BE 46 B8 67 19 D8 DE 66 2E [09:26:21]GetLastDocTimeStamp 1740129328 [09:26:21]current date 1740129982 [09:26:21]FM_GetShiftState [09:26:21]SAM_PROTO_GetShiftState [09:26:21]wFMCommunicate request_size=4 [09:26:21]MH_SAM_APDU [09:26:21]CAPDU: 80 13 01 00 [09:26:21]Write to MH i2c: E2 08 00 DE 01 80 13 01 00 00 00 00 00 5C [09:26:21]Write i2c OK [09:26:21]MH_I2C_Read... [09:26:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:26:21]Read from MH i2c: E2 [09:26:21]MH_I2C_Read... [09:26:21]Read from MH i2c: E2 0E 00 [09:26:21]MH_I2C_Read... [09:26:21]Read from MH i2c: E2 0E 00 DE 01 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 C1 [09:26:21]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [09:26:21]wFMCommunicate OK [09:26:21]SAM_PROTO_GetShiftState done [09:26:21]FM_GetShiftState done [09:26:21]opened in 1740096631 [09:26:21]opened+sec_in_day 1740183031 [09:26:21]quantity*price = 13900 [09:26:21]sum+1 = 13901 [09:26:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 0.00 Безнал.: 139.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 13 21.02.2025 09:26 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32625 ФПД: 169311862612484 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T092622&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32625&fm=169311862612484&tin=02508201610067®Number=0000000000146237&sum=13900 0 [09:26:22]StoreToDocumentArchive [09:26:22]shift 386 fd 32625 [09:26:22]save to /storage/0386/doc_00032625 [09:26:22]save last doc name /storage/0386/doc_00032625 to /storage/kkm_last_doc_name [09:26:22]save OK [09:26:22]Clear old archive folders... [09:26:22]ProcessDocumentItem done err = 0, tmpTLVsize=282 [09:26:22]tlvbuf is 003ADC30 [09:26:22]SAM_PROTO_ClearQueue [09:26:22]wFMCommunicate request_size=4 [09:26:22]MH_SAM_APDU [09:26:22]CAPDU: 80 09 00 00 [09:26:22]Write to MH i2c: E2 08 00 EB 01 80 09 00 00 00 00 00 00 5E [09:26:22]Write i2c OK [09:26:22]MH_I2C_Read... [09:26:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:26:22]Read from MH i2c: E2 [09:26:22]MH_I2C_Read... [09:26:22]Read from MH i2c: E2 03 00 [09:26:22]MH_I2C_Read... [09:26:22]Read from MH i2c: E2 03 00 EB 01 00 90 00 60 [09:26:22]RAPDU: 90 00 [09:26:22]wFMCommunicate OK [09:26:22]SAM_PROTO_ClearQueue done [09:26:22]KKMCreateOFDPacket [09:26:22]OFDProtocolAddRootSTLVToBuf [09:26:22]FM_MakeSignedData [09:26:22]FM_MakeSignedData [09:26:22]SAM_PROTO_SignData [09:26:22]wFMCommunicate request_size=4 [09:26:22]MH_SAM_APDU [09:26:22]CAPDU: 80 0D 01 02 [09:26:22]Write to MH i2c: E2 08 00 EC 01 80 0D 01 02 00 00 00 00 66 [09:26:22]Write i2c OK [09:26:22]MH_I2C_Read... [09:26:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:26:22]Read from MH i2c: E2 [09:26:22]MH_I2C_Read... [09:26:22]Read from MH i2c: E2 03 00 [09:26:22]MH_I2C_Read... [09:26:22]Read from MH i2c: E2 03 00 EC 01 00 90 00 61 [09:26:22]RAPDU: 90 00 [09:26:22]wFMCommunicate OK [09:26:22]wFMCommunicate request_size=255 [09:26:22]MH_SAM_APDU [09:26:22]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 BE 46 B8 67 0E 04 04 00 82 01 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 33 37 11 04 [09:26:22]Write to MH i2c: E2 02 01 ED 01 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 BE 46 B8 67 0E 04 04 00 82 01 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 33 37 11 04 00 00 AE [09:26:22]Write i2c OK [09:26:23]MH_I2C_Read... [09:26:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:26:23]Read from MH i2c: E2 [09:26:23]MH_I2C_Read... [09:26:23]Read from MH i2c: E2 03 00 [09:26:23]MH_I2C_Read... [09:26:23]Read from MH i2c: E2 03 00 ED 01 00 90 00 62 [09:26:23]RAPDU: 90 00 [09:26:23]wFMCommunicate OK [09:26:23]wFMCommunicate request_size=41 [09:26:23]MH_SAM_APDU [09:26:23]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 71 7F 00 00 35 04 06 00 99 FC FD 6D 62 04 [09:26:23]Write to MH i2c: E2 2C 00 EE 01 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 71 7F 00 00 35 04 06 00 99 FC FD 6D 62 04 00 00 90 [09:26:23]Write i2c OK [09:26:23]MH_I2C_Read... [09:26:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:26:23]Read from MH i2c: E2 [09:26:23]MH_I2C_Read... [09:26:23]Read from MH i2c: E2 03 00 [09:26:23]MH_I2C_Read... [09:26:23]Read from MH i2c: E2 03 00 EE 01 00 90 00 63 [09:26:23]RAPDU: 90 00 [09:26:23]wFMCommunicate OK [09:26:23]wFMCommunicate request_size=4 [09:26:23]MH_SAM_APDU [09:26:23]CAPDU: 80 0D 03 02 [09:26:23]Write to MH i2c: E2 08 00 EF 01 80 0D 03 02 00 00 00 00 6B [09:26:23]Write i2c OK [09:26:23]MH_I2C_Read... [09:26:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:26:23]Read from MH i2c: E2 [09:26:23]MH_I2C_Read... [09:26:23]Read from MH i2c: E2 0B 00 [09:26:23]MH_I2C_Read... [09:26:23]Read from MH i2c: E2 0B 00 EF 01 00 BD F5 93 47 14 7E CD 9D 90 00 F4 [09:26:23]RAPDU: BD F5 93 47 14 7E CD 9D 90 00 [09:26:23]wFMCommunicate OK [09:26:23]SAM_PROTO_SignData done [09:26:23]FM_MakeSignedData done [09:26:23]CreateOFDProtocolMessage [09:26:23]wFMCommunicate request_size=4 [09:26:23]MH_SAM_APDU [09:26:23]CAPDU: 80 11 00 00 [09:26:23]Write to MH i2c: E2 08 00 F0 01 80 11 00 00 00 00 00 00 6B [09:26:23]Write i2c OK [09:26:23]MH_I2C_Read... [09:26:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:26:23]Read from MH i2c: E2 [09:26:23]MH_I2C_Read... [09:26:23]Read from MH i2c: E2 17 00 [09:26:23]MH_I2C_Read... [09:26:23]Read from MH i2c: E2 17 00 F0 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 C1 [09:26:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:26:23]wFMCommunicate OK [09:26:23]CreateOFDProtocolMessage done [09:26:23]OFDSenderStorePacket 32625 [09:26:23]StoreOFDPacket docnum=32625 [09:26:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2E 01 00 00 99 94 26 01 AF 91 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 BE 46 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 71 7F 00 00 35 04 06 00 99 FC FD 6D 62 04 BD F5 93 47 14 7E CD 9D [09:26:23]CheckFolder [09:26:23]dirname=/storage/ofd_packets [09:26:23]CheckFolder done [09:26:23]ProducePacketName [09:26:23]name=ofd_packets/00032625 [09:26:23]NVStorageSaveData ofd_packets/00032625 [09:26:23]File name is /storage/ofd_packets/00032625 [09:26:23]Write 332 bytes [09:26:23]NVStorageSaveData done [09:26:23]OFDSenderStorePacket done [09:26:23]KKMCreateOFDPacket done [09:26:23]NVStorageSaveData kkm_last_timestamp [09:26:23]File name is /storage/kkm_last_timestamp [09:26:23]Write 4 bytes [09:26:23]NVStorageSaveData done [09:26:23]ExternCall_PrintAddStr [09:26:23]wPrintStart [09:26:23]Write to MH i2c: 01 00 00 F1 01 F2 [09:26:23]Write i2c OK [09:26:23]MH_I2C_Read... [09:26:23]Read from MH i2c: 01 [09:26:23]MH_I2C_Read... [09:26:23]Read from MH i2c: 01 07 00 [09:26:23]MH_I2C_Read... [09:26:23]Read from MH i2c: 01 07 00 F1 01 00 00 00 00 00 FF 0F 07 [09:26:23]RasterBufferAndPrint [09:26:23]line Счет N : (3)130836 [09:26:23]line ИНН: 02508201610067 [09:26:23]line Контрольно-Кассовый Чек [09:26:23]line ПРОДАЖА [09:26:23]line Товар: 2000036220012 [09:26:23]line Кофе Капучино XL(GABB TRADE) [09:26:23]line 1.000 * 139.00 [09:26:23]line = 139.00 [09:26:23]line НДС 12% НСП 1% [09:26:23]line > о реализуемом товаре [09:26:23]line ИТОГО: 139.00 [09:26:23]line НСП 1% : 1.23 [09:26:23]line НДС 12% : 14.76 [09:26:23]line Наличными: 0.00 [09:26:23]line Безнал.: 139.00 [09:26:23]line Место: АЗС № 96 "Партнер Нефть" [09:26:23]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [09:26:23]line СНО: Общий режим [09:26:23]line Чек 13 21.02.2025 09:26 [09:26:23]line Смена: 386 ФФД: 1.0 [09:26:23]line ЗНМ: 0300000059 [09:26:23]line РНМ: 0000000000146237 [09:26:23]line Версия ККМ: v1.0 [09:26:23]line Платежная система: Бакай Банк [09:26:23]line ФМ: 0000000000959282 [09:26:23]line ФД: 32625 [09:26:23]line ФПД: 169311862612484 [09:26:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T092622&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32625&fm=169311862612484&tin=02508201610067®Number=0000000000146237&sum=13900 [09:26:23]line 0 [09:26:23]written 0, free lines is 4095 [09:26:23]OFD Sender: Processing packet 32625 [packets to send 105, broken 104] [09:26:23]ProducePacketName [09:26:23]name=ofd_packets/00032625 [09:26:23]OFD Sender: To server: pG, [09:26:23]CommunicateWithHost lk.salyk.kg:30040 [09:26:23]ConnectInit lk.salyk.kg [09:26:23]Connected sock=10 [09:26: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 32 38 32 2E 01 00 00 99 94 26 01 AF 91 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 4C 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 BE 46 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 71 7F 00 00 35 04 06 00 99 FC FD 6D 62 04 BD F5 93 47 14 7E CD 9D [09:26:24]Write to MH i2c: 01 00 00 1C 02 1E [09:26:24]Write i2c OK [09:26:24]MH_I2C_Read... [09:26:24]Read from MH i2c: 01 [09:26:24]MH_I2C_Read... [09:26:24]Read from MH i2c: 01 07 00 [09:26:24]MH_I2C_Read... [09:26:24]Read from MH i2c: 01 07 00 1C 02 00 00 00 00 00 EE 0C 1F [09:26:24]RasterBufferAndPrint [09:26:24]line [09:26:24]line [09:26:24]line [09:26:24]line [09:26:24]line [09:26:24]written 0, free lines is 3317 [09:26:24]MH_Cut [09:26:24]Write to MH i2c: D1 01 00 23 02 01 F7 [09:26:24]Write i2c OK [09:26:24]MH_I2C_Read... [09:26:24]Read from MH i2c: D1 [09:26:24]MH_I2C_Read... [09:26:24]Read from MH i2c: D1 01 00 [09:26:24]MH_I2C_Read... [09:26:24]Read from MH i2c: D1 01 00 23 02 00 F6 [09:26:24]Write to MH i2c: 01 00 00 24 02 26 [09:26:24]Write i2c OK [09:26:24]MH_I2C_Read... [09:26:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 7E C4 47 00 0F 18 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 71 7F 00 00 F4 03 04 00 55 F0 B7 67 B6 04 01 00 00 44 94 30 0F CF 2E 17 F9 [09:26:24]CommunicateWithHost err = 0 [09:26:24]CheckOFDResponse [09:26:24]1017 (14) - 77093643461234 [09:26:24]1041 (16) - 0000000000959282 [09:26:24]1040 (4) - 32625 [09:26:24]1012 (4) - 21.02.2025 03:17 [09:26:24]1206 (1) - 0 [09:26:24]OFD Sender: Remove packet 32625 [09:26:24]ProducePacketName [09:26:24]name=ofd_packets/00032625 [09:26:24]NVStorageDeleteData [09:26:24]OFD Sender: No OFD packet to send [09:26:24]*** Cut start [09:26:24]*** Partial cut [09:26:24]*** CUTSNS_PIN = 1 [09:26:24]*** CUTSNS_PIN = 0 [09:26:25]*** Brake cut motor [09:26:25]Read from MH i2c: 01 [09:26:25]MH_I2C_Read... [09:26:25]*** Stop cut motor [09:26:25]*** Cut end [09:26:25]Read from MH i2c: 01 07 00 [09:26:25]MH_I2C_Read... [09:26:25]Read from MH i2c: 01 07 00 24 02 00 00 00 00 00 FF 0F 3B [09:26:25]process_action close_receipt done [09:26:25]requested_data is exist [09:26:25]produce_requested_data [09:26:25]requested_item fm.sn is exist - process it [09:26:25]wFMCommunicate request_size=4 [09:26:25]MH_SAM_APDU [09:26:25]CAPDU: 80 11 00 00 [09:26:25]Write to MH i2c: E2 08 00 25 02 80 11 00 00 00 00 00 00 A1 [09:26:25]Write i2c OK [09:26:25]MH_I2C_Read... [09:26:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:26:25]Read from MH i2c: E2 [09:26:25]MH_I2C_Read... [09:26:25]Read from MH i2c: E2 17 00 [09:26:25]MH_I2C_Read... [09:26:25]Read from MH i2c: E2 17 00 25 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 F7 [09:26:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:26:25]wFMCommunicate OK [09:26:25]requested_item fd.num is exist - process it [09:26:25]SAM_PROTO_GetFieldsCounters [09:26:25]wFMCommunicate request_size=4 [09:26:25]MH_SAM_APDU [09:26:25]CAPDU: 80 13 00 00 [09:26:25]Write to MH i2c: E2 08 00 26 02 80 13 00 00 00 00 00 00 A4 [09:26:25]Write i2c OK [09:26:25]MH_I2C_Read... [09:26:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:26:25]Read from MH i2c: E2 [09:26:25]MH_I2C_Read... [09:26:25]Read from MH i2c: E2 62 00 [09:26:25]MH_I2C_Read... [09:26:25]Read from MH i2c: E2 62 00 26 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 71 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 60 [09:26: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 71 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:26:25]wFMCommunicate OK [09:26:25]SAM_PROTO_GetFieldsCounters done [09:26:25]requested_item shift.num is exist - process it [09:26:25]requested_item shift.opened is exist - process it [09:26:25]req_shift_opened [09:26:25]FM_GetShiftState [09:26:25]SAM_PROTO_GetShiftState [09:26:25]wFMCommunicate request_size=4 [09:26:25]MH_SAM_APDU [09:26:25]CAPDU: 80 13 01 00 [09:26:25]Write to MH i2c: E2 08 00 27 02 80 13 01 00 00 00 00 00 A6 [09:26:25]Write i2c OK [09:26:25]MH_I2C_Read... [09:26:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:26:25]Read from MH i2c: E2 [09:26:25]MH_I2C_Read... [09:26:25]Read from MH i2c: E2 0E 00 [09:26:25]MH_I2C_Read... [09:26:25]Read from MH i2c: E2 0E 00 27 02 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 0B [09:26:25]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [09:26:25]wFMCommunicate OK [09:26:25]SAM_PROTO_GetShiftState done [09:26:25]FM_GetShiftState done [09:26:25]req_shift_opened done [09:26:25]requested_item shift.open_date is exist - process it [09:26:25]req_shift_open_date [09:26:25]req_shift_open_date done [09:26:25]produce_requested_data done [09:26:25]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32625,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [09:26:25]process_action_free close_receipt [09:26:25]json_value_free [09:26:25]json_value_free done [09:26:25]process_json_proto returns [09:26:25]Send response to host [09:26:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32625,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [09:26:25]free response buf [09:26:25]execute_script done [09:26:25]execute_script returns [09:26:25]free content buf [09:26:25]Sock 8.Close socket [09:26:25]Sock 8.Thread stoped [09:26:29]OFD Sender: No OFD packet to send [09:26:34]OFD Sender: No OFD packet to send [09:26:39]OFD Sender: No OFD packet to send [09:26:44]OFD Sender: No OFD packet to send [09:26:49]OFD Sender: No OFD packet to send [09:26:54]OFD Sender: No OFD packet to send [09:26:59]OFD Sender: No OFD packet to send [09:27:04]OFD Sender: No OFD packet to send [09:27:09]OFD Sender: No OFD packet to send [09:27:14]OFD Sender: No OFD packet to send [09:27:19]OFD Sender: No OFD packet to send [09:27:24]OFD Sender: No OFD packet to send [09:27:29]OFD Sender: No OFD packet to send [09:27:34]OFD Sender: No OFD packet to send [09:27:39]OFD Sender: No OFD packet to send [09:27:44]OFD Sender: No OFD packet to send [09:27:49]OFD Sender: No OFD packet to send [09:27:54]OFD Sender: No OFD packet to send [09:27:59]OFD Sender: No OFD packet to send [09:28:04]OFD Sender: No OFD packet to send [09:28:09]OFD Sender: No OFD packet to send [09:28:14]OFD Sender: No OFD packet to send [09:28:19]OFD Sender: No OFD packet to send [09:28:24]OFD Sender: No OFD packet to send [09:28:29]OFD Sender: No OFD packet to send [09:28:34]OFD Sender: No OFD packet to send [09:28:39]OFD Sender: No OFD packet to send [09:28:44]OFD Sender: No OFD packet to send [09:28:49]OFD Sender: No OFD packet to send [09:28:54]OFD Sender: No OFD packet to send [09:29:00]OFD Sender: No OFD packet to send [09:29:05]OFD Sender: No OFD packet to send [09:29:10]OFD Sender: No OFD packet to send [09:29:15]OFD Sender: No OFD packet to send [09:29:20]OFD Sender: No OFD packet to send [09:29:25]OFD Sender: No OFD packet to send [09:29:30]OFD Sender: No OFD packet to send [09:29:35]OFD Sender: No OFD packet to send [09:29:40]OFD Sender: No OFD packet to send [09:29:45]OFD Sender: No OFD packet to send [09:29:50]OFD Sender: No OFD packet to send [09:29:55]OFD Sender: No OFD packet to send [09:30:00]OFD Sender: No OFD packet to send [09:30:05]OFD Sender: No OFD packet to send [09:30:10]OFD Sender: No OFD packet to send [09:30:15]OFD Sender: No OFD packet to send [09:30:20]OFD Sender: No OFD packet to send [09:30:25]OFD Sender: No OFD packet to send [09:30:30]OFD Sender: No OFD packet to send [09:30:35]OFD Sender: No OFD packet to send [09:30:40]OFD Sender: No OFD packet to send [09:30:45]OFD Sender: No OFD packet to send [09:30:50]OFD Sender: No OFD packet to send [09:30:55]OFD Sender: No OFD packet to send [09:31:00]OFD Sender: No OFD packet to send [09:31:05]OFD Sender: No OFD packet to send [09:31:10]OFD Sender: No OFD packet to send [09:31:15]OFD Sender: No OFD packet to send [09:31:20]OFD Sender: No OFD packet to send [09:31:25]OFD Sender: No OFD packet to send [09:31:30]OFD Sender: No OFD packet to send [09:31:35]OFD Sender: No OFD packet to send [09:31:40]OFD Sender: No OFD packet to send [09:31:45]OFD Sender: No OFD packet to send [09:31:50]OFD Sender: No OFD packet to send [09:31:55]OFD Sender: No OFD packet to send [09:32:00]OFD Sender: No OFD packet to send [09:32:05]OFD Sender: No OFD packet to send [09:32:10]OFD Sender: No OFD packet to send [09:32:15]OFD Sender: No OFD packet to send [09:32:20]OFD Sender: No OFD packet to send [09:32:25]OFD Sender: No OFD packet to send [09:32:30]OFD Sender: No OFD packet to send [09:32:35]OFD Sender: No OFD packet to send [09:32:40]OFD Sender: No OFD packet to send [09:32:45]OFD Sender: No OFD packet to send [09:32:50]OFD Sender: No OFD packet to send [09:32:55]OFD Sender: No OFD packet to send [09:33:00]OFD Sender: No OFD packet to send [09:33:05]OFD Sender: No OFD packet to send [09:33:10]OFD Sender: No OFD packet to send [09:33:12]accept exits with 9 [09:33:12]New connection [09:33:12]New thread 3066740068 created [09:33:12]Thread 3066883428 joined [09:33:12]Waiting for new connection... [09:33:12] Sock 9.Parse request [09:33:12]Sock 9.Check first char [09:33:12]Sock 9.First char is OK [09:33:12]request: POST /json_proto HTTP/1.0 [09:33:12]Method: POST [09:33:12]URL: /json_proto [09:33:12]Method is POST - this is cgi request [09:33:12]url: /json_proto [09:33:12]query_string will be loaded in cgi processing [09:33:12]execute_cgi json_proto POST (null) [09:33:12]execute_cgi path=json_proto method=POST [09:33:12]POST find Content-Length [09:33:12]Host: 172.17.47.135:8080 [09:33:12]Content-Length: 621 [09:33:12]Content-Type: application/json [09:33:12] [09:33:12]POST finish read [09:33:12]Found Content-Length = 621 [09:33:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130837", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:33:12]execute_script... [09:33:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130837", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:33:12]POST & json_proto [09:33:12]process_json_proto [09:33:12]json parsed OK: [09:33:12]protocol is kg_v1.0 [09:33:12]action value=close_receipt [09:33:12]process_action close_receipt [09:33:12]cmd_close_receipt [09:33:12]MH_GetDate [09:33:12]Write to MH i2c: F0 00 00 28 02 19 [09:33:12]Write i2c OK [09:33:12]MH_I2C_Read... [09:33:12]Read from MH i2c: F0 [09:33:12]MH_I2C_Read... [09:33:12]Read from MH i2c: F0 09 00 [09:33:12]MH_I2C_Read... [09:33:12]Read from MH i2c: F0 09 00 28 02 00 59 48 B8 67 19 D8 DE 66 17 [09:33:12]GetLastDocTimeStamp 1740129982 [09:33:12]current date 1740130393 [09:33:12]FM_GetShiftState [09:33:12]SAM_PROTO_GetShiftState [09:33:12]wFMCommunicate request_size=4 [09:33:12]MH_SAM_APDU [09:33:12]CAPDU: 80 13 01 00 [09:33:12]Write to MH i2c: E2 08 00 29 02 80 13 01 00 00 00 00 00 A8 [09:33:12]Write i2c OK [09:33:12]MH_I2C_Read... [09:33:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:33:12]Read from MH i2c: E2 [09:33:12]MH_I2C_Read... [09:33:12]Read from MH i2c: E2 0E 00 [09:33:12]MH_I2C_Read... [09:33:12]Read from MH i2c: E2 0E 00 29 02 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 0D [09:33:12]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [09:33:12]wFMCommunicate OK [09:33:12]SAM_PROTO_GetShiftState done [09:33:12]FM_GetShiftState done [09:33:12]opened in 1740096631 [09:33:12]opened+sec_in_day 1740183031 [09:33:12]quantity*price = 15100 [09:33:12]sum+1 = 15101 [09:33:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 151.00 НСП 1% : 1.34 НДС 12% : 16.03 Наличными: 151.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 14 21.02.2025 09:33 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32626 ФПД: 40707959319551 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T093313&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32626&fm=40707959319551&tin=02508201610067®Number=0000000000146237&sum=15100 0 [09:33:13]StoreToDocumentArchive [09:33:13]shift 386 fd 32626 [09:33:13]save to /storage/0386/doc_00032626 [09:33:13]save last doc name /storage/0386/doc_00032626 to /storage/kkm_last_doc_name [09:33:13]save OK [09:33:13]Clear old archive folders... [09:33:13]ProcessDocumentItem done err = 0, tmpTLVsize=273 [09:33:13]tlvbuf is 003EFEF0 [09:33:13]SAM_PROTO_ClearQueue [09:33:13]wFMCommunicate request_size=4 [09:33:13]MH_SAM_APDU [09:33:13]CAPDU: 80 09 00 00 [09:33:13]Write to MH i2c: E2 08 00 36 02 80 09 00 00 00 00 00 00 AA [09:33:13]Write i2c OK [09:33:13]MH_I2C_Read... [09:33:13]Read from MH i2c: E2 [09:33:13]MH_I2C_Read... [09:33:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:33:13]Read from MH i2c: E2 03 00 [09:33:13]MH_I2C_Read... [09:33:13]Read from MH i2c: E2 03 00 36 02 00 90 00 AC [09:33:13]RAPDU: 90 00 [09:33:13]wFMCommunicate OK [09:33:13]SAM_PROTO_ClearQueue done [09:33:13]KKMCreateOFDPacket [09:33:13]OFDProtocolAddRootSTLVToBuf [09:33:13]FM_MakeSignedData [09:33:13]FM_MakeSignedData [09:33:13]SAM_PROTO_SignData [09:33:13]wFMCommunicate request_size=4 [09:33:13]MH_SAM_APDU [09:33:13]CAPDU: 80 0D 01 02 [09:33:13]Write to MH i2c: E2 08 00 37 02 80 0D 01 02 00 00 00 00 B2 [09:33:13]Write i2c OK [09:33:13]MH_I2C_Read... [09:33:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:33:13]Read from MH i2c: E2 [09:33:13]MH_I2C_Read... [09:33:13]Read from MH i2c: E2 03 00 [09:33:13]MH_I2C_Read... [09:33:13]Read from MH i2c: E2 03 00 37 02 00 90 00 AD [09:33:13]RAPDU: 90 00 [09:33:13]wFMCommunicate OK [09:33:13]wFMCommunicate request_size=255 [09:33:13]MH_SAM_APDU [09:33:13]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 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 0E 00 00 00 F4 03 04 00 59 48 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 [09:33:13]Write to MH i2c: E2 02 01 38 02 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 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 0E 00 00 00 F4 03 04 00 59 48 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 00 00 A1 [09:33:13]Write i2c OK [09:33:13]MH_I2C_Read... [09:33:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:33:14]Read from MH i2c: E2 [09:33:14]MH_I2C_Read... [09:33:14]Read from MH i2c: E2 03 00 [09:33:14]MH_I2C_Read... [09:33:14]Read from MH i2c: E2 03 00 38 02 00 90 00 AE [09:33:14]RAPDU: 90 00 [09:33:14]wFMCommunicate OK [09:33:14]wFMCommunicate request_size=32 [09:33:14]MH_SAM_APDU [09:33:14]CAPDU: 80 0D 02 02 1B 30 30 30 39 35 39 32 38 32 10 04 04 00 72 7F 00 00 35 04 06 00 25 06 0F 74 6B FF [09:33:14]Write to MH i2c: E2 23 00 39 02 80 0D 02 02 1B 00 30 30 30 39 35 39 32 38 32 10 04 04 00 72 7F 00 00 35 04 06 00 25 06 0F 74 6B FF 00 00 1E [09:33:14]Write i2c OK [09:33:14]MH_I2C_Read... [09:33:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:33:14]Read from MH i2c: E2 [09:33:14]MH_I2C_Read... [09:33:14]Read from MH i2c: E2 03 00 [09:33:14]MH_I2C_Read... [09:33:14]Read from MH i2c: E2 03 00 39 02 00 90 00 AF [09:33:14]RAPDU: 90 00 [09:33:14]wFMCommunicate OK [09:33:14]wFMCommunicate request_size=4 [09:33:14]MH_SAM_APDU [09:33:14]CAPDU: 80 0D 03 02 [09:33:14]Write to MH i2c: E2 08 00 3A 02 80 0D 03 02 00 00 00 00 B7 [09:33:14]Write i2c OK [09:33:14]MH_I2C_Read... [09:33:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:33:14]Read from MH i2c: E2 [09:33:14]MH_I2C_Read... [09:33:14]Read from MH i2c: E2 0B 00 [09:33:14]MH_I2C_Read... [09:33:14]Read from MH i2c: E2 0B 00 3A 02 00 FD 30 91 0F 68 AA C9 06 90 00 66 [09:33:14]RAPDU: FD 30 91 0F 68 AA C9 06 90 00 [09:33:14]wFMCommunicate OK [09:33:14]SAM_PROTO_SignData done [09:33:14]FM_MakeSignedData done [09:33:14]CreateOFDProtocolMessage [09:33:14]wFMCommunicate request_size=4 [09:33:14]MH_SAM_APDU [09:33:14]CAPDU: 80 11 00 00 [09:33:14]Write to MH i2c: E2 08 00 3B 02 80 11 00 00 00 00 00 00 B7 [09:33:14]Write i2c OK [09:33:14]MH_I2C_Read... [09:33:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:33:14]Read from MH i2c: E2 [09:33:14]MH_I2C_Read... [09:33:14]Read from MH i2c: E2 17 00 [09:33:14]MH_I2C_Read... [09:33:14]Read from MH i2c: E2 17 00 3B 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 0D [09:33:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:33:14]wFMCommunicate OK [09:33:14]CreateOFDProtocolMessage done [09:33:14]OFDSenderStorePacket 32626 [09:33:14]StoreOFDPacket docnum=32626 [09:33:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 25 01 00 00 1D 2B 1D 01 DC 3E 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 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 0E 00 00 00 F4 03 04 00 59 48 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 72 7F 00 00 35 04 06 00 25 06 0F 74 6B FF FD 30 91 0F 68 AA C9 06 [09:33:14]CheckFolder [09:33:14]dirname=/storage/ofd_packets [09:33:14]CheckFolder done [09:33:14]ProducePacketName [09:33:14]name=ofd_packets/00032626 [09:33:14]NVStorageSaveData ofd_packets/00032626 [09:33:14]File name is /storage/ofd_packets/00032626 [09:33:14]Write 323 bytes [09:33:14]NVStorageSaveData done [09:33:14]OFDSenderStorePacket done [09:33:14]KKMCreateOFDPacket done [09:33:14]NVStorageSaveData kkm_last_timestamp [09:33:14]File name is /storage/kkm_last_timestamp [09:33:14]Write 4 bytes [09:33:14]NVStorageSaveData done [09:33:14]ExternCall_PrintAddStr [09:33:14]wPrintStart [09:33:14]Write to MH i2c: 01 00 00 3C 02 3E [09:33:14]Write i2c OK [09:33:14]MH_I2C_Read... [09:33:14]Read from MH i2c: 01 [09:33:14]MH_I2C_Read... [09:33:14]Read from MH i2c: 01 07 00 [09:33:14]MH_I2C_Read... [09:33:14]Read from MH i2c: 01 07 00 3C 02 00 00 00 00 00 FF 0F 53 [09:33:14]RasterBufferAndPrint [09:33:14]line Счет N : (3)130837 [09:33:14]line ИНН: 02508201610067 [09:33:14]line Контрольно-Кассовый Чек [09:33:14]line ПРОДАЖА [09:33:14]line Товар: 48747059 [09:33:14]line Сигареты Winston Legend Blue [09:33:14]line 1.000 * 151.00 [09:33:14]line = 151.00 [09:33:14]line НДС 12% НСП 1% [09:33:14]line > о реализуемом товаре [09:33:14]line ИТОГО: 151.00 [09:33:14]line НСП 1% : 1.34 [09:33:14]line НДС 12% : 16.03 [09:33:14]line Наличными: 151.00 [09:33:14]line Безнал.: 0.00 [09:33:14]line Место: АЗС № 96 "Партнер Нефть" [09:33:14]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [09:33:14]line СНО: Общий режим [09:33:14]line Чек 14 21.02.2025 09:33 [09:33:14]line Смена: 386 ФФД: 1.0 [09:33:14]line ЗНМ: 0300000059 [09:33:14]line РНМ: 0000000000146237 [09:33:14]line Версия ККМ: v1.0 [09:33:14]line ФМ: 0000000000959282 [09:33:14]line ФД: 32626 [09:33:14]line ФПД: 40707959319551 [09:33:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T093313&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32626&fm=40707959319551&tin=02508201610067®Number=0000000000146237&sum=15100 [09:33:14]line 0 [09:33:14]OFD Sender: Processing packet 32626 [packets to send 105, broken 104] [09:33:14]ProducePacketName [09:33:14]name=ofd_packets/00032626 [09:33:14]OFD Sender: To server: pG, [09:33:14]CommunicateWithHost lk.salyk.kg:30040 [09:33:14]ConnectInit lk.salyk.kg [09:33:14]written 0, free lines is 4095 [09:33:14]Connected sock=10 [09:33:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 25 01 00 00 1D 2B 1D 01 DC 3E 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 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 0E 00 00 00 F4 03 04 00 59 48 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 72 7F 00 00 35 04 06 00 25 06 0F 74 6B FF FD 30 91 0F 68 AA C9 06 [09:33:15]Write to MH i2c: 01 00 00 65 02 67 [09:33:15]Write i2c OK [09:33:15]MH_I2C_Read... [09:33:15]Read from MH i2c: 01 [09:33:15]MH_I2C_Read... [09:33:15]Read from MH i2c: 01 07 00 [09:33:15]MH_I2C_Read... [09:33:15]Read from MH i2c: 01 07 00 65 02 00 00 00 00 00 EE 0C 68 [09:33:15]RasterBufferAndPrint [09:33:15]line [09:33:15]line [09:33:15]line [09:33:15]line [09:33:15]line [09:33:15]written 0, free lines is 3316 [09:33:15]MH_Cut [09:33:15]Write to MH i2c: D1 01 00 6C 02 01 40 [09:33:15]Write i2c OK [09:33:15]MH_I2C_Read... [09:33:15]Read from MH i2c: D1 [09:33:15]MH_I2C_Read... [09:33:15]Read from MH i2c: D1 01 00 [09:33:15]MH_I2C_Read... [09:33:15]Read from MH i2c: D1 01 00 6C 02 00 3F [09:33:15]Write to MH i2c: 01 00 00 6D 02 6F [09:33:15]Write i2c OK [09:33:15]MH_I2C_Read... [09:33:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 C4 B4 47 00 7E 87 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 72 7F 00 00 F4 03 04 00 F0 F1 B7 67 B6 04 01 00 00 CF B0 FF 52 C5 E3 12 02 [09:33:15]CommunicateWithHost err = 0 [09:33:15]CheckOFDResponse [09:33:15]1017 (14) - 77093643461234 [09:33:15]1041 (16) - 0000000000959282 [09:33:15]1040 (4) - 32626 [09:33:15]1012 (4) - 21.02.2025 03:24 [09:33:15]1206 (1) - 0 [09:33:15]OFD Sender: Remove packet 32626 [09:33:15]ProducePacketName [09:33:15]name=ofd_packets/00032626 [09:33:15]NVStorageDeleteData [09:33:15]*** Cut start [09:33:15]*** Partial cut [09:33:15]*** CUTSNS_PIN = 1 [09:33:15]*** CUTSNS_PIN = 0 [09:33:15]OFD Sender: No OFD packet to send [09:33:16]*** Brake cut motor [09:33:16]Read from MH i2c: 01 [09:33:16]MH_I2C_Read... [09:33:16]*** Stop cut motor [09:33:16]*** Cut end [09:33:16]Read from MH i2c: 01 07 00 [09:33:16]MH_I2C_Read... [09:33:16]Read from MH i2c: 01 07 00 6D 02 00 00 00 00 00 FF 0F 84 [09:33:16]process_action close_receipt done [09:33:16]requested_data is exist [09:33:16]produce_requested_data [09:33:16]requested_item fm.sn is exist - process it [09:33:16]wFMCommunicate request_size=4 [09:33:16]MH_SAM_APDU [09:33:16]CAPDU: 80 11 00 00 [09:33:16]Write to MH i2c: E2 08 00 6E 02 80 11 00 00 00 00 00 00 EA [09:33:16]Write i2c OK [09:33:16]MH_I2C_Read... [09:33:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:33:16]Read from MH i2c: E2 [09:33:16]MH_I2C_Read... [09:33:16]Read from MH i2c: E2 17 00 [09:33:16]MH_I2C_Read... [09:33:16]Read from MH i2c: E2 17 00 6E 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 40 [09:33:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:33:16]wFMCommunicate OK [09:33:16]requested_item fd.num is exist - process it [09:33:16]SAM_PROTO_GetFieldsCounters [09:33:16]wFMCommunicate request_size=4 [09:33:16]MH_SAM_APDU [09:33:16]CAPDU: 80 13 00 00 [09:33:16]Write to MH i2c: E2 08 00 6F 02 80 13 00 00 00 00 00 00 ED [09:33:16]Write i2c OK [09:33:16]MH_I2C_Read... [09:33:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:33:16]Read from MH i2c: E2 [09:33:16]MH_I2C_Read... [09:33:16]Read from MH i2c: E2 62 00 [09:33:16]MH_I2C_Read... [09:33:16]Read from MH i2c: E2 62 00 6F 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 72 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 AD [09:33:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 72 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:33:16]wFMCommunicate OK [09:33:16]SAM_PROTO_GetFieldsCounters done [09:33:16]requested_item shift.num is exist - process it [09:33:16]requested_item shift.opened is exist - process it [09:33:16]req_shift_opened [09:33:16]FM_GetShiftState [09:33:16]SAM_PROTO_GetShiftState [09:33:16]wFMCommunicate request_size=4 [09:33:16]MH_SAM_APDU [09:33:16]CAPDU: 80 13 01 00 [09:33:16]Write to MH i2c: E2 08 00 70 02 80 13 01 00 00 00 00 00 EF [09:33:16]Write i2c OK [09:33:16]MH_I2C_Read... [09:33:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:33:16]Read from MH i2c: E2 [09:33:16]MH_I2C_Read... [09:33:16]Read from MH i2c: E2 0E 00 [09:33:16]MH_I2C_Read... [09:33:16]Read from MH i2c: E2 0E 00 70 02 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 54 [09:33:16]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [09:33:16]wFMCommunicate OK [09:33:16]SAM_PROTO_GetShiftState done [09:33:16]FM_GetShiftState done [09:33:16]req_shift_opened done [09:33:16]requested_item shift.open_date is exist - process it [09:33:16]req_shift_open_date [09:33:16]req_shift_open_date done [09:33:16]produce_requested_data done [09:33:16]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32626,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [09:33:16]process_action_free close_receipt [09:33:16]json_value_free [09:33:16]json_value_free done [09:33:16]process_json_proto returns [09:33:16]Send response to host [09:33:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32626,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [09:33:16]free response buf [09:33:16]execute_script done [09:33:16]execute_script returns [09:33:16]free content buf [09:33:16]Sock 9.Close socket [09:33:16]Sock 9.Thread stoped [09:33:20]OFD Sender: No OFD packet to send [09:33:25]OFD Sender: No OFD packet to send [09:33:30]OFD Sender: No OFD packet to send [09:33:35]OFD Sender: No OFD packet to send [09:33:40]OFD Sender: No OFD packet to send [09:33:45]OFD Sender: No OFD packet to send [09:33:50]OFD Sender: No OFD packet to send [09:33:55]OFD Sender: No OFD packet to send [09:34:00]OFD Sender: No OFD packet to send [09:34:05]OFD Sender: No OFD packet to send [09:34:10]OFD Sender: No OFD packet to send [09:34:15]OFD Sender: No OFD packet to send [09:34:20]OFD Sender: No OFD packet to send [09:34:25]OFD Sender: No OFD packet to send [09:34:30]OFD Sender: No OFD packet to send [09:34:35]OFD Sender: No OFD packet to send [09:34:40]OFD Sender: No OFD packet to send [09:34:45]OFD Sender: No OFD packet to send [09:34:50]OFD Sender: No OFD packet to send [09:34:55]OFD Sender: No OFD packet to send [09:35:00]OFD Sender: No OFD packet to send [09:35:05]OFD Sender: No OFD packet to send [09:35:10]OFD Sender: No OFD packet to send [09:35:15]OFD Sender: No OFD packet to send [09:35:20]OFD Sender: No OFD packet to send [09:35:25]OFD Sender: No OFD packet to send [09:35:31]OFD Sender: No OFD packet to send [09:35:36]OFD Sender: No OFD packet to send [09:35:41]OFD Sender: No OFD packet to send [09:35:46]OFD Sender: No OFD packet to send [09:35:51]OFD Sender: No OFD packet to send [09:35:56]OFD Sender: No OFD packet to send [09:36:01]OFD Sender: No OFD packet to send [09:36:06]OFD Sender: No OFD packet to send [09:36:11]OFD Sender: No OFD packet to send [09:36:16]OFD Sender: No OFD packet to send [09:36:21]OFD Sender: No OFD packet to send [09:36:26]OFD Sender: No OFD packet to send [09:36:31]OFD Sender: No OFD packet to send [09:36:36]OFD Sender: No OFD packet to send [09:36:41]OFD Sender: No OFD packet to send [09:36:46]OFD Sender: No OFD packet to send [09:36:51]OFD Sender: No OFD packet to send [09:36:56]OFD Sender: No OFD packet to send [09:37:01]OFD Sender: No OFD packet to send [09:37:06]OFD Sender: No OFD packet to send [09:37:11]OFD Sender: No OFD packet to send [09:37:16]OFD Sender: No OFD packet to send [09:37:21]OFD Sender: No OFD packet to send [09:37:26]OFD Sender: No OFD packet to send [09:37:31]OFD Sender: No OFD packet to send [09:37:36]OFD Sender: No OFD packet to send [09:37:41]OFD Sender: No OFD packet to send [09:37:46]OFD Sender: No OFD packet to send [09:37:51]OFD Sender: No OFD packet to send [09:37:56]OFD Sender: No OFD packet to send [09:38:01]OFD Sender: No OFD packet to send [09:38:06]OFD Sender: No OFD packet to send [09:38:11]OFD Sender: No OFD packet to send [09:38:16]OFD Sender: No OFD packet to send [09:38:21]OFD Sender: No OFD packet to send [09:38:26]OFD Sender: No OFD packet to send [09:38:31]OFD Sender: No OFD packet to send [09:38:31]accept exits with 8 [09:38:31]New connection [09:38:31]New thread 3066883428 created [09:38:31]Thread 3066740068 joined [09:38:31]Waiting for new connection... [09:38:31] Sock 8.Parse request [09:38:31]Sock 8.Check first char [09:38:31]Sock 8.First char is OK [09:38:31]request: POST /json_proto HTTP/1.0 [09:38:31]Method: POST [09:38:31]URL: /json_proto [09:38:31]Method is POST - this is cgi request [09:38:31]url: /json_proto [09:38:31]query_string will be loaded in cgi processing [09:38:31]execute_cgi json_proto POST (null) [09:38:31]execute_cgi path=json_proto method=POST [09:38:31]POST find Content-Length [09:38:31]Host: 172.17.47.135:8080 [09:38:31]Content-Length: 873 [09:38:31]Content-Type: application/json [09:38:31] [09:38:31]POST finish read [09:38:31]Found Content-Length = 873 [09:38:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130838", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 94.00, "quantity" : 1.000, "sum" : 94.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 94.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:38:31]execute_script... [09:38: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)130838", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 94.00, "quantity" : 1.000, "sum" : 94.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 94.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:38:31]POST & json_proto [09:38:31]process_json_proto [09:38:31]json parsed OK: [09:38:31]protocol is kg_v1.0 [09:38:31]action value=close_receipt [09:38:31]process_action close_receipt [09:38:31]cmd_close_receipt [09:38:31]MH_GetDate [09:38:31]Write to MH i2c: F0 00 00 71 02 62 [09:38:31]Write i2c OK [09:38:31]MH_I2C_Read... [09:38:31]Read from MH i2c: F0 [09:38:31]MH_I2C_Read... [09:38:31]Read from MH i2c: F0 09 00 [09:38:31]MH_I2C_Read... [09:38:31]Read from MH i2c: F0 09 00 71 02 00 98 49 B8 67 19 D8 DE 66 A0 [09:38:31]GetLastDocTimeStamp 1740130393 [09:38:31]current date 1740130712 [09:38:31]FM_GetShiftState [09:38:31]SAM_PROTO_GetShiftState [09:38:31]wFMCommunicate request_size=4 [09:38:31]MH_SAM_APDU [09:38:31]CAPDU: 80 13 01 00 [09:38:31]Write to MH i2c: E2 08 00 72 02 80 13 01 00 00 00 00 00 F1 [09:38:31]Write i2c OK [09:38:31]MH_I2C_Read... [09:38:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:38:31]Read from MH i2c: E2 [09:38:31]MH_I2C_Read... [09:38:31]Read from MH i2c: E2 0E 00 [09:38:31]MH_I2C_Read... [09:38:31]Read from MH i2c: E2 0E 00 72 02 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 56 [09:38:31]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [09:38:31]wFMCommunicate OK [09:38:31]SAM_PROTO_GetShiftState done [09:38:31]FM_GetShiftState done [09:38:31]opened in 1740096631 [09:38:31]opened+sec_in_day 1740183031 [09:38:31]quantity*price = 9400 [09:38:31]sum+1 = 9401 [09:38:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 94.00 НСП 1% : 0.83 НДС 12% : 9.98 Наличными: 0.00 Безнал.: 94.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 15 21.02.2025 09:38 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32627 ФПД: 60137671584081 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T093832&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32627&fm=60137671584081&tin=02508201610067®Number=0000000000146237&sum=9400 0 [09:38:32]StoreToDocumentArchive [09:38:32]shift 386 fd 32627 [09:38:32]save to /storage/0386/doc_00032627 [09:38:32]save last doc name /storage/0386/doc_00032627 to /storage/kkm_last_doc_name [09:38:32]save OK [09:38:32]Clear old archive folders... [09:38:32]ProcessDocumentItem done err = 0, tmpTLVsize=299 [09:38:32]tlvbuf is 00406AD0 [09:38:32]SAM_PROTO_ClearQueue [09:38:32]wFMCommunicate request_size=4 [09:38:32]MH_SAM_APDU [09:38:32]CAPDU: 80 09 00 00 [09:38:32]Write to MH i2c: E2 08 00 7F 02 80 09 00 00 00 00 00 00 F3 [09:38:32]Write i2c OK [09:38:32]MH_I2C_Read... [09:38:32]Read from MH i2c: E2 [09:38:32]MH_I2C_Read... [09:38:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:38:32]Read from MH i2c: E2 03 00 [09:38:32]MH_I2C_Read... [09:38:32]Read from MH i2c: E2 03 00 7F 02 00 90 00 F5 [09:38:32]RAPDU: 90 00 [09:38:32]wFMCommunicate OK [09:38:32]SAM_PROTO_ClearQueue done [09:38:32]KKMCreateOFDPacket [09:38:32]OFDProtocolAddRootSTLVToBuf [09:38:32]FM_MakeSignedData [09:38:32]FM_MakeSignedData [09:38:32]SAM_PROTO_SignData [09:38:32]wFMCommunicate request_size=4 [09:38:32]MH_SAM_APDU [09:38:32]CAPDU: 80 0D 01 02 [09:38:32]Write to MH i2c: E2 08 00 80 02 80 0D 01 02 00 00 00 00 FB [09:38:32]Write i2c OK [09:38:32]MH_I2C_Read... [09:38:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:38:32]Read from MH i2c: E2 [09:38:32]MH_I2C_Read... [09:38:32]Read from MH i2c: E2 03 00 [09:38:32]MH_I2C_Read... [09:38:32]Read from MH i2c: E2 03 00 80 02 00 90 00 F6 [09:38:32]RAPDU: 90 00 [09:38:32]wFMCommunicate OK [09:38:32]wFMCommunicate request_size=255 [09:38:32]MH_SAM_APDU [09:38:32]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B8 24 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 98 49 B8 67 0E 04 04 00 82 01 00 00 B9 04 01 00 01 0D 04 10 00 30 [09:38:32]Write to MH i2c: E2 02 01 81 02 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B8 24 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 98 49 B8 67 0E 04 04 00 82 01 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 1E [09:38:32]Write i2c OK [09:38:32]MH_I2C_Read... [09:38:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:38:33]Read from MH i2c: E2 [09:38:33]MH_I2C_Read... [09:38:33]Read from MH i2c: E2 03 00 [09:38:33]MH_I2C_Read... [09:38:33]Read from MH i2c: E2 03 00 81 02 00 90 00 F7 [09:38:33]RAPDU: 90 00 [09:38:33]wFMCommunicate OK [09:38:33]wFMCommunicate request_size=58 [09:38:33]MH_SAM_APDU [09:38:33]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 73 7F 00 00 35 04 06 00 36 B1 E4 8D 69 51 [09:38:33]Write to MH i2c: E2 3D 00 82 02 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 73 7F 00 00 35 04 06 00 36 B1 E4 8D 69 51 00 00 F2 [09:38:33]Write i2c OK [09:38:33]MH_I2C_Read... [09:38:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:38:33]Read from MH i2c: E2 [09:38:33]MH_I2C_Read... [09:38:33]Read from MH i2c: E2 03 00 [09:38:33]MH_I2C_Read... [09:38:33]Read from MH i2c: E2 03 00 82 02 00 90 00 F8 [09:38:33]RAPDU: 90 00 [09:38:33]wFMCommunicate OK [09:38:33]wFMCommunicate request_size=4 [09:38:33]MH_SAM_APDU [09:38:33]CAPDU: 80 0D 03 02 [09:38:33]Write to MH i2c: E2 08 00 83 02 80 0D 03 02 00 00 00 00 00 [09:38:33]Write i2c OK [09:38:33]MH_I2C_Read... [09:38:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:38:33]Read from MH i2c: E2 [09:38:33]MH_I2C_Read... [09:38:33]Read from MH i2c: E2 0B 00 [09:38:33]MH_I2C_Read... [09:38:33]Read from MH i2c: E2 0B 00 83 02 00 12 D5 A2 4F 9C 1B 6E F5 90 00 F3 [09:38:33]RAPDU: 12 D5 A2 4F 9C 1B 6E F5 90 00 [09:38:33]wFMCommunicate OK [09:38:33]SAM_PROTO_SignData done [09:38:33]FM_MakeSignedData done [09:38:33]CreateOFDProtocolMessage [09:38:33]wFMCommunicate request_size=4 [09:38:33]MH_SAM_APDU [09:38:33]CAPDU: 80 11 00 00 [09:38:33]Write to MH i2c: E2 08 00 84 02 80 11 00 00 00 00 00 00 00 [09:38:33]Write i2c OK [09:38:33]MH_I2C_Read... [09:38:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:38:33]Read from MH i2c: E2 [09:38:33]MH_I2C_Read... [09:38:33]Read from MH i2c: E2 17 00 [09:38:33]MH_I2C_Read... [09:38:33]Read from MH i2c: E2 17 00 84 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 56 [09:38:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:38:33]wFMCommunicate OK [09:38:33]CreateOFDProtocolMessage done [09:38:33]OFDSenderStorePacket 32627 [09:38:33]StoreOFDPacket docnum=32627 [09:38:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 3F 01 00 00 AD 5F 37 01 5E 0F 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B8 24 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 98 49 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 73 7F 00 00 35 04 06 00 36 B1 E4 8D 69 51 12 D5 A2 4F 9C 1B 6E F5 [09:38:33]CheckFolder [09:38:33]dirname=/storage/ofd_packets [09:38:33]CheckFolder done [09:38:33]ProducePacketName [09:38:33]name=ofd_packets/00032627 [09:38:33]NVStorageSaveData ofd_packets/00032627 [09:38:33]File name is /storage/ofd_packets/00032627 [09:38:33]Write 349 bytes [09:38:33]NVStorageSaveData done [09:38:33]OFDSenderStorePacket done [09:38:33]KKMCreateOFDPacket done [09:38:33]NVStorageSaveData kkm_last_timestamp [09:38:33]File name is /storage/kkm_last_timestamp [09:38:33]Write 4 bytes [09:38:33]NVStorageSaveData done [09:38:33]ExternCall_PrintAddStr [09:38:33]wPrintStart [09:38:33]Write to MH i2c: 01 00 00 85 02 87 [09:38:33]Write i2c OK [09:38:33]MH_I2C_Read... [09:38:33]Read from MH i2c: 01 [09:38:33]MH_I2C_Read... [09:38:33]Read from MH i2c: 01 07 00 [09:38:33]MH_I2C_Read... [09:38:33]Read from MH i2c: 01 07 00 85 02 00 00 00 00 00 FF 0F 9C [09:38:33]RasterBufferAndPrint [09:38:33]line Счет N : (3)130838 [09:38:33]line ИНН: 02508201610067 [09:38:33]line Контрольно-Кассовый Чек [09:38:33]line ПРОДАЖА [09:38:33]line Товар: 4700000480364 [09:38:33]line Напиток энерг Nitro экзотик 0.45 ж/б [09:38:33]line 1.000 * 94.00 [09:38:33]line = 94.00 [09:38:33]line НДС 12% НСП 1% [09:38:33]line > о реализуемом товаре [09:38:33]line ИТОГО: 94.00 [09:38:33]line НСП 1% : 0.83 [09:38:33]line НДС 12% : 9.98 [09:38:33]line Наличными: 0.00 [09:38:33]line Безнал.: 94.00 [09:38:33]line Место: АЗС № 96 "Партнер Нефть" [09:38:33]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [09:38:33]line СНО: Общий режим [09:38:33]line Чек 15 21.02.2025 09:38 [09:38:33]line Смена: 386 ФФД: 1.0 [09:38:33]line ЗНМ: 0300000059 [09:38:33]line РНМ: 0000000000146237 [09:38:33]line Версия ККМ: v1.0 [09:38:33]line Платежная система: Бакай Банк [09:38:33]line ФМ: 0000000000959282 [09:38:33]line ФД: 32627 [09:38:33]line ФПД: 60137671584081 [09:38:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T093832&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32627&fm=60137671584081&tin=02508201610067®Number=0000000000146237&sum=9400 [09:38:33]line 0 [09:38:33]OFD Sender: Processing packet 32627 [packets to send 105, broken 104] [09:38:33]ProducePacketName [09:38:33]name=ofd_packets/00032627 [09:38:33]OFD Sender: To server: pG, [09:38:33]CommunicateWithHost lk.salyk.kg:30040 [09:38:33]ConnectInit lk.salyk.kg [09:38:33]written 0, free lines is 4095 [09:38:34]Connected sock=10 [09:38: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 32 38 32 3F 01 00 00 AD 5F 37 01 5E 0F 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B8 24 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 98 49 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 73 7F 00 00 35 04 06 00 36 B1 E4 8D 69 51 12 D5 A2 4F 9C 1B 6E F5 [09:38:34]Write to MH i2c: 01 00 00 B0 02 B2 [09:38:34]Write i2c OK [09:38:34]MH_I2C_Read... [09:38:34]Read from MH i2c: 01 [09:38:34]MH_I2C_Read... [09:38:34]Read from MH i2c: 01 07 00 [09:38:34]MH_I2C_Read... [09:38:34]Read from MH i2c: 01 07 00 B0 02 00 00 00 00 00 DA 0C 9F [09:38:34]RasterBufferAndPrint [09:38:34]line [09:38:34]line [09:38:34]line [09:38:34]line [09:38:34]line [09:38:34]written 0, free lines is 3296 [09:38:34]MH_Cut [09:38:34]Write to MH i2c: D1 01 00 B7 02 01 8B [09:38:34]Write i2c OK [09:38:34]MH_I2C_Read... [09:38:34]Read from MH i2c: D1 [09:38:34]MH_I2C_Read... [09:38:34]Read from MH i2c: D1 01 00 [09:38:34]MH_I2C_Read... [09:38:34]Read from MH i2c: D1 01 00 B7 02 00 8A [09:38:34]Write to MH i2c: 01 00 00 B8 02 BA [09:38:34]Write i2c OK [09:38:34]MH_I2C_Read... [09:38:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 0E 7D 47 00 48 DC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 73 7F 00 00 F4 03 04 00 2F F3 B7 67 B6 04 01 00 00 94 98 E9 DA 31 17 04 C5 [09:38:34]CommunicateWithHost err = 0 [09:38:34]CheckOFDResponse [09:38:34]1017 (14) - 77093643461234 [09:38:34]1041 (16) - 0000000000959282 [09:38:34]1040 (4) - 32627 [09:38:34]1012 (4) - 21.02.2025 03:29 [09:38:34]1206 (1) - 0 [09:38:34]OFD Sender: Remove packet 32627 [09:38:34]ProducePacketName [09:38:34]name=ofd_packets/00032627 [09:38:34]NVStorageDeleteData [09:38:34]*** Cut start [09:38:34]*** Partial cut [09:38:34]*** CUTSNS_PIN = 1 [09:38:34]*** CUTSNS_PIN = 0 [09:38:34]OFD Sender: No OFD packet to send [09:38:35]*** Brake cut motor [09:38:35]Read from MH i2c: 01 [09:38:35]MH_I2C_Read... [09:38:35]*** Stop cut motor [09:38:35]*** Cut end [09:38:35]Read from MH i2c: 01 07 00 [09:38:35]MH_I2C_Read... [09:38:35]Read from MH i2c: 01 07 00 B8 02 00 00 00 00 00 FF 0F CF [09:38:35]process_action close_receipt done [09:38:35]requested_data is exist [09:38:35]produce_requested_data [09:38:35]requested_item fm.sn is exist - process it [09:38:35]wFMCommunicate request_size=4 [09:38:35]MH_SAM_APDU [09:38:35]CAPDU: 80 11 00 00 [09:38:35]Write to MH i2c: E2 08 00 B9 02 80 11 00 00 00 00 00 00 35 [09:38:35]Write i2c OK [09:38:35]MH_I2C_Read... [09:38:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:38:35]Read from MH i2c: E2 [09:38:35]MH_I2C_Read... [09:38:35]Read from MH i2c: E2 17 00 [09:38:35]MH_I2C_Read... [09:38:35]Read from MH i2c: E2 17 00 B9 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 8B [09:38:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:38:35]wFMCommunicate OK [09:38:35]requested_item fd.num is exist - process it [09:38:35]SAM_PROTO_GetFieldsCounters [09:38:35]wFMCommunicate request_size=4 [09:38:35]MH_SAM_APDU [09:38:35]CAPDU: 80 13 00 00 [09:38:35]Write to MH i2c: E2 08 00 BA 02 80 13 00 00 00 00 00 00 38 [09:38:35]Write i2c OK [09:38:35]MH_I2C_Read... [09:38:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:38:35]Read from MH i2c: E2 [09:38:35]MH_I2C_Read... [09:38:35]Read from MH i2c: E2 62 00 [09:38:35]MH_I2C_Read... [09:38:35]Read from MH i2c: E2 62 00 BA 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 73 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 FC [09:38: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 73 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:38:35]wFMCommunicate OK [09:38:35]SAM_PROTO_GetFieldsCounters done [09:38:35]requested_item shift.num is exist - process it [09:38:35]requested_item shift.opened is exist - process it [09:38:35]req_shift_opened [09:38:35]FM_GetShiftState [09:38:35]SAM_PROTO_GetShiftState [09:38:35]wFMCommunicate request_size=4 [09:38:35]MH_SAM_APDU [09:38:35]CAPDU: 80 13 01 00 [09:38:35]Write to MH i2c: E2 08 00 BB 02 80 13 01 00 00 00 00 00 3A [09:38:35]Write i2c OK [09:38:35]MH_I2C_Read... [09:38:35]Read from MH i2c: E2 [09:38:35]MH_I2C_Read... [09:38:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:38:35]Read from MH i2c: E2 0E 00 [09:38:35]MH_I2C_Read... [09:38:35]Read from MH i2c: E2 0E 00 BB 02 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 9F [09:38:35]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [09:38:35]wFMCommunicate OK [09:38:35]SAM_PROTO_GetShiftState done [09:38:35]FM_GetShiftState done [09:38:35]req_shift_opened done [09:38:35]requested_item shift.open_date is exist - process it [09:38:35]req_shift_open_date [09:38:35]req_shift_open_date done [09:38:35]produce_requested_data done [09:38:35]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32627,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [09:38:35]process_action_free close_receipt [09:38:35]json_value_free [09:38:35]json_value_free done [09:38:35]process_json_proto returns [09:38:35]Send response to host [09:38:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32627,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [09:38:35]free response buf [09:38:35]execute_script done [09:38:35]execute_script returns [09:38:35]free content buf [09:38:35]Sock 8.Close socket [09:38:35]Sock 8.Thread stoped [09:38:39]OFD Sender: No OFD packet to send [09:38:44]OFD Sender: No OFD packet to send [09:38:49]OFD Sender: No OFD packet to send [09:38:54]OFD Sender: No OFD packet to send [09:38:59]OFD Sender: No OFD packet to send [09:39:04]OFD Sender: No OFD packet to send [09:39:09]OFD Sender: No OFD packet to send [09:39:14]OFD Sender: No OFD packet to send [09:39:19]OFD Sender: No OFD packet to send [09:39:24]OFD Sender: No OFD packet to send [09:39:29]OFD Sender: No OFD packet to send [09:39:34]OFD Sender: No OFD packet to send [09:39:39]OFD Sender: No OFD packet to send [09:39:44]OFD Sender: No OFD packet to send [09:39:49]OFD Sender: No OFD packet to send [09:39:54]OFD Sender: No OFD packet to send [09:39:59]OFD Sender: No OFD packet to send [09:40:04]OFD Sender: No OFD packet to send [09:40:09]OFD Sender: No OFD packet to send [09:40:14]OFD Sender: No OFD packet to send [09:40:19]OFD Sender: No OFD packet to send [09:40:25]OFD Sender: No OFD packet to send [09:40:30]OFD Sender: No OFD packet to send [09:40:35]OFD Sender: No OFD packet to send [09:40:40]OFD Sender: No OFD packet to send [09:40:45]OFD Sender: No OFD packet to send [09:40:50]OFD Sender: No OFD packet to send [09:40:55]OFD Sender: No OFD packet to send [09:41:00]OFD Sender: No OFD packet to send [09:41:05]OFD Sender: No OFD packet to send [09:41:10]OFD Sender: No OFD packet to send [09:41:15]OFD Sender: No OFD packet to send [09:41:20]OFD Sender: No OFD packet to send [09:41:25]OFD Sender: No OFD packet to send [09:41:30]OFD Sender: No OFD packet to send [09:41:35]OFD Sender: No OFD packet to send [09:41:40]OFD Sender: No OFD packet to send [09:41:45]OFD Sender: No OFD packet to send [09:41:50]OFD Sender: No OFD packet to send [09:41:55]OFD Sender: No OFD packet to send [09:42:00]OFD Sender: No OFD packet to send [09:42:05]OFD Sender: No OFD packet to send [09:42:10]OFD Sender: No OFD packet to send [09:42:15]OFD Sender: No OFD packet to send [09:42:20]OFD Sender: No OFD packet to send [09:42:25]OFD Sender: No OFD packet to send [09:42:30]OFD Sender: No OFD packet to send [09:42:35]OFD Sender: No OFD packet to send [09:42:40]OFD Sender: No OFD packet to send [09:42:45]OFD Sender: No OFD packet to send [09:42:50]OFD Sender: No OFD packet to send [09:42:55]OFD Sender: No OFD packet to send [09:43:00]OFD Sender: No OFD packet to send [09:43:05]OFD Sender: No OFD packet to send [09:43:10]OFD Sender: No OFD packet to send [09:43:15]OFD Sender: No OFD packet to send [09:43:20]OFD Sender: No OFD packet to send [09:43:25]OFD Sender: No OFD packet to send [09:43:30]OFD Sender: No OFD packet to send [09:43:35]OFD Sender: No OFD packet to send [09:43:40]OFD Sender: No OFD packet to send [09:43:45]OFD Sender: No OFD packet to send [09:43:50]OFD Sender: No OFD packet to send [09:43:55]OFD Sender: No OFD packet to send [09:44:00]OFD Sender: No OFD packet to send [09:44:05]OFD Sender: No OFD packet to send [09:44:10]OFD Sender: No OFD packet to send [09:44:15]OFD Sender: No OFD packet to send [09:44:20]OFD Sender: No OFD packet to send [09:44:25]OFD Sender: No OFD packet to send [09:44:30]OFD Sender: No OFD packet to send [09:44:35]OFD Sender: No OFD packet to send [09:44:40]OFD Sender: No OFD packet to send [09:44:45]OFD Sender: No OFD packet to send [09:44:50]OFD Sender: No OFD packet to send [09:44:55]OFD Sender: No OFD packet to send [09:45:00]OFD Sender: No OFD packet to send [09:45:05]OFD Sender: No OFD packet to send [09:45:05]accept exits with 9 [09:45:05]New connection [09:45:05]New thread 3066740068 created [09:45:05]Thread 3066883428 joined [09:45:05]Waiting for new connection... [09:45:05] Sock 9.Parse request [09:45:05]Sock 9.Check first char [09:45:05]Sock 9.First char is OK [09:45:05]request: POST /json_proto HTTP/1.0 [09:45:05]Method: POST [09:45:05]URL: /json_proto [09:45:05]Method is POST - this is cgi request [09:45:05]url: /json_proto [09:45:05]query_string will be loaded in cgi processing [09:45:05]execute_cgi json_proto POST (null) [09:45:05]execute_cgi path=json_proto method=POST [09:45:05]POST find Content-Length [09:45:05]Host: 172.17.47.135:8080 [09:45:05]Content-Length: 796 [09:45:05]Content-Type: application/json [09:45:05] [09:45:05]POST finish read [09:45:05]Found Content-Length = 796 [09:45:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130839", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:45:05]execute_script... [09:45:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130839", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:45:05]POST & json_proto [09:45:05]process_json_proto [09:45:05]json parsed OK: [09:45:05]protocol is kg_v1.0 [09:45:05]action value=close_receipt [09:45:05]process_action close_receipt [09:45:05]cmd_close_receipt [09:45:05]MH_GetDate [09:45:05]Write to MH i2c: F0 00 00 BC 02 AD [09:45:05]Write i2c OK [09:45:05]MH_I2C_Read... [09:45:05]Read from MH i2c: F0 [09:45:05]MH_I2C_Read... [09:45:05]Read from MH i2c: F0 09 00 [09:45:05]MH_I2C_Read... [09:45:05]Read from MH i2c: F0 09 00 BC 02 00 22 4B B8 67 19 D8 DE 66 77 [09:45:05]GetLastDocTimeStamp 1740130712 [09:45:05]current date 1740131106 [09:45:05]FM_GetShiftState [09:45:05]SAM_PROTO_GetShiftState [09:45:05]wFMCommunicate request_size=4 [09:45:05]MH_SAM_APDU [09:45:05]CAPDU: 80 13 01 00 [09:45:05]Write to MH i2c: E2 08 00 BD 02 80 13 01 00 00 00 00 00 3C [09:45:05]Write i2c OK [09:45:05]MH_I2C_Read... [09:45:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:45:05]Read from MH i2c: E2 [09:45:05]MH_I2C_Read... [09:45:05]Read from MH i2c: E2 0E 00 [09:45:05]MH_I2C_Read... [09:45:05]Read from MH i2c: E2 0E 00 BD 02 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 A1 [09:45:05]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [09:45:05]wFMCommunicate OK [09:45:05]SAM_PROTO_GetShiftState done [09:45:05]FM_GetShiftState done [09:45:05]opened in 1740096631 [09:45:05]opened+sec_in_day 1740183031 [09:45:05]quantity*price = 15100 [09:45:05]sum+1 = 15101 [09:45:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 151.00 НСП 1% : 1.34 НДС 12% : 16.03 Наличными: 0.00 Безнал.: 151.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 16 21.02.2025 09:45 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32628 ФПД: 83562474738242 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T094506&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32628&fm=83562474738242&tin=02508201610067®Number=0000000000146237&sum=15100 0 [09:45:06]StoreToDocumentArchive [09:45:06]shift 386 fd 32628 [09:45:06]save to /storage/0386/doc_00032628 [09:45:06]save last doc name /storage/0386/doc_00032628 to /storage/kkm_last_doc_name [09:45:06]save OK [09:45:06]Clear old archive folders... [09:45:06]ProcessDocumentItem done err = 0, tmpTLVsize=271 [09:45:06]tlvbuf is 003FEDF0 [09:45:06]SAM_PROTO_ClearQueue [09:45:06]wFMCommunicate request_size=4 [09:45:06]MH_SAM_APDU [09:45:06]CAPDU: 80 09 00 00 [09:45:06]Write to MH i2c: E2 08 00 CA 02 80 09 00 00 00 00 00 00 3E [09:45:06]Write i2c OK [09:45:06]MH_I2C_Read... [09:45:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:45:06]Read from MH i2c: E2 [09:45:06]MH_I2C_Read... [09:45:06]Read from MH i2c: E2 03 00 [09:45:06]MH_I2C_Read... [09:45:06]Read from MH i2c: E2 03 00 CA 02 00 90 00 40 [09:45:06]RAPDU: 90 00 [09:45:06]wFMCommunicate OK [09:45:06]SAM_PROTO_ClearQueue done [09:45:06]KKMCreateOFDPacket [09:45:06]OFDProtocolAddRootSTLVToBuf [09:45:06]FM_MakeSignedData [09:45:06]FM_MakeSignedData [09:45:06]SAM_PROTO_SignData [09:45:06]wFMCommunicate request_size=4 [09:45:06]MH_SAM_APDU [09:45:06]CAPDU: 80 0D 01 02 [09:45:06]Write to MH i2c: E2 08 00 CB 02 80 0D 01 02 00 00 00 00 46 [09:45:06]Write i2c OK [09:45:06]MH_I2C_Read... [09:45:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:45:06]Read from MH i2c: E2 [09:45:06]MH_I2C_Read... [09:45:06]Read from MH i2c: E2 03 00 [09:45:06]MH_I2C_Read... [09:45:06]Read from MH i2c: E2 03 00 CB 02 00 90 00 41 [09:45:06]RAPDU: 90 00 [09:45:06]wFMCommunicate OK [09:45:06]wFMCommunicate request_size=255 [09:45:06]MH_SAM_APDU [09:45:06]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 22 4B B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 [09:45:06]Write to MH i2c: E2 02 01 CC 02 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 FC 3A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 22 4B B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 A6 [09:45:06]Write i2c OK [09:45:06]MH_I2C_Read... [09:45:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:45:07]Read from MH i2c: E2 [09:45:07]MH_I2C_Read... [09:45:07]Read from MH i2c: E2 03 00 [09:45:07]MH_I2C_Read... [09:45:07]Read from MH i2c: E2 03 00 CC 02 00 90 00 42 [09:45:07]RAPDU: 90 00 [09:45:07]wFMCommunicate OK [09:45:07]wFMCommunicate request_size=30 [09:45:07]MH_SAM_APDU [09:45:07]CAPDU: 80 0D 02 02 19 30 39 35 39 32 38 32 10 04 04 00 74 7F 00 00 35 04 06 00 4B FF E7 9F 92 42 [09:45:07]Write to MH i2c: E2 21 00 CD 02 80 0D 02 02 19 00 30 39 35 39 32 38 32 10 04 04 00 74 7F 00 00 35 04 06 00 4B FF E7 9F 92 42 00 00 DC [09:45:07]Write i2c OK [09:45:07]MH_I2C_Read... [09:45:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:45:07]Read from MH i2c: E2 [09:45:07]MH_I2C_Read... [09:45:07]Read from MH i2c: E2 03 00 [09:45:07]MH_I2C_Read... [09:45:07]Read from MH i2c: E2 03 00 CD 02 00 90 00 43 [09:45:07]RAPDU: 90 00 [09:45:07]wFMCommunicate OK [09:45:07]wFMCommunicate request_size=4 [09:45:07]MH_SAM_APDU [09:45:07]CAPDU: 80 0D 03 02 [09:45:07]Write to MH i2c: E2 08 00 CE 02 80 0D 03 02 00 00 00 00 4B [09:45:07]Write i2c OK [09:45:07]MH_I2C_Read... [09:45:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:45:07]Read from MH i2c: E2 [09:45:07]MH_I2C_Read... [09:45:07]Read from MH i2c: E2 0B 00 [09:45:07]MH_I2C_Read... [09:45:07]Read from MH i2c: E2 0B 00 CE 02 00 7B FF AE 02 3F D1 99 15 90 00 34 [09:45:07]RAPDU: 7B FF AE 02 3F D1 99 15 90 00 [09:45:07]wFMCommunicate OK [09:45:07]SAM_PROTO_SignData done [09:45:07]FM_MakeSignedData done [09:45:07]CreateOFDProtocolMessage [09:45:07]wFMCommunicate request_size=4 [09:45:07]MH_SAM_APDU [09:45:07]CAPDU: 80 11 00 00 [09:45:07]Write to MH i2c: E2 08 00 CF 02 80 11 00 00 00 00 00 00 4B [09:45:07]Write i2c OK [09:45:07]MH_I2C_Read... [09:45:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:45:07]Read from MH i2c: E2 [09:45:07]MH_I2C_Read... [09:45:07]Read from MH i2c: E2 17 00 [09:45:07]MH_I2C_Read... [09:45:07]Read from MH i2c: E2 17 00 CF 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 A1 [09:45:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:45:07]wFMCommunicate OK [09:45:07]CreateOFDProtocolMessage done [00:00:09] *** EcrCore started. Build 196 *** [00:00:09]/dev/ttyS4 opened [00:00:09]MH_InterfaceInit /dev/i2c-1 [00:00:09]Malloc ok [00:00:09]MH_GetMetrics [00:00:09]Write to MH i2c: 00 00 00 01 00 00 [00:00:09]Write i2c OK [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 00 29 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 6E FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 13 [00:00:09]Are we in boot? [00:00:09]We are in boot - try to switch [00:00:09]Write to MH i2c: A0 00 00 02 00 A1 [00:00:09]Write i2c OK [00:00:09]MH_I2C_Read... [00:00:09]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:09]*** [00:00:09]Read from MH i2c: A0 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: A0 01 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:09]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:09]*** Waiting for read because exit forced [00:00:09]*** 10 ms more... [00:00:10]*** MH1903S init start (LINUX_LIGHT) [00:00:10]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:10]*** Serial: 3139303353513838 540000000057256E (1903SQ88T) [00:00:10]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:10]*** step 0: 5000 (2650, 2350 REF) [00:00:10]*** step 1: 4835 (2500, 2335 R676 (2440, 2236 REF) [00:00:10]*** step 3: 4523 (2280, 2243 REF) [00:00:10]*** step 4: 4376 (2160, 2216 REF) [00:00:10]*** step 5: 4235 (2050, 2185 REF) [00:00:10]*** step 6: 4098 (1950, 2148 REF) [00:00:10]*** step 7: 3967 (1870, 2097 REF) [00:00:10]*** step 8: 3840 (1828, 2012 REF) [00:00:10]*** step 9: 3719 (1728, 1991 REF) [00:00:10]*** step 10: 3601 (1675, 1926 REF) [00:00:10]*** step 11: 3488 (1635, 1853 REF) [00:00:10]*** step 12: 3379 (1595, 1784 REF) [00:00:10]*** step 13: 3275 (1565, 1710 REF) [00:00:10]*** step 14: 3174 (1543, 1631 REF) [00:00:10]*** step 15: 3077 (1523, 1554 REF) [00:00:10]*** step 16: 2983 (1503, 1480 REF) [00:00:10]*** step 17: 2893 (1486, 1407 REF) [00:00:10]*** step 18: 2806 (1466, 1340 REF) [00:00:10]*** step 19: 2723 (1426, 1297 REF) [00:00:10]*** step 20: 2642 (1406, 1236 REF) [00:00:10]*** step 21: 2565 (1384, 1181 REF) [00:00:10]*** step 22: 2490 (1364, 1126 REF) [00:00:10]*** step 23: 2418 (1344, 1074 REF) [00:00:10]*** step 24: 2349 (1322, 1027 REF) [00:00:10]*** step 25: 2283 (1302, 981 REF) [00:00:10]*** step 26: 2218 (1282, 936 REF) [00:00:10]*** step 27: 2157 (1262, 895 REF) [00:00:10]*** step 28: 2097 (1242, 855 REF) [00:00:10]*** step 29: 2040 (1222, 818 REF) [00:00:10]*** step 30: 1985 (1202, 783 REF) [00:00:10]*** step 31: 1932 (1191, 741 REF) [00:00:10]*** step 32: 1880 (1181, 699 REF) [00:00:10]*** step 33: 1831 (1171, 660 REF) [00:00:10]*** step 34: 1784 (1161, 623 REF) [00:00:10]*** step 35: 1738 (1151, 587 REF) [00:00:10]*** step 36: 1694 (1141, 553 REF) [00:00:10]*** step 37: 1652 (1131, 521 REF) [00:00:10]*** step 38: 1611 (1121, 490 REF) [00:00:10]*** step 39: 1572 (1111, 461 REF) [00:00:10]*** step 40: 1534 (1103, 431 REF) [00:00:10]*** step 41: 1497 (1093, 404 REF) [00:00:10]*** step 42: 1462 (1083, 379 REF) [00:00:10]*** step 43: 1428 (1073, 355 REF) [00:00:10]*** step 44: 1396 (1063, 333 REF) [00:00:10]*** step 45: 1365 (1053, 312 REF) [00:00:10]*** step 46: 1334 (1043, 291 REF) [00:00:10]*** step 47: 1305 (1033, 272 REF) [00:00:10]*** step 48: 1277 (1023, 254 REF) [00:00:10]*** step 49: 1250 (1013, 237 REF) [00:00:10]*** step 50: 1224 (990, 234 REF) [00:00:10]*** step 51: 1199 (980, 219 REF) [00:00:10]*** step 52: 1175 (970, 205 REF) [00:00:10]*** step 53: 1152 (960, 192 REF) [00:00:10]*** step 54: 1130 (950, 180 REF) [00:00:10]*** step 55: 1108 (940, 168 REF) [00:00:10]*** step 56: 1088 (930, 158 REF) [00:00:10]*** step 57: 1068 (920, 148 REF) [00:00:10]*** step 58: 1049 (910, 139 REF) [00:00:10]*** step 59: 1030 (900, 130 REF) [00:00:10]*** step 60: 1012 (890, 122 REF) [00:00:10]*** step 61: 995 (880, 115 REF) [00:00:10]*** step 62: 979 (870, 109 REF) [00:00:10]*** step 63: 963 (860, 103 REF) [00:00:10]*** step 64: 948 (850, 98 REF) [00:00:10]*** step 65: 933 (840, 93 REF) [00:00:10]*** step 66: 919 (830, 89 REF) [00:00:10]*** step 67: 905 (820, 85 REF) [00:00:10]*** step 68: 892 (810, 82 REF) [00:00:10]*** step 69: 879 (800, 79 REF) [00:00:10]*** step 70: 867 (790, 77 REF) [00:00:10]*** step 71: 855 (780, 75 REF) [00:00:10]*** step 72: 844 (770, 74 REF) [00:00:10]*** step 73: 833 (760, 73 REF) [00:00:10]*** step 74: 822 (750, 72 REF) [00:00:10]*** step 75: 812 (740, 72 REF) [00:00:10]*** step 76: 803 (730, 73 REF) [00:00:10]*** step 77: 793 (720, 73 REF) [00:00:10]*** step 78: 784 (710, 74 REF) [00:00:10]*** step 79: 776 (700, 76 REF) [00:00:10]*** step 80: 767 (690, 77 REF) [00:00:10]*** step 81: 759 (680, 79 REF) [00:00:10]*** step 82: 751 (670, 81 REF) [00:00:10]*** step 83: 744 (660, 84 REF) [00:00:10]*** step 84: 737 (650, 87 REF) [00:00:10]*** step 85: 730 (640, 90 REF) [00:00:10]*** step 86: 723 (630, 93 REF) [00:00:10]*** step 87: 717 (620, 97 REF) [00:00:10]*** step 88: 710 (610, 100 REF) [00:00:10]*** step 89: 705 (600, 105 REF) [00:00:10]*** step 90: 699 [00:00:10]*** step 91: 693 [00:00:10]*** step 92: 688 [00:00:10]*** step 93: 683 [00:00:10]*** step 94: 678 [00:00:10]*** step 95: 673 [00:00:10]*** step 96: 669 [00:00:10]*** step 97: 664 [00:00:10]*** step 98: 660 [00:00:10]*** step 99: 656 [00:00:10]*** step 100: 652 [00:00:10]*** step 101: 648 [00:00:10]*** step 102: 644 [00:00:10]*** step 103: 641 [00:00:10]*** step 104: 638 [00:00:10]*** step 105: 634 [00:00:10]*** step 106: 631 [00:00:10]*** step 107: 628 [00:00:10]*** step 108: 625 [00:00:10]*** step 109: 622 [00:00:10]*** step 110: 620 [00:00:10]*** step 111: 617 [00:00:10]*** step 112: 615 [00:00:10]*** step 113: 612 [00:00:10]*** step 114: 610 [00:00:10]*** step 115: 608 [00:00:10]*** step 116: 605 [00:00:10]*** step 117: 603 [00:00:10]*** step 118: 601 [00:00:10]*** step 119: 599 [00:00:10]*** printer: Printer HW initialized [00:00:10]*** initSamCard finished [00:00:10]*** RTC: 14250785+1725880345=1740131130 [00:00:10]*** BPK Status Register BPK_RDY = 0x0 [00:00:10]*** SEN State Register SEN_STATE = 0x20ff [00:00:10]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:10]*** Analog Control Register 0 SEN_ANA0 = 0x33550624 [00:00:10]*** Is cutter blocked? [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 03 00 02 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 03 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 6E FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 14 [00:00:10]Are we in boot? [00:00:10]We are not in boot now [00:00:10]Write to MH i2c: 01 00 00 04 00 04 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 01 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 01 07 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:10]Model is 3 [00:00:10]MH firmware is 30620 [00:00:10]MH boot firmware is 3 [00:00:10]MH_SetPrinterDots 448 [00:00:10]HeadWidthInBytes 56 [00:00:10]maxmasksize 7 [00:00:10]Write to MH i2c: D6 06 00 05 00 41 00 60 00 FF FF 7F [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D6 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D6 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:10]Write to MH i2c: D5 00 00 06 00 DA [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D5 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D5 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]ExternCall_SetCallbacks [00:00:11]NVStorageInit [00:00:11]MH_GetDate [00:00:11]Write to MH i2c: F0 00 00 07 00 F6 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 07 00 00 3A 4B B8 67 19 D8 DE 66 D8 [09:45:30]Current date/time: 21.02.2025 09:45 [09:45:30]FM_Init [09:45:30]wFMConnect [09:45:30]MH_SAM_On [09:45:30]Write to MH i2c: E0 00 00 08 00 E7 [09:45:30]Write i2c OK [09:45:30]MH_I2C_Read... [09:45:30]*** iso7816_init finished! [09:45:30]*** atr: [09:45:30]*** 0F 3B D5 18 FF 81 91 FE [09:45:30]*** 1F C3 80 73 C8 21 10 0A [09:45:30]*** 00 00 00 00 00 00 00 00 [09:45:30]*** 00 00 00 00 00 00 00 00 [09:45:30]*** 00 00 00 00 00 00 00 00 [09:45:30]*** 00 00 00 00 00 00 00 00 [09:45:30]*** 00 00 00 00 00 00 00 00 [09:45:30]*** 00 00 00 00 00 00 00 00 [09:45:30]Read from MH i2c: E0 [09:45:30]MH_I2C_Read... [09:45:30]Read from MH i2c: E0 10 00 [09:45:30]MH_I2C_Read... [09:45:30]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [09:45:30]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [09:45:30]wFMCommunicate request_size=10 [09:45:30]MH_SAM_APDU [09:45:30]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [09:45:30]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [09:45:30]Write i2c OK [09:45:30]MH_I2C_Read... [09:45:30]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [09:45:30]Read from MH i2c: E2 [09:45:30]MH_I2C_Read... [09:45:30]Read from MH i2c: E2 03 00 [09:45:30]MH_I2C_Read... [09:45:30]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [09:45:30]RAPDU: 90 00 [09:45:30]wFMCommunicate OK [09:45:30]wFMCommunicate request_size=4 [09:45:30]MH_SAM_APDU [09:45:30]CAPDU: 80 11 00 00 [09:45:30]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [09:45:30]Write i2c OK [09:45:30]MH_I2C_Read... [09:45:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:45:30]Read from MH i2c: E2 [09:45:30]MH_I2C_Read... [09:45:30]Read from MH i2c: E2 17 00 [09:45:30]MH_I2C_Read... [09:45:30]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 DA [09:45:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:45:30]wFMCommunicate OK [09:45:30]Detected FM SN is 0000000000959282 [09:45:30]Stored FM SN is 0000000000959282 [09:45:30]wFMCommunicate request_size=9 [09:45:30]MH_SAM_APDU [09:45:30]CAPDU: 80 16 00 00 04 04 F4 00 00 [09:45:30]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 04 F4 00 00 00 00 8A [09:45:30]Write i2c OK [09:45:30]MH_I2C_Read... [09:45:30]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [09:45:30]Read from MH i2c: E2 [09:45:30]MH_I2C_Read... [09:45:30]Read from MH i2c: E2 03 00 [09:45:30]MH_I2C_Read... [09:45:30]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [09:45:30]RAPDU: 90 00 [09:45:30]wFMCommunicate OK [09:45:30]FM PIN OK [09:45:30]wFMCommunicate request_size=8 [09:45:30]MH_SAM_APDU [09:45:30]CAPDU: 80 14 04 00 03 02 00 01 [09:45:30]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [09:45:30]Write i2c OK [09:45:30]MH_I2C_Read... [09:45:30]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [09:45:30]Read from MH i2c: E2 [09:45:30]MH_I2C_Read... [09:45:30]Read from MH i2c: E2 03 00 [09:45:30]MH_I2C_Read... [09:45:30]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [09:45:30]RAPDU: 90 00 [09:45:30]wFMCommunicate OK [09:45:30]wFMCommunicate request_size=13 [09:45:30]MH_SAM_APDU [09:45:30]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [09:45:30]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [09:45:30]Write i2c OK [09:45:30]MH_I2C_Read... [09:45:30]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [09:45:30]Read from MH i2c: E2 [09:45:30]MH_I2C_Read... [09:45:30]Read from MH i2c: E2 03 00 [09:45:30]MH_I2C_Read... [09:45:30]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [09:45:30]RAPDU: 90 00 [09:45:30]wFMCommunicate OK [09:45:30]wFMCommunicate request_size=4 [09:45:30]MH_SAM_APDU [09:45:30]CAPDU: 80 11 00 00 [09:45:30]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [09:45:30]Write i2c OK [09:45:30]MH_I2C_Read... [09:45:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:45:30]Read from MH i2c: E2 [09:45:30]MH_I2C_Read... [09:45:30]Read from MH i2c: E2 17 00 [09:45:30]MH_I2C_Read... [09:45:30]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 DE [09:45:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:45:30]wFMCommunicate OK [09:45:30]DocumentArchiveInit [09:45:30]Start Httpd... [09:45:30]Httpd thread 3067768164 created [09:45:30]Write to MH i2c: 01 00 00 0F 00 0F [09:45:30]Write i2c OK [09:45:30]MH_I2C_Read... [09:45:30]Read from MH i2c: 01 [09:45:30]MH_I2C_Read... [09:45:30]Read from MH i2c: 01 07 00 [09:45:30]MH_I2C_Read... [09:45:30]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [09:45:30]MH Int Process started [09:45:30]Allocated Socket 8 [09:45:30]Bind OK [09:45:30]Listen OK [09:45:30]httpd running on port 8080 [09:45:30]Waiting for new connection... [09:45:30]OFD Sender: No OFD packet to send [09:45:31]accept exits with 9 [09:45:31]New connection [09:45:31]New thread 3067481444 created [09:45:31]Waiting for new connection... [09:45:31] Sock 9.Parse request [09:45:31]Sock 9.Check first char [09:45:31]Sock 9.First char is OK [09:45:31]request: POST /json_proto HTTP/1.0 [09:45:31]Method: POST [09:45:31]URL: /json_proto [09:45:31]Method is POST - this is cgi request [09:45:31]url: /json_proto [09:45:31]query_string will be loaded in cgi processing [09:45:31]execute_cgi json_proto POST (null) [09:45:31]execute_cgi path=json_proto method=POST [09:45:31]POST find Content-Length [09:45:31]Host: 172.17.47.135:8080 [09:45:31]Content-Length: 215 [09:45:31]Content-Type: application/json [09:45:31] [09:45:31]POST finish read [09:45:31]Found Content-Length = 215 [09:45:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:45:31]execute_script... [09:45:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:45:31]POST & json_proto [09:45:31]process_json_proto [09:45:31]json parsed OK: [09:45:31]protocol is kg_v1.0 [09:45:31]action value=get_value [09:45:31]process_action get_value [09:45:31]cmd_get_value [09:45:31]process_action get_value done [09:45:31]requested_data is exist [09:45:31]produce_requested_data [09:45:31]requested_item kkm.sn is exist - process it [09:45:31]requested_item kkm.ver is exist - process it [09:45:31]requested_item fm.sn is exist - process it [09:45:31]wFMCommunicate request_size=4 [09:45:31]MH_SAM_APDU [09:45:31]CAPDU: 80 11 00 00 [09:45:31]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [09:45:31]Write i2c OK [09:45:31]MH_I2C_Read... [09:45:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:45:31]Read from MH i2c: E2 [09:45:31]MH_I2C_Read... [09:45:31]Read from MH i2c: E2 17 00 [09:45:31]MH_I2C_Read... [09:45:31]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 E0 [09:45:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [09:45:31]wFMCommunicate OK [09:45:31]requested_item fd.num is exist - process it [09:45:31]SAM_PROTO_GetFieldsCounters [09:45:31]wFMCommunicate request_size=4 [09:45:31]MH_SAM_APDU [09:45:31]CAPDU: 80 13 00 00 [09:45:31]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [09:45:31]Write i2c OK [09:45:31]MH_I2C_Read... [09:45:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:45:31]Read from MH i2c: E2 [09:45:31]MH_I2C_Read... [09:45:31]Read from MH i2c: E2 62 00 [09:45:31]MH_I2C_Read... [09:45:31]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 74 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 55 [09:45:31]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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 74 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:45:31]wFMCommunicate OK [09:45:31]SAM_PROTO_GetFieldsCounters done [09:45:31]requested_item shift.num is exist - process it [09:45:31]requested_item shift.opened is exist - process it [09:45:31]req_shift_opened [09:45:31]FM_GetShiftState [09:45:31]SAM_PROTO_GetShiftState [09:45:31]wFMCommunicate request_size=4 [09:45:31]MH_SAM_APDU [09:45:31]CAPDU: 80 13 01 00 [09:45:31]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [09:45:31]Write i2c OK [09:45:31]MH_I2C_Read... [09:45:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:45:31]Read from MH i2c: E2 [09:45:31]MH_I2C_Read... [09:45:31]Read from MH i2c: E2 0E 00 [09:45:31]MH_I2C_Read... [09:45:31]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 F4 [09:45:31]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [09:45:31]wFMCommunicate OK [09:45:31]SAM_PROTO_GetShiftState done [09:45:31]FM_GetShiftState done [09:45:31]req_shift_opened done [09:45:31]requested_item shift.open_date is exist - process it [09:45:31]req_shift_open_date [09:45:31]req_shift_open_date done [09:45:31]produce_requested_data done [09:45:31]produce_requested_data return {"kkm.sn":"0300000059","kkm.ver":"v1.0","fm.sn":"0000000000959282","fd.num":32628,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [09:45:31]process_action_free get_value [09:45:31]json_value_free [09:45:31]json_value_free done [09:45:31]process_json_proto returns [09:45:31]Send response to host [09:45:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000059","kkm.ver":"v1.0","fm.sn":"0000000000959282","fd.num":32628,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [09:45:31]free response buf [09:45:31]execute_script done [09:45:31]execute_script returns [09:45:31]free content buf [09:45:31]Sock 9.Close socket [09:45:31]Sock 9.Thread stoped [09:45:31]accept exits with 6 [09:45:31]New connection [09:45:31]New thread 3067338084 created [09:45:31]Thread 3067481444 joined [09:45:31]Waiting for new connection... [09:45:31] Sock 6.Parse request [09:45:31]Sock 6.Check first char [09:45:31]Sock 6.First char is OK [09:45:31]request: POST /json_proto HTTP/1.0 [09:45:31]Method: POST [09:45:31]URL: /json_proto [09:45:31]Method is POST - this is cgi request [09:45:31]url: /json_proto [09:45:31]query_string will be loaded in cgi processing [09:45:31]execute_cgi json_proto POST (null) [09:45:31]execute_cgi path=json_proto method=POST [09:45:31]POST find Content-Length [09:45:31]Host: 172.17.47.135:8080 [09:45:31]Content-Length: 331 [09:45:31]Content-Type: application/json [09:45:31] [09:45:31]POST finish read [09:45:31]Found Content-Length = 331 [09:45:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [09:45:31]execute_script... [09:45:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [09:45:31]POST & json_proto [09:45:31]process_json_proto [09:45:31]json parsed OK: [09:45:31]protocol is kg_v1.0 [09:45:31]action value=get_value [09:45:31]process_action get_value [09:45:32]cmd_get_value [09:45:32]process_action get_value done [09:45:32]requested_data is exist [09:45:32]produce_requested_data [09:45:32]requested_item fm.sale.total is exist - process it [09:45:32]SAM_PROTO_GetFMData [09:45:32]wFMCommunicate request_size=4 [09:45:32]MH_SAM_APDU [09:45:32]CAPDU: 80 13 03 00 [09:45:32]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [09:45:32]Write i2c OK [09:45:32]MH_I2C_Read... [09:45:32]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [09:45:32]Read from MH i2c: E2 [09:45:32]MH_I2C_Read... [09:45:32]Read from MH i2c: E2 FD 00 [09:45:32]MH_I2C_Read... [09:45:32]Read from MH i2c: E2 FD 00 13 00 00 C4 04 85 04 C0 04 6E 04 04 00 6F 7C 00 00 69 04 A0 00 6F 04 04 00 E4 7A 00 00 B1 04 04 00 7D 60 FD 57 70 04 04 00 91 A6 17 28 72 04 04 00 EC B9 E5 2F 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 12 4B 58 09 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 B7 51 C7 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8B 01 00 00 B1 04 04 00 4C 4C 33 02 70 04 04 00 A0 94 14 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D6 D3 3B EF 03 09 00 90 00 EC [09:45:32]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 6F 7C 00 00 69 04 A0 00 6F 04 04 00 E4 7A 00 00 B1 04 04 00 7D 60 FD 57 70 04 04 00 91 A6 17 28 72 04 04 00 EC B9 E5 2F 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 12 4B 58 09 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 B7 51 C7 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8B 01 00 00 B1 04 04 00 4C 4C 33 02 70 04 04 00 A0 94 14 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D6 D3 3B EF 03 09 00 90 00 [09:45:32]wFMCommunicate OK [09:45:32]wFMCommunicate request_size=4 [09:45:32]MH_SAM_APDU [09:45:32]CAPDU: 80 17 00 00 [09:45:32]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [09:45:32]Write i2c OK [09:45:32]MH_I2C_Read... [09:45:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:45:32]Read from MH i2c: E2 [09:45:32]MH_I2C_Read... [09:45:32]Read from MH i2c: E2 FD 00 [09:45:32]MH_I2C_Read... [09:45:32]Read from MH i2c: E2 FD 00 14 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 25 FC 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 6F [09:45:32]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 25 FC 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [09:45:32]wFMCommunicate OK [09:45:32]wFMCommunicate request_size=4 [09:45:32]MH_SAM_APDU [09:45:32]CAPDU: 80 17 00 00 [09:45:32]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [09:45:32]Write i2c OK [09:45:32]MH_I2C_Read... [09:45:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:45:33]Read from MH i2c: E2 [09:45:33]MH_I2C_Read... [09:45:33]Read from MH i2c: E2 FD 00 [09:45:33]MH_I2C_Read... [09:45:33]Read from MH i2c: E2 FD 00 15 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 AA [09:45:33]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [09:45:33]wFMCommunicate OK [09:45:33]wFMCommunicate request_size=4 [09:45:33]MH_SAM_APDU [09:45:33]CAPDU: 80 17 00 00 [09:45:33]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [09:45:33]Write i2c OK [09:45:33]MH_I2C_Read... [09:45:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:45:33]Read from MH i2c: E2 [09:45:33]MH_I2C_Read... [09:45:33]Read from MH i2c: E2 FD 00 [09:45:33]MH_I2C_Read... [09:45:33]Read from MH i2c: E2 FD 00 16 00 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 0E [09:45:33]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [09:45:33]wFMCommunicate OK [09:45:33]wFMCommunicate request_size=4 [09:45:33]MH_SAM_APDU [09:45:33]CAPDU: 80 17 00 00 [09:45:33]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [09:45:33]Write i2c OK [09:45:33]MH_I2C_Read... [09:45:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [09:45:33]Read from MH i2c: E2 [09:45:33]MH_I2C_Read... [09:45:33]Read from MH i2c: E2 E1 00 [09:45:33]MH_I2C_Read... [09:45:33]Read from MH i2c: E2 E1 00 17 00 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [09:45:33]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:45:33]wFMCommunicate OK [09:45:33]SAM_PROTO_GetFMData done [09:45:33]requested_item fm.sale_refund.total is exist - process it [09:45:33]requested_item fm.buy.total is exist - process it [09:45:33]requested_item shift.sale.total is exist - process it [09:45:33]SAM_PROTO_GetShiftData [09:45:33]wFMCommunicate request_size=4 [09:45:33]MH_SAM_APDU [09:45:33]CAPDU: 80 13 02 00 [09:45:33]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [09:45:33]Write i2c OK [09:45:33]MH_I2C_Read... [09:45:34]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:45:34]Read from MH i2c: E2 [09:45:34]MH_I2C_Read... [09:45:34]Read from MH i2c: E2 FD 00 [09:45:34]MH_I2C_Read... [09:45:34]Read from MH i2c: E2 FD 00 18 00 00 AD 04 AA 04 A9 04 6E 04 04 00 10 00 00 00 69 04 9A 00 6F 04 04 00 10 00 00 00 B1 04 03 00 F8 BF 05 70 04 03 00 38 6A 03 72 04 03 00 C0 55 02 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 50 9C 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 07 0D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 EC [09:45:34]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 10 00 00 00 69 04 9A 00 6F 04 04 00 10 00 00 00 B1 04 03 00 F8 BF 05 70 04 03 00 38 6A 03 72 04 03 00 C0 55 02 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 50 9C 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 07 0D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [09:45:34]wFMCommunicate OK [09:45:34]wFMCommunicate request_size=4 [09:45:34]MH_SAM_APDU [09:45:34]CAPDU: 80 17 00 00 [09:45:34]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [09:45:34]Write i2c OK [09:45:34]MH_I2C_Read... [09:45:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:45:34]Read from MH i2c: E2 [09:45:34]MH_I2C_Read... [09:45:34]Read from MH i2c: E2 FD 00 [09:45:34]MH_I2C_Read... [09:45:34]Read from MH i2c: E2 FD 00 19 00 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 AB [09:45:34]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [09:45:34]wFMCommunicate OK [09:45:34]wFMCommunicate request_size=4 [09:45:34]MH_SAM_APDU [09:45:34]CAPDU: 80 17 00 00 [09:45:34]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [09:45:34]Write i2c OK [09:45:34]MH_I2C_Read... [09:45:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:45:34]Read from MH i2c: E2 [09:45:34]MH_I2C_Read... [09:45:34]Read from MH i2c: E2 FD 00 [09:45:34]MH_I2C_Read... [09:45:34]Read from MH i2c: E2 FD 00 1A 00 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 5E [09:45:34]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 90 00 [09:45:34]wFMCommunicate OK [09:45:34]wFMCommunicate request_size=4 [09:45:34]MH_SAM_APDU [09:45:34]CAPDU: 80 17 00 00 [09:45:34]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [09:45:34]Write i2c OK [09:45:34]MH_I2C_Read... [09:45:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:45:35]Read from MH i2c: E2 [09:45:35]MH_I2C_Read... [09:45:35]Read from MH i2c: E2 FD 00 [09:45:35]MH_I2C_Read... [09:45:35]Read from MH i2c: E2 FD 00 1B 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 10 [09:45:35]RAPDU: 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [09:45:35]wFMCommunicate OK [09:45:35]wFMCommunicate request_size=4 [09:45:35]MH_SAM_APDU [09:45:35]CAPDU: 80 17 00 00 [09:45:35]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [09:45:35]Write i2c OK [09:45:35]MH_I2C_Read... [09:45:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [09:45:35]Read from MH i2c: E2 [09:45:35]MH_I2C_Read... [09:45:35]Read from MH i2c: E2 CA 00 [09:45:35]MH_I2C_Read... [09:45:35]Read from MH i2c: E2 CA 00 1C 00 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 81 [09:45:35]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:45:35]wFMCommunicate OK [09:45:35]SAM_PROTO_GetShiftData done [09:45:35]requested_item shift.sale.total_cash is exist - process it [09:45:35]requested_item shift.sale_refund.total is exist - process it [09:45:35]requested_item shift.sale_refund.total_cash is exist - process it [09:45:35]requested_item shift.buy.total is exist - process it [09:45:35]requested_item shift.buy.total_cash is exist - process it [09:45:35]produce_requested_data done [09:45:35]produce_requested_data return {"fm.sale.total":14762231.01,"fm.sale_refund.total":369163.00,"fm.buy.total":0.00,"shift.sale.total":3768.24,"shift.sale.total_cash":2238.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [09:45:35]process_action_free get_value [09:45:35]json_value_free [09:45:35]json_value_free done [09:45:35]process_json_proto returns [09:45:35]Send response to host [09:45:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":14762231.01,"fm.sale_refund.total":369163.00,"fm.buy.total":0.00,"shift.sale.total":3768.24,"shift.sale.total_cash":2238.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [09:45:35]free response buf [09:45:35]execute_script done [09:45:35]execute_script returns [09:45:35]free content buf [09:45:35]Sock 6.Close socket [09:45:35]Sock 6.Thread stoped [09:45:35]OFD Sender: No OFD packet to send [09:45:40]OFD Sender: No OFD packet to send [09:45:45]OFD Sender: No OFD packet to send [09:45:50]OFD Sender: No OFD packet to send [09:45:55]OFD Sender: No OFD packet to send [09:46:00]OFD Sender: No OFD packet to send [09:46:05]OFD Sender: No OFD packet to send [09:46:10]OFD Sender: No OFD packet to send [09:46:15]OFD Sender: No OFD packet to send [09:46:20]OFD Sender: No OFD packet to send [09:46:25]OFD Sender: No OFD packet to send [09:46:30]OFD Sender: No OFD packet to send [09:46:35]OFD Sender: No OFD packet to send [09:46:40]OFD Sender: No OFD packet to send [09:46:45]OFD Sender: No OFD packet to send [09:46:50]OFD Sender: No OFD packet to send [09:46:55]OFD Sender: No OFD packet to send [09:47:00]OFD Sender: No OFD packet to send [09:47:05]OFD Sender: No OFD packet to send [09:47:10]OFD Sender: No OFD packet to send [09:47:15]OFD Sender: No OFD packet to send [09:47:20]OFD Sender: No OFD packet to send [09:47:25]OFD Sender: No OFD packet to send [09:47:30]OFD Sender: No OFD packet to send [09:47:35]OFD Sender: No OFD packet to send [09:47:40]OFD Sender: No OFD packet to send [09:47:45]OFD Sender: No OFD packet to send [09:47:50]OFD Sender: No OFD packet to send [09:47:55]OFD Sender: No OFD packet to send [09:48:00]OFD Sender: No OFD packet to send [09:48:05]OFD Sender: No OFD packet to send [09:48:10]OFD Sender: No OFD packet to send [09:48:15]OFD Sender: No OFD packet to send [09:48:20]OFD Sender: No OFD packet to send [09:48:25]OFD Sender: No OFD packet to send [09:48:30]OFD Sender: No OFD packet to send [09:48:35]OFD Sender: No OFD packet to send [09:48:40]OFD Sender: No OFD packet to send [09:48:45]OFD Sender: No OFD packet to send [09:48:50]OFD Sender: No OFD packet to send [09:48:55]OFD Sender: No OFD packet to send [09:49:00]OFD Sender: No OFD packet to send [09:49:05]OFD Sender: No OFD packet to send [09:49:10]OFD Sender: No OFD packet to send [09:49:15]OFD Sender: No OFD packet to send [09:49:20]OFD Sender: No OFD packet to send [09:49:25]OFD Sender: No OFD packet to send [09:49:30]OFD Sender: No OFD packet to send [09:49:35]OFD Sender: No OFD packet to send [09:49:40]OFD Sender: No OFD packet to send [09:49:45]OFD Sender: No OFD packet to send [09:49:50]OFD Sender: No OFD packet to send [09:49:55]OFD Sender: No OFD packet to send [09:50:00]OFD Sender: No OFD packet to send [09:50:05]OFD Sender: No OFD packet to send [09:50:10]OFD Sender: No OFD packet to send [09:50:15]OFD Sender: No OFD packet to send [09:50:20]OFD Sender: No OFD packet to send [09:50:25]OFD Sender: No OFD packet to send [09:50:30]OFD Sender: No OFD packet to send [09:50:35]OFD Sender: No OFD packet to send [09:50:40]OFD Sender: No OFD packet to send [09:50:45]OFD Sender: No OFD packet to send [09:50:50]OFD Sender: No OFD packet to send [09:50:55]OFD Sender: No OFD packet to send [09:51:00]OFD Sender: No OFD packet to send [09:51:05]OFD Sender: No OFD packet to send [09:51:10]OFD Sender: No OFD packet to send [09:51:16]OFD Sender: No OFD packet to send [09:51:21]OFD Sender: No OFD packet to send [09:51:26]OFD Sender: No OFD packet to send [09:51:31]OFD Sender: No OFD packet to send [09:51:36]OFD Sender: No OFD packet to send [09:51:41]OFD Sender: No OFD packet to send [09:51:46]OFD Sender: No OFD packet to send [09:51:51]OFD Sender: No OFD packet to send [09:51:56]OFD Sender: No OFD packet to send [09:52:01]OFD Sender: No OFD packet to send [09:52:06]OFD Sender: No OFD packet to send [09:52:11]OFD Sender: No OFD packet to send [09:52:16]OFD Sender: No OFD packet to send [09:52:21]OFD Sender: No OFD packet to send [09:52:26]OFD Sender: No OFD packet to send [09:52:31]OFD Sender: No OFD packet to send [09:52:36]OFD Sender: No OFD packet to send [09:52:41]OFD Sender: No OFD packet to send [09:52:46]OFD Sender: No OFD packet to send [09:52:51]OFD Sender: No OFD packet to send [09:52:56]OFD Sender: No OFD packet to send [09:53:01]OFD Sender: No OFD packet to send [09:53:06]OFD Sender: No OFD packet to send [09:53:11]OFD Sender: No OFD packet to send [09:53:16]OFD Sender: No OFD packet to send [09:53:21]OFD Sender: No OFD packet to send [09:53:26]OFD Sender: No OFD packet to send [09:53:31]OFD Sender: No OFD packet to send [09:53:36]OFD Sender: No OFD packet to send [09:53:41]OFD Sender: No OFD packet to send [09:53:42]int [09:53:42]Write to MH i2c: 01 00 00 1D 00 1D [09:53:42]*** FLAG_PRN_KEY set [09:53:42]Write i2c OK [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: 01 [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: 01 07 00 [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: 01 07 00 1D 00 00 08 00 00 00 FF 0F 3A [09:53:42]state=0 [09:53:42]Key pressed [09:53:42]Feed [09:53:42]Write to MH i2c: D8 00 00 1E 00 F5 [09:53:42]Write i2c OK [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: D8 [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: D8 01 00 [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: D8 01 00 1E 00 00 F6 [09:53:42]int [09:53:42]Write to MH i2c: 01 00 00 1F 00 1F [09:53:42]Write i2c OK [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: 01 [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: 01 07 00 [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: 01 07 00 1F 00 00 48 00 00 00 3D 00 AB [09:53:42]state=2 [09:53:42]Key pressed [09:53:42]int [09:53:42]Write to MH i2c: 01 00 00 20 00 20 [09:53:42]Write i2c OK [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: 01 [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: 01 07 00 [09:53:42]MH_I2C_Read... [09:53:42]*** FLAG_PRN_KEY reset [09:53:42]*** FLAG_PRN_KEY set [09:53:42]*** FLAG_PRN_KEY reset [09:53:42]Read from MH i2c: 01 07 00 20 00 00 08 00 00 00 F8 0F 36 [09:53:42]state=2 [09:53:42]Key pressed [09:53:42]int line is 0 - check status [09:53:42]Write to MH i2c: 01 00 00 21 00 21 [09:53:42]Write i2c OK [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: 01 [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: 01 07 00 [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: 01 07 00 21 00 00 00 00 00 00 FF 0F 36 [09:53:42]state=2 [09:53:42]Stop feed [09:53:42]int [09:53:42]Write to MH i2c: 01 00 00 22 00 22 [09:53:42]Write i2c OK [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: 01 [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: 01 07 00 [09:53:42]MH_I2C_Read... [09:53:42]Read from MH i2c: 01 07 00 22 00 00 00 00 00 00 FF 0F 37 [09:53:42]state=0 [09:53:46]OFD Sender: No OFD packet to send [09:53:51]OFD Sender: No OFD packet to send [09:53:56]OFD Sender: No OFD packet to send [09:54:01]OFD Sender: No OFD packet to send [09:54:06]OFD Sender: No OFD packet to send [09:54:11]OFD Sender: No OFD packet to send [09:54:16]OFD Sender: No OFD packet to send [09:54:21]OFD Sender: No OFD packet to send [09:54:26]OFD Sender: No OFD packet to send [09:54:31]OFD Sender: No OFD packet to send [09:54:36]OFD Sender: No OFD packet to send [09:54:41]OFD Sender: No OFD packet to send [09:54:46]OFD Sender: No OFD packet to send [09:54:51]OFD Sender: No OFD packet to send [09:54:56]OFD Sender: No OFD packet to send [09:55:01]OFD Sender: No OFD packet to send [09:55:06]OFD Sender: No OFD packet to send [09:55:11]OFD Sender: No OFD packet to send [09:55:16]OFD Sender: No OFD packet to send [09:55:21]OFD Sender: No OFD packet to send [09:55:26]OFD Sender: No OFD packet to send [09:55:31]OFD Sender: No OFD packet to send [09:55:36]OFD Sender: No OFD packet to send [09:55:41]OFD Sender: No OFD packet to send [09:55:46]OFD Sender: No OFD packet to send [09:55:51]OFD Sender: No OFD packet to send [09:55:56]OFD Sender: No OFD packet to send [09:56:01]OFD Sender: No OFD packet to send [09:56:06]OFD Sender: No OFD packet to send [09:56:11]OFD Sender: No OFD packet to send [09:56:16]OFD Sender: No OFD packet to send [09:56:21]OFD Sender: No OFD packet to send [09:56:26]OFD Sender: No OFD packet to send [09:56:31]OFD Sender: No OFD packet to send [09:56:36]OFD Sender: No OFD packet to send [09:56:41]OFD Sender: No OFD packet to send [09:56:46]OFD Sender: No OFD packet to send [09:56:51]OFD Sender: No OFD packet to send [09:56:56]OFD Sender: No OFD packet to send [09:57:01]OFD Sender: No OFD packet to send [09:57:06]OFD Sender: No OFD packet to send [09:57:11]OFD Sender: No OFD packet to send [09:57:16]OFD Sender: No OFD packet to send [09:57:21]OFD Sender: No OFD packet to send [09:57:26]OFD Sender: No OFD packet to send [09:57:31]OFD Sender: No OFD packet to send [09:57:36]OFD Sender: No OFD packet to send [09:57:41]OFD Sender: No OFD packet to send [09:57:46]OFD Sender: No OFD packet to send [09:57:51]OFD Sender: No OFD packet to send [09:57:56]OFD Sender: No OFD packet to send [09:58:01]OFD Sender: No OFD packet to send [09:58:06]OFD Sender: No OFD packet to send [09:58:11]OFD Sender: No OFD packet to send [09:58:16]OFD Sender: No OFD packet to send [09:58:21]OFD Sender: No OFD packet to send [09:58:26]OFD Sender: No OFD packet to send [09:58:31]OFD Sender: No OFD packet to send [09:58:36]OFD Sender: No OFD packet to send [09:58:41]OFD Sender: No OFD packet to send [09:58:46]OFD Sender: No OFD packet to send [09:58:51]OFD Sender: No OFD packet to send [09:58:56]OFD Sender: No OFD packet to send [09:59:01]OFD Sender: No OFD packet to send [09:59:06]OFD Sender: No OFD packet to send [09:59:11]OFD Sender: No OFD packet to send [09:59:16]OFD Sender: No OFD packet to send [09:59:21]OFD Sender: No OFD packet to send [09:59:26]OFD Sender: No OFD packet to send [09:59:31]OFD Sender: No OFD packet to send [09:59:36]OFD Sender: No OFD packet to send [09:59:41]OFD Sender: No OFD packet to send [09:59:46]OFD Sender: No OFD packet to send [09:59:51]OFD Sender: No OFD packet to send [09:59:56]OFD Sender: No OFD packet to send [10:00:01]OFD Sender: No OFD packet to send [10:00:06]OFD Sender: No OFD packet to send [10:00:11]OFD Sender: No OFD packet to send [10:00:16]OFD Sender: No OFD packet to send [10:00:21]OFD Sender: No OFD packet to send [10:00:26]OFD Sender: No OFD packet to send [10:00:31]OFD Sender: No OFD packet to send [10:00:36]OFD Sender: No OFD packet to send [10:00:41]OFD Sender: No OFD packet to send [10:00:46]OFD Sender: No OFD packet to send [10:00:51]OFD Sender: No OFD packet to send [10:00:56]OFD Sender: No OFD packet to send [10:01:01]OFD Sender: No OFD packet to send [10:01:06]OFD Sender: No OFD packet to send [10:01:11]OFD Sender: No OFD packet to send [10:01:16]OFD Sender: No OFD packet to send [10:01:21]OFD Sender: No OFD packet to send [10:01:26]OFD Sender: No OFD packet to send [10:01:31]OFD Sender: No OFD packet to send [10:01:36]OFD Sender: No OFD packet to send [10:01:41]OFD Sender: No OFD packet to send [10:01:46]OFD Sender: No OFD packet to send [10:01:51]OFD Sender: No OFD packet to send [10:01:56]OFD Sender: No OFD packet to send [10:02:01]OFD Sender: No OFD packet to send [10:02:06]OFD Sender: No OFD packet to send [10:02:11]OFD Sender: No OFD packet to send [10:02:16]OFD Sender: No OFD packet to send [10:02:21]OFD Sender: No OFD packet to send [10:02:26]OFD Sender: No OFD packet to send [10:02:31]OFD Sender: No OFD packet to send [10:02:36]OFD Sender: No OFD packet to send [10:02:41]OFD Sender: No OFD packet to send [10:02:46]OFD Sender: No OFD packet to send [10:02:51]OFD Sender: No OFD packet to send [10:02:56]OFD Sender: No OFD packet to send [10:03:01]OFD Sender: No OFD packet to send [10:03:06]OFD Sender: No OFD packet to send [10:03:11]OFD Sender: No OFD packet to send [10:03:16]OFD Sender: No OFD packet to send [10:03:21]OFD Sender: No OFD packet to send [10:03:26]OFD Sender: No OFD packet to send [10:03:31]OFD Sender: No OFD packet to send [10:03:36]OFD Sender: No OFD packet to send [10:03:41]OFD Sender: No OFD packet to send [10:03:46]OFD Sender: No OFD packet to send [10:03:51]OFD Sender: No OFD packet to send [10:03:56]OFD Sender: No OFD packet to send [10:03:57]accept exits with 9 [10:03:57]New connection [10:03:57]New thread 3067481444 created [10:03:57]Thread 3067338084 joined [10:03:57]Waiting for new connection... [10:03:57] Sock 9.Parse request [10:03:57]Sock 9.Check first char [10:03:57]Sock 9.First char is OK [10:03:57]request: POST /json_proto HTTP/1.0 [10:03:57]Method: POST [10:03:57]URL: /json_proto [10:03:57]Method is POST - this is cgi request [10:03:57]url: /json_proto [10:03:57]query_string will be loaded in cgi processing [10:03:57]execute_cgi json_proto POST (null) [10:03:57]execute_cgi path=json_proto method=POST [10:03:57]POST find Content-Length [10:03:57]Host: 172.17.47.135:8080 [10:03:57]Content-Length: 613 [10:03:57]Content-Type: application/json [10:03:57] [10:03:57]POST finish read [10:03:57]Found Content-Length = 613 [10:03:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130840", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 84.00, "quantity" : 1.000, "sum" : 84.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 84.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:03:57]execute_script... [10:03:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130840", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 84.00, "quantity" : 1.000, "sum" : 84.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 84.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:03:57]POST & json_proto [10:03:57]process_json_proto [10:03:57]json parsed OK: [10:03:57]protocol is kg_v1.0 [10:03:57]action value=close_receipt [10:03:57]process_action close_receipt [10:03:57]cmd_close_receipt [10:03:57]MH_GetDate [10:03:57]Write to MH i2c: F0 00 00 23 00 12 [10:03:57]Write i2c OK [10:03:57]MH_I2C_Read... [10:03:57]Read from MH i2c: F0 [10:03:57]MH_I2C_Read... [10:03:57]Read from MH i2c: F0 09 00 [10:03:57]MH_I2C_Read... [10:03:57]Read from MH i2c: F0 09 00 23 00 00 8E 4F B8 67 19 D8 DE 66 4C [10:03:57]GetLastDocTimeStamp 48 [10:03:57]current date 1740132238 [10:03:57]FM_GetShiftState [10:03:57]SAM_PROTO_GetShiftState [10:03:57]wFMCommunicate request_size=4 [10:03:57]MH_SAM_APDU [10:03:57]CAPDU: 80 13 01 00 [10:03:57]Write to MH i2c: E2 08 00 24 00 80 13 01 00 00 00 00 00 A1 [10:03:57]Write i2c OK [10:03:57]MH_I2C_Read... [10:03:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:03:57]Read from MH i2c: E2 [10:03:57]MH_I2C_Read... [10:03:57]Read from MH i2c: E2 0E 00 [10:03:57]MH_I2C_Read... [10:03:57]Read from MH i2c: E2 0E 00 24 00 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 06 [10:03:57]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [10:03:57]wFMCommunicate OK [10:03:57]SAM_PROTO_GetShiftState done [10:03:57]FM_GetShiftState done [10:03:57]opened in 1740096631 [10:03:57]opened+sec_in_day 1740183031 [10:03:57]quantity*price = 8400 [10:03:57]sum+1 = 8401 [10:03:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 84.00 НСП 1% : 0.74 НДС 12% : 8.92 Наличными: 84.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 17 21.02.2025 10:03 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32629 ФПД: 105402632468527 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T100358&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32629&fm=105402632468527&tin=02508201610067®Number=0000000000146237&sum=8400 0 [10:03:58]StoreToDocumentArchive [10:03:58]shift 386 fd 32629 [10:03:58]save to /storage/0386/doc_00032629 [10:03:58]save last doc name /storage/0386/doc_00032629 to /storage/kkm_last_doc_name [10:03:58]save OK [10:03:58]Clear old archive folders... [10:03:58]ProcessDocumentItem done err = 0, tmpTLVsize=268 [10:03:58]tlvbuf is 00F0B6A0 [10:03:58]SAM_PROTO_ClearQueue [10:03:58]wFMCommunicate request_size=4 [10:03:58]MH_SAM_APDU [10:03:58]CAPDU: 80 09 00 00 [10:03:58]Write to MH i2c: E2 08 00 31 00 80 09 00 00 00 00 00 00 A3 [10:03:58]Write i2c OK [10:03:58]MH_I2C_Read... [10:03:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:03:58]Read from MH i2c: E2 [10:03:58]MH_I2C_Read... [10:03:58]Read from MH i2c: E2 03 00 [10:03:58]MH_I2C_Read... [10:03:58]Read from MH i2c: E2 03 00 31 00 00 90 00 A5 [10:03:58]RAPDU: 90 00 [10:03:58]wFMCommunicate OK [10:03:58]SAM_PROTO_ClearQueue done [10:03:58]KKMCreateOFDPacket [10:03:58]OFDProtocolAddRootSTLVToBuf [10:03:58]FM_MakeSignedData [10:03:58]FM_MakeSignedData [10:03:58]SAM_PROTO_SignData [10:03:58]wFMCommunicate request_size=4 [10:03:58]MH_SAM_APDU [10:03:58]CAPDU: 80 0D 01 02 [10:03:58]Write to MH i2c: E2 08 00 32 00 80 0D 01 02 00 00 00 00 AB [10:03:58]Write i2c OK [10:03:58]MH_I2C_Read... [10:03:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:03:58]Read from MH i2c: E2 [10:03:58]MH_I2C_Read... [10:03:58]Read from MH i2c: E2 03 00 [10:03:58]MH_I2C_Read... [10:03:58]Read from MH i2c: E2 03 00 32 00 00 90 00 A6 [10:03:58]RAPDU: 90 00 [10:03:58]wFMCommunicate OK [10:03:58]wFMCommunicate request_size=255 [10:03:58]MH_SAM_APDU [10:03:58]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 D0 20 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 8E 4F B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 [10:03:58]Write to MH i2c: E2 02 01 33 00 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 D0 20 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 8E 4F B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 00 00 BC [10:03:58]Write i2c OK [10:03:58]MH_I2C_Read... [10:03:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:03:58]Read from MH i2c: E2 [10:03:58]MH_I2C_Read... [10:03:58]Read from MH i2c: E2 03 00 [10:03:58]MH_I2C_Read... [10:03:58]Read from MH i2c: E2 03 00 33 00 00 90 00 A7 [10:03:58]RAPDU: 90 00 [10:03:58]wFMCommunicate OK [10:03:58]wFMCommunicate request_size=27 [10:03:58]MH_SAM_APDU [10:03:58]CAPDU: 80 0D 02 02 16 39 32 38 32 10 04 04 00 75 7F 00 00 35 04 06 00 5F DC F6 77 78 2F [10:03:58]Write to MH i2c: E2 1E 00 34 00 80 0D 02 02 16 00 39 32 38 32 10 04 04 00 75 7F 00 00 35 04 06 00 5F DC F6 77 78 2F 00 00 49 [10:03:58]Write i2c OK [10:03:58]MH_I2C_Read... [10:03:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:03:58]Read from MH i2c: E2 [10:03:58]MH_I2C_Read... [10:03:58]Read from MH i2c: E2 03 00 [10:03:58]MH_I2C_Read... [10:03:58]Read from MH i2c: E2 03 00 34 00 00 90 00 A8 [10:03:58]RAPDU: 90 00 [10:03:58]wFMCommunicate OK [10:03:58]wFMCommunicate request_size=4 [10:03:58]MH_SAM_APDU [10:03:58]CAPDU: 80 0D 03 02 [10:03:58]Write to MH i2c: E2 08 00 35 00 80 0D 03 02 00 00 00 00 B0 [10:03:58]Write i2c OK [10:03:58]MH_I2C_Read... [10:03:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:03:59]Read from MH i2c: E2 [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: E2 0B 00 [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: E2 0B 00 35 00 00 3D EC A3 77 4F D4 24 3D 90 00 78 [10:03:59]RAPDU: 3D EC A3 77 4F D4 24 3D 90 00 [10:03:59]wFMCommunicate OK [10:03:59]SAM_PROTO_SignData done [10:03:59]FM_MakeSignedData done [10:03:59]CreateOFDProtocolMessage [10:03:59]wFMCommunicate request_size=4 [10:03:59]MH_SAM_APDU [10:03:59]CAPDU: 80 11 00 00 [10:03:59]Write to MH i2c: E2 08 00 36 00 80 11 00 00 00 00 00 00 B0 [10:03:59]Write i2c OK [10:03:59]MH_I2C_Read... [10:03:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:03:59]Read from MH i2c: E2 [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: E2 17 00 [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: E2 17 00 36 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 06 [10:03:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [10:03:59]wFMCommunicate OK [10:03:59]CreateOFDProtocolMessage done [10:03:59]OFDSenderStorePacket 32629 [10:03:59]StoreOFDPacket docnum=32629 [10:03:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 20 01 00 00 33 E4 18 01 ED 58 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 D0 20 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 8E 4F B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 75 7F 00 00 35 04 06 00 5F DC F6 77 78 2F 3D EC A3 77 4F D4 24 3D [10:03:59]CheckFolder [10:03:59]dirname=/storage/ofd_packets [10:03:59]CheckFolder done [10:03:59]ProducePacketName [10:03:59]name=ofd_packets/00032629 [10:03:59]NVStorageSaveData ofd_packets/00032629 [10:03:59]File name is /storage/ofd_packets/00032629 [10:03:59]Write 318 bytes [10:03:59]NVStorageSaveData done [10:03:59]OFDSenderStorePacket done [10:03:59]KKMCreateOFDPacket done [10:03:59]NVStorageSaveData kkm_last_timestamp [10:03:59]File name is /storage/kkm_last_timestamp [10:03:59]Write 4 bytes [10:03:59]NVStorageSaveData done [10:03:59]ExternCall_PrintAddStr [10:03:59]wPrintStart [10:03:59]Write to MH i2c: 01 00 00 37 00 37 [10:03:59]Write i2c OK [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: 01 [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: 01 07 00 [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: 01 07 00 37 00 00 00 00 00 00 FF 0F 4C [10:03:59]RasterBufferAndPrint [10:03:59]line Счет N : (3)130840 [10:03:59]line ИНН: 02508201610067 [10:03:59]line Контрольно-Кассовый Чек [10:03:59]line ПРОДАЖА [10:03:59]line Товар: 4870001570057 [10:03:59]line Напиток Pepsi 0,5л [10:03:59]line 1.000 * 84.00 [10:03:59]line = 84.00 [10:03:59]line НДС 12% НСП 1% [10:03:59]line > о реализуемом товаре [10:03:59]line ИТОГО: 84.00 [10:03:59]line НСП 1% : 0.74 [10:03:59]line НДС 12% : 8.92 [10:03:59]line Наличными: 84.00 [10:03:59]line Безнал.: 0.00 [10:03:59]line Место: АЗС № 96 "Партнер Нефть" [10:03:59]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [10:03:59]line СНО: Общий режим [10:03:59]line Чек 17 21.02.2025 10:03 [10:03:59]line Смена: 386 ФФД: 1.0 [10:03:59]line ЗНМ: 0300000059 [10:03:59]line РНМ: 0000000000146237 [10:03:59]line Версия ККМ: v1.0 [10:03:59]line ФМ: 0000000000959282 [10:03:59]line ФД: 32629 [10:03:59]line ФПД: 105402632468527 [10:03:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T100358&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32629&fm=105402632468527&tin=02508201610067®Number=0000000000146237&sum=8400 [10:03:59]OFD Sender: Processing packet 32629 [packets to send 105, broken 104] [10:03:59]ProducePacketName [10:03:59]name=ofd_packets/00032629 [10:03:59]OFD Sender: To server: pG, [10:03:59]CommunicateWithHost lk.salyk.kg:30040 [10:03:59]ConnectInit lk.salyk.kg [10:03:59]line 0 [10:03:59]written 0, free lines is 4095 [10:03:59]Connected sock=7 [10:03: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 32 38 32 20 01 00 00 33 E4 18 01 ED 58 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 D0 20 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 8E 4F B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 75 7F 00 00 35 04 06 00 5F DC F6 77 78 2F 3D EC A3 77 4F D4 24 3D [10:03:59]Write to MH i2c: 01 00 00 5F 00 5F [10:03:59]Write i2c OK [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: 01 [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: 01 07 00 [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: 01 07 00 5F 00 00 00 00 00 00 1D 0D 90 [10:03:59]RasterBufferAndPrint [10:03:59]line [10:03:59]line [10:03:59]line [10:03:59]line [10:03:59]line [10:03:59]written 0, free lines is 3363 [10:03:59]MH_Cut [10:03:59]Write to MH i2c: D1 01 00 66 00 01 38 [10:03:59]Write i2c OK [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: D1 [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: D1 01 00 [10:03:59]MH_I2C_Read... [10:03:59]Read from MH i2c: D1 01 00 66 00 00 37 [10:03:59]Write to MH i2c: 01 00 00 67 00 67 [10:03:59]Write i2c OK [10:03:59]MH_I2C_Read... [10:03:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 31 4D 47 00 2A CE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 75 7F 00 00 F4 03 04 00 25 F9 B7 67 B6 04 01 00 00 2D 91 D8 F4 EA 81 32 BF [10:03:59]CommunicateWithHost err = 0 [10:03:59]CheckOFDResponse [10:03:59]1017 (14) - 77093643461234 [10:03:59]1041 (16) - 0000000000959282 [10:03:59]1040 (4) - 32629 [10:03:59]1012 (4) - 21.02.2025 03:55 [10:03:59]1206 (1) - 0 [10:03:59]OFD Sender: Remove packet 32629 [10:03:59]ProducePacketName [10:03:59]name=ofd_packets/00032629 [10:03:59]NVStorageDeleteData [10:04:00]*** Cut start [10:04:00]*** Partial cut [10:04:00]*** CUTSNS_PIN = 1 [10:04:00]OFD Sender: No OFD packet to send [10:04:00]*** CUTSNS_PIN = 0 [10:04:00]*** Brake cut motor [10:04:01]Read from MH i2c: 01 [10:04:01]MH_I2C_Read... [10:04:01]*** Stop cut motor [10:04:01]*** Cut end [10:04:01]Read from MH i2c: 01 07 00 [10:04:01]MH_I2C_Read... [10:04:01]Read from MH i2c: 01 07 00 67 00 00 00 00 00 00 FF 0F 7C [10:04:01]process_action close_receipt done [10:04:01]requested_data is exist [10:04:01]produce_requested_data [10:04:01]requested_item fm.sn is exist - process it [10:04:01]wFMCommunicate request_size=4 [10:04:01]MH_SAM_APDU [10:04:01]CAPDU: 80 11 00 00 [10:04:01]Write to MH i2c: E2 08 00 68 00 80 11 00 00 00 00 00 00 E2 [10:04:01]Write i2c OK [10:04:01]MH_I2C_Read... [10:04:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:04:01]Read from MH i2c: E2 [10:04:01]MH_I2C_Read... [10:04:01]Read from MH i2c: E2 17 00 [10:04:01]MH_I2C_Read... [10:04:01]Read from MH i2c: E2 17 00 68 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 38 [10:04:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [10:04:01]wFMCommunicate OK [10:04:01]requested_item fd.num is exist - process it [10:04:01]SAM_PROTO_GetFieldsCounters [10:04:01]wFMCommunicate request_size=4 [10:04:01]MH_SAM_APDU [10:04:01]CAPDU: 80 13 00 00 [10:04:01]Write to MH i2c: E2 08 00 69 00 80 13 00 00 00 00 00 00 E5 [10:04:01]Write i2c OK [10:04:01]MH_I2C_Read... [10:04:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:04:01]Read from MH i2c: E2 [10:04:01]MH_I2C_Read... [10:04:01]Read from MH i2c: E2 62 00 [10:04:01]MH_I2C_Read... [10:04:01]Read from MH i2c: E2 62 00 69 00 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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 75 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 B1 [10:04:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 75 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:04:01]wFMCommunicate OK [10:04:01]SAM_PROTO_GetFieldsCounters done [10:04:01]requested_item shift.num is exist - process it [10:04:01]requested_item shift.opened is exist - process it [10:04:01]req_shift_opened [10:04:01]FM_GetShiftState [10:04:01]SAM_PROTO_GetShiftState [10:04:01]wFMCommunicate request_size=4 [10:04:01]MH_SAM_APDU [10:04:01]CAPDU: 80 13 01 00 [10:04:01]Write to MH i2c: E2 08 00 6A 00 80 13 01 00 00 00 00 00 E7 [10:04:01]Write i2c OK [10:04:01]MH_I2C_Read... [10:04:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:04:01]Read from MH i2c: E2 [10:04:01]MH_I2C_Read... [10:04:01]Read from MH i2c: E2 0E 00 [10:04:01]MH_I2C_Read... [10:04:01]Read from MH i2c: E2 0E 00 6A 00 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 4C [10:04:01]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [10:04:01]wFMCommunicate OK [10:04:01]SAM_PROTO_GetShiftState done [10:04:01]FM_GetShiftState done [10:04:01]req_shift_opened done [10:04:01]requested_item shift.open_date is exist - process it [10:04:01]req_shift_open_date [10:04:01]req_shift_open_date done [10:04:01]produce_requested_data done [10:04:01]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32629,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [10:04:01]process_action_free close_receipt [10:04:01]json_value_free [10:04:01]json_value_free done [10:04:01]process_json_proto returns [10:04:01]Send response to host [10:04:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32629,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [10:04:01]free response buf [10:04:01]execute_script done [10:04:01]execute_script returns [10:04:01]free content buf [10:04:01]Sock 9.Close socket [10:04:01]Sock 9.Thread stoped [10:04:05]OFD Sender: No OFD packet to send [10:04:10]OFD Sender: No OFD packet to send [10:04:15]OFD Sender: No OFD packet to send [10:04:20]OFD Sender: No OFD packet to send [10:04:25]OFD Sender: No OFD packet to send [10:04:30]OFD Sender: No OFD packet to send [10:04:35]OFD Sender: No OFD packet to send [10:04:40]OFD Sender: No OFD packet to send [10:04:45]OFD Sender: No OFD packet to send [10:04:50]OFD Sender: No OFD packet to send [10:04:55]OFD Sender: No OFD packet to send [10:05:00]OFD Sender: No OFD packet to send [10:05:05]OFD Sender: No OFD packet to send [10:05:10]OFD Sender: No OFD packet to send [10:05:15]OFD Sender: No OFD packet to send [10:05:20]OFD Sender: No OFD packet to send [10:05:25]OFD Sender: No OFD packet to send [10:05:30]OFD Sender: No OFD packet to send [10:05:35]OFD Sender: No OFD packet to send [10:05:40]OFD Sender: No OFD packet to send [10:05:45]OFD Sender: No OFD packet to send [10:05:50]OFD Sender: No OFD packet to send [10:05:55]OFD Sender: No OFD packet to send [10:06:00]OFD Sender: No OFD packet to send [10:06:05]OFD Sender: No OFD packet to send [10:06:10]OFD Sender: No OFD packet to send [10:06:15]OFD Sender: No OFD packet to send [10:06:20]OFD Sender: No OFD packet to send [10:06:25]OFD Sender: No OFD packet to send [10:06:30]OFD Sender: No OFD packet to send [10:06:35]OFD Sender: No OFD packet to send [10:06:40]OFD Sender: No OFD packet to send [10:06:45]OFD Sender: No OFD packet to send [10:06:50]OFD Sender: No OFD packet to send [10:06:55]OFD Sender: No OFD packet to send [10:07:00]OFD Sender: No OFD packet to send [10:07:05]OFD Sender: No OFD packet to send [10:07:10]OFD Sender: No OFD packet to send [10:07:15]OFD Sender: No OFD packet to send [10:07:20]OFD Sender: No OFD packet to send [10:07:25]OFD Sender: No OFD packet to send [10:07:30]OFD Sender: No OFD packet to send [10:07:35]OFD Sender: No OFD packet to send [10:07:40]OFD Sender: No OFD packet to send [10:07:45]OFD Sender: No OFD packet to send [10:07:50]OFD Sender: No OFD packet to send [10:07:55]OFD Sender: No OFD packet to send [10:08:00]OFD Sender: No OFD packet to send [10:08:05]OFD Sender: No OFD packet to send [10:08:10]OFD Sender: No OFD packet to send [10:08:15]OFD Sender: No OFD packet to send [10:08:20]OFD Sender: No OFD packet to send [10:08:25]OFD Sender: No OFD packet to send [10:08:30]OFD Sender: No OFD packet to send [10:08:35]OFD Sender: No OFD packet to send [10:08:40]OFD Sender: No OFD packet to send [10:08:45]OFD Sender: No OFD packet to send [10:08:50]OFD Sender: No OFD packet to send [10:08:55]OFD Sender: No OFD packet to send [10:09:00]OFD Sender: No OFD packet to send [10:09:05]OFD Sender: No OFD packet to send [10:09:10]OFD Sender: No OFD packet to send [10:09:15]OFD Sender: No OFD packet to send [10:09:20]OFD Sender: No OFD packet to send [10:09:25]OFD Sender: No OFD packet to send [10:09:30]OFD Sender: No OFD packet to send [10:09:35]OFD Sender: No OFD packet to send [10:09:40]OFD Sender: No OFD packet to send [10:09:45]OFD Sender: No OFD packet to send [10:09:50]OFD Sender: No OFD packet to send [10:09:55]OFD Sender: No OFD packet to send [10:10:00]OFD Sender: No OFD packet to send [10:10:05]OFD Sender: No OFD packet to send [10:10:10]OFD Sender: No OFD packet to send [10:10:15]OFD Sender: No OFD packet to send [10:10:20]OFD Sender: No OFD packet to send [10:10:25]OFD Sender: No OFD packet to send [10:10:30]OFD Sender: No OFD packet to send [10:10:35]OFD Sender: No OFD packet to send [10:10:40]OFD Sender: No OFD packet to send [10:10:45]OFD Sender: No OFD packet to send [10:10:50]OFD Sender: No OFD packet to send [10:10:55]OFD Sender: No OFD packet to send [10:11:00]OFD Sender: No OFD packet to send [10:11:05]OFD Sender: No OFD packet to send [10:11:10]OFD Sender: No OFD packet to send [10:11:15]OFD Sender: No OFD packet to send [10:11:20]OFD Sender: No OFD packet to send [10:11:25]OFD Sender: No OFD packet to send [10:11:30]OFD Sender: No OFD packet to send [10:11:35]OFD Sender: No OFD packet to send [10:11:41]OFD Sender: No OFD packet to send [10:11:46]OFD Sender: No OFD packet to send [10:11:51]OFD Sender: No OFD packet to send [10:11:56]OFD Sender: No OFD packet to send [10:12:01]OFD Sender: No OFD packet to send [10:12:06]OFD Sender: No OFD packet to send [10:12:11]OFD Sender: No OFD packet to send [10:12:16]OFD Sender: No OFD packet to send [10:12:21]OFD Sender: No OFD packet to send [10:12:26]OFD Sender: No OFD packet to send [10:12:31]OFD Sender: No OFD packet to send [10:12:36]OFD Sender: No OFD packet to send [10:12:41]OFD Sender: No OFD packet to send [10:12:46]OFD Sender: No OFD packet to send [10:12:51]OFD Sender: No OFD packet to send [10:12:56]OFD Sender: No OFD packet to send [10:13:01]OFD Sender: No OFD packet to send [10:13:06]OFD Sender: No OFD packet to send [10:13:11]OFD Sender: No OFD packet to send [10:13:16]OFD Sender: No OFD packet to send [10:13:21]OFD Sender: No OFD packet to send [10:13:26]OFD Sender: No OFD packet to send [10:13:31]OFD Sender: No OFD packet to send [10:13:36]OFD Sender: No OFD packet to send [10:13:41]OFD Sender: No OFD packet to send [10:13:46]OFD Sender: No OFD packet to send [10:13:51]OFD Sender: No OFD packet to send [10:13:56]OFD Sender: No OFD packet to send [10:14:01]OFD Sender: No OFD packet to send [10:14:06]OFD Sender: No OFD packet to send [10:14:11]OFD Sender: No OFD packet to send [10:14:16]OFD Sender: No OFD packet to send [10:14:21]OFD Sender: No OFD packet to send [10:14:26]OFD Sender: No OFD packet to send [10:14:31]OFD Sender: No OFD packet to send [10:14:36]OFD Sender: No OFD packet to send [10:14:41]OFD Sender: No OFD packet to send [10:14:46]OFD Sender: No OFD packet to send [10:14:51]OFD Sender: No OFD packet to send [10:14:56]OFD Sender: No OFD packet to send [10:15:01]OFD Sender: No OFD packet to send [10:15:06]OFD Sender: No OFD packet to send [10:15:11]OFD Sender: No OFD packet to send [10:15:16]OFD Sender: No OFD packet to send [10:15:21]OFD Sender: No OFD packet to send [10:15:26]OFD Sender: No OFD packet to send [10:15:31]OFD Sender: No OFD packet to send [10:15:36]OFD Sender: No OFD packet to send [10:15:41]OFD Sender: No OFD packet to send [10:15:46]OFD Sender: No OFD packet to send [10:15:51]OFD Sender: No OFD packet to send [10:15:56]OFD Sender: No OFD packet to send [10:16:01]OFD Sender: No OFD packet to send [10:16:06]OFD Sender: No OFD packet to send [10:16:11]OFD Sender: No OFD packet to send [10:16:16]OFD Sender: No OFD packet to send [10:16:21]OFD Sender: No OFD packet to send [10:16:26]OFD Sender: No OFD packet to send [10:16:31]OFD Sender: No OFD packet to send [10:16:36]OFD Sender: No OFD packet to send [10:16:41]OFD Sender: No OFD packet to send [10:16:46]OFD Sender: No OFD packet to send [10:16:51]OFD Sender: No OFD packet to send [10:16:56]OFD Sender: No OFD packet to send [10:17:01]OFD Sender: No OFD packet to send [10:17:06]OFD Sender: No OFD packet to send [10:17:11]OFD Sender: No OFD packet to send [10:17:16]OFD Sender: No OFD packet to send [10:17:21]OFD Sender: No OFD packet to send [10:17:26]OFD Sender: No OFD packet to send [10:17:31]OFD Sender: No OFD packet to send [10:17:36]OFD Sender: No OFD packet to send [10:17:41]OFD Sender: No OFD packet to send [10:17:46]OFD Sender: No OFD packet to send [10:17:51]OFD Sender: No OFD packet to send [10:17:56]OFD Sender: No OFD packet to send [10:18:01]OFD Sender: No OFD packet to send [10:18:06]OFD Sender: No OFD packet to send [10:18:11]OFD Sender: No OFD packet to send [10:18:16]OFD Sender: No OFD packet to send [10:18:21]OFD Sender: No OFD packet to send [10:18:26]OFD Sender: No OFD packet to send [10:18:31]OFD Sender: No OFD packet to send [10:18:36]OFD Sender: No OFD packet to send [10:18:41]OFD Sender: No OFD packet to send [10:18:46]OFD Sender: No OFD packet to send [10:18:51]OFD Sender: No OFD packet to send [10:18:56]OFD Sender: No OFD packet to send [10:19:01]OFD Sender: No OFD packet to send [10:19:06]OFD Sender: No OFD packet to send [10:19:11]OFD Sender: No OFD packet to send [10:19:16]OFD Sender: No OFD packet to send [10:19:21]OFD Sender: No OFD packet to send [10:19:26]OFD Sender: No OFD packet to send [10:19:31]OFD Sender: No OFD packet to send [10:19:36]OFD Sender: No OFD packet to send [10:19:41]OFD Sender: No OFD packet to send [10:19:46]OFD Sender: No OFD packet to send [10:19:51]OFD Sender: No OFD packet to send [10:19:56]OFD Sender: No OFD packet to send [10:20:01]OFD Sender: No OFD packet to send [10:20:06]OFD Sender: No OFD packet to send [10:20:11]OFD Sender: No OFD packet to send [10:20:16]OFD Sender: No OFD packet to send [10:20:21]OFD Sender: No OFD packet to send [10:20:26]OFD Sender: No OFD packet to send [10:20:31]OFD Sender: No OFD packet to send [10:20:36]OFD Sender: No OFD packet to send [10:20:41]OFD Sender: No OFD packet to send [10:20:46]OFD Sender: No OFD packet to send [10:20:51]OFD Sender: No OFD packet to send [10:20:56]OFD Sender: No OFD packet to send [10:21:01]OFD Sender: No OFD packet to send [10:21:06]OFD Sender: No OFD packet to send [10:21:11]OFD Sender: No OFD packet to send [10:21:16]OFD Sender: No OFD packet to send [10:21:21]OFD Sender: No OFD packet to send [10:21:26]OFD Sender: No OFD packet to send [10:21:31]OFD Sender: No OFD packet to send [10:21:36]OFD Sender: No OFD packet to send [10:21:41]OFD Sender: No OFD packet to send [10:21:46]OFD Sender: No OFD packet to send [10:21:51]OFD Sender: No OFD packet to send [10:21:56]OFD Sender: No OFD packet to send [10:22:01]OFD Sender: No OFD packet to send [10:22:06]OFD Sender: No OFD packet to send [10:22:11]OFD Sender: No OFD packet to send [10:22:16]OFD Sender: No OFD packet to send [10:22:21]OFD Sender: No OFD packet to send [10:22:26]OFD Sender: No OFD packet to send [10:22:31]OFD Sender: No OFD packet to send [10:22:36]OFD Sender: No OFD packet to send [10:22:41]OFD Sender: No OFD packet to send [10:22:46]OFD Sender: No OFD packet to send [10:22:51]OFD Sender: No OFD packet to send [10:22:56]OFD Sender: No OFD packet to send [10:23:01]OFD Sender: No OFD packet to send [10:23:06]OFD Sender: No OFD packet to send [10:23:11]OFD Sender: No OFD packet to send [10:23:16]OFD Sender: No OFD packet to send [10:23:21]OFD Sender: No OFD packet to send [10:23:26]OFD Sender: No OFD packet to send [10:23:31]OFD Sender: No OFD packet to send [10:23:36]OFD Sender: No OFD packet to send [10:23:41]OFD Sender: No OFD packet to send [10:23:46]OFD Sender: No OFD packet to send [10:23:51]OFD Sender: No OFD packet to send [10:23:56]OFD Sender: No OFD packet to send [10:24:01]OFD Sender: No OFD packet to send [10:24:06]OFD Sender: No OFD packet to send [10:24:11]OFD Sender: No OFD packet to send [10:24:16]OFD Sender: No OFD packet to send [10:24:21]OFD Sender: No OFD packet to send [10:24:26]OFD Sender: No OFD packet to send [10:24:31]OFD Sender: No OFD packet to send [10:24:36]OFD Sender: No OFD packet to send [10:24:41]OFD Sender: No OFD packet to send [10:24:46]OFD Sender: No OFD packet to send [10:24:51]OFD Sender: No OFD packet to send [10:24:56]OFD Sender: No OFD packet to send [10:25:01]OFD Sender: No OFD packet to send [10:25:06]OFD Sender: No OFD packet to send [10:25:11]OFD Sender: No OFD packet to send [10:25:16]OFD Sender: No OFD packet to send [10:25:21]OFD Sender: No OFD packet to send [10:25:26]OFD Sender: No OFD packet to send [10:25:31]OFD Sender: No OFD packet to send [10:25:36]OFD Sender: No OFD packet to send [10:25:41]OFD Sender: No OFD packet to send [10:25:46]OFD Sender: No OFD packet to send [10:25:51]OFD Sender: No OFD packet to send [10:25:56]OFD Sender: No OFD packet to send [10:26:01]OFD Sender: No OFD packet to send [10:26:06]OFD Sender: No OFD packet to send [10:26:11]OFD Sender: No OFD packet to send [10:26:16]OFD Sender: No OFD packet to send [10:26:21]OFD Sender: No OFD packet to send [10:26:26]OFD Sender: No OFD packet to send [10:26:31]OFD Sender: No OFD packet to send [10:26:36]OFD Sender: No OFD packet to send [10:26:41]OFD Sender: No OFD packet to send [10:26:46]OFD Sender: No OFD packet to send [10:26:51]OFD Sender: No OFD packet to send [10:26:57]OFD Sender: No OFD packet to send [10:27:02]OFD Sender: No OFD packet to send [10:27:07]OFD Sender: No OFD packet to send [10:27:12]OFD Sender: No OFD packet to send [10:27:17]OFD Sender: No OFD packet to send [10:27:22]OFD Sender: No OFD packet to send [10:27:27]OFD Sender: No OFD packet to send [10:27:32]OFD Sender: No OFD packet to send [10:27:37]OFD Sender: No OFD packet to send [10:27:42]OFD Sender: No OFD packet to send [10:27:47]OFD Sender: No OFD packet to send [10:27:52]OFD Sender: No OFD packet to send [10:27:57]OFD Sender: No OFD packet to send [10:28:02]OFD Sender: No OFD packet to send [10:28:07]OFD Sender: No OFD packet to send [10:28:12]OFD Sender: No OFD packet to send [10:28:17]OFD Sender: No OFD packet to send [10:28:22]OFD Sender: No OFD packet to send [10:28:27]OFD Sender: No OFD packet to send [10:28:32]OFD Sender: No OFD packet to send [10:28:37]OFD Sender: No OFD packet to send [10:28:42]OFD Sender: No OFD packet to send [10:28:47]OFD Sender: No OFD packet to send [10:28:52]OFD Sender: No OFD packet to send [10:28:57]OFD Sender: No OFD packet to send [10:29:02]OFD Sender: No OFD packet to send [10:29:07]OFD Sender: No OFD packet to send [10:29:12]OFD Sender: No OFD packet to send [10:29:17]OFD Sender: No OFD packet to send [10:29:22]OFD Sender: No OFD packet to send [10:29:27]OFD Sender: No OFD packet to send [10:29:32]OFD Sender: No OFD packet to send [10:29:37]OFD Sender: No OFD packet to send [10:29:42]OFD Sender: No OFD packet to send [10:29:47]OFD Sender: No OFD packet to send [10:29:52]OFD Sender: No OFD packet to send [10:29:57]OFD Sender: No OFD packet to send [10:30:02]OFD Sender: No OFD packet to send [10:30:07]OFD Sender: No OFD packet to send [10:30:12]OFD Sender: No OFD packet to send [10:30:17]OFD Sender: No OFD packet to send [10:30:22]OFD Sender: No OFD packet to send [10:30:27]OFD Sender: No OFD packet to send [10:30:32]OFD Sender: No OFD packet to send [10:30:37]OFD Sender: No OFD packet to send [10:30:42]OFD Sender: No OFD packet to send [10:30:47]OFD Sender: No OFD packet to send [10:30:52]OFD Sender: No OFD packet to send [10:30:57]OFD Sender: No OFD packet to send [10:31:02]OFD Sender: No OFD packet to send [10:31:07]OFD Sender: No OFD packet to send [10:31:12]OFD Sender: No OFD packet to send [10:31:17]OFD Sender: No OFD packet to send [10:31:22]OFD Sender: No OFD packet to send [10:31:27]OFD Sender: No OFD packet to send [10:31:32]OFD Sender: No OFD packet to send [10:31:37]OFD Sender: No OFD packet to send [10:31:42]OFD Sender: No OFD packet to send [10:31:47]OFD Sender: No OFD packet to send [10:31:52]OFD Sender: No OFD packet to send [10:31:57]OFD Sender: No OFD packet to send [10:32:02]OFD Sender: No OFD packet to send [10:32:07]OFD Sender: No OFD packet to send [10:32:12]OFD Sender: No OFD packet to send [10:32:17]OFD Sender: No OFD packet to send [10:32:22]OFD Sender: No OFD packet to send [10:32:27]OFD Sender: No OFD packet to send [10:32:32]OFD Sender: No OFD packet to send [10:32:37]OFD Sender: No OFD packet to send [10:32:42]OFD Sender: No OFD packet to send [10:32:47]OFD Sender: No OFD packet to send [10:32:52]OFD Sender: No OFD packet to send [10:32:57]OFD Sender: No OFD packet to send [10:33:02]OFD Sender: No OFD packet to send [10:33:07]OFD Sender: No OFD packet to send [10:33:12]OFD Sender: No OFD packet to send [10:33:17]OFD Sender: No OFD packet to send [10:33:22]OFD Sender: No OFD packet to send [10:33:27]OFD Sender: No OFD packet to send [10:33:32]OFD Sender: No OFD packet to send [10:33:37]OFD Sender: No OFD packet to send [10:33:42]OFD Sender: No OFD packet to send [10:33:47]OFD Sender: No OFD packet to send [10:33:52]OFD Sender: No OFD packet to send [10:33:57]OFD Sender: No OFD packet to send [10:34:02]OFD Sender: No OFD packet to send [10:34:07]OFD Sender: No OFD packet to send [10:34:12]OFD Sender: No OFD packet to send [10:34:17]OFD Sender: No OFD packet to send [10:34:22]OFD Sender: No OFD packet to send [10:34:27]OFD Sender: No OFD packet to send [10:34:32]OFD Sender: No OFD packet to send [10:34:37]OFD Sender: No OFD packet to send [10:34:42]OFD Sender: No OFD packet to send [10:34:47]OFD Sender: No OFD packet to send [10:34:52]OFD Sender: No OFD packet to send [10:34:57]OFD Sender: No OFD packet to send [10:35:02]OFD Sender: No OFD packet to send [10:35:07]OFD Sender: No OFD packet to send [10:35:12]OFD Sender: No OFD packet to send [10:35:17]OFD Sender: No OFD packet to send [10:35:22]OFD Sender: No OFD packet to send [10:35:27]OFD Sender: No OFD packet to send [10:35:32]OFD Sender: No OFD packet to send [10:35:37]OFD Sender: No OFD packet to send [10:35:42]OFD Sender: No OFD packet to send [10:35:47]OFD Sender: No OFD packet to send [10:35:52]OFD Sender: No OFD packet to send [10:35:57]OFD Sender: No OFD packet to send [10:36:02]accept exits with 10 [10:36:02]New connection [10:36:02]New thread 3067338084 created [10:36:02]Thread 3067481444 joined [10:36:02]Waiting for new connection... [10:36:02] Sock 10.Parse request [10:36:02]Sock 10.Check first char [10:36:02]Sock 10.First char is OK [10:36:02]request: POST /json_proto HTTP/1.0 [10:36:02]Method: POST [10:36:02]URL: /json_proto [10:36:02]Method is POST - this is cgi request [10:36:02]url: /json_proto [10:36:02]query_string will be loaded in cgi processing [10:36:02]execute_cgi json_proto POST (null) [10:36:02]execute_cgi path=json_proto method=POST [10:36:02]POST find Content-Length [10:36:02]Host: 172.17.47.135:8080 [10:36:02]Content-Length: 696 [10:36:02]Content-Type: application/json [10:36:02] [10:36:02]POST finish read [10:36:02]Found Content-Length = 696 [10:36:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130841", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 94.00, "quantity" : 1.000, "sum" : 94.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 94.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:36:02]execute_script... [10:36:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130841", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 94.00, "quantity" : 1.000, "sum" : 94.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 94.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:36:02]POST & json_proto [10:36:02]process_json_proto [10:36:02]json parsed OK: [10:36:02]protocol is kg_v1.0 [10:36:02]action value=close_receipt [10:36:02]process_action close_receipt [10:36:02]cmd_close_receipt [10:36:02]MH_GetDate [10:36:02]Write to MH i2c: F0 00 00 6B 00 5A [10:36:02]Write i2c OK [10:36:02]MH_I2C_Read... [10:36:02]Read from MH i2c: F0 [10:36:02]MH_I2C_Read... [10:36:02]Read from MH i2c: F0 09 00 [10:36:02]MH_I2C_Read... [10:36:02]Read from MH i2c: F0 09 00 6B 00 00 13 57 B8 67 19 D8 DE 66 21 [10:36:02]GetLastDocTimeStamp 1740132238 [10:36:02]current date 1740134163 [10:36:02]FM_GetShiftState [10:36:02]SAM_PROTO_GetShiftState [10:36:02]wFMCommunicate request_size=4 [10:36:02]MH_SAM_APDU [10:36:02]CAPDU: 80 13 01 00 [10:36:02]Write to MH i2c: E2 08 00 6C 00 80 13 01 00 00 00 00 00 E9 [10:36:02]Write i2c OK [10:36:02]MH_I2C_Read... [10:36:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:36:02]Read from MH i2c: E2 [10:36:02]MH_I2C_Read... [10:36:02]Read from MH i2c: E2 0E 00 [10:36:02]MH_I2C_Read... [10:36:02]Read from MH i2c: E2 0E 00 6C 00 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 4E [10:36:02]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [10:36:02]wFMCommunicate OK [10:36:02]SAM_PROTO_GetShiftState done [10:36:02]FM_GetShiftState done [10:36:02]opened in 1740096631 [10:36:02]opened+sec_in_day 1740183031 [10:36:02]quantity*price = 9400 [10:36:02]sum+1 = 9401 [10:36:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 94.00 НСП 1% : 0.83 НДС 12% : 9.98 Наличными: 94.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 18 21.02.2025 10:36 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32630 ФПД: 104200882388124 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T103603&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32630&fm=104200882388124&tin=02508201610067®Number=0000000000146237&sum=9400 0 [10:36:03]StoreToDocumentArchive [10:36:03]shift 386 fd 32630 [10:36:03]save to /storage/0386/doc_00032630 [10:36:03]save last doc name /storage/0386/doc_00032630 to /storage/kkm_last_doc_name [10:36:03]save OK [10:36:03]Clear old archive folders... [10:36:03]ProcessDocumentItem done err = 0, tmpTLVsize=299 [10:36:03]tlvbuf is 00F32B90 [10:36:03]SAM_PROTO_ClearQueue [10:36:03]wFMCommunicate request_size=4 [10:36:03]MH_SAM_APDU [10:36:03]CAPDU: 80 09 00 00 [10:36:03]Write to MH i2c: E2 08 00 79 00 80 09 00 00 00 00 00 00 EB [10:36:03]Write i2c OK [10:36:03]MH_I2C_Read... [10:36:03]Read from MH i2c: E2 [10:36:03]MH_I2C_Read... [10:36:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:36:03]Read from MH i2c: E2 03 00 [10:36:03]MH_I2C_Read... [10:36:03]Read from MH i2c: E2 03 00 79 00 00 90 00 ED [10:36:03]RAPDU: 90 00 [10:36:03]wFMCommunicate OK [10:36:03]SAM_PROTO_ClearQueue done [10:36:03]KKMCreateOFDPacket [10:36:03]OFDProtocolAddRootSTLVToBuf [10:36:03]FM_MakeSignedData [10:36:03]FM_MakeSignedData [10:36:03]SAM_PROTO_SignData [10:36:03]wFMCommunicate request_size=4 [10:36:03]MH_SAM_APDU [10:36:03]CAPDU: 80 0D 01 02 [10:36:03]Write to MH i2c: E2 08 00 7A 00 80 0D 01 02 00 00 00 00 F3 [10:36:03]Write i2c OK [10:36:03]MH_I2C_Read... [10:36:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:36:03]Read from MH i2c: E2 [10:36:03]MH_I2C_Read... [10:36:03]Read from MH i2c: E2 03 00 [10:36:03]MH_I2C_Read... [10:36:03]Read from MH i2c: E2 03 00 7A 00 00 90 00 EE [10:36:03]RAPDU: 90 00 [10:36:03]wFMCommunicate OK [10:36:03]wFMCommunicate request_size=255 [10:36:03]MH_SAM_APDU [10:36:03]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 B8 24 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 13 57 B8 67 0E 04 04 00 82 01 00 00 B9 04 01 00 01 0D 04 10 00 30 [10:36:03]Write to MH i2c: E2 02 01 7B 00 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 B8 24 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 13 57 B8 67 0E 04 04 00 82 01 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 A2 [10:36:03]Write i2c OK [10:36:03]MH_I2C_Read... [10:36:03]Read from MH i2c: E2 [10:36:03]MH_I2C_Read... [10:36:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:36:04]Read from MH i2c: E2 03 00 [10:36:04]MH_I2C_Read... [10:36:04]Read from MH i2c: E2 03 00 7B 00 00 90 00 EF [10:36:04]RAPDU: 90 00 [10:36:04]wFMCommunicate OK [10:36:04]wFMCommunicate request_size=58 [10:36:04]MH_SAM_APDU [10:36:04]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 76 7F 00 00 35 04 06 00 5E C5 28 94 7C 9C [10:36:04]Write to MH i2c: E2 3D 00 7C 00 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 76 7F 00 00 35 04 06 00 5E C5 28 94 7C 9C 00 00 D2 [10:36:04]Write i2c OK [10:36:04]MH_I2C_Read... [10:36:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:36:04]Read from MH i2c: E2 [10:36:04]MH_I2C_Read... [10:36:04]Read from MH i2c: E2 03 00 [10:36:04]MH_I2C_Read... [10:36:04]Read from MH i2c: E2 03 00 7C 00 00 90 00 F0 [10:36:04]RAPDU: 90 00 [10:36:04]wFMCommunicate OK [10:36:04]wFMCommunicate request_size=4 [10:36:04]MH_SAM_APDU [10:36:04]CAPDU: 80 0D 03 02 [10:36:04]Write to MH i2c: E2 08 00 7D 00 80 0D 03 02 00 00 00 00 F8 [10:36:04]Write i2c OK [10:36:04]MH_I2C_Read... [10:36:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:36:04]Read from MH i2c: E2 [10:36:04]MH_I2C_Read... [10:36:04]Read from MH i2c: E2 0B 00 [10:36:04]MH_I2C_Read... [10:36:04]Read from MH i2c: E2 0B 00 7D 00 00 67 0F D8 91 C5 05 3D 81 90 00 60 [10:36:04]RAPDU: 67 0F D8 91 C5 05 3D 81 90 00 [10:36:04]wFMCommunicate OK [10:36:04]SAM_PROTO_SignData done [10:36:04]FM_MakeSignedData done [10:36:04]CreateOFDProtocolMessage [10:36:04]wFMCommunicate request_size=4 [10:36:04]MH_SAM_APDU [10:36:04]CAPDU: 80 11 00 00 [10:36:04]Write to MH i2c: E2 08 00 7E 00 80 11 00 00 00 00 00 00 F8 [10:36:04]Write i2c OK [10:36:04]MH_I2C_Read... [10:36:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:36:04]Read from MH i2c: E2 [10:36:04]MH_I2C_Read... [10:36:04]Read from MH i2c: E2 17 00 [10:36:04]MH_I2C_Read... [10:36:04]Read from MH i2c: E2 17 00 7E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 4E [10:36:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [10:36:04]wFMCommunicate OK [10:36:04]CreateOFDProtocolMessage done [10:36:04]OFDSenderStorePacket 32630 [10:36:04]StoreOFDPacket docnum=32630 [10:36:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 3F 01 00 00 C5 10 37 01 2C 9B 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 B8 24 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 13 57 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 76 7F 00 00 35 04 06 00 5E C5 28 94 7C 9C 67 0F D8 91 C5 05 3D 81 [10:36:04]CheckFolder [10:36:04]dirname=/storage/ofd_packets [10:36:04]CheckFolder done [10:36:04]ProducePacketName [10:36:04]name=ofd_packets/00032630 [10:36:04]NVStorageSaveData ofd_packets/00032630 [10:36:04]File name is /storage/ofd_packets/00032630 [10:36:04]Write 349 bytes [10:36:04]NVStorageSaveData done [10:36:04]OFDSenderStorePacket done [10:36:04]KKMCreateOFDPacket done [10:36:04]NVStorageSaveData kkm_last_timestamp [10:36:04]File name is /storage/kkm_last_timestamp [10:36:04]Write 4 bytes [10:36:04]NVStorageSaveData done [10:36:04]ExternCall_PrintAddStr [10:36:04]wPrintStart [10:36:04]Write to MH i2c: 01 00 00 7F 00 7F [10:36:04]Write i2c OK [10:36:04]MH_I2C_Read... [10:36:04]Read from MH i2c: 01 [10:36:04]MH_I2C_Read... [10:36:04]Read from MH i2c: 01 07 00 [10:36:04]MH_I2C_Read... [10:36:04]Read from MH i2c: 01 07 00 7F 00 00 00 00 00 00 FF 0F 94 [10:36:04]RasterBufferAndPrint [10:36:04]line Счет N : (3)130841 [10:36:04]line ИНН: 02508201610067 [10:36:04]line Контрольно-Кассовый Чек [10:36:04]line ПРОДАЖА [10:36:04]line Товар: 4700000480364 [10:36:04]line Напиток энерг Nitro экзотик 0.45 ж/б [10:36:04]line 1.000 * 94.00 [10:36:04]line = 94.00 [10:36:04]line НДС 12% НСП 1% [10:36:04]line > о реализуемом товаре [10:36:04]line ИТОГО: 94.00 [10:36:04]line НСП 1% : 0.83 [10:36:04]line НДС 12% : 9.98 [10:36:04]line Наличными: 94.00 [10:36:04]line Безнал.: 0.00 [10:36:04]line Место: АЗС № 96 "Партнер Нефть" [10:36:04]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [10:36:04]line СНО: Общий режим [10:36:04]line Чек 18 21.02.2025 10:36 [10:36:04]line Смена: 386 ФФД: 1.0 [10:36:04]line ЗНМ: 0300000059 [10:36:04]line РНМ: 0000000000146237 [10:36:04]line Версия ККМ: v1.0 [10:36:04]line ФМ: 0000000000959282 [10:36:04]line ФД: 32630 [10:36:04]line ФПД: 104200882388124 [10:36:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T103603&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32630&fm=104200882388124&tin=02508201610067®Number=0000000000146237&sum=9400 [10:36:04]OFD Sender: Processing packet 32630 [packets to send 105, broken 104] [10:36:04]ProducePacketName [10:36:04]name=ofd_packets/00032630 [10:36:04]OFD Sender: To server: pG, [10:36:04]CommunicateWithHost lk.salyk.kg:30040 [10:36:04]ConnectInit lk.salyk.kg [10:36:04]line 0 [10:36:04]written 0, free lines is 4095 [10:36:04]Connected sock=11 [10:36: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 32 38 32 3F 01 00 00 C5 10 37 01 2C 9B 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 B8 24 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 13 57 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 76 7F 00 00 35 04 06 00 5E C5 28 94 7C 9C 67 0F D8 91 C5 05 3D 81 [10:36:04]Write to MH i2c: 01 00 00 A8 00 A8 [10:36:04]Write i2c OK [10:36:04]MH_I2C_Read... [10:36:04]Read from MH i2c: 01 [10:36:04]MH_I2C_Read... [10:36:04]Read from MH i2c: 01 07 00 [10:36:04]MH_I2C_Read... [10:36:04]Read from MH i2c: 01 07 00 A8 00 00 00 00 00 00 FB 0C B6 [10:36:04]RasterBufferAndPrint [10:36:04]line [10:36:04]line [10:36:04]line [10:36:04]line [10:36:04]line [10:36:04]written 0, free lines is 3330 [10:36:04]MH_Cut [10:36:04]Write to MH i2c: D1 01 00 AF 00 01 81 [10:36:04]Write i2c OK [10:36:04]MH_I2C_Read... [10:36:04]Read from MH i2c: D1 [10:36:04]MH_I2C_Read... [10:36:04]Read from MH i2c: D1 01 00 [10:36:04]MH_I2C_Read... [10:36:04]Read from MH i2c: D1 01 00 AF 00 00 80 [10:36:04]Write to MH i2c: 01 00 00 B0 00 B0 [10:36:04]Write i2c OK [10:36:04]MH_I2C_Read... [10:36:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 74 AB 47 00 C2 51 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 76 7F 00 00 F4 03 04 00 AA 00 B8 67 B6 04 01 00 00 02 5E D3 3A 43 1C D6 5C [10:36:05]CommunicateWithHost err = 0 [10:36:05]CheckOFDResponse [10:36:05]1017 (14) - 77093643461234 [10:36:05]1041 (16) - 0000000000959282 [10:36:05]1040 (4) - 32630 [10:36:05]1012 (4) - 21.02.2025 04:27 [10:36:05]1206 (1) - 0 [10:36:05]OFD Sender: Remove packet 32630 [10:36:05]ProducePacketName [10:36:05]name=ofd_packets/00032630 [10:36:05]NVStorageDeleteData [10:36:05]OFD Sender: No OFD packet to send [10:36:05]*** Cut start [10:36:05]*** Partial cut [10:36:05]*** CUTSNS_PIN = 1 [10:36:05]*** CUTSNS_PIN = 0 [10:36:05]*** Brake cut motor [10:36:06]Read from MH i2c: 01 [10:36:06]MH_I2C_Read... [10:36:06]*** Stop cut motor [10:36:06]*** Cut end [10:36:06]Read from MH i2c: 01 07 00 [10:36:06]MH_I2C_Read... [10:36:06]Read from MH i2c: 01 07 00 B0 00 00 00 00 00 00 FF 0F C5 [10:36:06]process_action close_receipt done [10:36:06]requested_data is exist [10:36:06]produce_requested_data [10:36:06]requested_item fm.sn is exist - process it [10:36:06]wFMCommunicate request_size=4 [10:36:06]MH_SAM_APDU [10:36:06]CAPDU: 80 11 00 00 [10:36:06]Write to MH i2c: E2 08 00 B1 00 80 11 00 00 00 00 00 00 2B [10:36:06]Write i2c OK [10:36:06]MH_I2C_Read... [10:36:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:36:06]Read from MH i2c: E2 [10:36:06]MH_I2C_Read... [10:36:06]Read from MH i2c: E2 17 00 [10:36:06]MH_I2C_Read... [10:36:06]Read from MH i2c: E2 17 00 B1 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 81 [10:36:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [10:36:06]wFMCommunicate OK [10:36:06]requested_item fd.num is exist - process it [10:36:06]SAM_PROTO_GetFieldsCounters [10:36:06]wFMCommunicate request_size=4 [10:36:06]MH_SAM_APDU [10:36:06]CAPDU: 80 13 00 00 [10:36:06]Write to MH i2c: E2 08 00 B2 00 80 13 00 00 00 00 00 00 2E [10:36:06]Write i2c OK [10:36:06]MH_I2C_Read... [10:36:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:36:06]Read from MH i2c: E2 [10:36:06]MH_I2C_Read... [10:36:06]Read from MH i2c: E2 62 00 [10:36:06]MH_I2C_Read... [10:36:06]Read from MH i2c: E2 62 00 B2 00 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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 76 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 FE [10:36:06]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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 76 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:36:06]wFMCommunicate OK [10:36:06]SAM_PROTO_GetFieldsCounters done [10:36:06]requested_item shift.num is exist - process it [10:36:06]requested_item shift.opened is exist - process it [10:36:06]req_shift_opened [10:36:06]FM_GetShiftState [10:36:06]SAM_PROTO_GetShiftState [10:36:06]wFMCommunicate request_size=4 [10:36:06]MH_SAM_APDU [10:36:06]CAPDU: 80 13 01 00 [10:36:06]Write to MH i2c: E2 08 00 B3 00 80 13 01 00 00 00 00 00 30 [10:36:06]Write i2c OK [10:36:06]MH_I2C_Read... [10:36:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:36:06]Read from MH i2c: E2 [10:36:06]MH_I2C_Read... [10:36:06]Read from MH i2c: E2 0E 00 [10:36:06]MH_I2C_Read... [10:36:06]Read from MH i2c: E2 0E 00 B3 00 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 95 [10:36:06]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [10:36:06]wFMCommunicate OK [10:36:06]SAM_PROTO_GetShiftState done [10:36:06]FM_GetShiftState done [10:36:06]req_shift_opened done [10:36:06]requested_item shift.open_date is exist - process it [10:36:06]req_shift_open_date [10:36:06]req_shift_open_date done [10:36:06]produce_requested_data done [10:36:06]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32630,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [10:36:06]process_action_free close_receipt [10:36:06]json_value_free [10:36:06]json_value_free done [10:36:06]process_json_proto returns [10:36:06]Send response to host [10:36:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32630,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [10:36:06]free response buf [10:36:06]execute_script done [10:36:06]execute_script returns [10:36:06]free content buf [10:36:06]Sock 10.Close socket [10:36:06]Sock 10.Thread stoped [10:36:10]OFD Sender: No OFD packet to send [10:36:15]OFD Sender: No OFD packet to send [10:36:20]OFD Sender: No OFD packet to send [10:36:25]OFD Sender: No OFD packet to send [10:36:30]OFD Sender: No OFD packet to send [10:36:35]OFD Sender: No OFD packet to send [10:36:40]OFD Sender: No OFD packet to send [10:36:45]OFD Sender: No OFD packet to send [10:36:50]OFD Sender: No OFD packet to send [10:36:55]OFD Sender: No OFD packet to send [10:37:00]OFD Sender: No OFD packet to send [10:37:05]OFD Sender: No OFD packet to send [10:37:10]OFD Sender: No OFD packet to send [10:37:15]OFD Sender: No OFD packet to send [10:37:20]OFD Sender: No OFD packet to send [10:37:25]OFD Sender: No OFD packet to send [10:37:30]OFD Sender: No OFD packet to send [10:37:35]OFD Sender: No OFD packet to send [10:37:40]OFD Sender: No OFD packet to send [10:37:45]OFD Sender: No OFD packet to send [10:37:50]OFD Sender: No OFD packet to send [10:37:55]OFD Sender: No OFD packet to send [10:38:00]OFD Sender: No OFD packet to send [10:38:05]OFD Sender: No OFD packet to send [10:38:10]OFD Sender: No OFD packet to send [10:38:15]OFD Sender: No OFD packet to send [10:38:20]OFD Sender: No OFD packet to send [10:38:25]OFD Sender: No OFD packet to send [10:38:30]OFD Sender: No OFD packet to send [10:38:35]OFD Sender: No OFD packet to send [10:38:40]OFD Sender: No OFD packet to send [10:38:45]OFD Sender: No OFD packet to send [10:38:50]OFD Sender: No OFD packet to send [10:38:55]OFD Sender: No OFD packet to send [10:39:00]OFD Sender: No OFD packet to send [10:39:05]OFD Sender: No OFD packet to send [10:39:10]OFD Sender: No OFD packet to send [10:39:15]OFD Sender: No OFD packet to send [10:39:20]OFD Sender: No OFD packet to send [10:39:25]OFD Sender: No OFD packet to send [10:39:30]OFD Sender: No OFD packet to send [10:39:35]OFD Sender: No OFD packet to send [10:39:40]OFD Sender: No OFD packet to send [10:39:45]OFD Sender: No OFD packet to send [10:39:50]OFD Sender: No OFD packet to send [10:39:55]OFD Sender: No OFD packet to send [10:40:00]OFD Sender: No OFD packet to send [10:40:05]OFD Sender: No OFD packet to send [10:40:10]OFD Sender: No OFD packet to send [10:40:15]OFD Sender: No OFD packet to send [10:40:20]OFD Sender: No OFD packet to send [10:40:25]OFD Sender: No OFD packet to send [10:40:30]OFD Sender: No OFD packet to send [10:40:35]OFD Sender: No OFD packet to send [10:40:40]OFD Sender: No OFD packet to send [10:40:45]OFD Sender: No OFD packet to send [10:40:50]OFD Sender: No OFD packet to send [10:40:55]OFD Sender: No OFD packet to send [10:41:00]OFD Sender: No OFD packet to send [10:41:05]OFD Sender: No OFD packet to send [10:41:10]OFD Sender: No OFD packet to send [10:41:15]OFD Sender: No OFD packet to send [10:41:20]OFD Sender: No OFD packet to send [10:41:25]OFD Sender: No OFD packet to send [10:41:30]OFD Sender: No OFD packet to send [10:41:35]OFD Sender: No OFD packet to send [10:41:40]OFD Sender: No OFD packet to send [10:41:45]OFD Sender: No OFD packet to send [10:41:50]OFD Sender: No OFD packet to send [10:41:55]OFD Sender: No OFD packet to send [10:42:00]OFD Sender: No OFD packet to send [10:42:05]OFD Sender: No OFD packet to send [10:42:10]OFD Sender: No OFD packet to send [10:42:15]OFD Sender: No OFD packet to send [10:42:20]OFD Sender: No OFD packet to send [10:42:25]OFD Sender: No OFD packet to send [10:42:30]OFD Sender: No OFD packet to send [10:42:35]OFD Sender: No OFD packet to send [10:42:40]OFD Sender: No OFD packet to send [10:42:46]OFD Sender: No OFD packet to send [10:42:51]OFD Sender: No OFD packet to send [10:42:56]OFD Sender: No OFD packet to send [10:43:01]OFD Sender: No OFD packet to send [10:43:06]OFD Sender: No OFD packet to send [10:43:11]OFD Sender: No OFD packet to send [10:43:16]OFD Sender: No OFD packet to send [10:43:21]OFD Sender: No OFD packet to send [10:43:26]OFD Sender: No OFD packet to send [10:43:31]OFD Sender: No OFD packet to send [10:43:36]OFD Sender: No OFD packet to send [10:43:41]OFD Sender: No OFD packet to send [10:43:46]OFD Sender: No OFD packet to send [10:43:51]OFD Sender: No OFD packet to send [10:43:56]OFD Sender: No OFD packet to send [10:44:01]OFD Sender: No OFD packet to send [10:44:06]OFD Sender: No OFD packet to send [10:44:11]OFD Sender: No OFD packet to send [10:44:16]OFD Sender: No OFD packet to send [10:44:21]OFD Sender: No OFD packet to send [10:44:26]OFD Sender: No OFD packet to send [10:44:31]OFD Sender: No OFD packet to send [10:44:33]accept exits with 7 [10:44:33]New connection [10:44:33]New thread 3067481444 created [10:44:33]Thread 3067338084 joined [10:44:33]Waiting for new connection... [10:44:33] Sock 7.Parse request [10:44:33]Sock 7.Check first char [10:44:33]Sock 7.First char is OK [10:44:33]request: POST /json_proto HTTP/1.0 [10:44:33]Method: POST [10:44:33]URL: /json_proto [10:44:33]Method is POST - this is cgi request [10:44:33]url: /json_proto [10:44:33]query_string will be loaded in cgi processing [10:44:33]execute_cgi json_proto POST (null) [10:44:33]execute_cgi path=json_proto method=POST [10:44:33]POST find Content-Length [10:44:33]Host: 172.17.47.135:8080 [10:44:33]Content-Length: 893 [10:44:33]Content-Type: application/json [10:44:33] [10:44:33]POST finish read [10:44:33]Found Content-Length = 893 [10:44:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130842", "tax_sys" : 0, "items" : [ { "code": "48746649", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Super Slims Winter F", "price" : 159.00, "quantity" : 2.000, "sum" : 318.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 129.00, "quantity" : 2.000, "sum" : 258.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 576.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:44:33]execute_script... [10:44:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130842", "tax_sys" : 0, "items" : [ { "code": "48746649", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Super Slims Winter F", "price" : 159.00, "quantity" : 2.000, "sum" : 318.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 129.00, "quantity" : 2.000, "sum" : 258.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 576.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:44:33]POST & json_proto [10:44:33]process_json_proto [10:44:33]json parsed OK: [10:44:33]protocol is kg_v1.0 [10:44:33]action value=close_receipt [10:44:33]process_action close_receipt [10:44:33]cmd_close_receipt [10:44:33]MH_GetDate [10:44:33]Write to MH i2c: F0 00 00 B4 00 A3 [10:44:33]Write i2c OK [10:44:33]MH_I2C_Read... [10:44:33]Read from MH i2c: F0 [10:44:33]MH_I2C_Read... [10:44:33]Read from MH i2c: F0 09 00 [10:44:33]MH_I2C_Read... [10:44:33]Read from MH i2c: F0 09 00 B4 00 00 12 59 B8 67 19 D8 DE 66 6B [10:44:33]GetLastDocTimeStamp 1740134163 [10:44:33]current date 1740134674 [10:44:33]FM_GetShiftState [10:44:33]SAM_PROTO_GetShiftState [10:44:33]wFMCommunicate request_size=4 [10:44:33]MH_SAM_APDU [10:44:33]CAPDU: 80 13 01 00 [10:44:33]Write to MH i2c: E2 08 00 B5 00 80 13 01 00 00 00 00 00 32 [10:44:33]Write i2c OK [10:44:33]MH_I2C_Read... [10:44:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:44:33]Read from MH i2c: E2 [10:44:33]MH_I2C_Read... [10:44:33]Read from MH i2c: E2 0E 00 [10:44:33]MH_I2C_Read... [10:44:33]Read from MH i2c: E2 0E 00 B5 00 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 97 [10:44:33]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [10:44:33]wFMCommunicate OK [10:44:33]SAM_PROTO_GetShiftState done [10:44:33]FM_GetShiftState done [10:44:33]opened in 1740096631 [10:44:33]opened+sec_in_day 1740183031 [10:44:33]quantity*price = 31800 [10:44:33]sum+1 = 31801 [10:44:33]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036210013 Кофе Капучино (GABB TRADE) 2.000 * 129.00 = 258.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 576.00 НСП 1% : 5.09 НДС 12% : 61.17 Наличными: 576.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 19 21.02.2025 10:44 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32631 ФПД: 16253796634201 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T104434&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32631&fm=16253796634201&tin=02508201610067®Number=0000000000146237&sum=57600 0 [10:44:34]StoreToDocumentArchive [10:44:34]shift 386 fd 32631 [10:44:34]save to /storage/0386/doc_00032631 [10:44:34]save last doc name /storage/0386/doc_00032631 to /storage/kkm_last_doc_name [10:44:34]save OK [10:44:34]Clear old archive folders... [10:44:34]ProcessDocumentItem done err = 0, tmpTLVsize=395 [10:44:34]tlvbuf is 00F36E90 [10:44:34]SAM_PROTO_ClearQueue [10:44:34]wFMCommunicate request_size=4 [10:44:34]MH_SAM_APDU [10:44:34]CAPDU: 80 09 00 00 [10:44:34]Write to MH i2c: E2 08 00 C2 00 80 09 00 00 00 00 00 00 34 [10:44:34]Write i2c OK [10:44:34]MH_I2C_Read... [10:44:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:44:34]Read from MH i2c: E2 [10:44:34]MH_I2C_Read... [10:44:34]Read from MH i2c: E2 03 00 [10:44:34]MH_I2C_Read... [10:44:34]Read from MH i2c: E2 03 00 C2 00 00 90 00 36 [10:44:34]RAPDU: 90 00 [10:44:34]wFMCommunicate OK [10:44:34]SAM_PROTO_ClearQueue done [10:44:34]KKMCreateOFDPacket [10:44:34]OFDProtocolAddRootSTLVToBuf [10:44:34]FM_MakeSignedData [10:44:34]FM_MakeSignedData [10:44:34]SAM_PROTO_SignData [10:44:34]wFMCommunicate request_size=4 [10:44:34]MH_SAM_APDU [10:44:34]CAPDU: 80 0D 01 02 [10:44:34]Write to MH i2c: E2 08 00 C3 00 80 0D 01 02 00 00 00 00 3C [10:44:34]Write i2c OK [10:44:34]MH_I2C_Read... [10:44:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:44:34]Read from MH i2c: E2 [10:44:34]MH_I2C_Read... [10:44:34]Read from MH i2c: E2 03 00 [10:44:34]MH_I2C_Read... [10:44:34]Read from MH i2c: E2 03 00 C3 00 00 90 00 37 [10:44:34]RAPDU: 90 00 [10:44:34]wFMCommunicate OK [10:44:34]wFMCommunicate request_size=255 [10:44:34]MH_SAM_APDU [10:44:34]CAPDU: 80 0D 02 02 FA 03 00 8B 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 36 34 39 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 75 70 65 72 20 53 6C 69 6D 73 20 57 69 6E 74 65 72 20 46 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 38 7C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 C8 64 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 E1 00 00 00 00 EB 03 26 00 EF 03 [10:44:34]Write to MH i2c: E2 02 01 C4 00 80 0D 02 02 FA 00 03 00 8B 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 36 34 39 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 75 70 65 72 20 53 6C 69 6D 73 20 57 69 6E 74 65 72 20 46 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 38 7C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 C8 64 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 E1 00 00 00 00 EB 03 26 00 EF 03 00 00 4D [10:44:34]Write i2c OK [10:44:34]MH_I2C_Read... [10:44:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:44:35]Read from MH i2c: E2 [10:44:35]MH_I2C_Read... [10:44:35]Read from MH i2c: E2 03 00 [10:44:35]MH_I2C_Read... [10:44:35]Read from MH i2c: E2 03 00 C4 00 00 90 00 38 [10:44:35]RAPDU: 90 00 [10:44:35]wFMCommunicate OK [10:44:35]wFMCommunicate request_size=154 [10:44:35]MH_SAM_APDU [10:44:35]CAPDU: 80 0D 02 02 95 0F 00 F6 03 01 00 01 F7 03 06 00 FD 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 17 00 00 00 00 07 04 06 00 00 E1 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 12 59 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 77 7F 00 00 35 04 06 00 0E C8 61 C6 4E 59 [10:44:35]Write to MH i2c: E2 9D 00 C5 00 80 0D 02 02 95 00 0F 00 F6 03 01 00 01 F7 03 06 00 FD 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 17 00 00 00 00 07 04 06 00 00 E1 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 12 59 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 77 7F 00 00 35 04 06 00 0E C8 61 C6 4E 59 00 00 36 [10:44:35]Write i2c OK [10:44:35]MH_I2C_Read... [10:44:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:44:35]Read from MH i2c: E2 [10:44:35]MH_I2C_Read... [10:44:35]Read from MH i2c: E2 03 00 [10:44:35]MH_I2C_Read... [10:44:35]Read from MH i2c: E2 03 00 C5 00 00 90 00 39 [10:44:35]RAPDU: 90 00 [10:44:35]wFMCommunicate OK [10:44:35]wFMCommunicate request_size=4 [10:44:35]MH_SAM_APDU [10:44:35]CAPDU: 80 0D 03 02 [10:44:35]Write to MH i2c: E2 08 00 C6 00 80 0D 03 02 00 00 00 00 41 [10:44:35]Write i2c OK [10:44:35]MH_I2C_Read... [10:44:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:44:35]Read from MH i2c: E2 [10:44:35]MH_I2C_Read... [10:44:35]Read from MH i2c: E2 0B 00 [10:44:35]MH_I2C_Read... [10:44:35]Read from MH i2c: E2 0B 00 C6 00 00 70 47 49 20 A1 EA D8 E5 90 00 AA [10:44:35]RAPDU: 70 47 49 20 A1 EA D8 E5 90 00 [10:44:35]wFMCommunicate OK [10:44:35]SAM_PROTO_SignData done [10:44:35]FM_MakeSignedData done [10:44:35]CreateOFDProtocolMessage [10:44:35]wFMCommunicate request_size=4 [10:44:35]MH_SAM_APDU [10:44:35]CAPDU: 80 11 00 00 [10:44:35]Write to MH i2c: E2 08 00 C7 00 80 11 00 00 00 00 00 00 41 [10:44:35]Write i2c OK [10:44:35]MH_I2C_Read... [10:44:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:44:35]Read from MH i2c: E2 [10:44:35]MH_I2C_Read... [10:44:35]Read from MH i2c: E2 17 00 [10:44:35]MH_I2C_Read... [10:44:35]Read from MH i2c: E2 17 00 C7 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 97 [10:44:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [10:44:35]wFMCommunicate OK [10:44:35]CreateOFDProtocolMessage done [10:44:35]OFDSenderStorePacket 32631 [10:44:35]StoreOFDPacket docnum=32631 [10:44:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 9F 01 00 00 D3 A0 97 01 9E 22 5A 03 01 00 03 00 8B 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 36 34 39 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 75 70 65 72 20 53 6C 69 6D 73 20 57 69 6E 74 65 72 20 46 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 38 7C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 C8 64 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 E1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FD 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 17 00 00 00 00 07 04 06 00 00 E1 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 12 59 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 77 7F 00 00 35 04 06 00 0E C8 61 C6 4E 59 70 47 49 20 A1 EA D8 E5 [10:44:35]CheckFolder [10:44:35]dirname=/storage/ofd_packets [10:44:35]CheckFolder done [10:44:35]ProducePacketName [10:44:35]name=ofd_packets/00032631 [10:44:35]NVStorageSaveData ofd_packets/00032631 [10:44:35]File name is /storage/ofd_packets/00032631 [10:44:35]Write 445 bytes [10:44:35]NVStorageSaveData done [10:44:35]OFDSenderStorePacket done [10:44:35]KKMCreateOFDPacket done [10:44:35]NVStorageSaveData kkm_last_timestamp [10:44:35]File name is /storage/kkm_last_timestamp [10:44:35]Write 4 bytes [10:44:35]NVStorageSaveData done [10:44:35]ExternCall_PrintAddStr [10:44:35]wPrintStart [10:44:35]Write to MH i2c: 01 00 00 C8 00 C8 [10:44:35]Write i2c OK [10:44:35]MH_I2C_Read... [10:44:35]Read from MH i2c: 01 [10:44:35]MH_I2C_Read... [10:44:35]Read from MH i2c: 01 07 00 [10:44:35]MH_I2C_Read... [10:44:35]Read from MH i2c: 01 07 00 C8 00 00 00 00 00 00 FF 0F DD [10:44:35]RasterBufferAndPrint [10:44:35]line Счет N : (3)130842 [10:44:35]line ИНН: 02508201610067 [10:44:35]line Контрольно-Кассовый Чек [10:44:35]line ПРОДАЖА [10:44:35]line Товар: 48746649 [10:44:35]line Сигареты Parliament Super Slims Winter F [10:44:35]line 2.000 * 159.00 [10:44:35]line = 318.00 [10:44:35]line НДС 12% НСП 1% [10:44:35]line > о реализуемом товаре [10:44:35]line Товар: 2000036210013 [10:44:35]line Кофе Капучино (GABB TRADE) [10:44:35]line 2.000 * 129.00 [10:44:35]line = 258.00 [10:44:35]line НДС 12% НСП 1% [10:44:35]line > о реализуемом товаре [10:44:35]line ИТОГО: 576.00 [10:44:35]line НСП 1% : 5.09 [10:44:35]line НДС 12% : 61.17 [10:44:35]line Наличными: 576.00 [10:44:35]line Безнал.: 0.00 [10:44:35]line Место: АЗС № 96 "Партнер Нефть" [10:44:35]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [10:44:35]line СНО: Общий режим [10:44:35]line Чек 19 21.02.2025 10:44 [10:44:35]line Смена: 386 ФФД: 1.0 [10:44:35]line ЗНМ: 0300000059 [10:44:35]line РНМ: 0000000000146237 [10:44:35]line Версия ККМ: v1.0 [10:44:35]line ФМ: 0000000000959282 [10:44:35]line ФД: 32631 [10:44:35]line ФПД: 16253796634201 [10:44:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T104434&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32631&fm=16253796634201&tin=02508201610067®Number=0000000000146237&sum=57600 [10:44:35]line 0 [10:44:35]OFD Sender: Processing packet 32631 [packets to send 105, broken 104] [10:44:35]ProducePacketName [10:44:35]name=ofd_packets/00032631 [10:44:35]OFD Sender: To server: pG, [10:44:35]CommunicateWithHost lk.salyk.kg:30040 [10:44:35]ConnectInit lk.salyk.kg [10:44:35]written 0, free lines is 4095 [10:44:35]Connected sock=10 [10:44: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 32 38 32 9F 01 00 00 D3 A0 97 01 9E 22 5A 03 01 00 03 00 8B 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 36 34 39 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 75 70 65 72 20 53 6C 69 6D 73 20 57 69 6E 74 65 72 20 46 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 38 7C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 C8 64 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 E1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FD 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E5 17 00 00 00 00 07 04 06 00 00 E1 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 12 59 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 77 7F 00 00 35 04 06 00 0E C8 61 C6 4E 59 70 47 49 20 A1 EA D8 E5 [10:44:36]Write to MH i2c: 01 00 00 F7 00 F7 [10:44:36]Write i2c OK [10:44:36]MH_I2C_Read... [10:44:36]Read from MH i2c: 01 [10:44:36]MH_I2C_Read... [10:44:36]Read from MH i2c: 01 07 00 [10:44:36]MH_I2C_Read... [10:44:36]Read from MH i2c: 01 07 00 F7 00 00 00 00 00 00 C4 0C CE [10:44:36]RasterBufferAndPrint [10:44:36]line [10:44:36]line [10:44:36]line [10:44:36]line [10:44:36]line [10:44:36]written 0, free lines is 3274 [10:44:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 3F 6D 47 00 17 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 32 38 32 10 04 04 00 77 7F 00 00 F4 03 04 00 A9 02 B8 67 B6 04 01 00 00 A3 E0 50 74 01 7F 4F 85 [10:44:36]CommunicateWithHost err = 0 [10:44:36]CheckOFDResponse [10:44:36]1017 (14) - 77093643461234 [10:44:36]1041 (16) - 0000000000959282 [10:44:36]1040 (4) - 32631 [10:44:36]1012 (4) - 21.02.2025 04:35 [10:44:36]1206 (1) - 0 [10:44:36]OFD Sender: Remove packet 32631 [10:44:36]ProducePacketName [10:44:36]name=ofd_packets/00032631 [10:44:36]NVStorageDeleteData [10:44:36]MH_Cut [10:44:36]Write to MH i2c: D1 01 00 FE 00 01 D0 [10:44:36]Write i2c OK [10:44:36]MH_I2C_Read... [10:44:36]Read from MH i2c: D1 [10:44:36]MH_I2C_Read... [10:44:36]Read from MH i2c: D1 01 00 [10:44:36]MH_I2C_Read... [10:44:36]Read from MH i2c: D1 01 00 FE 00 00 CF [10:44:36]Write to MH i2c: 01 00 00 FF 00 FF [10:44:36]Write i2c OK [10:44:36]MH_I2C_Read... [10:44:36]OFD Sender: No OFD packet to send [10:44:36]*** Cut start [10:44:36]*** Partial cut [10:44:36]*** CUTSNS_PIN = 1 [10:44:36]*** CUTSNS_PIN = 0 [10:44:37]*** Brake cut motor [10:44:37]Read from MH i2c: 01 [10:44:37]MH_I2C_Read... [10:44:37]*** Stop cut motor [10:44:37]*** Cut end [10:44:37]Read from MH i2c: 01 07 00 [10:44:37]MH_I2C_Read... [10:44:37]Read from MH i2c: 01 07 00 FF 00 00 00 00 00 00 FF 0F 14 [10:44:37]process_action close_receipt done [10:44:37]requested_data is exist [10:44:37]produce_requested_data [10:44:37]requested_item fm.sn is exist - process it [10:44:37]wFMCommunicate request_size=4 [10:44:37]MH_SAM_APDU [10:44:37]CAPDU: 80 11 00 00 [10:44:37]Write to MH i2c: E2 08 00 00 01 80 11 00 00 00 00 00 00 7B [10:44:37]Write i2c OK [10:44:37]MH_I2C_Read... [10:44:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:44:37]Read from MH i2c: E2 [10:44:37]MH_I2C_Read... [10:44:37]Read from MH i2c: E2 17 00 [10:44:37]MH_I2C_Read... [10:44:37]Read from MH i2c: E2 17 00 00 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 D1 [10:44:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [10:44:37]wFMCommunicate OK [10:44:37]requested_item fd.num is exist - process it [10:44:37]SAM_PROTO_GetFieldsCounters [10:44:37]wFMCommunicate request_size=4 [10:44:37]MH_SAM_APDU [10:44:37]CAPDU: 80 13 00 00 [10:44:37]Write to MH i2c: E2 08 00 01 01 80 13 00 00 00 00 00 00 7E [10:44:37]Write i2c OK [10:44:37]MH_I2C_Read... [10:44:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:44:37]Read from MH i2c: E2 [10:44:37]MH_I2C_Read... [10:44:37]Read from MH i2c: E2 62 00 [10:44:37]MH_I2C_Read... [10:44:37]Read from MH i2c: E2 62 00 01 01 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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 77 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 52 [10:44: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 77 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:44:37]wFMCommunicate OK [10:44:37]SAM_PROTO_GetFieldsCounters done [10:44:37]requested_item shift.num is exist - process it [10:44:37]requested_item shift.opened is exist - process it [10:44:37]req_shift_opened [10:44:37]FM_GetShiftState [10:44:37]SAM_PROTO_GetShiftState [10:44:37]wFMCommunicate request_size=4 [10:44:37]MH_SAM_APDU [10:44:37]CAPDU: 80 13 01 00 [10:44:37]Write to MH i2c: E2 08 00 02 01 80 13 01 00 00 00 00 00 80 [10:44:37]Write i2c OK [10:44:37]MH_I2C_Read... [10:44:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:44:37]Read from MH i2c: E2 [10:44:37]MH_I2C_Read... [10:44:37]Read from MH i2c: E2 0E 00 [10:44:37]MH_I2C_Read... [10:44:37]Read from MH i2c: E2 0E 00 02 01 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 E5 [10:44:37]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [10:44:37]wFMCommunicate OK [10:44:37]SAM_PROTO_GetShiftState done [10:44:37]FM_GetShiftState done [10:44:37]req_shift_opened done [10:44:37]requested_item shift.open_date is exist - process it [10:44:37]req_shift_open_date [10:44:37]req_shift_open_date done [10:44:37]produce_requested_data done [10:44:37]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32631,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [10:44:37]process_action_free close_receipt [10:44:37]json_value_free [10:44:37]json_value_free done [10:44:37]process_json_proto returns [10:44:37]Send response to host [10:44:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32631,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [10:44:37]free response buf [10:44:37]execute_script done [10:44:37]execute_script returns [10:44:37]free content buf [10:44:37]Sock 7.Close socket [10:44:37]Sock 7.Thread stoped [10:44:41]OFD Sender: No OFD packet to send [10:44:46]OFD Sender: No OFD packet to send [10:44:51]OFD Sender: No OFD packet to send [10:44:56]OFD Sender: No OFD packet to send [10:45:01]OFD Sender: No OFD packet to send [10:45:06]OFD Sender: No OFD packet to send [10:45:11]OFD Sender: No OFD packet to send [10:45:16]OFD Sender: No OFD packet to send [10:45:21]OFD Sender: No OFD packet to send [10:45:26]OFD Sender: No OFD packet to send [10:45:31]OFD Sender: No OFD packet to send [10:45:36]OFD Sender: No OFD packet to send [10:45:41]OFD Sender: No OFD packet to send [10:45:46]OFD Sender: No OFD packet to send [10:45:51]OFD Sender: No OFD packet to send [10:45:56]OFD Sender: No OFD packet to send [10:46:01]OFD Sender: No OFD packet to send [10:46:06]OFD Sender: No OFD packet to send [10:46:11]OFD Sender: No OFD packet to send [10:46:16]OFD Sender: No OFD packet to send [10:46:21]OFD Sender: No OFD packet to send [10:46:26]OFD Sender: No OFD packet to send [10:46:31]OFD Sender: No OFD packet to send [10:46:36]OFD Sender: No OFD packet to send [10:46:41]OFD Sender: No OFD packet to send [10:46:46]OFD Sender: No OFD packet to send [10:46:51]OFD Sender: No OFD packet to send [10:46:56]OFD Sender: No OFD packet to send [10:47:01]OFD Sender: No OFD packet to send [10:47:06]OFD Sender: No OFD packet to send [10:47:11]OFD Sender: No OFD packet to send [10:47:16]OFD Sender: No OFD packet to send [10:47:21]OFD Sender: No OFD packet to send [10:47:26]OFD Sender: No OFD packet to send [10:47:31]OFD Sender: No OFD packet to send [10:47:36]OFD Sender: No OFD packet to send [10:47:41]OFD Sender: No OFD packet to send [10:47:46]OFD Sender: No OFD packet to send [10:47:51]OFD Sender: No OFD packet to send [10:47:56]OFD Sender: No OFD packet to send [10:48:01]OFD Sender: No OFD packet to send [10:48:06]OFD Sender: No OFD packet to send [10:48:11]OFD Sender: No OFD packet to send [10:48:16]OFD Sender: No OFD packet to send [10:48:22]OFD Sender: No OFD packet to send [10:48:27]OFD Sender: No OFD packet to send [10:48:32]OFD Sender: No OFD packet to send [10:48:37]OFD Sender: No OFD packet to send [10:48:42]OFD Sender: No OFD packet to send [10:48:47]OFD Sender: No OFD packet to send [10:48:52]OFD Sender: No OFD packet to send [10:48:57]OFD Sender: No OFD packet to send [10:49:02]OFD Sender: No OFD packet to send [10:49:07]OFD Sender: No OFD packet to send [10:49:12]OFD Sender: No OFD packet to send [10:49:17]OFD Sender: No OFD packet to send [10:49:22]OFD Sender: No OFD packet to send [10:49:27]OFD Sender: No OFD packet to send [10:49:32]OFD Sender: No OFD packet to send [10:49:37]OFD Sender: No OFD packet to send [10:49:42]OFD Sender: No OFD packet to send [10:49:47]OFD Sender: No OFD packet to send [10:49:52]OFD Sender: No OFD packet to send [10:49:57]OFD Sender: No OFD packet to send [10:50:02]OFD Sender: No OFD packet to send [10:50:07]OFD Sender: No OFD packet to send [10:50:12]OFD Sender: No OFD packet to send [10:50:17]OFD Sender: No OFD packet to send [10:50:22]OFD Sender: No OFD packet to send [10:50:27]OFD Sender: No OFD packet to send [10:50:32]OFD Sender: No OFD packet to send [10:50:37]OFD Sender: No OFD packet to send [10:50:42]OFD Sender: No OFD packet to send [10:50:47]OFD Sender: No OFD packet to send [10:50:52]OFD Sender: No OFD packet to send [10:50:57]OFD Sender: No OFD packet to send [10:51:02]OFD Sender: No OFD packet to send [10:51:07]OFD Sender: No OFD packet to send [10:51:12]OFD Sender: No OFD packet to send [10:51:17]OFD Sender: No OFD packet to send [10:51:22]OFD Sender: No OFD packet to send [10:51:27]OFD Sender: No OFD packet to send [10:51:32]OFD Sender: No OFD packet to send [10:51:37]OFD Sender: No OFD packet to send [10:51:42]OFD Sender: No OFD packet to send [10:51:47]OFD Sender: No OFD packet to send [10:51:52]OFD Sender: No OFD packet to send [10:51:57]OFD Sender: No OFD packet to send [10:52:02]OFD Sender: No OFD packet to send [10:52:07]OFD Sender: No OFD packet to send [10:52:12]OFD Sender: No OFD packet to send [10:52:17]OFD Sender: No OFD packet to send [10:52:22]OFD Sender: No OFD packet to send [10:52:27]OFD Sender: No OFD packet to send [10:52:32]OFD Sender: No OFD packet to send [10:52:37]OFD Sender: No OFD packet to send [10:52:42]OFD Sender: No OFD packet to send [10:52:47]OFD Sender: No OFD packet to send [10:52:52]OFD Sender: No OFD packet to send [10:52:57]OFD Sender: No OFD packet to send [10:53:02]OFD Sender: No OFD packet to send [10:53:07]OFD Sender: No OFD packet to send [10:53:12]OFD Sender: No OFD packet to send [10:53:17]OFD Sender: No OFD packet to send [10:53:22]OFD Sender: No OFD packet to send [10:53:27]OFD Sender: No OFD packet to send [10:53:32]OFD Sender: No OFD packet to send [10:53:37]OFD Sender: No OFD packet to send [10:53:42]OFD Sender: No OFD packet to send [10:53:47]OFD Sender: No OFD packet to send [10:53:52]OFD Sender: No OFD packet to send [10:53:57]OFD Sender: No OFD packet to send [10:54:02]OFD Sender: No OFD packet to send [10:54:07]OFD Sender: No OFD packet to send [10:54:12]OFD Sender: No OFD packet to send [10:54:17]OFD Sender: No OFD packet to send [10:54:22]OFD Sender: No OFD packet to send [10:54:27]OFD Sender: No OFD packet to send [10:54:32]OFD Sender: No OFD packet to send [10:54:37]OFD Sender: No OFD packet to send [10:54:42]OFD Sender: No OFD packet to send [10:54:47]OFD Sender: No OFD packet to send [10:54:52]OFD Sender: No OFD packet to send [10:54:57]OFD Sender: No OFD packet to send [10:55:02]OFD Sender: No OFD packet to send [10:55:07]OFD Sender: No OFD packet to send [10:55:12]OFD Sender: No OFD packet to send [10:55:17]OFD Sender: No OFD packet to send [10:55:22]OFD Sender: No OFD packet to send [10:55:27]OFD Sender: No OFD packet to send [10:55:32]OFD Sender: No OFD packet to send [10:55:37]OFD Sender: No OFD packet to send [10:55:42]OFD Sender: No OFD packet to send [10:55:47]OFD Sender: No OFD packet to send [10:55:52]OFD Sender: No OFD packet to send [10:55:57]OFD Sender: No OFD packet to send [10:56:02]OFD Sender: No OFD packet to send [10:56:07]OFD Sender: No OFD packet to send [10:56:12]OFD Sender: No OFD packet to send [10:56:17]OFD Sender: No OFD packet to send [10:56:22]OFD Sender: No OFD packet to send [10:56:27]OFD Sender: No OFD packet to send [10:56:32]OFD Sender: No OFD packet to send [10:56:37]OFD Sender: No OFD packet to send [10:56:42]OFD Sender: No OFD packet to send [10:56:47]OFD Sender: No OFD packet to send [10:56:52]OFD Sender: No OFD packet to send [10:56:57]OFD Sender: No OFD packet to send [10:57:02]OFD Sender: No OFD packet to send [10:57:07]OFD Sender: No OFD packet to send [10:57:12]OFD Sender: No OFD packet to send [10:57:17]OFD Sender: No OFD packet to send [10:57:22]OFD Sender: No OFD packet to send [10:57:27]accept exits with 9 [10:57:27]New connection [10:57:27]New thread 3067338084 created [10:57:27]Thread 3067481444 joined [10:57:27]Waiting for new connection... [10:57:27] Sock 9.Parse request [10:57:27]Sock 9.Check first char [10:57:27]Sock 9.First char is OK [10:57:27]request: POST /json_proto HTTP/1.0 [10:57:27]Method: POST [10:57:27]URL: /json_proto [10:57:27]Method is POST - this is cgi request [10:57:27]url: /json_proto [10:57:27]query_string will be loaded in cgi processing [10:57:27]execute_cgi json_proto POST (null) [10:57:27]execute_cgi path=json_proto method=POST [10:57:27]POST find Content-Length [10:57:27]Host: 172.17.47.135:8080 [10:57:27]Content-Length: 644 [10:57:27]Content-Type: application/json [10:57:27] [10:57:27]POST finish read [10:57:27]Found Content-Length = 644 [10:57:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130843", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 129.00, "quantity" : 1.000, "sum" : 129.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 129.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:57:27]execute_script... [10:57:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130843", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 129.00, "quantity" : 1.000, "sum" : 129.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 129.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:57:27]POST & json_proto [10:57:27]process_json_proto [10:57:27]json parsed OK: [10:57:27]protocol is kg_v1.0 [10:57:27]action value=close_receipt [10:57:27]process_action close_receipt [10:57:27]cmd_close_receipt [10:57:27]MH_GetDate [10:57:27]Write to MH i2c: F0 00 00 03 01 F3 [10:57:27]Write i2c OK [10:57:27]MH_I2C_Read... [10:57:27]Read from MH i2c: F0 [10:57:27]MH_I2C_Read... [10:57:27]Read from MH i2c: F0 09 00 [10:57:27]MH_I2C_Read... [10:57:27]Read from MH i2c: F0 09 00 03 01 00 18 5C B8 67 19 D8 DE 66 C4 [10:57:27]GetLastDocTimeStamp 1740134674 [10:57:27]current date 1740135448 [10:57:27]FM_GetShiftState [10:57:27]SAM_PROTO_GetShiftState [10:57:27]wFMCommunicate request_size=4 [10:57:27]MH_SAM_APDU [10:57:27]CAPDU: 80 13 01 00 [10:57:27]Write to MH i2c: E2 08 00 04 01 80 13 01 00 00 00 00 00 82 [10:57:27]Write i2c OK [10:57:27]MH_I2C_Read... [10:57:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:57:27]Read from MH i2c: E2 [10:57:27]MH_I2C_Read... [10:57:27]Read from MH i2c: E2 0E 00 [10:57:27]MH_I2C_Read... [10:57:27]Read from MH i2c: E2 0E 00 04 01 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 E7 [10:57:27]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [10:57:27]wFMCommunicate OK [10:57:27]SAM_PROTO_GetShiftState done [10:57:27]FM_GetShiftState done [10:57:27]opened in 1740096631 [10:57:27]opened+sec_in_day 1740183031 [10:57:27]quantity*price = 12900 [10:57:27]sum+1 = 12901 [10:57:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 129.00 НСП 1% : 1.14 НДС 12% : 13.70 Наличными: 129.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 20 21.02.2025 10:57 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32632 ФПД: 16792809456755 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T105728&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32632&fm=16792809456755&tin=02508201610067®Number=0000000000146237&sum=12900 0 [10:57:28]StoreToDocumentArchive [10:57:28]shift 386 fd 32632 [10:57:28]save to /storage/0386/doc_00032632 [10:57:28]save last doc name /storage/0386/doc_00032632 to /storage/kkm_last_doc_name [10:57:28]save OK [10:57:28]Clear old archive folders... [10:57:28]ProcessDocumentItem done err = 0, tmpTLVsize=280 [10:57:28]tlvbuf is 00EF87F0 [10:57:28]SAM_PROTO_ClearQueue [10:57:28]wFMCommunicate request_size=4 [10:57:28]MH_SAM_APDU [10:57:28]CAPDU: 80 09 00 00 [10:57:28]Write to MH i2c: E2 08 00 11 01 80 09 00 00 00 00 00 00 84 [10:57:28]Write i2c OK [10:57:28]MH_I2C_Read... [10:57:28]Read from MH i2c: E2 [10:57:28]MH_I2C_Read... [10:57:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:57:28]Read from MH i2c: E2 03 00 [10:57:28]MH_I2C_Read... [10:57:28]Read from MH i2c: E2 03 00 11 01 00 90 00 86 [10:57:28]RAPDU: 90 00 [10:57:28]wFMCommunicate OK [10:57:28]SAM_PROTO_ClearQueue done [10:57:28]KKMCreateOFDPacket [10:57:28]OFDProtocolAddRootSTLVToBuf [10:57:28]FM_MakeSignedData [10:57:28]FM_MakeSignedData [10:57:28]SAM_PROTO_SignData [10:57:28]wFMCommunicate request_size=4 [10:57:28]MH_SAM_APDU [10:57:28]CAPDU: 80 0D 01 02 [10:57:28]Write to MH i2c: E2 08 00 12 01 80 0D 01 02 00 00 00 00 8C [10:57:28]Write i2c OK [10:57:28]MH_I2C_Read... [10:57:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:57:28]Read from MH i2c: E2 [10:57:28]MH_I2C_Read... [10:57:28]Read from MH i2c: E2 03 00 [10:57:28]MH_I2C_Read... [10:57:28]Read from MH i2c: E2 03 00 12 01 00 90 00 87 [10:57:28]RAPDU: 90 00 [10:57:28]wFMCommunicate OK [10:57:28]wFMCommunicate request_size=255 [10:57:28]MH_SAM_APDU [10:57:28]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 18 5C B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 [10:57:28]Write to MH i2c: E2 02 01 13 01 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 18 5C B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 00 00 8E [10:57:28]Write i2c OK [10:57:28]MH_I2C_Read... [10:57:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:57:28]Read from MH i2c: E2 [10:57:28]MH_I2C_Read... [10:57:28]Read from MH i2c: E2 03 00 [10:57:28]MH_I2C_Read... [10:57:28]Read from MH i2c: E2 03 00 13 01 00 90 00 88 [10:57:28]RAPDU: 90 00 [10:57:28]wFMCommunicate OK [10:57:28]wFMCommunicate request_size=39 [10:57:28]MH_SAM_APDU [10:57:28]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 78 7F 00 00 35 04 06 00 0F 45 E1 71 44 73 [10:57:28]Write to MH i2c: E2 2A 00 14 01 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 78 7F 00 00 35 04 06 00 0F 45 E1 71 44 73 00 00 A1 [10:57:28]Write i2c OK [10:57:28]MH_I2C_Read... [10:57:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:57:28]Read from MH i2c: E2 [10:57:28]MH_I2C_Read... [10:57:28]Read from MH i2c: E2 03 00 [10:57:28]MH_I2C_Read... [10:57:28]Read from MH i2c: E2 03 00 14 01 00 90 00 89 [10:57:28]RAPDU: 90 00 [10:57:28]wFMCommunicate OK [10:57:28]wFMCommunicate request_size=4 [10:57:28]MH_SAM_APDU [10:57:28]CAPDU: 80 0D 03 02 [10:57:28]Write to MH i2c: E2 08 00 15 01 80 0D 03 02 00 00 00 00 91 [10:57:28]Write i2c OK [10:57:28]MH_I2C_Read... [10:57:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:57:28]Read from MH i2c: E2 [10:57:28]MH_I2C_Read... [10:57:28]Read from MH i2c: E2 0B 00 [10:57:28]MH_I2C_Read... [10:57:28]Read from MH i2c: E2 0B 00 15 01 00 CF 48 B5 0B 44 FD C1 DA 90 00 45 [10:57:28]RAPDU: CF 48 B5 0B 44 FD C1 DA 90 00 [10:57:28]wFMCommunicate OK [10:57:28]SAM_PROTO_SignData done [10:57:28]FM_MakeSignedData done [10:57:28]CreateOFDProtocolMessage [10:57:28]wFMCommunicate request_size=4 [10:57:28]MH_SAM_APDU [10:57:28]CAPDU: 80 11 00 00 [10:57:28]Write to MH i2c: E2 08 00 16 01 80 11 00 00 00 00 00 00 91 [10:57:28]Write i2c OK [10:57:28]MH_I2C_Read... [10:57:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:57:29]Read from MH i2c: E2 [10:57:29]MH_I2C_Read... [10:57:29]Read from MH i2c: E2 17 00 [10:57:29]MH_I2C_Read... [10:57:29]Read from MH i2c: E2 17 00 16 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 E7 [10:57:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [10:57:29]wFMCommunicate OK [10:57:29]CreateOFDProtocolMessage done [10:57:29]OFDSenderStorePacket 32632 [10:57:29]StoreOFDPacket docnum=32632 [10:57:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2C 01 00 00 C4 34 24 01 55 23 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 18 5C B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 78 7F 00 00 35 04 06 00 0F 45 E1 71 44 73 CF 48 B5 0B 44 FD C1 DA [10:57:29]CheckFolder [10:57:29]dirname=/storage/ofd_packets [10:57:29]CheckFolder done [10:57:29]ProducePacketName [10:57:29]name=ofd_packets/00032632 [10:57:29]NVStorageSaveData ofd_packets/00032632 [10:57:29]File name is /storage/ofd_packets/00032632 [10:57:29]Write 330 bytes [10:57:29]NVStorageSaveData done [10:57:29]OFDSenderStorePacket done [10:57:29]KKMCreateOFDPacket done [10:57:29]NVStorageSaveData kkm_last_timestamp [10:57:29]File name is /storage/kkm_last_timestamp [10:57:29]Write 4 bytes [10:57:29]NVStorageSaveData done [10:57:29]ExternCall_PrintAddStr [10:57:29]wPrintStart [10:57:29]Write to MH i2c: 01 00 00 17 01 18 [10:57:29]Write i2c OK [10:57:29]MH_I2C_Read... [10:57:29]Read from MH i2c: 01 [10:57:29]MH_I2C_Read... [10:57:29]Read from MH i2c: 01 07 00 [10:57:29]MH_I2C_Read... [10:57:29]Read from MH i2c: 01 07 00 17 01 00 00 00 00 00 FF 0F 2D [10:57:29]RasterBufferAndPrint [10:57:29]line Счет N : (3)130843 [10:57:29]line ИНН: 02508201610067 [10:57:29]line Контрольно-Кассовый Чек [10:57:29]line ПРОДАЖА [10:57:29]line Товар: 2000036210013 [10:57:29]line Кофе Капучино (GABB TRADE) [10:57:29]line 1.000 * 129.00 [10:57:29]line = 129.00 [10:57:29]line НДС 12% НСП 1% [10:57:29]line > о реализуемом товаре [10:57:29]line ИТОГО: 129.00 [10:57:29]line НСП 1% : 1.14 [10:57:29]line НДС 12% : 13.70 [10:57:29]line Наличными: 129.00 [10:57:29]line Безнал.: 0.00 [10:57:29]line Место: АЗС № 96 "Партнер Нефть" [10:57:29]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [10:57:29]line СНО: Общий режим [10:57:29]line Чек 20 21.02.2025 10:57 [10:57:29]line Смена: 386 ФФД: 1.0 [10:57:29]line ЗНМ: 0300000059 [10:57:29]line РНМ: 0000000000146237 [10:57:29]line Версия ККМ: v1.0 [10:57:29]line ФМ: 0000000000959282 [10:57:29]line ФД: 32632 [10:57:29]line ФПД: 16792809456755 [10:57:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T105728&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32632&fm=16792809456755&tin=02508201610067®Number=0000000000146237&sum=12900 [10:57:29]line 0 [10:57:29]written 0, free lines is 4095 [10:57:29]OFD Sender: Processing packet 32632 [packets to send 105, broken 104] [10:57:29]ProducePacketName [10:57:29]name=ofd_packets/00032632 [10:57:29]OFD Sender: To server: pG, [10:57:29]CommunicateWithHost lk.salyk.kg:30040 [10:57:29]ConnectInit lk.salyk.kg [10:57:29]Write to MH i2c: 01 00 00 3F 01 40 [10:57:29]Write i2c OK [10:57:29]MH_I2C_Read... [10:57:29]Read from MH i2c: 01 [10:57:29]MH_I2C_Read... [10:57:29]Read from MH i2c: 01 07 00 [10:57:29]MH_I2C_Read... [10:57:29]Read from MH i2c: 01 07 00 3F 01 00 00 00 00 00 24 0D 78 [10:57:29]RasterBufferAndPrint [10:57:29]line [10:57:29]line [10:57:29]line [10:57:29]line [10:57:29]line [10:57:29]written 0, free lines is 3370 [10:57:29]MH_Cut [10:57:29]Write to MH i2c: D1 01 00 46 01 01 19 [10:57:29]Write i2c OK [10:57:29]MH_I2C_Read... [10:57:29]Read from MH i2c: D1 [10:57:29]MH_I2C_Read... [10:57:29]Read from MH i2c: D1 01 00 [10:57:29]MH_I2C_Read... [10:57:29]Read from MH i2c: D1 01 00 46 01 00 18 [10:57:29]Write to MH i2c: 01 00 00 47 01 48 [10:57:29]Write i2c OK [10:57:29]MH_I2C_Read... [10:57:30]*** Cut start [10:57:30]*** Partial cut [10:57:30]*** CUTSNS_PIN = 1 [10:57:30]*** CUTSNS_PIN = 0 [10:57:30]*** Brake cut motor [10:57:30]Read from MH i2c: 01 [10:57:30]MH_I2C_Read... [10:57:30]*** Stop cut motor [10:57:30]*** Cut end [10:57:30]Read from MH i2c: 01 07 00 [10:57:30]MH_I2C_Read... [10:57:30]Read from MH i2c: 01 07 00 47 01 00 00 00 00 00 FF 0F 5D [10:57:30]process_action close_receipt done [10:57:30]requested_data is exist [10:57:30]produce_requested_data [10:57:30]requested_item fm.sn is exist - process it [10:57:30]wFMCommunicate request_size=4 [10:57:30]MH_SAM_APDU [10:57:30]CAPDU: 80 11 00 00 [10:57:30]Write to MH i2c: E2 08 00 48 01 80 11 00 00 00 00 00 00 C3 [10:57:30]Write i2c OK [10:57:30]MH_I2C_Read... [10:57:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:57:30]Read from MH i2c: E2 [10:57:30]MH_I2C_Read... [10:57:30]Read from MH i2c: E2 17 00 [10:57:30]MH_I2C_Read... [10:57:30]Read from MH i2c: E2 17 00 48 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 19 [10:57:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [10:57:30]wFMCommunicate OK [10:57:30]requested_item fd.num is exist - process it [10:57:30]SAM_PROTO_GetFieldsCounters [10:57:30]wFMCommunicate request_size=4 [10:57:30]MH_SAM_APDU [10:57:30]CAPDU: 80 13 00 00 [10:57:30]Write to MH i2c: E2 08 00 49 01 80 13 00 00 00 00 00 00 C6 [10:57:30]Write i2c OK [10:57:30]MH_I2C_Read... [10:57:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:57:30]Read from MH i2c: E2 [10:57:30]MH_I2C_Read... [10:57:30]Read from MH i2c: E2 62 00 [10:57:30]MH_I2C_Read... [10:57:30]Read from MH i2c: E2 62 00 49 01 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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 78 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 9E [10:57: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 78 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:57:30]wFMCommunicate OK [10:57:30]SAM_PROTO_GetFieldsCounters done [10:57:30]requested_item shift.num is exist - process it [10:57:30]requested_item shift.opened is exist - process it [10:57:30]req_shift_opened [10:57:30]FM_GetShiftState [10:57:30]SAM_PROTO_GetShiftState [10:57:30]wFMCommunicate request_size=4 [10:57:30]MH_SAM_APDU [10:57:30]CAPDU: 80 13 01 00 [10:57:30]Write to MH i2c: E2 08 00 4A 01 80 13 01 00 00 00 00 00 C8 [10:57:30]Write i2c OK [10:57:30]MH_I2C_Read... [10:57:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:57:31]Read from MH i2c: E2 [10:57:31]MH_I2C_Read... [10:57:31]Read from MH i2c: E2 0E 00 [10:57:31]MH_I2C_Read... [10:57:31]Read from MH i2c: E2 0E 00 4A 01 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 2D [10:57:31]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [10:57:31]wFMCommunicate OK [10:57:31]SAM_PROTO_GetShiftState done [10:57:31]FM_GetShiftState done [10:57:31]req_shift_opened done [10:57:31]requested_item shift.open_date is exist - process it [10:57:31]req_shift_open_date [10:57:31]req_shift_open_date done [10:57:31]produce_requested_data done [10:57:31]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32632,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [10:57:31]process_action_free close_receipt [10:57:31]json_value_free [10:57:31]json_value_free done [10:57:31]process_json_proto returns [10:57:31]Send response to host [10:57:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32632,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [10:57:31]free response buf [10:57:31]execute_script done [10:57:31]execute_script returns [10:57:31]free content buf [10:57:31]Sock 9.Close socket [10:57:31]Sock 9.Thread stoped [10:59:38]ConnectInit Can't connect to host [10:59:38]CommunicateWithHost connect error [10:59:38]CommunicateWithHost err = -1 [10:59:38]OFD Sender: Server communicate error [10:59:43]OFD Sender: Processing packet 32632 [packets to send 105, broken 104] [10:59:43]ProducePacketName [10:59:43]name=ofd_packets/00032632 [10:59:43]OFD Sender: To server: pG, [10:59:43]CommunicateWithHost lk.salyk.kg:30040 [10:59:43]ConnectInit lk.salyk.kg [10:59:44]Connected sock=9 [10:59:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2C 01 00 00 C4 34 24 01 55 23 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 18 5C B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 78 7F 00 00 35 04 06 00 0F 45 E1 71 44 73 CF 48 B5 0B 44 FD C1 DA [10:59:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 D3 BD 47 00 C0 4D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 32 38 32 10 04 04 00 78 7F 00 00 F4 03 04 00 35 06 B8 67 B6 04 01 00 00 DF 30 A5 7F 7B 35 E7 04 [10:59:44]CommunicateWithHost err = 0 [10:59:44]CheckOFDResponse [10:59:44]1017 (14) - 77093643461234 [10:59:44]1041 (16) - 0000000000959282 [10:59:44]1040 (4) - 32632 [10:59:44]1012 (4) - 21.02.2025 04:51 [10:59:44]1206 (1) - 0 [10:59:44]OFD Sender: Remove packet 32632 [10:59:44]ProducePacketName [10:59:44]name=ofd_packets/00032632 [10:59:44]NVStorageDeleteData [10:59:45]OFD Sender: No OFD packet to send [10:59:50]OFD Sender: No OFD packet to send [10:59:55]OFD Sender: No OFD packet to send [11:00:00]OFD Sender: No OFD packet to send [11:00:05]OFD Sender: No OFD packet to send [11:00:10]OFD Sender: No OFD packet to send [11:00:15]OFD Sender: No OFD packet to send [11:00:20]OFD Sender: No OFD packet to send [11:00:25]OFD Sender: No OFD packet to send [11:00:30]OFD Sender: No OFD packet to send [11:00:35]OFD Sender: No OFD packet to send [11:00:40]OFD Sender: No OFD packet to send [11:00:45]OFD Sender: No OFD packet to send [11:00:50]OFD Sender: No OFD packet to send [11:00:55]OFD Sender: No OFD packet to send [11:01:00]OFD Sender: No OFD packet to send [11:01:05]OFD Sender: No OFD packet to send [11:01:10]OFD Sender: No OFD packet to send [11:01:15]OFD Sender: No OFD packet to send [11:01:20]OFD Sender: No OFD packet to send [11:01:25]OFD Sender: No OFD packet to send [11:01:30]OFD Sender: No OFD packet to send [11:01:35]OFD Sender: No OFD packet to send [11:01:40]OFD Sender: No OFD packet to send [11:01:45]OFD Sender: No OFD packet to send [11:01:50]OFD Sender: No OFD packet to send [11:01:55]OFD Sender: No OFD packet to send [11:02:00]OFD Sender: No OFD packet to send [11:02:05]OFD Sender: No OFD packet to send [11:02:10]OFD Sender: No OFD packet to send [11:02:15]OFD Sender: No OFD packet to send [11:02:20]OFD Sender: No OFD packet to send [11:02:25]OFD Sender: No OFD packet to send [11:02:30]OFD Sender: No OFD packet to send [11:02:35]OFD Sender: No OFD packet to send [11:02:40]OFD Sender: No OFD packet to send [11:02:45]OFD Sender: No OFD packet to send [11:02:50]OFD Sender: No OFD packet to send [11:02:55]OFD Sender: No OFD packet to send [11:03:00]OFD Sender: No OFD packet to send [11:03:05]OFD Sender: No OFD packet to send [11:03:10]OFD Sender: No OFD packet to send [11:03:15]OFD Sender: No OFD packet to send [11:03:20]OFD Sender: No OFD packet to send [11:03:25]OFD Sender: No OFD packet to send [11:03:30]OFD Sender: No OFD packet to send [11:03:35]OFD Sender: No OFD packet to send [11:03:40]OFD Sender: No OFD packet to send [11:03:45]OFD Sender: No OFD packet to send [11:03:50]OFD Sender: No OFD packet to send [11:03:55]OFD Sender: No OFD packet to send [11:04:00]OFD Sender: No OFD packet to send [11:04:05]OFD Sender: No OFD packet to send [11:04:10]OFD Sender: No OFD packet to send [11:04:15]OFD Sender: No OFD packet to send [11:04:20]OFD Sender: No OFD packet to send [11:04:25]OFD Sender: No OFD packet to send [11:04:30]OFD Sender: No OFD packet to send [11:04:35]OFD Sender: No OFD packet to send [11:04:40]OFD Sender: No OFD packet to send [11:04:45]OFD Sender: No OFD packet to send [11:04:50]OFD Sender: No OFD packet to send [11:04:55]OFD Sender: No OFD packet to send [11:05:00]OFD Sender: No OFD packet to send [11:05:05]OFD Sender: No OFD packet to send [11:05:10]OFD Sender: No OFD packet to send [11:05:15]OFD Sender: No OFD packet to send [11:05:20]OFD Sender: No OFD packet to send [11:05:25]OFD Sender: No OFD packet to send [11:05:30]OFD Sender: No OFD packet to send [11:05:35]OFD Sender: No OFD packet to send [11:05:40]OFD Sender: No OFD packet to send [11:05:45]OFD Sender: No OFD packet to send [11:05:50]OFD Sender: No OFD packet to send [11:05:55]OFD Sender: No OFD packet to send [11:06:00]OFD Sender: No OFD packet to send [11:06:05]OFD Sender: No OFD packet to send [11:06:10]OFD Sender: No OFD packet to send [11:06:15]OFD Sender: No OFD packet to send [11:06:20]OFD Sender: No OFD packet to send [11:06:25]OFD Sender: No OFD packet to send [11:06:30]OFD Sender: No OFD packet to send [11:06:35]OFD Sender: No OFD packet to send [11:06:40]OFD Sender: No OFD packet to send [11:06:45]OFD Sender: No OFD packet to send [11:06:50]OFD Sender: No OFD packet to send [11:06:55]OFD Sender: No OFD packet to send [11:07:00]OFD Sender: No OFD packet to send [11:07:05]OFD Sender: No OFD packet to send [11:07:10]OFD Sender: No OFD packet to send [11:07:15]OFD Sender: No OFD packet to send [11:07:20]OFD Sender: No OFD packet to send [11:07:25]OFD Sender: No OFD packet to send [11:07:30]OFD Sender: No OFD packet to send [11:07:35]OFD Sender: No OFD packet to send [11:07:40]OFD Sender: No OFD packet to send [11:07:45]OFD Sender: No OFD packet to send [11:07:50]OFD Sender: No OFD packet to send [11:07:55]OFD Sender: No OFD packet to send [11:08:00]OFD Sender: No OFD packet to send [11:08:03]accept exits with 7 [11:08:03]New connection [11:08:03]New thread 3067481444 created [11:08:03]Thread 3067338084 joined [11:08:03]Waiting for new connection... [11:08:03] Sock 7.Parse request [11:08:03]Sock 7.Check first char [11:08:03]Sock 7.First char is OK [11:08:03]request: POST /json_proto HTTP/1.0 [11:08:03]Method: POST [11:08:03]URL: /json_proto [11:08:03]Method is POST - this is cgi request [11:08:03]url: /json_proto [11:08:03]query_string will be loaded in cgi processing [11:08:03]execute_cgi json_proto POST (null) [11:08:03]execute_cgi path=json_proto method=POST [11:08:03]POST find Content-Length [11:08:03]Host: 172.17.47.135:8080 [11:08:03]Content-Length: 678 [11:08:03]Content-Type: application/json [11:08:03] [11:08:03]POST finish read [11:08:03]Found Content-Length = 678 [11:08:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6544990", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 6.240, "sum" : 400.61, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:08:03]execute_script... [11:08:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6544990", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 6.240, "sum" : 400.61, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 400.00, "total" : 400.00, "payments": [ { "type": 0, "sum" : 400.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:08:03]POST & json_proto [11:08:03]process_json_proto [11:08:03]json parsed OK: [11:08:03]protocol is kg_v1.0 [11:08:03]action value=close_receipt [11:08:03]process_action close_receipt [11:08:03]cmd_close_receipt [11:08:03]MH_GetDate [11:08:03]Write to MH i2c: F0 00 00 4B 01 3B [11:08:03]Write i2c OK [11:08:03]MH_I2C_Read... [11:08:03]Read from MH i2c: F0 [11:08:03]MH_I2C_Read... [11:08:03]Read from MH i2c: F0 09 00 [11:08:03]MH_I2C_Read... [11:08:03]Read from MH i2c: F0 09 00 4B 01 00 95 5E B8 67 19 D8 DE 66 8B [11:08:03]GetLastDocTimeStamp 1740135448 [11:08:03]current date 1740136085 [11:08:03]FM_GetShiftState [11:08:03]SAM_PROTO_GetShiftState [11:08:03]wFMCommunicate request_size=4 [11:08:03]MH_SAM_APDU [11:08:03]CAPDU: 80 13 01 00 [11:08:03]Write to MH i2c: E2 08 00 4C 01 80 13 01 00 00 00 00 00 CA [11:08:03]Write i2c OK [11:08:03]MH_I2C_Read... [11:08:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:08:03]Read from MH i2c: E2 [11:08:03]MH_I2C_Read... [11:08:03]Read from MH i2c: E2 0E 00 [11:08:03]MH_I2C_Read... [11:08:03]Read from MH i2c: E2 0E 00 4C 01 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 2F [11:08:03]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [11:08:03]wFMCommunicate OK [11:08:03]SAM_PROTO_GetShiftState done [11:08:03]FM_GetShiftState done [11:08:03]opened in 1740096631 [11:08:03]opened+sec_in_day 1740183031 [11:08:03]quantity*price = 40060 [11:08:03]sum+1 = 40062 [11:08:03]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.61 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.54 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 21 21.02.2025 11:08 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32633 ФПД: 194841876296907 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T110805&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32633&fm=194841876296907&tin=02508201610067®Number=0000000000146237&sum=40000 [11:08:05]StoreToDocumentArchive [11:08:05]shift 386 fd 32633 [11:08:05]save to /storage/0386/doc_00032633 [11:08:05]save last doc name /storage/0386/doc_00032633 to /storage/kkm_last_doc_name [11:08:05]save OK [11:08:05]Clear old archive folders... [11:08:05]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:08:05]tlvbuf is 00EF8130 [11:08:05]SAM_PROTO_ClearQueue [11:08:05]wFMCommunicate request_size=4 [11:08:05]MH_SAM_APDU [11:08:05]CAPDU: 80 09 00 00 [11:08:05]Write to MH i2c: E2 08 00 59 01 80 09 00 00 00 00 00 00 CC [11:08:05]Write i2c OK [11:08:05]MH_I2C_Read... [11:08:05]Read from MH i2c: E2 [11:08:05]MH_I2C_Read... [11:08:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:08:05]Read from MH i2c: E2 03 00 [11:08:05]MH_I2C_Read... [11:08:05]Read from MH i2c: E2 03 00 59 01 00 90 00 CE [11:08:05]RAPDU: 90 00 [11:08:05]wFMCommunicate OK [11:08:05]SAM_PROTO_ClearQueue done [11:08:05]KKMCreateOFDPacket [11:08:05]OFDProtocolAddRootSTLVToBuf [11:08:05]FM_MakeSignedData [11:08:05]FM_MakeSignedData [11:08:05]SAM_PROTO_SignData [11:08:05]wFMCommunicate request_size=4 [11:08:05]MH_SAM_APDU [11:08:05]CAPDU: 80 0D 01 02 [11:08:05]Write to MH i2c: E2 08 00 5A 01 80 0D 01 02 00 00 00 00 D4 [11:08:05]Write i2c OK [11:08:05]MH_I2C_Read... [11:08:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:08:05]Read from MH i2c: E2 [11:08:05]MH_I2C_Read... [11:08:05]Read from MH i2c: E2 03 00 [11:08:05]MH_I2C_Read... [11:08:05]Read from MH i2c: E2 03 00 5A 01 00 90 00 CF [11:08:05]RAPDU: 90 00 [11:08:05]wFMCommunicate OK [11:08:05]wFMCommunicate request_size=255 [11:08:05]MH_SAM_APDU [11:08:05]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 60 18 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 7D 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 9E 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 15 00 00 00 F4 03 04 00 95 5E B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 79 7F 00 00 35 04 06 00 B1 [11:08:05]Write to MH i2c: E2 02 01 5B 01 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 60 18 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 7D 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 9E 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 15 00 00 00 F4 03 04 00 95 5E B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 79 7F 00 00 35 04 06 00 B1 00 00 B9 [11:08:05]Write i2c OK [11:08:05]MH_I2C_Read... [11:08:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:08:05]Read from MH i2c: E2 [11:08:05]MH_I2C_Read... [11:08:05]Read from MH i2c: E2 03 00 [11:08:05]MH_I2C_Read... [11:08:05]Read from MH i2c: E2 03 00 5B 01 00 90 00 D0 [11:08:05]RAPDU: 90 00 [11:08:05]wFMCommunicate OK [11:08:05]wFMCommunicate request_size=10 [11:08:05]MH_SAM_APDU [11:08:05]CAPDU: 80 0D 02 02 05 35 28 D2 F4 CB [11:08:05]Write to MH i2c: E2 0D 00 5C 01 80 0D 02 02 05 00 35 28 D2 F4 CB 00 00 CF [11:08:05]Write i2c OK [11:08:05]MH_I2C_Read... [11:08:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:08:05]Read from MH i2c: E2 [11:08:05]MH_I2C_Read... [11:08:05]Read from MH i2c: E2 03 00 [11:08:05]MH_I2C_Read... [11:08:05]Read from MH i2c: E2 03 00 5C 01 00 90 00 D1 [11:08:05]RAPDU: 90 00 [11:08:05]wFMCommunicate OK [11:08:05]wFMCommunicate request_size=4 [11:08:05]MH_SAM_APDU [11:08:05]CAPDU: 80 0D 03 02 [11:08:05]Write to MH i2c: E2 08 00 5D 01 80 0D 03 02 00 00 00 00 D9 [11:08:05]Write i2c OK [11:08:05]MH_I2C_Read... [11:08:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:08:05]Read from MH i2c: E2 [11:08:05]MH_I2C_Read... [11:08:05]Read from MH i2c: E2 0B 00 [11:08:05]MH_I2C_Read... [11:08:05]Read from MH i2c: E2 0B 00 5D 01 00 59 E4 A1 95 2D F8 66 37 90 00 0F [11:08:05]RAPDU: 59 E4 A1 95 2D F8 66 37 90 00 [11:08:05]wFMCommunicate OK [11:08:05]SAM_PROTO_SignData done [11:08:05]FM_MakeSignedData done [11:08:05]CreateOFDProtocolMessage [11:08:05]wFMCommunicate request_size=4 [11:08:05]MH_SAM_APDU [11:08:05]CAPDU: 80 11 00 00 [11:08:05]Write to MH i2c: E2 08 00 5E 01 80 11 00 00 00 00 00 00 D9 [11:08:05]Write i2c OK [11:08:05]MH_I2C_Read... [11:08:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:08:05]Read from MH i2c: E2 [11:08:05]MH_I2C_Read... [11:08:05]Read from MH i2c: E2 17 00 [11:08:05]MH_I2C_Read... [11:08:05]Read from MH i2c: E2 17 00 5E 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 2F [11:08:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:08:05]wFMCommunicate OK [11:08:05]CreateOFDProtocolMessage done [11:08:05]OFDSenderStorePacket 32633 [11:08:05]StoreOFDPacket docnum=32633 [11:08:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 73 5C 07 01 8E 9E 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 60 18 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 7D 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 9E 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 15 00 00 00 F4 03 04 00 95 5E B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 79 7F 00 00 35 04 06 00 B1 35 28 D2 F4 CB 59 E4 A1 95 2D F8 66 37 [11:08:05]CheckFolder [11:08:05]dirname=/storage/ofd_packets [11:08:05]CheckFolder done [11:08:05]ProducePacketName [11:08:05]name=ofd_packets/00032633 [11:08:05]NVStorageSaveData ofd_packets/00032633 [11:08:05]File name is /storage/ofd_packets/00032633 [11:08:05]Write 301 bytes [11:08:05]NVStorageSaveData done [11:08:05]OFDSenderStorePacket done [11:08:05]KKMCreateOFDPacket done [11:08:05]NVStorageSaveData kkm_last_timestamp [11:08:05]File name is /storage/kkm_last_timestamp [11:08:05]Write 4 bytes [11:08:05]NVStorageSaveData done [11:08:05]ExternCall_PrintAddStr [11:08:05]wPrintStart [11:08:05]Write to MH i2c: 01 00 00 5F 01 60 [11:08:05]Write i2c OK [11:08:05]MH_I2C_Read... [11:08:05]Read from MH i2c: 01 [11:08:05]MH_I2C_Read... [11:08:05]Read from MH i2c: 01 07 00 [11:08:05]MH_I2C_Read... [11:08:05]Read from MH i2c: 01 07 00 5F 01 00 00 00 00 00 FF 0F 75 [11:08:05]RasterBufferAndPrint [11:08:05]line Счет N : (1)6544990 [11:08:05]line ИНН: 02508201610067 [11:08:05]line Контрольно-Кассовый Чек [11:08:05]line ПРОДАЖА [11:08:05]line ТРК (МРК, ГНК) : 32 [11:08:05]line Товар: 2710124130 [11:08:05]line Аи-92-К-5 [11:08:05]line 6.240 * 64.20 [11:08:05]line = 400.61 [11:08:05]line НДС 12% НСП 1% [11:08:05]line > о реализуемом товаре [11:08:05]line ОКРУГЛЕНИЕ: -0.61 [11:08:05]line ИТОГО: 400.00 [11:08:05]line Внесено: 400.00 [11:08:05]line СДАЧА: 0.00 [11:08:05]line НСП 1% : 3.54 [11:08:05]line НДС 12% : 42.54 [11:08:05]line Наличными: 400.00 [11:08:05]line Безнал.: 0.00 [11:08:05]line Место: АЗС № 96 "Партнер Нефть" [11:08:05]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [11:08:05]line СНО: Общий режим [11:08:05]line Чек 21 21.02.2025 11:08 [11:08:05]line Смена: 386 ФФД: 1.0 [11:08:05]line ЗНМ: 0300000059 [11:08:05]line РНМ: 0000000000146237 [11:08:05]line Версия ККМ: v1.0 [11:08:05]line ФМ: 0000000000959282 [11:08:05]line ФД: 32633 [11:08:05]line ФПД: 194841876296907 [11:08:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T110805&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32633&fm=194841876296907&tin=02508201610067®Number=0000000000146237&sum=40000 [11:08:05]OFD Sender: Processing packet 32633 [packets to send 105, broken 104] [11:08:05]ProducePacketName [11:08:05]name=ofd_packets/00032633 [11:08:05]OFD Sender: To server: pG, [11:08:05]CommunicateWithHost lk.salyk.kg:30040 [11:08:05]ConnectInit lk.salyk.kg [11:08:05]written 0, free lines is 4095 [11:08:06]Connected sock=10 [11:08: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 32 38 32 0F 01 00 00 73 5C 07 01 8E 9E 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 60 18 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 7D 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 9E 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 15 00 00 00 F4 03 04 00 95 5E B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 79 7F 00 00 35 04 06 00 B1 35 28 D2 F4 CB 59 E4 A1 95 2D F8 66 37 [11:08:06]Write to MH i2c: 01 00 00 8A 01 8B [11:08:06]Write i2c OK [11:08:06]MH_I2C_Read... [11:08:06]Read from MH i2c: 01 [11:08:06]MH_I2C_Read... [11:08:06]Read from MH i2c: 01 07 00 [11:08:06]MH_I2C_Read... [11:08:06]Read from MH i2c: 01 07 00 8A 01 00 00 00 00 00 FD 0C 9B [11:08:06]RasterBufferAndPrint [11:08:06]line [11:08:06]line [11:08:06]line [11:08:06]line [11:08:06]line [11:08:06]written 0, free lines is 3331 [11:08:06]MH_Cut [11:08:06]Write to MH i2c: D1 01 00 91 01 01 64 [11:08:06]Write i2c OK [11:08:06]MH_I2C_Read... [11:08:06]Read from MH i2c: D1 [11:08:06]MH_I2C_Read... [11:08:06]Read from MH i2c: D1 01 00 [11:08:06]MH_I2C_Read... [11:08:06]Read from MH i2c: D1 01 00 91 01 00 63 [11:08:06]Write to MH i2c: 01 00 00 92 01 93 [11:08:06]Write i2c OK [11:08:06]MH_I2C_Read... [11:08:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 35 32 47 00 95 6D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 79 7F 00 00 F4 03 04 00 2B 08 B8 67 B6 04 01 00 00 4A C3 8B D4 7E BF 32 C7 [11:08:06]CommunicateWithHost err = 0 [11:08:06]CheckOFDResponse [11:08:06]1017 (14) - 77093643461234 [11:08:06]1041 (16) - 0000000000959282 [11:08:06]1040 (4) - 32633 [11:08:06]1012 (4) - 21.02.2025 04:59 [11:08:06]1206 (1) - 0 [11:08:06]OFD Sender: Remove packet 32633 [11:08:06]ProducePacketName [11:08:06]name=ofd_packets/00032633 [11:08:06]NVStorageDeleteData [11:08:06]OFD Sender: No OFD packet to send [11:08:07]*** Cut start [11:08:07]*** Partial cut [11:08:07]*** CUTSNS_PIN = 1 [11:08:07]*** CUTSNS_PIN = 0 [11:08:07]*** Brake cut motor [11:08:07]Read from MH i2c: 01 [11:08:07]MH_I2C_Read... [11:08:07]*** Stop cut motor [11:08:07]*** Cut end [11:08:07]Read from MH i2c: 01 07 00 [11:08:07]MH_I2C_Read... [11:08:07]Read from MH i2c: 01 07 00 92 01 00 00 00 00 00 FF 0F A8 [11:08:07]process_action close_receipt done [11:08:07]requested_data is exist [11:08:07]produce_requested_data [11:08:07]requested_item fm.sn is exist - process it [11:08:07]wFMCommunicate request_size=4 [11:08:07]MH_SAM_APDU [11:08:07]CAPDU: 80 11 00 00 [11:08:07]Write to MH i2c: E2 08 00 93 01 80 11 00 00 00 00 00 00 0E [11:08:07]Write i2c OK [11:08:07]MH_I2C_Read... [11:08:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:08:07]Read from MH i2c: E2 [11:08:07]MH_I2C_Read... [11:08:07]Read from MH i2c: E2 17 00 [11:08:07]MH_I2C_Read... [11:08:07]Read from MH i2c: E2 17 00 93 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 64 [11:08:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:08:07]wFMCommunicate OK [11:08:07]requested_item fd.num is exist - process it [11:08:07]SAM_PROTO_GetFieldsCounters [11:08:07]wFMCommunicate request_size=4 [11:08:07]MH_SAM_APDU [11:08:07]CAPDU: 80 13 00 00 [11:08:07]Write to MH i2c: E2 08 00 94 01 80 13 00 00 00 00 00 00 11 [11:08:07]Write i2c OK [11:08:07]MH_I2C_Read... [11:08:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:08:07]Read from MH i2c: E2 [11:08:07]MH_I2C_Read... [11:08:07]Read from MH i2c: E2 62 00 [11:08:07]MH_I2C_Read... [11:08:07]Read from MH i2c: E2 62 00 94 01 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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 79 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 ED [11:08:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 79 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:08:07]wFMCommunicate OK [11:08:07]SAM_PROTO_GetFieldsCounters done [11:08:07]requested_item shift.num is exist - process it [11:08:07]requested_item shift.opened is exist - process it [11:08:07]req_shift_opened [11:08:07]FM_GetShiftState [11:08:07]SAM_PROTO_GetShiftState [11:08:07]wFMCommunicate request_size=4 [11:08:07]MH_SAM_APDU [11:08:07]CAPDU: 80 13 01 00 [11:08:07]Write to MH i2c: E2 08 00 95 01 80 13 01 00 00 00 00 00 13 [11:08:07]Write i2c OK [11:08:07]MH_I2C_Read... [11:08:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:08:07]Read from MH i2c: E2 [11:08:07]MH_I2C_Read... [11:08:07]Read from MH i2c: E2 0E 00 [11:08:07]MH_I2C_Read... [11:08:07]Read from MH i2c: E2 0E 00 95 01 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 78 [11:08:07]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [11:08:07]wFMCommunicate OK [11:08:07]SAM_PROTO_GetShiftState done [11:08:07]FM_GetShiftState done [11:08:07]req_shift_opened done [11:08:07]requested_item shift.open_date is exist - process it [11:08:07]req_shift_open_date [11:08:07]req_shift_open_date done [11:08:07]produce_requested_data done [11:08:07]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32633,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [11:08:07]process_action_free close_receipt [11:08:07]json_value_free [11:08:07]json_value_free done [11:08:07]process_json_proto returns [11:08:07]Send response to host [11:08:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32633,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [11:08:07]free response buf [11:08:07]execute_script done [11:08:07]execute_script returns [11:08:07]free content buf [11:08:07]Sock 7.Close socket [11:08:07]Sock 7.Thread stoped [11:08:11]OFD Sender: No OFD packet to send [11:08:16]OFD Sender: No OFD packet to send [11:08:21]OFD Sender: No OFD packet to send [11:08:26]OFD Sender: No OFD packet to send [11:08:31]OFD Sender: No OFD packet to send [11:08:36]OFD Sender: No OFD packet to send [11:08:42]OFD Sender: No OFD packet to send [11:08:47]OFD Sender: No OFD packet to send [11:08:52]OFD Sender: No OFD packet to send [11:08:57]OFD Sender: No OFD packet to send [11:09:02]OFD Sender: No OFD packet to send [11:09:07]OFD Sender: No OFD packet to send [11:09:12]OFD Sender: No OFD packet to send [11:09:17]OFD Sender: No OFD packet to send [11:09:22]OFD Sender: No OFD packet to send [11:09:27]OFD Sender: No OFD packet to send [11:09:32]OFD Sender: No OFD packet to send [11:09:37]OFD Sender: No OFD packet to send [11:09:42]OFD Sender: No OFD packet to send [11:09:47]OFD Sender: No OFD packet to send [11:09:52]OFD Sender: No OFD packet to send [11:09:57]OFD Sender: No OFD packet to send [11:10:02]OFD Sender: No OFD packet to send [11:10:07]OFD Sender: No OFD packet to send [11:10:12]OFD Sender: No OFD packet to send [11:10:17]OFD Sender: No OFD packet to send [11:10:22]OFD Sender: No OFD packet to send [11:10:27]OFD Sender: No OFD packet to send [11:10:32]OFD Sender: No OFD packet to send [11:10:37]OFD Sender: No OFD packet to send [11:10:42]OFD Sender: No OFD packet to send [11:10:47]OFD Sender: No OFD packet to send [11:10:52]OFD Sender: No OFD packet to send [11:10:57]OFD Sender: No OFD packet to send [11:11:02]OFD Sender: No OFD packet to send [11:11:07]OFD Sender: No OFD packet to send [11:11:12]OFD Sender: No OFD packet to send [11:11:17]OFD Sender: No OFD packet to send [11:11:22]OFD Sender: No OFD packet to send [11:11:27]OFD Sender: No OFD packet to send [11:11:32]OFD Sender: No OFD packet to send [11:11:37]OFD Sender: No OFD packet to send [11:11:42]OFD Sender: No OFD packet to send [11:11:47]OFD Sender: No OFD packet to send [11:11:52]OFD Sender: No OFD packet to send [11:11:57]OFD Sender: No OFD packet to send [11:12:02]OFD Sender: No OFD packet to send [11:12:07]OFD Sender: No OFD packet to send [11:12:12]OFD Sender: No OFD packet to send [11:12:17]OFD Sender: No OFD packet to send [11:12:22]OFD Sender: No OFD packet to send [11:12:27]OFD Sender: No OFD packet to send [11:12:32]OFD Sender: No OFD packet to send [11:12:37]OFD Sender: No OFD packet to send [11:12:42]OFD Sender: No OFD packet to send [11:12:47]OFD Sender: No OFD packet to send [11:12:52]OFD Sender: No OFD packet to send [11:12:57]OFD Sender: No OFD packet to send [11:13:02]OFD Sender: No OFD packet to send [11:13:07]OFD Sender: No OFD packet to send [11:13:12]OFD Sender: No OFD packet to send [11:13:17]OFD Sender: No OFD packet to send [11:13:22]OFD Sender: No OFD packet to send [11:13:25]accept exits with 9 [11:13:25]New connection [11:13:25]New thread 3067338084 created [11:13:25]Thread 3067481444 joined [11:13:25]Waiting for new connection... [11:13:25] Sock 9.Parse request [11:13:25]Sock 9.Check first char [11:13:25]Sock 9.First char is OK [11:13:25]request: POST /json_proto HTTP/1.0 [11:13:25]Method: POST [11:13:25]URL: /json_proto [11:13:25]Method is POST - this is cgi request [11:13:25]url: /json_proto [11:13:25]query_string will be loaded in cgi processing [11:13:25]execute_cgi json_proto POST (null) [11:13:25]execute_cgi path=json_proto method=POST [11:13:25]POST find Content-Length [11:13:25]Host: 172.17.47.135:8080 [11:13:25]Content-Length: 886 [11:13:25]Content-Type: application/json [11:13:25] [11:13:25]POST finish read [11:13:25]Found Content-Length = 886 [11:13:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130844", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 129.00, "quantity" : 1.000, "sum" : 129.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 129.00, "quantity" : 1.000, "sum" : 129.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 258.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:13:25]execute_script... [11:13:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130844", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 129.00, "quantity" : 1.000, "sum" : 129.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 129.00, "quantity" : 1.000, "sum" : 129.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 258.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:13:25]POST & json_proto [11:13:25]process_json_proto [11:13:25]json parsed OK: [11:13:25]protocol is kg_v1.0 [11:13:25]action value=close_receipt [11:13:25]process_action close_receipt [11:13:25]cmd_close_receipt [11:13:25]MH_GetDate [11:13:25]Write to MH i2c: F0 00 00 96 01 86 [11:13:25]Write i2c OK [11:13:25]MH_I2C_Read... [11:13:25]Read from MH i2c: F0 [11:13:25]MH_I2C_Read... [11:13:25]Read from MH i2c: F0 09 00 [11:13:25]MH_I2C_Read... [11:13:25]Read from MH i2c: F0 09 00 96 01 00 D6 5F B8 67 19 D8 DE 66 18 [11:13:25]GetLastDocTimeStamp 1740136085 [11:13:25]current date 1740136406 [11:13:25]FM_GetShiftState [11:13:25]SAM_PROTO_GetShiftState [11:13:25]wFMCommunicate request_size=4 [11:13:25]MH_SAM_APDU [11:13:25]CAPDU: 80 13 01 00 [11:13:25]Write to MH i2c: E2 08 00 97 01 80 13 01 00 00 00 00 00 15 [11:13:25]Write i2c OK [11:13:25]MH_I2C_Read... [11:13:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:13:25]Read from MH i2c: E2 [11:13:25]MH_I2C_Read... [11:13:25]Read from MH i2c: E2 0E 00 [11:13:25]MH_I2C_Read... [11:13:25]Read from MH i2c: E2 0E 00 97 01 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 7A [11:13:25]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [11:13:25]wFMCommunicate OK [11:13:25]SAM_PROTO_GetShiftState done [11:13:25]FM_GetShiftState done [11:13:25]opened in 1740096631 [11:13:25]opened+sec_in_day 1740183031 [11:13:25]quantity*price = 12900 [11:13:25]sum+1 = 12901 [11:13:25]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036210013 Кофе Капучино (GABB TRADE) 1.000 * 129.00 = 129.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 258.00 НСП 1% : 2.28 НДС 12% : 27.40 Наличными: 258.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 22 21.02.2025 11:13 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32634 ФПД: 241372463011204 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T111326&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32634&fm=241372463011204&tin=02508201610067®Number=0000000000146237&sum=25800 0 [11:13:26]StoreToDocumentArchive [11:13:26]shift 386 fd 32634 [11:13:26]save to /storage/0386/doc_00032634 [11:13:26]save last doc name /storage/0386/doc_00032634 to /storage/kkm_last_doc_name [11:13:26]save OK [11:13:26]Clear old archive folders... [11:13:26]ProcessDocumentItem done err = 0, tmpTLVsize=384 [11:13:26]tlvbuf is 00F129E0 [11:13:26]SAM_PROTO_ClearQueue [11:13:26]wFMCommunicate request_size=4 [11:13:26]MH_SAM_APDU [11:13:26]CAPDU: 80 09 00 00 [11:13:26]Write to MH i2c: E2 08 00 A4 01 80 09 00 00 00 00 00 00 17 [11:13:26]Write i2c OK [11:13:26]MH_I2C_Read... [11:13:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:13:26]Read from MH i2c: E2 [11:13:26]MH_I2C_Read... [11:13:26]Read from MH i2c: E2 03 00 [11:13:26]MH_I2C_Read... [11:13:26]Read from MH i2c: E2 03 00 A4 01 00 90 00 19 [11:13:26]RAPDU: 90 00 [11:13:26]wFMCommunicate OK [11:13:26]SAM_PROTO_ClearQueue done [11:13:26]KKMCreateOFDPacket [11:13:26]OFDProtocolAddRootSTLVToBuf [11:13:26]FM_MakeSignedData [11:13:26]FM_MakeSignedData [11:13:26]SAM_PROTO_SignData [11:13:26]wFMCommunicate request_size=4 [11:13:26]MH_SAM_APDU [11:13:26]CAPDU: 80 0D 01 02 [11:13:26]Write to MH i2c: E2 08 00 A5 01 80 0D 01 02 00 00 00 00 1F [11:13:26]Write i2c OK [11:13:26]MH_I2C_Read... [11:13:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:13:26]Read from MH i2c: E2 [11:13:26]MH_I2C_Read... [11:13:26]Read from MH i2c: E2 03 00 [11:13:26]MH_I2C_Read... [11:13:26]Read from MH i2c: E2 03 00 A5 01 00 90 00 1A [11:13:26]RAPDU: 90 00 [11:13:26]wFMCommunicate OK [11:13:26]wFMCommunicate request_size=255 [11:13:26]MH_SAM_APDU [11:13:26]CAPDU: 80 0D 02 02 FA 03 00 80 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 [11:13:26]Write to MH i2c: E2 02 01 A6 01 80 0D 02 02 FA 00 03 00 80 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 F7 [11:13:26]Write i2c OK [11:13:26]MH_I2C_Read... [11:13:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:13:27]Read from MH i2c: E2 [11:13:27]MH_I2C_Read... [11:13:27]Read from MH i2c: E2 03 00 [11:13:27]MH_I2C_Read... [11:13:27]Read from MH i2c: E2 03 00 A6 01 00 90 00 1B [11:13:27]RAPDU: 90 00 [11:13:27]wFMCommunicate OK [11:13:27]wFMCommunicate request_size=143 [11:13:27]MH_SAM_APDU [11:13:27]CAPDU: 80 0D 02 02 8A E4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B4 0A 00 00 00 00 07 04 06 00 C8 64 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 D6 5F B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7A 7F 00 00 35 04 06 00 DB 86 E7 EA 95 84 [11:13:27]Write to MH i2c: E2 92 00 A7 01 80 0D 02 02 8A 00 E4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B4 0A 00 00 00 00 07 04 06 00 C8 64 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 D6 5F B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7A 7F 00 00 35 04 06 00 DB 86 E7 EA 95 84 00 00 63 [11:13:27]Write i2c OK [11:13:27]MH_I2C_Read... [11:13:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:13:27]Read from MH i2c: E2 [11:13:27]MH_I2C_Read... [11:13:27]Read from MH i2c: E2 03 00 [11:13:27]MH_I2C_Read... [11:13:27]Read from MH i2c: E2 03 00 A7 01 00 90 00 1C [11:13:27]RAPDU: 90 00 [11:13:27]wFMCommunicate OK [11:13:27]wFMCommunicate request_size=4 [11:13:27]MH_SAM_APDU [11:13:27]CAPDU: 80 0D 03 02 [11:13:27]Write to MH i2c: E2 08 00 A8 01 80 0D 03 02 00 00 00 00 24 [11:13:27]Write i2c OK [11:13:27]MH_I2C_Read... [11:13:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:13:27]Read from MH i2c: E2 [11:13:27]MH_I2C_Read... [11:13:27]Read from MH i2c: E2 0B 00 [11:13:27]MH_I2C_Read... [11:13:27]Read from MH i2c: E2 0B 00 A8 01 00 BB 5F 96 C0 9C 95 A3 D3 90 00 3C [11:13:27]RAPDU: BB 5F 96 C0 9C 95 A3 D3 90 00 [11:13:27]wFMCommunicate OK [11:13:27]SAM_PROTO_SignData done [11:13:27]FM_MakeSignedData done [11:13:27]CreateOFDProtocolMessage [11:13:27]wFMCommunicate request_size=4 [11:13:27]MH_SAM_APDU [11:13:27]CAPDU: 80 11 00 00 [11:13:27]Write to MH i2c: E2 08 00 A9 01 80 11 00 00 00 00 00 00 24 [11:13:27]Write i2c OK [11:13:27]MH_I2C_Read... [11:13:27]OFD Sender: No OFD packet to send [11:13:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:13:27]Read from MH i2c: E2 [11:13:27]MH_I2C_Read... [11:13:27]Read from MH i2c: E2 17 00 [11:13:27]MH_I2C_Read... [11:13:27]Read from MH i2c: E2 17 00 A9 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 7A [11:13:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:13:27]wFMCommunicate OK [11:13:27]CreateOFDProtocolMessage done [11:13:27]OFDSenderStorePacket 32634 [11:13:27]StoreOFDPacket docnum=32634 [11:13:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 94 01 00 00 0E 92 8C 01 A4 06 5A 03 01 00 03 00 80 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B4 0A 00 00 00 00 07 04 06 00 C8 64 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 D6 5F B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7A 7F 00 00 35 04 06 00 DB 86 E7 EA 95 84 BB 5F 96 C0 9C 95 A3 D3 [11:13:27]CheckFolder [11:13:27]dirname=/storage/ofd_packets [11:13:27]CheckFolder done [11:13:27]ProducePacketName [11:13:27]name=ofd_packets/00032634 [11:13:27]NVStorageSaveData ofd_packets/00032634 [11:13:27]File name is /storage/ofd_packets/00032634 [11:13:27]Write 434 bytes [11:13:27]NVStorageSaveData done [11:13:27]OFDSenderStorePacket done [11:13:27]KKMCreateOFDPacket done [11:13:27]NVStorageSaveData kkm_last_timestamp [11:13:27]File name is /storage/kkm_last_timestamp [11:13:27]Write 4 bytes [11:13:27]NVStorageSaveData done [11:13:27]ExternCall_PrintAddStr [11:13:27]wPrintStart [11:13:27]Write to MH i2c: 01 00 00 AA 01 AB [11:13:27]Write i2c OK [11:13:27]MH_I2C_Read... [11:13:27]Read from MH i2c: 01 [11:13:27]MH_I2C_Read... [11:13:27]Read from MH i2c: 01 07 00 [11:13:27]MH_I2C_Read... [11:13:27]Read from MH i2c: 01 07 00 AA 01 00 00 00 00 00 FF 0F C0 [11:13:27]RasterBufferAndPrint [11:13:27]line Счет N : (3)130844 [11:13:27]line ИНН: 02508201610067 [11:13:27]line Контрольно-Кассовый Чек [11:13:27]line ПРОДАЖА [11:13:27]line Товар: 2000036240010 [11:13:27]line Кофе Латте (GABB TRADE) [11:13:27]line 1.000 * 129.00 [11:13:27]line = 129.00 [11:13:27]line НДС 12% НСП 1% [11:13:27]line > о реализуемом товаре [11:13:27]line Товар: 2000036210013 [11:13:27]line Кофе Капучино (GABB TRADE) [11:13:27]line 1.000 * 129.00 [11:13:27]line = 129.00 [11:13:27]line НДС 12% НСП 1% [11:13:27]line > о реализуемом товаре [11:13:27]line ИТОГО: 258.00 [11:13:27]line НСП 1% : 2.28 [11:13:27]line НДС 12% : 27.40 [11:13:27]line Наличными: 258.00 [11:13:27]line Безнал.: 0.00 [11:13:27]line Место: АЗС № 96 "Партнер Нефть" [11:13:27]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [11:13:27]line СНО: Общий режим [11:13:27]line Чек 22 21.02.2025 11:13 [11:13:27]line Смена: 386 ФФД: 1.0 [11:13:27]line ЗНМ: 0300000059 [11:13:27]line РНМ: 0000000000146237 [11:13:27]line Версия ККМ: v1.0 [11:13:27]line ФМ: 0000000000959282 [11:13:27]line ФД: 32634 [11:13:27]line ФПД: 241372463011204 [11:13:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T111326&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32634&fm=241372463011204&tin=02508201610067®Number=0000000000146237&sum=25800 [11:13:27]line 0 [11:13:27]OFD Sender: Processing packet 32634 [packets to send 105, broken 104] [11:13:27]ProducePacketName [11:13:27]name=ofd_packets/00032634 [11:13:27]OFD Sender: To server: pG, [11:13:27]CommunicateWithHost lk.salyk.kg:30040 [11:13:27]ConnectInit lk.salyk.kg [11:13:27]written 0, free lines is 4095 [11:13:28]Connected sock=10 [11:13: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 32 38 32 94 01 00 00 0E 92 8C 01 A4 06 5A 03 01 00 03 00 80 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 64 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B4 0A 00 00 00 00 07 04 06 00 C8 64 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 D6 5F B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7A 7F 00 00 35 04 06 00 DB 86 E7 EA 95 84 BB 5F 96 C0 9C 95 A3 D3 [11:13:28]Write to MH i2c: 01 00 00 D8 01 D9 [11:13:28]Write i2c OK [11:13:28]MH_I2C_Read... [11:13:28]Read from MH i2c: 01 [11:13:28]MH_I2C_Read... [11:13:28]Read from MH i2c: 01 07 00 [11:13:28]MH_I2C_Read... [11:13:28]Read from MH i2c: 01 07 00 D8 01 00 00 00 00 00 EC 0C D8 [11:13:28]RasterBufferAndPrint [11:13:28]line [11:13:28]line [11:13:28]line [11:13:28]line [11:13:28]line [11:13:28]written 0, free lines is 3314 [11:13:28]MH_Cut [11:13:28]Write to MH i2c: D1 01 00 DF 01 01 B2 [11:13:28]Write i2c OK [11:13:28]MH_I2C_Read... [11:13:28]Read from MH i2c: D1 [11:13:28]MH_I2C_Read... [11:13:28]Read from MH i2c: D1 01 00 [11:13:28]MH_I2C_Read... [11:13:28]Read from MH i2c: D1 01 00 DF 01 00 B1 [11:13:28]Write to MH i2c: 01 00 00 E0 01 E1 [11:13:28]Write i2c OK [11:13:28]MH_I2C_Read... [11:13:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 13 8E 47 00 46 F8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 32 38 32 10 04 04 00 7A 7F 00 00 F4 03 04 00 6D 09 B8 67 B6 04 01 00 00 54 DB 7D C9 8E 6D 19 03 [11:13:28]CommunicateWithHost err = 0 [11:13:28]CheckOFDResponse [11:13:28]1017 (14) - 77093643461234 [11:13:28]1041 (16) - 0000000000959282 [11:13:28]1040 (4) - 32634 [11:13:28]1012 (4) - 21.02.2025 05:04 [11:13:28]1206 (1) - 0 [11:13:28]OFD Sender: Remove packet 32634 [11:13:28]ProducePacketName [11:13:28]name=ofd_packets/00032634 [11:13:28]NVStorageDeleteData [11:13:28]OFD Sender: No OFD packet to send [11:13:28]*** Cut start [11:13:28]*** Partial cut [11:13:28]*** CUTSNS_PIN = 1 [11:13:28]*** CUTSNS_PIN = 0 [11:13:29]*** Brake cut motor [11:13:29]Read from MH i2c: 01 [11:13:29]MH_I2C_Read... [11:13:29]*** Stop cut motor [11:13:29]*** Cut end [11:13:29]Read from MH i2c: 01 07 00 [11:13:29]MH_I2C_Read... [11:13:29]Read from MH i2c: 01 07 00 E0 01 00 00 00 00 00 FF 0F F6 [11:13:29]process_action close_receipt done [11:13:29]requested_data is exist [11:13:29]produce_requested_data [11:13:29]requested_item fm.sn is exist - process it [11:13:29]wFMCommunicate request_size=4 [11:13:29]MH_SAM_APDU [11:13:29]CAPDU: 80 11 00 00 [11:13:29]Write to MH i2c: E2 08 00 E1 01 80 11 00 00 00 00 00 00 5C [11:13:29]Write i2c OK [11:13:29]MH_I2C_Read... [11:13:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:13:29]Read from MH i2c: E2 [11:13:29]MH_I2C_Read... [11:13:29]Read from MH i2c: E2 17 00 [11:13:29]MH_I2C_Read... [11:13:29]Read from MH i2c: E2 17 00 E1 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 B2 [11:13:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [11:13:29]wFMCommunicate OK [11:13:29]requested_item fd.num is exist - process it [11:13:29]SAM_PROTO_GetFieldsCounters [11:13:29]wFMCommunicate request_size=4 [11:13:29]MH_SAM_APDU [11:13:29]CAPDU: 80 13 00 00 [11:13:29]Write to MH i2c: E2 08 00 E2 01 80 13 00 00 00 00 00 00 5F [11:13:29]Write i2c OK [11:13:29]MH_I2C_Read... [11:13:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:13:29]Read from MH i2c: E2 [11:13:29]MH_I2C_Read... [11:13:29]Read from MH i2c: E2 62 00 [11:13:29]MH_I2C_Read... [11:13:29]Read from MH i2c: E2 62 00 E2 01 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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7A 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 3F [11:13:29]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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7A 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:13:29]wFMCommunicate OK [11:13:29]SAM_PROTO_GetFieldsCounters done [11:13:29]requested_item shift.num is exist - process it [11:13:29]requested_item shift.opened is exist - process it [11:13:29]req_shift_opened [11:13:29]FM_GetShiftState [11:13:29]SAM_PROTO_GetShiftState [11:13:29]wFMCommunicate request_size=4 [11:13:29]MH_SAM_APDU [11:13:29]CAPDU: 80 13 01 00 [11:13:29]Write to MH i2c: E2 08 00 E3 01 80 13 01 00 00 00 00 00 61 [11:13:29]Write i2c OK [11:13:29]MH_I2C_Read... [11:13:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:13:29]Read from MH i2c: E2 [11:13:29]MH_I2C_Read... [11:13:29]Read from MH i2c: E2 0E 00 [11:13:29]MH_I2C_Read... [11:13:29]Read from MH i2c: E2 0E 00 E3 01 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 C6 [11:13:29]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [11:13:29]wFMCommunicate OK [11:13:29]SAM_PROTO_GetShiftState done [11:13:29]FM_GetShiftState done [11:13:29]req_shift_opened done [11:13:29]requested_item shift.open_date is exist - process it [11:13:29]req_shift_open_date [11:13:29]req_shift_open_date done [11:13:29]produce_requested_data done [11:13:29]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32634,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [11:13:29]process_action_free close_receipt [11:13:29]json_value_free [11:13:29]json_value_free done [11:13:29]process_json_proto returns [11:13:29]Send response to host [11:13:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32634,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [11:13:29]free response buf [11:13:29]execute_script done [11:13:29]execute_script returns [11:13:29]free content buf [11:13:29]Sock 9.Close socket [11:13:29]Sock 9.Thread stoped [11:13:33]OFD Sender: No OFD packet to send [11:13:38]OFD Sender: No OFD packet to send [11:13:43]OFD Sender: No OFD packet to send [11:13:48]OFD Sender: No OFD packet to send [11:13:53]OFD Sender: No OFD packet to send [11:13:58]OFD Sender: No OFD packet to send [11:14:03]OFD Sender: No OFD packet to send [11:14:08]OFD Sender: No OFD packet to send [11:14:13]OFD Sender: No OFD packet to send [11:14:18]OFD Sender: No OFD packet to send [11:14:23]OFD Sender: No OFD packet to send [11:14:28]OFD Sender: No OFD packet to send [11:14:33]OFD Sender: No OFD packet to send [11:14:38]OFD Sender: No OFD packet to send [11:14:43]OFD Sender: No OFD packet to send [11:14:48]OFD Sender: No OFD packet to send [11:14:53]OFD Sender: No OFD packet to send [11:14:58]OFD Sender: No OFD packet to send [11:15:03]OFD Sender: No OFD packet to send [11:15:08]OFD Sender: No OFD packet to send [11:15:13]OFD Sender: No OFD packet to send [11:15:18]OFD Sender: No OFD packet to send [11:15:24]OFD Sender: No OFD packet to send [11:15:29]OFD Sender: No OFD packet to send [11:15:34]OFD Sender: No OFD packet to send [11:15:39]OFD Sender: No OFD packet to send [11:15:44]OFD Sender: No OFD packet to send [11:15:49]OFD Sender: No OFD packet to send [11:15:54]OFD Sender: No OFD packet to send [11:15:59]OFD Sender: No OFD packet to send [11:16:04]OFD Sender: No OFD packet to send [11:16:09]OFD Sender: No OFD packet to send [11:16:14]OFD Sender: No OFD packet to send [11:16:19]OFD Sender: No OFD packet to send [11:16:24]OFD Sender: No OFD packet to send [11:16:29]OFD Sender: No OFD packet to send [11:16:34]OFD Sender: No OFD packet to send [11:16:39]OFD Sender: No OFD packet to send [11:16:44]OFD Sender: No OFD packet to send [11:16:49]OFD Sender: No OFD packet to send [11:16:54]OFD Sender: No OFD packet to send [11:16:59]OFD Sender: No OFD packet to send [11:17:04]OFD Sender: No OFD packet to send [11:17:09]OFD Sender: No OFD packet to send [11:17:14]OFD Sender: No OFD packet to send [11:17:19]OFD Sender: No OFD packet to send [11:17:24]OFD Sender: No OFD packet to send [11:17:29]OFD Sender: No OFD packet to send [11:17:34]OFD Sender: No OFD packet to send [11:17:39]OFD Sender: No OFD packet to send [11:17:44]OFD Sender: No OFD packet to send [11:17:49]OFD Sender: No OFD packet to send [11:17:54]OFD Sender: No OFD packet to send [11:17:59]OFD Sender: No OFD packet to send [11:18:04]OFD Sender: No OFD packet to send [11:18:09]OFD Sender: No OFD packet to send [11:18:14]OFD Sender: No OFD packet to send [11:18:19]OFD Sender: No OFD packet to send [11:18:24]OFD Sender: No OFD packet to send [11:18:29]OFD Sender: No OFD packet to send [11:18:34]OFD Sender: No OFD packet to send [11:18:39]OFD Sender: No OFD packet to send [11:18:44]OFD Sender: No OFD packet to send [11:18:49]OFD Sender: No OFD packet to send [11:18:54]OFD Sender: No OFD packet to send [11:18:59]OFD Sender: No OFD packet to send [11:19:04]OFD Sender: No OFD packet to send [11:19:09]OFD Sender: No OFD packet to send [11:19:14]OFD Sender: No OFD packet to send [11:19:19]OFD Sender: No OFD packet to send [11:19:24]OFD Sender: No OFD packet to send [11:19:29]OFD Sender: No OFD packet to send [11:19:34]OFD Sender: No OFD packet to send [11:19:39]OFD Sender: No OFD packet to send [11:19:44]OFD Sender: No OFD packet to send [11:19:49]OFD Sender: No OFD packet to send [11:19:54]OFD Sender: No OFD packet to send [11:19:59]OFD Sender: No OFD packet to send [11:20:04]OFD Sender: No OFD packet to send [11:20:09]OFD Sender: No OFD packet to send [11:20:14]OFD Sender: No OFD packet to send [11:20:19]OFD Sender: No OFD packet to send [11:20:24]OFD Sender: No OFD packet to send [11:20:29]OFD Sender: No OFD packet to send [11:20:34]OFD Sender: No OFD packet to send [11:20:39]OFD Sender: No OFD packet to send [11:20:44]OFD Sender: No OFD packet to send [11:20:49]OFD Sender: No OFD packet to send [11:20:54]OFD Sender: No OFD packet to send [11:20:59]OFD Sender: No OFD packet to send [11:21:04]OFD Sender: No OFD packet to send [11:21:09]OFD Sender: No OFD packet to send [11:21:14]OFD Sender: No OFD packet to send [11:21:19]OFD Sender: No OFD packet to send [11:21:24]OFD Sender: No OFD packet to send [11:21:29]OFD Sender: No OFD packet to send [11:21:34]OFD Sender: No OFD packet to send [11:21:39]OFD Sender: No OFD packet to send [11:21:44]OFD Sender: No OFD packet to send [11:21:49]OFD Sender: No OFD packet to send [11:21:54]OFD Sender: No OFD packet to send [11:21:59]OFD Sender: No OFD packet to send [11:22:04]OFD Sender: No OFD packet to send [11:22:09]OFD Sender: No OFD packet to send [11:22:14]OFD Sender: No OFD packet to send [11:22:19]OFD Sender: No OFD packet to send [11:22:24]OFD Sender: No OFD packet to send [11:22:29]OFD Sender: No OFD packet to send [11:22:34]OFD Sender: No OFD packet to send [11:22:39]OFD Sender: No OFD packet to send [11:22:44]OFD Sender: No OFD packet to send [11:22:49]OFD Sender: No OFD packet to send [11:22:54]OFD Sender: No OFD packet to send [11:22:59]OFD Sender: No OFD packet to send [11:23:04]OFD Sender: No OFD packet to send [11:23:09]OFD Sender: No OFD packet to send [11:23:14]OFD Sender: No OFD packet to send [11:23:19]OFD Sender: No OFD packet to send [11:23:24]OFD Sender: No OFD packet to send [11:23:29]OFD Sender: No OFD packet to send [11:23:34]OFD Sender: No OFD packet to send [11:23:39]OFD Sender: No OFD packet to send [11:23:44]OFD Sender: No OFD packet to send [11:23:49]OFD Sender: No OFD packet to send [11:23:54]OFD Sender: No OFD packet to send [11:23:59]OFD Sender: No OFD packet to send [11:24:04]OFD Sender: No OFD packet to send [11:24:09]OFD Sender: No OFD packet to send [11:24:14]OFD Sender: No OFD packet to send [11:24:19]OFD Sender: No OFD packet to send [11:24:24]OFD Sender: No OFD packet to send [11:24:29]OFD Sender: No OFD packet to send [11:24:34]OFD Sender: No OFD packet to send [11:24:39]OFD Sender: No OFD packet to send [11:24:44]OFD Sender: No OFD packet to send [11:24:49]OFD Sender: No OFD packet to send [11:24:54]OFD Sender: No OFD packet to send [11:24:59]OFD Sender: No OFD packet to send [11:25:04]OFD Sender: No OFD packet to send [11:25:09]OFD Sender: No OFD packet to send [11:25:14]OFD Sender: No OFD packet to send [11:25:19]OFD Sender: No OFD packet to send [11:25:24]OFD Sender: No OFD packet to send [11:25:29]OFD Sender: No OFD packet to send [11:25:34]OFD Sender: No OFD packet to send [11:25:39]OFD Sender: No OFD packet to send [11:25:44]OFD Sender: No OFD packet to send [11:25:49]OFD Sender: No OFD packet to send [11:25:54]OFD Sender: No OFD packet to send [11:25:59]OFD Sender: No OFD packet to send [11:26:04]OFD Sender: No OFD packet to send [11:26:09]OFD Sender: No OFD packet to send [11:26:14]OFD Sender: No OFD packet to send [11:26:19]OFD Sender: No OFD packet to send [11:26:24]OFD Sender: No OFD packet to send [11:26:29]OFD Sender: No OFD packet to send [11:26:34]OFD Sender: No OFD packet to send [11:26:39]OFD Sender: No OFD packet to send [11:26:44]OFD Sender: No OFD packet to send [11:26:49]OFD Sender: No OFD packet to send [11:26:54]OFD Sender: No OFD packet to send [11:26:59]OFD Sender: No OFD packet to send [11:27:04]OFD Sender: No OFD packet to send [11:27:09]OFD Sender: No OFD packet to send [11:27:14]OFD Sender: No OFD packet to send [11:27:19]OFD Sender: No OFD packet to send [11:27:24]OFD Sender: No OFD packet to send [11:27:29]OFD Sender: No OFD packet to send [11:27:34]OFD Sender: No OFD packet to send [11:27:39]OFD Sender: No OFD packet to send [11:27:44]OFD Sender: No OFD packet to send [11:27:49]OFD Sender: No OFD packet to send [11:27:54]OFD Sender: No OFD packet to send [11:27:59]OFD Sender: No OFD packet to send [11:28:04]OFD Sender: No OFD packet to send [11:28:09]OFD Sender: No OFD packet to send [11:28:14]OFD Sender: No OFD packet to send [11:28:19]OFD Sender: No OFD packet to send [11:28:24]OFD Sender: No OFD packet to send [11:28:29]OFD Sender: No OFD packet to send [11:28:34]OFD Sender: No OFD packet to send [11:28:39]OFD Sender: No OFD packet to send [11:28:44]OFD Sender: No OFD packet to send [11:28:49]OFD Sender: No OFD packet to send [11:28:54]OFD Sender: No OFD packet to send [11:28:59]OFD Sender: No OFD packet to send [11:29:04]OFD Sender: No OFD packet to send [11:29:09]OFD Sender: No OFD packet to send [11:29:14]OFD Sender: No OFD packet to send [11:29:19]OFD Sender: No OFD packet to send [11:29:24]OFD Sender: No OFD packet to send [11:29:29]OFD Sender: No OFD packet to send [11:29:34]OFD Sender: No OFD packet to send [11:29:39]OFD Sender: No OFD packet to send [11:29:44]OFD Sender: No OFD packet to send [11:29:49]OFD Sender: No OFD packet to send [11:29:54]OFD Sender: No OFD packet to send [11:29:59]OFD Sender: No OFD packet to send [11:30:04]OFD Sender: No OFD packet to send [11:30:09]OFD Sender: No OFD packet to send [11:30:14]OFD Sender: No OFD packet to send [11:30:19]OFD Sender: No OFD packet to send [11:30:24]OFD Sender: No OFD packet to send [11:30:29]OFD Sender: No OFD packet to send [11:30:35]OFD Sender: No OFD packet to send [11:30:40]OFD Sender: No OFD packet to send [11:30:45]OFD Sender: No OFD packet to send [11:30:50]OFD Sender: No OFD packet to send [11:30:55]OFD Sender: No OFD packet to send [11:31:00]OFD Sender: No OFD packet to send [11:31:05]OFD Sender: No OFD packet to send [11:31:10]OFD Sender: No OFD packet to send [11:31:15]OFD Sender: No OFD packet to send [11:31:20]OFD Sender: No OFD packet to send [11:31:25]OFD Sender: No OFD packet to send [11:31:30]OFD Sender: No OFD packet to send [11:31:35]OFD Sender: No OFD packet to send [11:31:40]OFD Sender: No OFD packet to send [11:31:45]OFD Sender: No OFD packet to send [11:31:50]OFD Sender: No OFD packet to send [11:31:55]OFD Sender: No OFD packet to send [11:32:00]OFD Sender: No OFD packet to send [11:32:05]OFD Sender: No OFD packet to send [11:32:10]OFD Sender: No OFD packet to send [11:32:15]OFD Sender: No OFD packet to send [11:32:20]OFD Sender: No OFD packet to send [11:32:25]OFD Sender: No OFD packet to send [11:32:30]OFD Sender: No OFD packet to send [11:32:35]OFD Sender: No OFD packet to send [11:32:40]OFD Sender: No OFD packet to send [11:32:45]OFD Sender: No OFD packet to send [11:32:50]OFD Sender: No OFD packet to send [11:32:55]OFD Sender: No OFD packet to send [11:33:00]OFD Sender: No OFD packet to send [11:33:05]OFD Sender: No OFD packet to send [11:33:10]OFD Sender: No OFD packet to send [11:33:15]OFD Sender: No OFD packet to send [11:33:20]OFD Sender: No OFD packet to send [11:33:25]OFD Sender: No OFD packet to send [11:33:30]OFD Sender: No OFD packet to send [11:33:35]OFD Sender: No OFD packet to send [11:33:40]OFD Sender: No OFD packet to send [11:33:45]OFD Sender: No OFD packet to send [11:33:50]OFD Sender: No OFD packet to send [11:33:55]OFD Sender: No OFD packet to send [11:34:00]OFD Sender: No OFD packet to send [11:34:05]OFD Sender: No OFD packet to send [11:34:10]OFD Sender: No OFD packet to send [11:34:15]OFD Sender: No OFD packet to send [11:34:20]OFD Sender: No OFD packet to send [11:34:25]OFD Sender: No OFD packet to send [11:34:30]OFD Sender: No OFD packet to send [11:34:35]OFD Sender: No OFD packet to send [11:34:40]OFD Sender: No OFD packet to send [11:34:45]OFD Sender: No OFD packet to send [11:34:50]OFD Sender: No OFD packet to send [11:34:55]OFD Sender: No OFD packet to send [11:35:00]OFD Sender: No OFD packet to send [11:35:05]OFD Sender: No OFD packet to send [11:35:10]OFD Sender: No OFD packet to send [11:35:15]OFD Sender: No OFD packet to send [11:35:20]OFD Sender: No OFD packet to send [11:35:25]OFD Sender: No OFD packet to send [11:35:30]OFD Sender: No OFD packet to send [11:35:35]OFD Sender: No OFD packet to send [11:35:40]OFD Sender: No OFD packet to send [11:35:45]OFD Sender: No OFD packet to send [11:35:50]OFD Sender: No OFD packet to send [11:35:55]OFD Sender: No OFD packet to send [11:36:00]OFD Sender: No OFD packet to send [11:36:05]OFD Sender: No OFD packet to send [11:36:10]OFD Sender: No OFD packet to send [11:36:15]OFD Sender: No OFD packet to send [11:36:20]OFD Sender: No OFD packet to send [11:36:25]OFD Sender: No OFD packet to send [11:36:30]OFD Sender: No OFD packet to send [11:36:35]OFD Sender: No OFD packet to send [11:36:40]OFD Sender: No OFD packet to send [11:36:45]OFD Sender: No OFD packet to send [11:36:50]OFD Sender: No OFD packet to send [11:36:55]OFD Sender: No OFD packet to send [11:37:00]OFD Sender: No OFD packet to send [11:37:05]OFD Sender: No OFD packet to send [11:37:10]OFD Sender: No OFD packet to send [11:37:15]OFD Sender: No OFD packet to send [11:37:20]OFD Sender: No OFD packet to send [11:37:25]OFD Sender: No OFD packet to send [11:37:30]OFD Sender: No OFD packet to send [11:37:35]OFD Sender: No OFD packet to send [11:37:40]OFD Sender: No OFD packet to send [11:37:45]OFD Sender: No OFD packet to send [11:37:50]OFD Sender: No OFD packet to send [11:37:55]OFD Sender: No OFD packet to send [11:38:00]OFD Sender: No OFD packet to send [11:38:05]OFD Sender: No OFD packet to send [11:38:10]OFD Sender: No OFD packet to send [11:38:15]OFD Sender: No OFD packet to send [11:38:20]OFD Sender: No OFD packet to send [11:38:25]OFD Sender: No OFD packet to send [11:38:30]OFD Sender: No OFD packet to send [11:38:35]OFD Sender: No OFD packet to send [11:38:40]OFD Sender: No OFD packet to send [11:38:45]OFD Sender: No OFD packet to send [11:38:50]OFD Sender: No OFD packet to send [11:38:55]OFD Sender: No OFD packet to send [11:39:00]OFD Sender: No OFD packet to send [11:39:05]OFD Sender: No OFD packet to send [11:39:10]OFD Sender: No OFD packet to send [11:39:15]OFD Sender: No OFD packet to send [11:39:20]OFD Sender: No OFD packet to send [11:39:25]OFD Sender: No OFD packet to send [11:39:30]OFD Sender: No OFD packet to send [11:39:35]OFD Sender: No OFD packet to send [11:39:40]OFD Sender: No OFD packet to send [11:39:45]OFD Sender: No OFD packet to send [11:39:50]OFD Sender: No OFD packet to send [11:39:55]OFD Sender: No OFD packet to send [11:40:00]OFD Sender: No OFD packet to send [11:40:05]OFD Sender: No OFD packet to send [11:40:10]OFD Sender: No OFD packet to send [11:40:15]OFD Sender: No OFD packet to send [11:40:20]OFD Sender: No OFD packet to send [11:40:25]OFD Sender: No OFD packet to send [11:40:30]OFD Sender: No OFD packet to send [11:40:35]OFD Sender: No OFD packet to send [11:40:40]OFD Sender: No OFD packet to send [11:40:45]OFD Sender: No OFD packet to send [11:40:50]OFD Sender: No OFD packet to send [11:40:55]OFD Sender: No OFD packet to send [11:41:00]OFD Sender: No OFD packet to send [11:41:05]OFD Sender: No OFD packet to send [11:41:10]OFD Sender: No OFD packet to send [11:41:15]OFD Sender: No OFD packet to send [11:41:20]OFD Sender: No OFD packet to send [11:41:25]OFD Sender: No OFD packet to send [11:41:30]OFD Sender: No OFD packet to send [11:41:35]OFD Sender: No OFD packet to send [11:41:40]OFD Sender: No OFD packet to send [11:41:45]OFD Sender: No OFD packet to send [11:41:50]OFD Sender: No OFD packet to send [11:41:55]OFD Sender: No OFD packet to send [11:42:00]OFD Sender: No OFD packet to send [11:42:05]OFD Sender: No OFD packet to send [11:42:10]OFD Sender: No OFD packet to send [11:42:15]OFD Sender: No OFD packet to send [11:42:20]OFD Sender: No OFD packet to send [11:42:25]OFD Sender: No OFD packet to send [11:42:30]OFD Sender: No OFD packet to send [11:42:35]OFD Sender: No OFD packet to send [11:42:40]OFD Sender: No OFD packet to send [11:42:45]OFD Sender: No OFD packet to send [11:42:50]OFD Sender: No OFD packet to send [11:42:55]OFD Sender: No OFD packet to send [11:43:00]OFD Sender: No OFD packet to send [11:43:05]OFD Sender: No OFD packet to send [11:43:10]OFD Sender: No OFD packet to send [11:43:15]OFD Sender: No OFD packet to send [11:43:20]OFD Sender: No OFD packet to send [11:43:25]OFD Sender: No OFD packet to send [11:43:30]OFD Sender: No OFD packet to send [11:43:35]OFD Sender: No OFD packet to send [11:43:40]OFD Sender: No OFD packet to send [11:43:45]OFD Sender: No OFD packet to send [11:43:50]OFD Sender: No OFD packet to send [11:43:55]OFD Sender: No OFD packet to send [11:44:00]OFD Sender: No OFD packet to send [11:44:05]OFD Sender: No OFD packet to send [11:44:10]OFD Sender: No OFD packet to send [11:44:15]OFD Sender: No OFD packet to send [11:44:20]OFD Sender: No OFD packet to send [11:44:25]OFD Sender: No OFD packet to send [11:44:30]OFD Sender: No OFD packet to send [11:44:35]OFD Sender: No OFD packet to send [11:44:40]OFD Sender: No OFD packet to send [11:44:45]OFD Sender: No OFD packet to send [11:44:50]OFD Sender: No OFD packet to send [11:44:55]OFD Sender: No OFD packet to send [11:45:00]OFD Sender: No OFD packet to send [11:45:05]OFD Sender: No OFD packet to send [11:45:10]OFD Sender: No OFD packet to send [11:45:15]OFD Sender: No OFD packet to send [11:45:20]OFD Sender: No OFD packet to send [11:45:25]OFD Sender: No OFD packet to send [11:45:30]OFD Sender: No OFD packet to send [11:45:35]OFD Sender: No OFD packet to send [11:45:40]OFD Sender: No OFD packet to send [11:45:46]OFD Sender: No OFD packet to send [11:45:51]OFD Sender: No OFD packet to send [11:45:56]OFD Sender: No OFD packet to send [11:46:01]OFD Sender: No OFD packet to send [11:46:06]OFD Sender: No OFD packet to send [11:46:11]OFD Sender: No OFD packet to send [11:46:16]OFD Sender: No OFD packet to send [11:46:21]OFD Sender: No OFD packet to send [11:46:26]OFD Sender: No OFD packet to send [11:46:31]OFD Sender: No OFD packet to send [11:46:36]OFD Sender: No OFD packet to send [11:46:41]OFD Sender: No OFD packet to send [11:46:46]OFD Sender: No OFD packet to send [11:46:51]OFD Sender: No OFD packet to send [11:46:56]OFD Sender: No OFD packet to send [11:47:01]OFD Sender: No OFD packet to send [11:47:06]OFD Sender: No OFD packet to send [11:47:11]OFD Sender: No OFD packet to send [11:47:16]OFD Sender: No OFD packet to send [11:47:21]OFD Sender: No OFD packet to send [11:47:26]OFD Sender: No OFD packet to send [11:47:31]OFD Sender: No OFD packet to send [11:47:36]OFD Sender: No OFD packet to send [11:47:41]OFD Sender: No OFD packet to send [11:47:46]OFD Sender: No OFD packet to send [11:47:51]OFD Sender: No OFD packet to send [11:47:56]OFD Sender: No OFD packet to send [11:48:01]OFD Sender: No OFD packet to send [11:48:06]OFD Sender: No OFD packet to send [11:48:11]OFD Sender: No OFD packet to send [11:48:16]OFD Sender: No OFD packet to send [11:48:21]OFD Sender: No OFD packet to send [11:48:26]OFD Sender: No OFD packet to send [11:48:31]OFD Sender: No OFD packet to send [11:48:36]OFD Sender: No OFD packet to send [11:48:41]OFD Sender: No OFD packet to send [11:48:46]OFD Sender: No OFD packet to send [11:48:51]OFD Sender: No OFD packet to send [11:48:56]OFD Sender: No OFD packet to send [11:49:01]OFD Sender: No OFD packet to send [11:49:06]OFD Sender: No OFD packet to send [11:49:11]OFD Sender: No OFD packet to send [11:49:16]OFD Sender: No OFD packet to send [11:49:21]OFD Sender: No OFD packet to send [11:49:26]OFD Sender: No OFD packet to send [11:49:31]OFD Sender: No OFD packet to send [11:49:36]OFD Sender: No OFD packet to send [11:49:41]OFD Sender: No OFD packet to send [11:49:46]OFD Sender: No OFD packet to send [11:49:51]OFD Sender: No OFD packet to send [11:49:56]OFD Sender: No OFD packet to send [11:50:01]OFD Sender: No OFD packet to send [11:50:06]OFD Sender: No OFD packet to send [11:50:11]OFD Sender: No OFD packet to send [11:50:16]OFD Sender: No OFD packet to send [11:50:21]OFD Sender: No OFD packet to send [11:50:26]OFD Sender: No OFD packet to send [11:50:31]OFD Sender: No OFD packet to send [11:50:36]OFD Sender: No OFD packet to send [11:50:41]OFD Sender: No OFD packet to send [11:50:46]OFD Sender: No OFD packet to send [11:50:51]OFD Sender: No OFD packet to send [11:50:56]OFD Sender: No OFD packet to send [11:51:01]OFD Sender: No OFD packet to send [11:51:06]OFD Sender: No OFD packet to send [11:51:11]OFD Sender: No OFD packet to send [11:51:16]OFD Sender: No OFD packet to send [11:51:21]OFD Sender: No OFD packet to send [11:51:26]OFD Sender: No OFD packet to send [11:51:31]OFD Sender: No OFD packet to send [11:51:36]OFD Sender: No OFD packet to send [11:51:41]OFD Sender: No OFD packet to send [11:51:46]OFD Sender: No OFD packet to send [11:51:51]OFD Sender: No OFD packet to send [11:51:56]OFD Sender: No OFD packet to send [11:52:01]OFD Sender: No OFD packet to send [11:52:06]OFD Sender: No OFD packet to send [11:52:11]OFD Sender: No OFD packet to send [11:52:16]OFD Sender: No OFD packet to send [11:52:21]OFD Sender: No OFD packet to send [11:52:26]OFD Sender: No OFD packet to send [11:52:31]OFD Sender: No OFD packet to send [11:52:36]OFD Sender: No OFD packet to send [11:52:41]OFD Sender: No OFD packet to send [11:52:46]OFD Sender: No OFD packet to send [11:52:51]OFD Sender: No OFD packet to send [11:52:56]OFD Sender: No OFD packet to send [11:53:01]OFD Sender: No OFD packet to send [11:53:06]OFD Sender: No OFD packet to send [11:53:11]OFD Sender: No OFD packet to send [11:53:16]OFD Sender: No OFD packet to send [11:53:21]OFD Sender: No OFD packet to send [11:53:26]OFD Sender: No OFD packet to send [11:53:31]OFD Sender: No OFD packet to send [11:53:36]OFD Sender: No OFD packet to send [11:53:41]OFD Sender: No OFD packet to send [11:53:46]OFD Sender: No OFD packet to send [11:53:51]OFD Sender: No OFD packet to send [11:53:56]OFD Sender: No OFD packet to send [11:54:01]OFD Sender: No OFD packet to send [11:54:06]OFD Sender: No OFD packet to send [11:54:11]OFD Sender: No OFD packet to send [11:54:16]OFD Sender: No OFD packet to send [11:54:21]OFD Sender: No OFD packet to send [11:54:26]OFD Sender: No OFD packet to send [11:54:31]OFD Sender: No OFD packet to send [11:54:36]OFD Sender: No OFD packet to send [11:54:41]OFD Sender: No OFD packet to send [11:54:46]OFD Sender: No OFD packet to send [11:54:51]OFD Sender: No OFD packet to send [11:54:56]OFD Sender: No OFD packet to send [11:55:01]OFD Sender: No OFD packet to send [11:55:06]OFD Sender: No OFD packet to send [11:55:11]OFD Sender: No OFD packet to send [11:55:16]OFD Sender: No OFD packet to send [11:55:21]OFD Sender: No OFD packet to send [11:55:26]OFD Sender: No OFD packet to send [11:55:31]OFD Sender: No OFD packet to send [11:55:36]OFD Sender: No OFD packet to send [11:55:41]OFD Sender: No OFD packet to send [11:55:46]OFD Sender: No OFD packet to send [11:55:51]OFD Sender: No OFD packet to send [11:55:56]OFD Sender: No OFD packet to send [11:56:01]OFD Sender: No OFD packet to send [11:56:06]OFD Sender: No OFD packet to send [11:56:11]OFD Sender: No OFD packet to send [11:56:16]OFD Sender: No OFD packet to send [11:56:21]OFD Sender: No OFD packet to send [11:56:26]OFD Sender: No OFD packet to send [11:56:31]OFD Sender: No OFD packet to send [11:56:36]OFD Sender: No OFD packet to send [11:56:41]OFD Sender: No OFD packet to send [11:56:46]OFD Sender: No OFD packet to send [11:56:51]OFD Sender: No OFD packet to send [11:56:56]OFD Sender: No OFD packet to send [11:57:01]OFD Sender: No OFD packet to send [11:57:06]OFD Sender: No OFD packet to send [11:57:11]OFD Sender: No OFD packet to send [11:57:16]OFD Sender: No OFD packet to send [11:57:21]OFD Sender: No OFD packet to send [11:57:26]OFD Sender: No OFD packet to send [11:57:31]OFD Sender: No OFD packet to send [11:57:36]OFD Sender: No OFD packet to send [11:57:41]OFD Sender: No OFD packet to send [11:57:46]OFD Sender: No OFD packet to send [11:57:51]OFD Sender: No OFD packet to send [11:57:56]OFD Sender: No OFD packet to send [11:58:01]OFD Sender: No OFD packet to send [11:58:06]OFD Sender: No OFD packet to send [11:58:11]OFD Sender: No OFD packet to send [11:58:16]OFD Sender: No OFD packet to send [11:58:21]OFD Sender: No OFD packet to send [11:58:26]OFD Sender: No OFD packet to send [11:58:31]OFD Sender: No OFD packet to send [11:58:36]OFD Sender: No OFD packet to send [11:58:41]OFD Sender: No OFD packet to send [11:58:46]OFD Sender: No OFD packet to send [11:58:51]OFD Sender: No OFD packet to send [11:58:56]OFD Sender: No OFD packet to send [11:59:01]OFD Sender: No OFD packet to send [11:59:06]OFD Sender: No OFD packet to send [11:59:11]OFD Sender: No OFD packet to send [11:59:16]OFD Sender: No OFD packet to send [11:59:21]OFD Sender: No OFD packet to send [11:59:26]OFD Sender: No OFD packet to send [11:59:31]OFD Sender: No OFD packet to send [11:59:36]OFD Sender: No OFD packet to send [11:59:41]OFD Sender: No OFD packet to send [11:59:46]OFD Sender: No OFD packet to send [11:59:51]OFD Sender: No OFD packet to send [11:59:56]OFD Sender: No OFD packet to send [12:00:01]OFD Sender: No OFD packet to send [12:00:06]OFD Sender: No OFD packet to send [12:00:11]OFD Sender: No OFD packet to send [12:00:16]OFD Sender: No OFD packet to send [12:00:21]OFD Sender: No OFD packet to send [12:00:26]OFD Sender: No OFD packet to send [12:00:31]OFD Sender: No OFD packet to send [12:00:36]OFD Sender: No OFD packet to send [12:00:41]OFD Sender: No OFD packet to send [12:00:46]OFD Sender: No OFD packet to send [12:00:51]OFD Sender: No OFD packet to send [12:00:56]OFD Sender: No OFD packet to send [12:01:02]OFD Sender: No OFD packet to send [12:01:07]OFD Sender: No OFD packet to send [12:01:12]OFD Sender: No OFD packet to send [12:01:17]OFD Sender: No OFD packet to send [12:01:22]OFD Sender: No OFD packet to send [12:01:24]accept exits with 7 [12:01:24]New connection [12:01:24]New thread 3067481444 created [12:01:24]Thread 3067338084 joined [12:01:24]Waiting for new connection... [12:01:24] Sock 7.Parse request [12:01:24]Sock 7.Check first char [12:01:24]Sock 7.First char is OK [12:01:24]request: POST /json_proto HTTP/1.0 [12:01:24]Method: POST [12:01:24]URL: /json_proto [12:01:24]Method is POST - this is cgi request [12:01:24]url: /json_proto [12:01:24]query_string will be loaded in cgi processing [12:01:24]execute_cgi json_proto POST (null) [12:01:24]execute_cgi path=json_proto method=POST [12:01:24]POST find Content-Length [12:01:24]Host: 172.17.47.135:8080 [12:01:24]Content-Length: 667 [12:01:24]Content-Type: application/json [12:01:24] [12:01:24]POST finish read [12:01:24]Found Content-Length = 667 [12:01:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130845", "tax_sys" : 0, "items" : [ { "code": "2041881125053", "name": "\u041A\u0430\u043D\u0438\u0441\u0442\u0440\u0430 \u0436\u0435\u043B\u0435\u0437\u043D\u0430\u044F 20\u043B", "price" : 3274.00, "quantity" : 1.000, "sum" : 3274.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 3274.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:01:24]execute_script... [12:01:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130845", "tax_sys" : 0, "items" : [ { "code": "2041881125053", "name": "\u041A\u0430\u043D\u0438\u0441\u0442\u0440\u0430 \u0436\u0435\u043B\u0435\u0437\u043D\u0430\u044F 20\u043B", "price" : 3274.00, "quantity" : 1.000, "sum" : 3274.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 3274.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:01:24]POST & json_proto [12:01:24]process_json_proto [12:01:24]json parsed OK: [12:01:24]protocol is kg_v1.0 [12:01:24]action value=close_receipt [12:01:24]process_action close_receipt [12:01:24]cmd_close_receipt [12:01:24]MH_GetDate [12:01:24]Write to MH i2c: F0 00 00 E4 01 D4 [12:01:24]Write i2c OK [12:01:24]MH_I2C_Read... [12:01:24]Read from MH i2c: F0 [12:01:24]MH_I2C_Read... [12:01:24]Read from MH i2c: F0 09 00 [12:01:24]MH_I2C_Read... [12:01:24]Read from MH i2c: F0 09 00 E4 01 00 15 6B B8 67 19 D8 DE 66 B1 [12:01:24]GetLastDocTimeStamp 1740136406 [12:01:24]current date 1740139285 [12:01:24]FM_GetShiftState [12:01:24]SAM_PROTO_GetShiftState [12:01:24]wFMCommunicate request_size=4 [12:01:24]MH_SAM_APDU [12:01:24]CAPDU: 80 13 01 00 [12:01:24]Write to MH i2c: E2 08 00 E5 01 80 13 01 00 00 00 00 00 63 [12:01:24]Write i2c OK [12:01:24]MH_I2C_Read... [12:01:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:01:24]Read from MH i2c: E2 [12:01:24]MH_I2C_Read... [12:01:24]Read from MH i2c: E2 0E 00 [12:01:24]MH_I2C_Read... [12:01:24]Read from MH i2c: E2 0E 00 E5 01 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 C8 [12:01:24]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [12:01:24]wFMCommunicate OK [12:01:24]SAM_PROTO_GetShiftState done [12:01:24]FM_GetShiftState done [12:01:24]opened in 1740096631 [12:01:24]opened+sec_in_day 1740183031 [12:01:24]quantity*price = 327400 [12:01:24]sum+1 = 327401 [12:01:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 3274.00 НСП 1% : 28.97 НДС 12% : 347.68 Наличными: 3274.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 23 21.02.2025 12:01 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32635 ФПД: 34581331100309 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T120125&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32635&fm=34581331100309&tin=02508201610067®Number=0000000000146237&sum=327400 0 [12:01:25]StoreToDocumentArchive [12:01:25]shift 386 fd 32635 [12:01:25]save to /storage/0386/doc_00032635 [12:01:25]save last doc name /storage/0386/doc_00032635 to /storage/kkm_last_doc_name [12:01:25]save OK [12:01:25]Clear old archive folders... [12:01:25]ProcessDocumentItem done err = 0, tmpTLVsize=280 [12:01:25]tlvbuf is 00EF5E50 [12:01:25]SAM_PROTO_ClearQueue [12:01:25]wFMCommunicate request_size=4 [12:01:25]MH_SAM_APDU [12:01:25]CAPDU: 80 09 00 00 [12:01:25]Write to MH i2c: E2 08 00 F2 01 80 09 00 00 00 00 00 00 65 [12:01:25]Write i2c OK [12:01:25]MH_I2C_Read... [12:01:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:01:25]Read from MH i2c: E2 [12:01:25]MH_I2C_Read... [12:01:25]Read from MH i2c: E2 03 00 [12:01:25]MH_I2C_Read... [12:01:25]Read from MH i2c: E2 03 00 F2 01 00 90 00 67 [12:01:25]RAPDU: 90 00 [12:01:25]wFMCommunicate OK [12:01:25]SAM_PROTO_ClearQueue done [12:01:25]KKMCreateOFDPacket [12:01:25]OFDProtocolAddRootSTLVToBuf [12:01:25]FM_MakeSignedData [12:01:25]FM_MakeSignedData [12:01:25]SAM_PROTO_SignData [12:01:25]wFMCommunicate request_size=4 [12:01:25]MH_SAM_APDU [12:01:25]CAPDU: 80 0D 01 02 [12:01:25]Write to MH i2c: E2 08 00 F3 01 80 0D 01 02 00 00 00 00 6D [12:01:25]Write i2c OK [12:01:25]MH_I2C_Read... [12:01:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:01:25]Read from MH i2c: E2 [12:01:25]MH_I2C_Read... [12:01:25]Read from MH i2c: E2 03 00 [12:01:25]MH_I2C_Read... [12:01:25]Read from MH i2c: E2 03 00 F3 01 00 90 00 68 [12:01:25]RAPDU: 90 00 [12:01:25]wFMCommunicate OK [12:01:25]wFMCommunicate request_size=255 [12:01:25]MH_SAM_APDU [12:01:25]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 34 31 38 38 31 31 32 35 30 35 33 06 04 26 00 D0 9A D0 B0 D0 BD D0 B8 D1 81 D1 82 D1 80 D0 B0 20 D0 B6 D0 B5 D0 BB D0 B5 D0 B7 D0 BD D0 B0 D1 8F 20 32 30 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 FE 04 00 00 00 13 04 06 00 E8 FE 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 FE 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 51 0B 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D0 87 00 00 00 00 07 04 06 00 E8 FE 04 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 15 6B B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 [12:01:25]Write to MH i2c: E2 02 01 F4 01 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 34 31 38 38 31 31 32 35 30 35 33 06 04 26 00 D0 9A D0 B0 D0 BD D0 B8 D1 81 D1 82 D1 80 D0 B0 20 D0 B6 D0 B5 D0 BB D0 B5 D0 B7 D0 BD D0 B0 D1 8F 20 32 30 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 FE 04 00 00 00 13 04 06 00 E8 FE 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 FE 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 51 0B 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D0 87 00 00 00 00 07 04 06 00 E8 FE 04 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 15 6B B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 00 00 B0 [12:01:25]Write i2c OK [12:01:25]MH_I2C_Read... [12:01:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:01:25]Read from MH i2c: E2 [12:01:25]MH_I2C_Read... [12:01:25]Read from MH i2c: E2 03 00 [12:01:25]MH_I2C_Read... [12:01:25]Read from MH i2c: E2 03 00 F4 01 00 90 00 69 [12:01:25]RAPDU: 90 00 [12:01:25]wFMCommunicate OK [12:01:25]wFMCommunicate request_size=39 [12:01:25]MH_SAM_APDU [12:01:25]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7B 7F 00 00 35 04 06 00 1F 73 97 F4 C2 95 [12:01:25]Write to MH i2c: E2 2A 00 F5 01 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7B 7F 00 00 35 04 06 00 1F 73 97 F4 C2 95 00 00 9C [12:01:25]Write i2c OK [12:01:25]MH_I2C_Read... [12:01:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:01:25]Read from MH i2c: E2 [12:01:25]MH_I2C_Read... [12:01:25]Read from MH i2c: E2 03 00 [12:01:25]MH_I2C_Read... [12:01:25]Read from MH i2c: E2 03 00 F5 01 00 90 00 6A [12:01:25]RAPDU: 90 00 [12:01:25]wFMCommunicate OK [12:01:25]wFMCommunicate request_size=4 [12:01:25]MH_SAM_APDU [12:01:25]CAPDU: 80 0D 03 02 [12:01:25]Write to MH i2c: E2 08 00 F6 01 80 0D 03 02 00 00 00 00 72 [12:01:25]Write i2c OK [12:01:25]MH_I2C_Read... [12:01:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:01:25]Read from MH i2c: E2 [12:01:25]MH_I2C_Read... [12:01:25]Read from MH i2c: E2 0B 00 [12:01:25]MH_I2C_Read... [12:01:25]Read from MH i2c: E2 0B 00 F6 01 00 2D F3 C4 08 70 1E 28 29 90 00 3E [12:01:25]RAPDU: 2D F3 C4 08 70 1E 28 29 90 00 [12:01:25]wFMCommunicate OK [12:01:25]SAM_PROTO_SignData done [12:01:25]FM_MakeSignedData done [12:01:25]CreateOFDProtocolMessage [12:01:25]wFMCommunicate request_size=4 [12:01:25]MH_SAM_APDU [12:01:25]CAPDU: 80 11 00 00 [12:01:25]Write to MH i2c: E2 08 00 F7 01 80 11 00 00 00 00 00 00 72 [12:01:25]Write i2c OK [12:01:25]MH_I2C_Read... [12:01:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:01:25]Read from MH i2c: E2 [12:01:25]MH_I2C_Read... [12:01:25]Read from MH i2c: E2 17 00 [12:01:25]MH_I2C_Read... [12:01:25]Read from MH i2c: E2 17 00 F7 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 C8 [12:01:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [12:01:25]wFMCommunicate OK [12:01:25]CreateOFDProtocolMessage done [12:01:25]OFDSenderStorePacket 32635 [12:01:25]StoreOFDPacket docnum=32635 [12:01:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2C 01 00 00 7D 7E 24 01 2A F4 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 34 31 38 38 31 31 32 35 30 35 33 06 04 26 00 D0 9A D0 B0 D0 BD D0 B8 D1 81 D1 82 D1 80 D0 B0 20 D0 B6 D0 B5 D0 BB D0 B5 D0 B7 D0 BD D0 B0 D1 8F 20 32 30 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 FE 04 00 00 00 13 04 06 00 E8 FE 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 FE 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 51 0B 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D0 87 00 00 00 00 07 04 06 00 E8 FE 04 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 15 6B B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7B 7F 00 00 35 04 06 00 1F 73 97 F4 C2 95 2D F3 C4 08 70 1E 28 29 [12:01:25]CheckFolder [12:01:25]dirname=/storage/ofd_packets [12:01:25]CheckFolder done [12:01:25]ProducePacketName [12:01:25]name=ofd_packets/00032635 [12:01:25]NVStorageSaveData ofd_packets/00032635 [12:01:25]File name is /storage/ofd_packets/00032635 [12:01:25]Write 330 bytes [12:01:25]NVStorageSaveData done [12:01:25]OFDSenderStorePacket done [12:01:25]KKMCreateOFDPacket done [12:01:25]NVStorageSaveData kkm_last_timestamp [12:01:25]File name is /storage/kkm_last_timestamp [12:01:25]Write 4 bytes [12:01:25]NVStorageSaveData done [12:01:25]ExternCall_PrintAddStr [12:01:25]wPrintStart [12:01:25]Write to MH i2c: 01 00 00 F8 01 F9 [12:01:25]Write i2c OK [12:01:25]MH_I2C_Read... [12:01:25]Read from MH i2c: 01 [12:01:25]MH_I2C_Read... [12:01:25]Read from MH i2c: 01 07 00 [12:01:25]MH_I2C_Read... [12:01:25]Read from MH i2c: 01 07 00 F8 01 00 00 00 00 00 FF 0F 0E [12:01:25]RasterBufferAndPrint [12:01:25]line Счет N : (3)130845 [12:01:25]line ИНН: 02508201610067 [12:01:25]line Контрольно-Кассовый Чек [12:01:25]line ПРОДАЖА [12:01:25]line Товар: 2041881125053 [12:01:25]line Канистра железная 20л [12:01:25]line 1.000 * 3274.00 [12:01:25]line = 3274.00 [12:01:25]line НДС 12% НСП 1% [12:01:25]line > о реализуемом товаре [12:01:25]line ИТОГО: 3274.00 [12:01:25]line НСП 1% : 28.97 [12:01:25]line НДС 12% : 347.68 [12:01:25]line Наличными: 3274.00 [12:01:25]line Безнал.: 0.00 [12:01:25]line Место: АЗС № 96 "Партнер Нефть" [12:01:25]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [12:01:25]line СНО: Общий режим [12:01:25]line Чек 23 21.02.2025 12:01 [12:01:25]line Смена: 386 ФФД: 1.0 [12:01:25]line ЗНМ: 0300000059 [12:01:25]line РНМ: 0000000000146237 [12:01:25]line Версия ККМ: v1.0 [12:01:25]line ФМ: 0000000000959282 [12:01:25]line ФД: 32635 [12:01:25]line ФПД: 34581331100309 [12:01:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T120125&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32635&fm=34581331100309&tin=02508201610067®Number=0000000000146237&sum=327400 [12:01:26]line 0 [12:01:26]OFD Sender: Processing packet 32635 [packets to send 105, broken 104] [12:01:26]ProducePacketName [12:01:26]name=ofd_packets/00032635 [12:01:26]OFD Sender: To server: pG, [12:01:26]CommunicateWithHost lk.salyk.kg:30040 [12:01:26]ConnectInit lk.salyk.kg [12:01:26]written 0, free lines is 4095 [12:01:26]Connected sock=10 [12:01: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 32 38 32 2C 01 00 00 7D 7E 24 01 2A F4 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 34 31 38 38 31 31 32 35 30 35 33 06 04 26 00 D0 9A D0 B0 D0 BD D0 B8 D1 81 D1 82 D1 80 D0 B0 20 D0 B6 D0 B5 D0 BB D0 B5 D0 B7 D0 BD D0 B0 D1 8F 20 32 30 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 FE 04 00 00 00 13 04 06 00 E8 FE 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 FE 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 51 0B 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D0 87 00 00 00 00 07 04 06 00 E8 FE 04 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 15 6B B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7B 7F 00 00 35 04 06 00 1F 73 97 F4 C2 95 2D F3 C4 08 70 1E 28 29 [12:01:26]Write to MH i2c: 01 00 00 20 02 22 [12:01:26]Write i2c OK [12:01:26]MH_I2C_Read... [12:01:26]Read from MH i2c: 01 [12:01:26]MH_I2C_Read... [12:01:26]Read from MH i2c: 01 07 00 [12:01:26]MH_I2C_Read... [12:01:26]Read from MH i2c: 01 07 00 20 02 00 00 00 00 00 20 0D 56 [12:01:26]RasterBufferAndPrint [12:01:26]line [12:01:26]line [12:01:26]line [12:01:26]line [12:01:26]line [12:01:26]written 0, free lines is 3366 [12:01:26]MH_Cut [12:01:26]Write to MH i2c: D1 01 00 27 02 01 FB [12:01:26]Write i2c OK [12:01:26]MH_I2C_Read... [12:01:26]Read from MH i2c: D1 [12:01:26]MH_I2C_Read... [12:01:26]Read from MH i2c: D1 01 00 [12:01:26]MH_I2C_Read... [12:01:26]Read from MH i2c: D1 01 00 27 02 00 FA [12:01:26]Write to MH i2c: 01 00 00 28 02 2A [12:01:26]Write i2c OK [12:01:26]MH_I2C_Read... [12:01:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 BE 5E 47 00 A0 27 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7B 7F 00 00 F4 03 04 00 AC 14 B8 67 B6 04 01 00 00 5C EC 36 A0 F0 A5 B1 2B [12:01:26]CommunicateWithHost err = 0 [12:01:26]CheckOFDResponse [12:01:26]1017 (14) - 77093643461234 [12:01:26]1041 (16) - 0000000000959282 [12:01:26]1040 (4) - 32635 [12:01:26]1012 (4) - 21.02.2025 05:52 [12:01:26]1206 (1) - 0 [12:01:26]OFD Sender: Remove packet 32635 [12:01:26]ProducePacketName [12:01:26]name=ofd_packets/00032635 [12:01:26]NVStorageDeleteData [12:01:27]OFD Sender: No OFD packet to send [12:01:27]*** Cut start [12:01:27]*** Partial cut [12:01:27]*** CUTSNS_PIN = 1 [12:01:27]*** CUTSNS_PIN = 0 [12:01:27]*** Brake cut motor [12:01:27]Read from MH i2c: 01 [12:01:27]MH_I2C_Read... [12:01:27]*** Stop cut motor [12:01:28]*** Cut end [12:01:28]Read from MH i2c: 01 07 00 [12:01:28]MH_I2C_Read... [12:01:28]Read from MH i2c: 01 07 00 28 02 00 00 00 00 00 FF 0F 3F [12:01:28]process_action close_receipt done [12:01:28]requested_data is exist [12:01:28]produce_requested_data [12:01:28]requested_item fm.sn is exist - process it [12:01:28]wFMCommunicate request_size=4 [12:01:28]MH_SAM_APDU [12:01:28]CAPDU: 80 11 00 00 [12:01:28]Write to MH i2c: E2 08 00 29 02 80 11 00 00 00 00 00 00 A5 [12:01:28]Write i2c OK [12:01:28]MH_I2C_Read... [12:01:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:01:28]Read from MH i2c: E2 [12:01:28]MH_I2C_Read... [12:01:28]Read from MH i2c: E2 17 00 [12:01:28]MH_I2C_Read... [12:01:28]Read from MH i2c: E2 17 00 29 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 FB [12:01:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [12:01:28]wFMCommunicate OK [12:01:28]requested_item fd.num is exist - process it [12:01:28]SAM_PROTO_GetFieldsCounters [12:01:28]wFMCommunicate request_size=4 [12:01:28]MH_SAM_APDU [12:01:28]CAPDU: 80 13 00 00 [12:01:28]Write to MH i2c: E2 08 00 2A 02 80 13 00 00 00 00 00 00 A8 [12:01:28]Write i2c OK [12:01:28]MH_I2C_Read... [12:01:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:01:28]Read from MH i2c: E2 [12:01:28]MH_I2C_Read... [12:01:28]Read from MH i2c: E2 62 00 [12:01:28]MH_I2C_Read... [12:01:28]Read from MH i2c: E2 62 00 2A 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7B 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 8C [12:01: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7B 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:01:28]wFMCommunicate OK [12:01:28]SAM_PROTO_GetFieldsCounters done [12:01:28]requested_item shift.num is exist - process it [12:01:28]requested_item shift.opened is exist - process it [12:01:28]req_shift_opened [12:01:28]FM_GetShiftState [12:01:28]SAM_PROTO_GetShiftState [12:01:28]wFMCommunicate request_size=4 [12:01:28]MH_SAM_APDU [12:01:28]CAPDU: 80 13 01 00 [12:01:28]Write to MH i2c: E2 08 00 2B 02 80 13 01 00 00 00 00 00 AA [12:01:28]Write i2c OK [12:01:28]MH_I2C_Read... [12:01:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:01:28]Read from MH i2c: E2 [12:01:28]MH_I2C_Read... [12:01:28]Read from MH i2c: E2 0E 00 [12:01:28]MH_I2C_Read... [12:01:28]Read from MH i2c: E2 0E 00 2B 02 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 0F [12:01:28]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [12:01:28]wFMCommunicate OK [12:01:28]SAM_PROTO_GetShiftState done [12:01:28]FM_GetShiftState done [12:01:28]req_shift_opened done [12:01:28]requested_item shift.open_date is exist - process it [12:01:28]req_shift_open_date [12:01:28]req_shift_open_date done [12:01:28]produce_requested_data done [12:01:28]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32635,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [12:01:28]process_action_free close_receipt [12:01:28]json_value_free [12:01:28]json_value_free done [12:01:28]process_json_proto returns [12:01:28]Send response to host [12:01:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32635,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [12:01:28]free response buf [12:01:28]execute_script done [12:01:28]execute_script returns [12:01:28]free content buf [12:01:28]Sock 7.Close socket [12:01:28]Sock 7.Thread stoped [12:01:32]OFD Sender: No OFD packet to send [12:01:37]OFD Sender: No OFD packet to send [12:01:42]OFD Sender: No OFD packet to send [12:01:47]OFD Sender: No OFD packet to send [12:01:52]OFD Sender: No OFD packet to send [12:01:57]OFD Sender: No OFD packet to send [12:02:02]OFD Sender: No OFD packet to send [12:02:07]OFD Sender: No OFD packet to send [12:02:12]OFD Sender: No OFD packet to send [12:02:17]OFD Sender: No OFD packet to send [12:02:22]OFD Sender: No OFD packet to send [12:02:27]OFD Sender: No OFD packet to send [12:02:32]OFD Sender: No OFD packet to send [12:02:37]OFD Sender: No OFD packet to send [12:02:42]OFD Sender: No OFD packet to send [12:02:47]OFD Sender: No OFD packet to send [12:02:52]OFD Sender: No OFD packet to send [12:02:57]OFD Sender: No OFD packet to send [12:03:02]OFD Sender: No OFD packet to send [12:03:07]OFD Sender: No OFD packet to send [12:03:12]OFD Sender: No OFD packet to send [12:03:17]OFD Sender: No OFD packet to send [12:03:22]OFD Sender: No OFD packet to send [12:03:27]OFD Sender: No OFD packet to send [12:03:32]OFD Sender: No OFD packet to send [12:03:37]OFD Sender: No OFD packet to send [12:03:42]OFD Sender: No OFD packet to send [12:03:47]OFD Sender: No OFD packet to send [12:03:52]OFD Sender: No OFD packet to send [12:03:57]OFD Sender: No OFD packet to send [12:04:02]OFD Sender: No OFD packet to send [12:04:07]OFD Sender: No OFD packet to send [12:04:12]OFD Sender: No OFD packet to send [12:04:17]OFD Sender: No OFD packet to send [12:04:22]OFD Sender: No OFD packet to send [12:04:27]OFD Sender: No OFD packet to send [12:04:32]OFD Sender: No OFD packet to send [12:04:37]OFD Sender: No OFD packet to send [12:04:42]OFD Sender: No OFD packet to send [12:04:47]OFD Sender: No OFD packet to send [12:04:52]OFD Sender: No OFD packet to send [12:04:57]OFD Sender: No OFD packet to send [12:05:02]OFD Sender: No OFD packet to send [12:05:07]OFD Sender: No OFD packet to send [12:05:12]OFD Sender: No OFD packet to send [12:05:17]OFD Sender: No OFD packet to send [12:05:22]OFD Sender: No OFD packet to send [12:05:27]OFD Sender: No OFD packet to send [12:05:32]OFD Sender: No OFD packet to send [12:05:37]OFD Sender: No OFD packet to send [12:05:42]OFD Sender: No OFD packet to send [12:05:47]OFD Sender: No OFD packet to send [12:05:52]OFD Sender: No OFD packet to send [12:05:57]OFD Sender: No OFD packet to send [12:06:02]OFD Sender: No OFD packet to send [12:06:07]OFD Sender: No OFD packet to send [12:06:12]OFD Sender: No OFD packet to send [12:06:17]OFD Sender: No OFD packet to send [12:06:22]OFD Sender: No OFD packet to send [12:06:27]OFD Sender: No OFD packet to send [12:06:32]OFD Sender: No OFD packet to send [12:06:37]OFD Sender: No OFD packet to send [12:06:42]OFD Sender: No OFD packet to send [12:06:47]OFD Sender: No OFD packet to send [12:06:52]OFD Sender: No OFD packet to send [12:06:57]OFD Sender: No OFD packet to send [12:07:02]OFD Sender: No OFD packet to send [12:07:07]OFD Sender: No OFD packet to send [12:07:12]OFD Sender: No OFD packet to send [12:07:17]OFD Sender: No OFD packet to send [12:07:22]OFD Sender: No OFD packet to send [12:07:27]OFD Sender: No OFD packet to send [12:07:32]OFD Sender: No OFD packet to send [12:07:37]OFD Sender: No OFD packet to send [12:07:42]OFD Sender: No OFD packet to send [12:07:47]OFD Sender: No OFD packet to send [12:07:52]OFD Sender: No OFD packet to send [12:07:57]OFD Sender: No OFD packet to send [12:08:02]OFD Sender: No OFD packet to send [12:08:07]OFD Sender: No OFD packet to send [12:08:12]OFD Sender: No OFD packet to send [12:08:17]OFD Sender: No OFD packet to send [12:08:22]OFD Sender: No OFD packet to send [12:08:27]OFD Sender: No OFD packet to send [12:08:32]OFD Sender: No OFD packet to send [12:08:37]OFD Sender: No OFD packet to send [12:08:42]OFD Sender: No OFD packet to send [12:08:47]OFD Sender: No OFD packet to send [12:08:52]OFD Sender: No OFD packet to send [12:08:57]OFD Sender: No OFD packet to send [12:09:02]OFD Sender: No OFD packet to send [12:09:07]OFD Sender: No OFD packet to send [12:09:12]OFD Sender: No OFD packet to send [12:09:17]OFD Sender: No OFD packet to send [12:09:22]OFD Sender: No OFD packet to send [12:09:27]OFD Sender: No OFD packet to send [12:09:32]OFD Sender: No OFD packet to send [12:09:37]OFD Sender: No OFD packet to send [12:09:42]OFD Sender: No OFD packet to send [12:09:47]OFD Sender: No OFD packet to send [12:09:52]OFD Sender: No OFD packet to send [12:09:57]OFD Sender: No OFD packet to send [12:10:02]OFD Sender: No OFD packet to send [12:10:06]accept exits with 9 [12:10:06]New connection [12:10:06]New thread 3067338084 created [12:10:06]Thread 3067481444 joined [12:10:06]Waiting for new connection... [12:10:06] Sock 9.Parse request [12:10:06]Sock 9.Check first char [12:10:06]Sock 9.First char is OK [12:10:06]request: POST /json_proto HTTP/1.0 [12:10:06]Method: POST [12:10:06]URL: /json_proto [12:10:06]Method is POST - this is cgi request [12:10:06]url: /json_proto [12:10:06]query_string will be loaded in cgi processing [12:10:06]execute_cgi json_proto POST (null) [12:10:06]execute_cgi path=json_proto method=POST [12:10:06]POST find Content-Length [12:10:06]Host: 172.17.47.135:8080 [12:10:06]Content-Length: 215 [12:10:06]Content-Type: application/json [12:10:06] [12:10:06]POST finish read [12:10:06]Found Content-Length = 215 [12:10:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:10:06]execute_script... [12:10:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:10:06]POST & json_proto [12:10:06]process_json_proto [12:10:06]json parsed OK: [12:10:06]protocol is kg_v1.0 [12:10:06]action value=get_value [12:10:06]process_action get_value [12:10:06]cmd_get_value [12:10:06]process_action get_value done [12:10:06]requested_data is exist [12:10:06]produce_requested_data [12:10:06]requested_item kkm.sn is exist - process it [12:10:06]requested_item kkm.ver is exist - process it [12:10:06]requested_item fm.sn is exist - process it [12:10:06]wFMCommunicate request_size=4 [12:10:06]MH_SAM_APDU [12:10:06]CAPDU: 80 11 00 00 [12:10:06]Write to MH i2c: E2 08 00 2C 02 80 11 00 00 00 00 00 00 A8 [12:10:06]Write i2c OK [12:10:06]MH_I2C_Read... [12:10:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:10:06]Read from MH i2c: E2 [12:10:06]MH_I2C_Read... [12:10:06]Read from MH i2c: E2 17 00 [12:10:06]MH_I2C_Read... [12:10:06]Read from MH i2c: E2 17 00 2C 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 FE [12:10:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [12:10:06]wFMCommunicate OK [12:10:06]requested_item fd.num is exist - process it [12:10:06]SAM_PROTO_GetFieldsCounters [12:10:06]wFMCommunicate request_size=4 [12:10:06]MH_SAM_APDU [12:10:06]CAPDU: 80 13 00 00 [12:10:06]Write to MH i2c: E2 08 00 2D 02 80 13 00 00 00 00 00 00 AB [12:10:06]Write i2c OK [12:10:06]MH_I2C_Read... [12:10:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:10:07]Read from MH i2c: E2 [12:10:07]MH_I2C_Read... [12:10:07]Read from MH i2c: E2 62 00 [12:10:07]MH_I2C_Read... [12:10:07]Read from MH i2c: E2 62 00 2D 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7B 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 8F [12:10:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7B 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:10:07]wFMCommunicate OK [12:10:07]SAM_PROTO_GetFieldsCounters done [12:10:07]requested_item shift.num is exist - process it [12:10:07]requested_item shift.opened is exist - process it [12:10:07]req_shift_opened [12:10:07]FM_GetShiftState [12:10:07]SAM_PROTO_GetShiftState [12:10:07]wFMCommunicate request_size=4 [12:10:07]MH_SAM_APDU [12:10:07]CAPDU: 80 13 01 00 [12:10:07]Write to MH i2c: E2 08 00 2E 02 80 13 01 00 00 00 00 00 AD [12:10:07]Write i2c OK [12:10:07]MH_I2C_Read... [12:10:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:10:07]Read from MH i2c: E2 [12:10:07]MH_I2C_Read... [12:10:07]Read from MH i2c: E2 0E 00 [12:10:07]MH_I2C_Read... [12:10:07]Read from MH i2c: E2 0E 00 2E 02 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 12 [12:10:07]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [12:10:07]wFMCommunicate OK [12:10:07]SAM_PROTO_GetShiftState done [12:10:07]FM_GetShiftState done [12:10:07]req_shift_opened done [12:10:07]requested_item shift.open_date is exist - process it [12:10:07]req_shift_open_date [12:10:07]req_shift_open_date done [12:10:07]produce_requested_data done [12:10:07]produce_requested_data return {"kkm.sn":"0300000059","kkm.ver":"v1.0","fm.sn":"0000000000959282","fd.num":32635,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [12:10:07]process_action_free get_value [12:10:07]json_value_free [12:10:07]json_value_free done [12:10:07]process_json_proto returns [12:10:07]Send response to host [12:10:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000059","kkm.ver":"v1.0","fm.sn":"0000000000959282","fd.num":32635,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [12:10:07]free response buf [12:10:07]execute_script done [12:10:07]execute_script returns [12:10:07]free content buf [12:10:07]Sock 9.Close socket [12:10:07]Sock 9.Thread stoped [12:10:07]accept exits with 7 [12:10:07]New connection [12:10:07]New thread 3067481444 created [12:10:07]Thread 3067338084 joined [12:10:07]Waiting for new connection... [12:10:07] Sock 7.Parse request [12:10:07]Sock 7.Check first char [12:10:07]Sock 7.First char is OK [12:10:07]request: POST /json_proto HTTP/1.0 [12:10:07]Method: POST [12:10:07]URL: /json_proto [12:10:07]Method is POST - this is cgi request [12:10:07]url: /json_proto [12:10:07]query_string will be loaded in cgi processing [12:10:07]execute_cgi json_proto POST (null) [12:10:07]execute_cgi path=json_proto method=POST [12:10:07]POST find Content-Length [12:10:07]Host: 172.17.47.135:8080 [12:10:07]Content-Length: 331 [12:10:07]Content-Type: application/json [12:10:07] [12:10:07]POST finish read [12:10:07]Found Content-Length = 331 [12:10:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [12:10:07]execute_script... [12:10:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [12:10:07]POST & json_proto [12:10:07]process_json_proto [12:10:07]json parsed OK: [12:10:07]protocol is kg_v1.0 [12:10:07]action value=get_value [12:10:07]process_action get_value [12:10:07]cmd_get_value [12:10:07]process_action get_value done [12:10:07]requested_data is exist [12:10:07]produce_requested_data [12:10:07]requested_item fm.sale.total is exist - process it [12:10:07]SAM_PROTO_GetFMData [12:10:07]wFMCommunicate request_size=4 [12:10:07]MH_SAM_APDU [12:10:07]CAPDU: 80 13 03 00 [12:10:07]Write to MH i2c: E2 08 00 2F 02 80 13 03 00 00 00 00 00 B0 [12:10:07]Write i2c OK [12:10:07]MH_I2C_Read... [12:10:07]OFD Sender: No OFD packet to send [12:10:07]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [12:10:07]Read from MH i2c: E2 [12:10:07]MH_I2C_Read... [12:10:07]Read from MH i2c: E2 FD 00 [12:10:07]MH_I2C_Read... [12:10:07]Read from MH i2c: E2 FD 00 2F 02 00 C4 04 85 04 C0 04 6E 04 04 00 76 7C 00 00 69 04 A0 00 6F 04 04 00 EB 7A 00 00 B1 04 04 00 59 B9 04 58 70 04 04 00 6D FF 1E 28 72 04 04 00 EC B9 E5 2F 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 D5 12 59 09 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 5A 62 C7 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8B 01 00 00 B1 04 04 00 4C 4C 33 02 70 04 04 00 A0 94 14 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D6 D3 3B EF 03 09 00 90 00 D0 [12:10:07]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 76 7C 00 00 69 04 A0 00 6F 04 04 00 EB 7A 00 00 B1 04 04 00 59 B9 04 58 70 04 04 00 6D FF 1E 28 72 04 04 00 EC B9 E5 2F 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 D5 12 59 09 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 5A 62 C7 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8B 01 00 00 B1 04 04 00 4C 4C 33 02 70 04 04 00 A0 94 14 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D6 D3 3B EF 03 09 00 90 00 [12:10:07]wFMCommunicate OK [12:10:07]wFMCommunicate request_size=4 [12:10:07]MH_SAM_APDU [12:10:07]CAPDU: 80 17 00 00 [12:10:07]Write to MH i2c: E2 08 00 30 02 80 17 00 00 00 00 00 00 B2 [12:10:07]Write i2c OK [12:10:07]MH_I2C_Read... [12:10:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:10:08]Read from MH i2c: E2 [12:10:08]MH_I2C_Read... [12:10:08]Read from MH i2c: E2 FD 00 [12:10:08]MH_I2C_Read... [12:10:08]Read from MH i2c: E2 FD 00 30 02 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 25 FC 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 8D [12:10:08]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 25 FC 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [12:10:08]wFMCommunicate OK [12:10:08]wFMCommunicate request_size=4 [12:10:08]MH_SAM_APDU [12:10:08]CAPDU: 80 17 00 00 [12:10:08]Write to MH i2c: E2 08 00 31 02 80 17 00 00 00 00 00 00 B3 [12:10:08]Write i2c OK [12:10:08]MH_I2C_Read... [12:10:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:10:08]Read from MH i2c: E2 [12:10:08]MH_I2C_Read... [12:10:08]Read from MH i2c: E2 FD 00 [12:10:08]MH_I2C_Read... [12:10:08]Read from MH i2c: E2 FD 00 31 02 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 C8 [12:10:08]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [12:10:08]wFMCommunicate OK [12:10:08]wFMCommunicate request_size=4 [12:10:08]MH_SAM_APDU [12:10:08]CAPDU: 80 17 00 00 [12:10:08]Write to MH i2c: E2 08 00 32 02 80 17 00 00 00 00 00 00 B4 [12:10:08]Write i2c OK [12:10:08]MH_I2C_Read... [12:10:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:10:08]Read from MH i2c: E2 [12:10:08]MH_I2C_Read... [12:10:08]Read from MH i2c: E2 FD 00 [12:10:08]MH_I2C_Read... [12:10:08]Read from MH i2c: E2 FD 00 32 02 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 2C [12:10:08]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [12:10:08]wFMCommunicate OK [12:10:08]wFMCommunicate request_size=4 [12:10:08]MH_SAM_APDU [12:10:08]CAPDU: 80 17 00 00 [12:10:08]Write to MH i2c: E2 08 00 33 02 80 17 00 00 00 00 00 00 B5 [12:10:08]Write i2c OK [12:10:08]MH_I2C_Read... [12:10:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [12:10:08]Read from MH i2c: E2 [12:10:08]MH_I2C_Read... [12:10:08]Read from MH i2c: E2 E1 00 [12:10:08]MH_I2C_Read... [12:10:08]Read from MH i2c: E2 E1 00 33 02 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 A3 [12:10:08]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:10:08]wFMCommunicate OK [12:10:08]SAM_PROTO_GetFMData done [12:10:08]requested_item fm.sale_refund.total is exist - process it [12:10:08]requested_item fm.buy.total is exist - process it [12:10:08]requested_item shift.sale.total is exist - process it [12:10:08]SAM_PROTO_GetShiftData [12:10:08]wFMCommunicate request_size=4 [12:10:08]MH_SAM_APDU [12:10:08]CAPDU: 80 13 02 00 [12:10:08]Write to MH i2c: E2 08 00 34 02 80 13 02 00 00 00 00 00 B4 [12:10:08]Write i2c OK [12:10:08]MH_I2C_Read... [12:10:09]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:10:09]Read from MH i2c: E2 [12:10:09]MH_I2C_Read... [12:10:09]Read from MH i2c: E2 FD 00 [12:10:09]MH_I2C_Read... [12:10:09]Read from MH i2c: E2 FD 00 34 02 00 AE 04 AA 04 AA 04 6E 04 04 00 17 00 00 00 69 04 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 D4 18 0D 70 04 03 00 14 C3 0A 72 04 03 00 C0 55 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 13 64 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 AA 1D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 D3 [12:10:09]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 17 00 00 00 69 04 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 D4 18 0D 70 04 03 00 14 C3 0A 72 04 03 00 C0 55 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 13 64 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 AA 1D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [12:10:09]wFMCommunicate OK [12:10:09]wFMCommunicate request_size=4 [12:10:09]MH_SAM_APDU [12:10:09]CAPDU: 80 17 00 00 [12:10:09]Write to MH i2c: E2 08 00 35 02 80 17 00 00 00 00 00 00 B7 [12:10:09]Write i2c OK [12:10:09]MH_I2C_Read... [12:10:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:10:09]Read from MH i2c: E2 [12:10:09]MH_I2C_Read... [12:10:09]Read from MH i2c: E2 FD 00 [12:10:09]MH_I2C_Read... [12:10:09]Read from MH i2c: E2 FD 00 35 02 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 D9 [12:10:09]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [12:10:09]wFMCommunicate OK [12:10:09]wFMCommunicate request_size=4 [12:10:09]MH_SAM_APDU [12:10:09]CAPDU: 80 17 00 00 [12:10:09]Write to MH i2c: E2 08 00 36 02 80 17 00 00 00 00 00 00 B8 [12:10:09]Write i2c OK [12:10:09]MH_I2C_Read... [12:10:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:10:10]Read from MH i2c: E2 [12:10:10]MH_I2C_Read... [12:10:10]Read from MH i2c: E2 FD 00 [12:10:10]MH_I2C_Read... [12:10:10]Read from MH i2c: E2 FD 00 36 02 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 6F [12:10:10]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [12:10:10]wFMCommunicate OK [12:10:10]wFMCommunicate request_size=4 [12:10:10]MH_SAM_APDU [12:10:10]CAPDU: 80 17 00 00 [12:10:10]Write to MH i2c: E2 08 00 37 02 80 17 00 00 00 00 00 00 B9 [12:10:10]Write i2c OK [12:10:10]MH_I2C_Read... [12:10:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:10:10]Read from MH i2c: E2 [12:10:10]MH_I2C_Read... [12:10:10]Read from MH i2c: E2 FD 00 [12:10:10]MH_I2C_Read... [12:10:10]Read from MH i2c: E2 FD 00 37 02 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 2B [12:10:10]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [12:10:10]wFMCommunicate OK [12:10:10]wFMCommunicate request_size=4 [12:10:10]MH_SAM_APDU [12:10:10]CAPDU: 80 17 00 00 [12:10:10]Write to MH i2c: E2 08 00 38 02 80 17 00 00 00 00 00 00 BA [12:10:10]Write i2c OK [12:10:10]MH_I2C_Read... [12:10:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [12:10:10]Read from MH i2c: E2 [12:10:10]MH_I2C_Read... [12:10:10]Read from MH i2c: E2 CB 00 [12:10:10]MH_I2C_Read... [12:10:10]Read from MH i2c: E2 CB 00 38 02 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 A3 [12:10:10]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:10:10]wFMCommunicate OK [12:10:10]SAM_PROTO_GetShiftData done [12:10:10]requested_item shift.sale.total_cash is exist - process it [12:10:10]requested_item shift.sale_refund.total is exist - process it [12:10:10]requested_item shift.sale_refund.total_cash is exist - process it [12:10:10]requested_item shift.buy.total is exist - process it [12:10:10]requested_item shift.buy.total_cash is exist - process it [12:10:10]produce_requested_data done [12:10:10]produce_requested_data return {"fm.sale.total":14767046.01,"fm.sale_refund.total":369163.00,"fm.buy.total":0.00,"shift.sale.total":8583.24,"shift.sale.total_cash":7053.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:10:10]process_action_free get_value [12:10:10]json_value_free [12:10:10]json_value_free done [12:10:10]process_json_proto returns [12:10:10]Send response to host [12:10:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":14767046.01,"fm.sale_refund.total":369163.00,"fm.buy.total":0.00,"shift.sale.total":8583.24,"shift.sale.total_cash":7053.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:10:10]free response buf [12:10:10]execute_script done [12:10:10]execute_script returns [12:10:10]free content buf [12:10:10]Sock 7.Close socket [12:10:10]Sock 7.Thread stoped [12:10:10]accept exits with 9 [12:10:10]New connection [12:10:10]New thread 3067338084 created [12:10:10]Thread 3067481444 joined [12:10:10]Waiting for new connection... [12:10:10] Sock 9.Parse request [12:10:10]Sock 9.Check first char [12:10:10]Sock 9.First char is OK [12:10:10]request: POST /json_proto HTTP/1.0 [12:10:10]Method: POST [12:10:10]URL: /json_proto [12:10:10]Method is POST - this is cgi request [12:10:10]url: /json_proto [12:10:10]query_string will be loaded in cgi processing [12:10:10]execute_cgi json_proto POST (null) [12:10:10]execute_cgi path=json_proto method=POST [12:10:10]POST find Content-Length [12:10:10]Host: 172.17.47.135:8080 [12:10:10]Content-Length: 331 [12:10:10]Content-Type: application/json [12:10:10] [12:10:10]POST finish read [12:10:10]Found Content-Length = 331 [12:10:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [12:10:10]execute_script... [12:10:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [12:10:10]POST & json_proto [12:10:10]process_json_proto [12:10:10]json parsed OK: [12:10:10]protocol is kg_v1.0 [12:10:10]action value=get_value [12:10:10]process_action get_value [12:10:10]cmd_get_value [12:10:10]process_action get_value done [12:10:10]requested_data is exist [12:10:10]produce_requested_data [12:10:10]requested_item fm.sale.total is exist - process it [12:10:10]SAM_PROTO_GetFMData [12:10:10]wFMCommunicate request_size=4 [12:10:10]MH_SAM_APDU [12:10:10]CAPDU: 80 13 03 00 [12:10:10]Write to MH i2c: E2 08 00 39 02 80 13 03 00 00 00 00 00 BA [12:10:10]Write i2c OK [12:10:10]MH_I2C_Read... [12:10:11]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [12:10:11]Read from MH i2c: E2 [12:10:11]MH_I2C_Read... [12:10:11]Read from MH i2c: E2 FD 00 [12:10:11]MH_I2C_Read... [12:10:11]Read from MH i2c: E2 FD 00 39 02 00 C4 04 85 04 C0 04 6E 04 04 00 76 7C 00 00 69 04 A0 00 6F 04 04 00 EB 7A 00 00 B1 04 04 00 59 B9 04 58 70 04 04 00 6D FF 1E 28 72 04 04 00 EC B9 E5 2F 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 D5 12 59 09 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 5A 62 C7 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8B 01 00 00 B1 04 04 00 4C 4C 33 02 70 04 04 00 A0 94 14 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D6 D3 3B EF 03 09 00 90 00 DA [12:10:11]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 76 7C 00 00 69 04 A0 00 6F 04 04 00 EB 7A 00 00 B1 04 04 00 59 B9 04 58 70 04 04 00 6D FF 1E 28 72 04 04 00 EC B9 E5 2F 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 D5 12 59 09 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 5A 62 C7 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8B 01 00 00 B1 04 04 00 4C 4C 33 02 70 04 04 00 A0 94 14 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D6 D3 3B EF 03 09 00 90 00 [12:10:11]wFMCommunicate OK [12:10:11]wFMCommunicate request_size=4 [12:10:11]MH_SAM_APDU [12:10:11]CAPDU: 80 17 00 00 [12:10:11]Write to MH i2c: E2 08 00 3A 02 80 17 00 00 00 00 00 00 BC [12:10:11]Write i2c OK [12:10:11]MH_I2C_Read... [12:10:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:10:11]Read from MH i2c: E2 [12:10:11]MH_I2C_Read... [12:10:11]Read from MH i2c: E2 FD 00 [12:10:11]MH_I2C_Read... [12:10:11]Read from MH i2c: E2 FD 00 3A 02 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 25 FC 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 97 [12:10:11]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 25 FC 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [12:10:11]wFMCommunicate OK [12:10:11]wFMCommunicate request_size=4 [12:10:11]MH_SAM_APDU [12:10:11]CAPDU: 80 17 00 00 [12:10:11]Write to MH i2c: E2 08 00 3B 02 80 17 00 00 00 00 00 00 BD [12:10:11]Write i2c OK [12:10:11]MH_I2C_Read... [12:10:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:10:11]Read from MH i2c: E2 [12:10:11]MH_I2C_Read... [12:10:11]Read from MH i2c: E2 FD 00 [12:10:11]MH_I2C_Read... [12:10:11]Read from MH i2c: E2 FD 00 3B 02 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 D2 [12:10:11]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [12:10:11]wFMCommunicate OK [12:10:11]wFMCommunicate request_size=4 [12:10:11]MH_SAM_APDU [12:10:11]CAPDU: 80 17 00 00 [12:10:11]Write to MH i2c: E2 08 00 3C 02 80 17 00 00 00 00 00 00 BE [12:10:11]Write i2c OK [12:10:11]MH_I2C_Read... [12:10:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:10:12]Read from MH i2c: E2 [12:10:12]MH_I2C_Read... [12:10:12]Read from MH i2c: E2 FD 00 [12:10:12]MH_I2C_Read... [12:10:12]Read from MH i2c: E2 FD 00 3C 02 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 36 [12:10:12]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [12:10:12]wFMCommunicate OK [12:10:12]wFMCommunicate request_size=4 [12:10:12]MH_SAM_APDU [12:10:12]CAPDU: 80 17 00 00 [12:10:12]Write to MH i2c: E2 08 00 3D 02 80 17 00 00 00 00 00 00 BF [12:10:12]Write i2c OK [12:10:12]MH_I2C_Read... [12:10:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [12:10:12]Read from MH i2c: E2 [12:10:12]MH_I2C_Read... [12:10:12]Read from MH i2c: E2 E1 00 [12:10:12]MH_I2C_Read... [12:10:12]Read from MH i2c: E2 E1 00 3D 02 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 AD [12:10:12]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:10:12]wFMCommunicate OK [12:10:12]SAM_PROTO_GetFMData done [12:10:12]requested_item fm.sale_refund.total is exist - process it [12:10:12]requested_item fm.buy.total is exist - process it [12:10:12]requested_item shift.sale.total is exist - process it [12:10:12]SAM_PROTO_GetShiftData [12:10:12]wFMCommunicate request_size=4 [12:10:12]MH_SAM_APDU [12:10:12]CAPDU: 80 13 02 00 [12:10:12]Write to MH i2c: E2 08 00 3E 02 80 13 02 00 00 00 00 00 BE [12:10:12]Write i2c OK [12:10:12]MH_I2C_Read... [12:10:12]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:10:12]Read from MH i2c: E2 [12:10:12]MH_I2C_Read... [12:10:12]Read from MH i2c: E2 FD 00 [12:10:12]MH_I2C_Read... [12:10:12]Read from MH i2c: E2 FD 00 3E 02 00 AE 04 AA 04 AA 04 6E 04 04 00 17 00 00 00 69 04 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 D4 18 0D 70 04 03 00 14 C3 0A 72 04 03 00 C0 55 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 13 64 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 AA 1D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 DD [12:10:13]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 17 00 00 00 69 04 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 D4 18 0D 70 04 03 00 14 C3 0A 72 04 03 00 C0 55 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 13 64 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 AA 1D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [12:10:13]wFMCommunicate OK [12:10:13]wFMCommunicate request_size=4 [12:10:13]MH_SAM_APDU [12:10:13]CAPDU: 80 17 00 00 [12:10:13]Write to MH i2c: E2 08 00 3F 02 80 17 00 00 00 00 00 00 C1 [12:10:13]OFD Sender: No OFD packet to send [12:10:13]Write i2c OK [12:10:13]MH_I2C_Read... [12:10:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:10:13]Read from MH i2c: E2 [12:10:13]MH_I2C_Read... [12:10:13]Read from MH i2c: E2 FD 00 [12:10:13]MH_I2C_Read... [12:10:13]Read from MH i2c: E2 FD 00 3F 02 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 E3 [12:10:13]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [12:10:13]wFMCommunicate OK [12:10:13]wFMCommunicate request_size=4 [12:10:13]MH_SAM_APDU [12:10:13]CAPDU: 80 17 00 00 [12:10:13]Write to MH i2c: E2 08 00 40 02 80 17 00 00 00 00 00 00 C2 [12:10:13]Write i2c OK [12:10:13]MH_I2C_Read... [12:10:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:10:13]Read from MH i2c: E2 [12:10:13]MH_I2C_Read... [12:10:13]Read from MH i2c: E2 FD 00 [12:10:13]MH_I2C_Read... [12:10:13]Read from MH i2c: E2 FD 00 40 02 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 79 [12:10:13]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [12:10:14]wFMCommunicate OK [12:10:14]wFMCommunicate request_size=4 [12:10:14]MH_SAM_APDU [12:10:14]CAPDU: 80 17 00 00 [12:10:14]Write to MH i2c: E2 08 00 41 02 80 17 00 00 00 00 00 00 C3 [12:10:14]Write i2c OK [12:10:14]MH_I2C_Read... [12:10:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:10:14]Read from MH i2c: E2 [12:10:14]MH_I2C_Read... [12:10:14]Read from MH i2c: E2 FD 00 [12:10:14]MH_I2C_Read... [12:10:14]Read from MH i2c: E2 FD 00 41 02 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 35 [12:10:14]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [12:10:14]wFMCommunicate OK [12:10:14]wFMCommunicate request_size=4 [12:10:14]MH_SAM_APDU [12:10:14]CAPDU: 80 17 00 00 [12:10:14]Write to MH i2c: E2 08 00 42 02 80 17 00 00 00 00 00 00 C4 [12:10:14]Write i2c OK [12:10:14]MH_I2C_Read... [12:10:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [12:10:14]Read from MH i2c: E2 [12:10:14]MH_I2C_Read... [12:10:14]Read from MH i2c: E2 CB 00 [12:10:14]MH_I2C_Read... [12:10:14]Read from MH i2c: E2 CB 00 42 02 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 AD [12:10:14]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:10:14]wFMCommunicate OK [12:10:14]SAM_PROTO_GetShiftData done [12:10:14]requested_item shift.sale.total_cash is exist - process it [12:10:14]requested_item shift.sale_refund.total is exist - process it [12:10:14]requested_item shift.sale_refund.total_cash is exist - process it [12:10:14]requested_item shift.buy.total is exist - process it [12:10:14]requested_item shift.buy.total_cash is exist - process it [12:10:14]produce_requested_data done [12:10:14]produce_requested_data return {"fm.sale.total":14767046.01,"fm.sale_refund.total":369163.00,"fm.buy.total":0.00,"shift.sale.total":8583.24,"shift.sale.total_cash":7053.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:10:14]process_action_free get_value [12:10:14]json_value_free [12:10:14]json_value_free done [12:10:14]process_json_proto returns [12:10:14]Send response to host [12:10:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":14767046.01,"fm.sale_refund.total":369163.00,"fm.buy.total":0.00,"shift.sale.total":8583.24,"shift.sale.total_cash":7053.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:10:14]free response buf [12:10:14]execute_script done [12:10:14]execute_script returns [12:10:14]free content buf [12:10:14]Sock 9.Close socket [12:10:14]Sock 9.Thread stoped [12:10:14]accept exits with 7 [12:10:14]New connection [12:10:14]New thread 3067481444 created [12:10:14]Thread 3067338084 joined [12:10:14]Waiting for new connection... [12:10:14] Sock 7.Parse request [12:10:14]Sock 7.Check first char [12:10:14]Sock 7.First char is OK [12:10:14]request: POST /json_proto HTTP/1.0 [12:10:14]Method: POST [12:10:14]URL: /json_proto [12:10:14]Method is POST - this is cgi request [12:10:14]url: /json_proto [12:10:14]query_string will be loaded in cgi processing [12:10:14]execute_cgi json_proto POST (null) [12:10:14]execute_cgi path=json_proto method=POST [12:10:14]POST find Content-Length [12:10:14]Host: 172.17.47.135:8080 [12:10:14]Content-Length: 275 [12:10:14]Content-Type: application/json [12:10:14] [12:10:14]POST finish read [12:10:14]Found Content-Length = 275 [12:10:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0410\u0440\u0437\u044B\u0431\u0435\u043A \u0443\u0443\u043B\u0443 \u0410." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:10:14]execute_script... [12:10:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0410\u0440\u0437\u044B\u0431\u0435\u043A \u0443\u0443\u043B\u0443 \u0410." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:10:14]POST & json_proto [12:10:14]process_json_proto [12:10:14]json parsed OK: [12:10:14]protocol is kg_v1.0 [12:10:14]action value=x_report [12:10:14]process_action x_report [12:10:14]cmd_x_report [12:10:14]MH_GetDate [12:10:14]Write to MH i2c: F0 00 00 43 02 34 [12:10:14]Write i2c OK [12:10:14]MH_I2C_Read... [12:10:14]Read from MH i2c: F0 [12:10:14]MH_I2C_Read... [12:10:14]Read from MH i2c: F0 09 00 [12:10:14]MH_I2C_Read... [12:10:14]Read from MH i2c: F0 09 00 43 02 00 28 6D B8 67 19 D8 DE 66 26 [12:10:14]GetLastDocTimeStamp 1740139285 [12:10:14]current date 1740139816 [12:10:14]FM_GetShiftState [12:10:14]SAM_PROTO_GetShiftState [12:10:14]wFMCommunicate request_size=4 [12:10:14]MH_SAM_APDU [12:10:14]CAPDU: 80 13 01 00 [12:10:14]Write to MH i2c: E2 08 00 44 02 80 13 01 00 00 00 00 00 C3 [12:10:14]Write i2c OK [12:10:14]MH_I2C_Read... [12:10:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:10:14]Read from MH i2c: E2 [12:10:14]MH_I2C_Read... [12:10:14]Read from MH i2c: E2 0E 00 [12:10:14]MH_I2C_Read... [12:10:14]Read from MH i2c: E2 0E 00 44 02 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 28 [12:10:14]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [12:10:14]wFMCommunicate OK [12:10:14]SAM_PROTO_GetShiftState done [12:10:14]FM_GetShiftState done [12:10:14]KKMCreateXReportDocument [12:10:14]Load OK [12:10:14]Malloc new data [12:10:14]MH_GetDate [12:10:14]Write to MH i2c: F0 00 00 45 02 36 [12:10:14]Write i2c OK [12:10:14]MH_I2C_Read... [12:10:14]Read from MH i2c: F0 [12:10:14]MH_I2C_Read... [12:10:14]Read from MH i2c: F0 09 00 [12:10:14]MH_I2C_Read... [12:10:14]Read from MH i2c: F0 09 00 45 02 00 28 6D B8 67 19 D8 DE 66 28 [12:10:14]Malloc new data [12:10:14]Malloc new data [12:10:14]wFMCommunicate request_size=4 [12:10:14]MH_SAM_APDU [12:10:14]CAPDU: 80 11 00 00 [12:10:14]Write to MH i2c: E2 08 00 46 02 80 11 00 00 00 00 00 00 C2 [12:10:14]Write i2c OK [12:10:14]MH_I2C_Read... [12:10:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:10:14]Read from MH i2c: E2 [12:10:14]MH_I2C_Read... [12:10:14]Read from MH i2c: E2 17 00 [12:10:14]MH_I2C_Read... [12:10:14]Read from MH i2c: E2 17 00 46 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 18 [12:10:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [12:10:15]wFMCommunicate OK [12:10:15]SAM_PROTO_GetFieldsCounters [12:10:15]wFMCommunicate request_size=4 [12:10:15]MH_SAM_APDU [12:10:15]CAPDU: 80 13 00 00 [12:10:15]Write to MH i2c: E2 08 00 47 02 80 13 00 00 00 00 00 00 C5 [12:10:15]Write i2c OK [12:10:15]MH_I2C_Read... [12:10:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:10:15]Read from MH i2c: E2 [12:10:15]MH_I2C_Read... [12:10:15]Read from MH i2c: E2 62 00 [12:10:15]MH_I2C_Read... [12:10:15]Read from MH i2c: E2 62 00 47 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7B 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 A9 [12:10: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7B 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:10:15]wFMCommunicate OK [12:10:15]SAM_PROTO_GetFieldsCounters done [12:10:15]Malloc new data [12:10:15]Malloc new data [12:10:15]Malloc new data [12:10:15]KKMCreateXReportDocument OK [12:10:15]KKMSetXReportData OK [12:10:15]KKMPrepareXReportFMData [12:10:15]SAM_PROTO_GetShiftData [12:10:15]wFMCommunicate request_size=4 [12:10:15]MH_SAM_APDU [12:10:15]CAPDU: 80 13 02 00 [12:10:15]Write to MH i2c: E2 08 00 48 02 80 13 02 00 00 00 00 00 C8 [12:10:15]Write i2c OK [12:10:15]MH_I2C_Read... [12:10:15]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:10:15]Read from MH i2c: E2 [12:10:15]MH_I2C_Read... [12:10:15]Read from MH i2c: E2 FD 00 [12:10:15]MH_I2C_Read... [12:10:15]Read from MH i2c: E2 FD 00 48 02 00 AE 04 AA 04 AA 04 6E 04 04 00 17 00 00 00 69 04 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 D4 18 0D 70 04 03 00 14 C3 0A 72 04 03 00 C0 55 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 13 64 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 AA 1D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 E7 [12:10:15]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 17 00 00 00 69 04 9B 00 6F 04 04 00 17 00 00 00 B1 04 03 00 D4 18 0D 70 04 03 00 14 C3 0A 72 04 03 00 C0 55 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 13 64 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 AA 1D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [12:10:15]wFMCommunicate OK [12:10:15]wFMCommunicate request_size=4 [12:10:15]MH_SAM_APDU [12:10:15]CAPDU: 80 17 00 00 [12:10:15]Write to MH i2c: E2 08 00 49 02 80 17 00 00 00 00 00 00 CB [12:10:15]Write i2c OK [12:10:15]MH_I2C_Read... [12:10:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:10:16]Read from MH i2c: E2 [12:10:16]MH_I2C_Read... [12:10:16]Read from MH i2c: E2 FD 00 [12:10:16]MH_I2C_Read... [12:10:16]Read from MH i2c: E2 FD 00 49 02 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 ED [12:10:16]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [12:10:16]wFMCommunicate OK [12:10:16]wFMCommunicate request_size=4 [12:10:16]MH_SAM_APDU [12:10:16]CAPDU: 80 17 00 00 [12:10:16]Write to MH i2c: E2 08 00 4A 02 80 17 00 00 00 00 00 00 CC [12:10:16]Write i2c OK [12:10:16]MH_I2C_Read... [12:10:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:10:16]Read from MH i2c: E2 [12:10:16]MH_I2C_Read... [12:10:16]Read from MH i2c: E2 FD 00 [12:10:16]MH_I2C_Read... [12:10:16]Read from MH i2c: E2 FD 00 4A 02 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 83 [12:10:16]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [12:10:16]wFMCommunicate OK [12:10:16]wFMCommunicate request_size=4 [12:10:16]MH_SAM_APDU [12:10:16]CAPDU: 80 17 00 00 [12:10:16]Write to MH i2c: E2 08 00 4B 02 80 17 00 00 00 00 00 00 CD [12:10:16]Write i2c OK [12:10:16]MH_I2C_Read... [12:10:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:10:16]Read from MH i2c: E2 [12:10:16]MH_I2C_Read... [12:10:16]Read from MH i2c: E2 FD 00 [12:10:16]MH_I2C_Read... [12:10:16]Read from MH i2c: E2 FD 00 4B 02 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 3F [12:10:17]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [12:10:17]wFMCommunicate OK [12:10:17]wFMCommunicate request_size=4 [12:10:17]MH_SAM_APDU [12:10:17]CAPDU: 80 17 00 00 [12:10:17]Write to MH i2c: E2 08 00 4C 02 80 17 00 00 00 00 00 00 CE [12:10:17]Write i2c OK [12:10:17]MH_I2C_Read... [12:10:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [12:10:17]Read from MH i2c: E2 [12:10:17]MH_I2C_Read... [12:10:17]Read from MH i2c: E2 CB 00 [12:10:17]MH_I2C_Read... [12:10:17]Read from MH i2c: E2 CB 00 4C 02 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B7 [12:10:17]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:10:17]wFMCommunicate OK [12:10:17]SAM_PROTO_GetShiftData done [12:10:17]1194 (1194) - счетчики итогов смены [12:10:17] 1134 (4) - 23 - количество чеков со всеми признаками расчетов [12:10:17] 1129 (155) - счетчики операций «приход» [12:10:17] 1135 (4) - 23 - количество чеков по признаку расчетов [12:10:17] 1201 (3) - 8583.24 - общая итоговая сумма в чеках [12:10:17] 1136 (3) - 7053.00 - итоговая сумма в чеках наличными [12:10:17] 1138 (3) - 1530.24 - итоговая сумма в чеках безналичными [12:10:17] 1024 (122) - суммы налогов [12:10:17] 1006 (9) - суммы НДС [12:10:17] 1010 (1) - 0% - код ставки НДС [12:10:17] 1011 (0) - 0.00 - сумма НДС по ставке [12:10:17] 1006 (12) - суммы НДС [12:10:17] 1010 (1) - 12% - код ставки НДС [12:10:17] 1011 (3) - 911.55 - сумма НДС по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 0% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1007 (11) - суммы НСП [12:10:17] 1014 (1) - 1% - код ставки НСП [12:10:17] 1015 (2) - 75.94 - сумма НСП по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 2% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 3% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 5% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 0,50% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 1,50% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1130 (141) - счетчики операций «возврат прихода» [12:10:17] 1135 (4) - 0 - количество чеков по признаку расчетов [12:10:17] 1201 (0) - 0.00 - общая итоговая сумма в чеках [12:10:17] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [12:10:17] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [12:10:17] 1024 (117) - суммы налогов [12:10:17] 1006 (9) - суммы НДС [12:10:17] 1010 (1) - 0% - код ставки НДС [12:10:17] 1011 (0) - 0.00 - сумма НДС по ставке [12:10:17] 1006 (9) - суммы НДС [12:10:17] 1010 (1) - 12% - код ставки НДС [12:10:17] 1011 (0) - 0.00 - сумма НДС по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 0% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 1% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 2% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 3% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 5% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 0,50% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 1,50% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1131 (141) - счетчики операций «расход» [12:10:17] 1135 (4) - 0 - количество чеков по признаку расчетов [12:10:17] 1201 (0) - 0.00 - общая итоговая сумма в чеках [12:10:17] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [12:10:17] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [12:10:17] 1024 (117) - суммы налогов [12:10:17] 1006 (9) - суммы НДС [12:10:17] 1010 (1) - 0% - код ставки НДС [12:10:17] 1011 (0) - 0.00 - сумма НДС по ставке [12:10:17] 1006 (9) - суммы НДС [12:10:17] 1010 (1) - 12% - код ставки НДС [12:10:17] 1011 (0) - 0.00 - сумма НДС по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 0% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 1% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 2% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 3% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 5% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 0,50% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 1,50% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1132 (141) - счетчики операций «возврат расхода» [12:10:17] 1135 (4) - 0 - количество чеков по признаку расчетов [12:10:17] 1201 (0) - 0.00 - общая итоговая сумма в чеках [12:10:17] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [12:10:17] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [12:10:17] 1024 (117) - суммы налогов [12:10:17] 1006 (9) - суммы НДС [12:10:17] 1010 (1) - 0% - код ставки НДС [12:10:17] 1011 (0) - 0.00 - сумма НДС по ставке [12:10:17] 1006 (9) - суммы НДС [12:10:17] 1010 (1) - 12% - код ставки НДС [12:10:17] 1011 (0) - 0.00 - сумма НДС по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 0% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 1% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 2% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 3% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 5% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 0,50% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1007 (9) - суммы НСП [12:10:17] 1014 (1) - 1,50% - код ставки НСП [12:10:17] 1015 (0) - 0.00 - сумма НСП по ставке [12:10:17] 1133 (588) - - счетчики коррекции - не используются [12:10:17]SetTLVBufToDocument [12:10:17]Processing tag 1194 (04AA) [12:10:17]Load OK [12:10:17]SetTLVBufToDocument [12:10:17]Processing tag 1134 (046E) [12:10:17]Malloc new data [12:10:18]Processing tag 1129 (0469) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1135 (046F) [12:10:18]Malloc new data [12:10:18]Processing tag 1201 (04B1) [12:10:18]Malloc new data [12:10:18]Processing tag 1136 (0470) [12:10:18]Malloc new data [12:10:18]Processing tag 1138 (0472) [12:10:18]Malloc new data [12:10:18]Processing tag 1024 (0400) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1006 (03EE) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1010 (03F2) [12:10:18]Malloc new data [12:10:18]Processing tag 1011 (03F3) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1006 (03EE) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1010 (03F2) [12:10:18]Malloc new data [12:10:18]Processing tag 1011 (03F3) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]SetTLVBufToDocument err=0 [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1130 (046A) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1135 (046F) [12:10:18]Malloc new data [12:10:18]Processing tag 1201 (04B1) [12:10:18]Malloc new data [12:10:18]Processing tag 1136 (0470) [12:10:18]Malloc new data [12:10:18]Processing tag 1138 (0472) [12:10:18]Malloc new data [12:10:18]Processing tag 1024 (0400) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1006 (03EE) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1010 (03F2) [12:10:18]Malloc new data [12:10:18]Processing tag 1011 (03F3) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1006 (03EE) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1010 (03F2) [12:10:18]Malloc new data [12:10:18]Processing tag 1011 (03F3) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]SetTLVBufToDocument err=0 [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1131 (046B) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1135 (046F) [12:10:18]Malloc new data [12:10:18]Processing tag 1201 (04B1) [12:10:18]Malloc new data [12:10:18]Processing tag 1136 (0470) [12:10:18]Malloc new data [12:10:18]Processing tag 1138 (0472) [12:10:18]Malloc new data [12:10:18]Processing tag 1024 (0400) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1006 (03EE) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1010 (03F2) [12:10:18]Malloc new data [12:10:18]Processing tag 1011 (03F3) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1006 (03EE) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1010 (03F2) [12:10:18]Malloc new data [12:10:18]Processing tag 1011 (03F3) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]OFD Sender: No OFD packet to send [12:10:18]SetTLVBufToDocument err=0 [12:10:18]SetTLVBufToDocument err=0 [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1132 (046C) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1135 (046F) [12:10:18]Malloc new data [12:10:18]Processing tag 1201 (04B1) [12:10:18]Malloc new data [12:10:18]Processing tag 1136 (0470) [12:10:18]Malloc new data [12:10:18]Processing tag 1138 (0472) [12:10:18]Malloc new data [12:10:18]Processing tag 1024 (0400) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1006 (03EE) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1010 (03F2) [12:10:18]Malloc new data [12:10:18]Processing tag 1011 (03F3) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1006 (03EE) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1010 (03F2) [12:10:18]Malloc new data [12:10:18]Processing tag 1011 (03F3) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1007 (03EF) [12:10:18]Load OK [12:10:18]SetTLVBufToDocument [12:10:18]Processing tag 1014 (03F6) [12:10:18]Malloc new data [12:10:18]Processing tag 1015 (03F7) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]SetTLVBufToDocument err=0 [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Processing tag 1133 (046D) [12:10:18]Malloc new data [12:10:18]SetTLVBufToDocument err=0 [12:10:18]SetTLVBufToDocument err=0 [12:10:18]Malloc new data [12:10:18]SAM_PROTO_GetFMData [12:10:18]wFMCommunicate request_size=4 [12:10:18]MH_SAM_APDU [12:10:18]CAPDU: 80 13 03 00 [12:10:18]Write to MH i2c: E2 08 00 4D 02 80 13 03 00 00 00 00 00 CE [12:10:18]Write i2c OK [12:10:18]MH_I2C_Read... [12:10:19]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [12:10:19]Read from MH i2c: E2 [12:10:19]MH_I2C_Read... [12:10:19]Read from MH i2c: E2 FD 00 [12:10:19]MH_I2C_Read... [12:10:19]Read from MH i2c: E2 FD 00 4D 02 00 C4 04 85 04 C0 04 6E 04 04 00 76 7C 00 00 69 04 A0 00 6F 04 04 00 EB 7A 00 00 B1 04 04 00 59 B9 04 58 70 04 04 00 6D FF 1E 28 72 04 04 00 EC B9 E5 2F 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 D5 12 59 09 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 5A 62 C7 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8B 01 00 00 B1 04 04 00 4C 4C 33 02 70 04 04 00 A0 94 14 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D6 D3 3B EF 03 09 00 90 00 EE [12:10:19]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 76 7C 00 00 69 04 A0 00 6F 04 04 00 EB 7A 00 00 B1 04 04 00 59 B9 04 58 70 04 04 00 6D FF 1E 28 72 04 04 00 EC B9 E5 2F 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 D5 12 59 09 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 5A 62 C7 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8B 01 00 00 B1 04 04 00 4C 4C 33 02 70 04 04 00 A0 94 14 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D6 D3 3B EF 03 09 00 90 00 [12:10:19]wFMCommunicate OK [12:10:19]wFMCommunicate request_size=4 [12:10:19]MH_SAM_APDU [12:10:19]CAPDU: 80 17 00 00 [12:10:19]Write to MH i2c: E2 08 00 4E 02 80 17 00 00 00 00 00 00 D0 [12:10:19]Write i2c OK [12:10:19]MH_I2C_Read... [12:10:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:10:19]Read from MH i2c: E2 [12:10:19]MH_I2C_Read... [12:10:19]Read from MH i2c: E2 FD 00 [12:10:19]MH_I2C_Read... [12:10:19]Read from MH i2c: E2 FD 00 4E 02 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 25 FC 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 AB [12:10:19]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 25 FC 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [12:10:19]wFMCommunicate OK [12:10:19]wFMCommunicate request_size=4 [12:10:19]MH_SAM_APDU [12:10:19]CAPDU: 80 17 00 00 [12:10:19]Write to MH i2c: E2 08 00 4F 02 80 17 00 00 00 00 00 00 D1 [12:10:19]Write i2c OK [12:10:19]MH_I2C_Read... [12:10:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:10:20]Read from MH i2c: E2 [12:10:20]MH_I2C_Read... [12:10:20]Read from MH i2c: E2 FD 00 [12:10:20]MH_I2C_Read... [12:10:20]Read from MH i2c: E2 FD 00 4F 02 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 E6 [12:10:20]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [12:10:20]wFMCommunicate OK [12:10:20]wFMCommunicate request_size=4 [12:10:20]MH_SAM_APDU [12:10:20]CAPDU: 80 17 00 00 [12:10:20]Write to MH i2c: E2 08 00 50 02 80 17 00 00 00 00 00 00 D2 [12:10:20]Write i2c OK [12:10:20]MH_I2C_Read... [12:10:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:10:20]Read from MH i2c: E2 [12:10:20]MH_I2C_Read... [12:10:20]Read from MH i2c: E2 FD 00 [12:10:20]MH_I2C_Read... [12:10:20]Read from MH i2c: E2 FD 00 50 02 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 4A [12:10:20]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [12:10:20]wFMCommunicate OK [12:10:20]wFMCommunicate request_size=4 [12:10:20]MH_SAM_APDU [12:10:20]CAPDU: 80 17 00 00 [12:10:20]Write to MH i2c: E2 08 00 51 02 80 17 00 00 00 00 00 00 D3 [12:10:20]Write i2c OK [12:10:20]MH_I2C_Read... [12:10:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [12:10:21]Read from MH i2c: E2 [12:10:21]MH_I2C_Read... [12:10:21]Read from MH i2c: E2 E1 00 [12:10:21]MH_I2C_Read... [12:10:21]Read from MH i2c: E2 E1 00 51 02 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C1 [12:10:21]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:10:21]wFMCommunicate OK [12:10:21]SAM_PROTO_GetFMData done [12:10:21]FM_GetFMData:85 04 C0 04 6E 04 04 00 76 7C 00 00 69 04 A0 00 6F 04 04 00 EB 7A 00 00 B1 04 04 00 59 B9 04 58 70 04 04 00 6D FF 1E 28 72 04 04 00 EC B9 E5 2F 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 D5 12 59 09 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 5A 62 C7 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8B 01 00 00 B1 04 04 00 4C 4C 33 02 70 04 04 00 A0 94 14 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D6 D3 3B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 25 FC 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [12:10:21]oper:6F 04 04 00 EB 7A 00 00 B1 04 04 00 59 B9 04 58 70 04 04 00 6D FF 1E 28 72 04 04 00 EC B9 E5 2F 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 D5 12 59 09 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 5A 62 C7 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:10:22]total:59 B9 04 58 [12:10:22]Malloc new data [12:10:22]oper:6F 04 04 00 8B 01 00 00 B1 04 04 00 4C 4C 33 02 70 04 04 00 A0 94 14 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D6 D3 3B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 25 FC 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [12:10:22]total:4C 4C 33 02 [12:10:22]Malloc new data [12:10:22]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [12:10:22]total: [12:10:22]Malloc new data [12:10:22]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [12:10:22]total: [12:10:22]Malloc new data [12:10:22]KKMPrepareXReportFMData err=0 [12:10:22]Х отчет ИНН: 02508201610067 Кассир: Арзыбек уулу А. 21.02.2025 12:10 Смена: 266 РНМ: 0000000000146237 ЗНМ: 0300000059 СНО: Общий режим Всего чеков: 23 ИТОГИ ПРИХОД Чеков: 23 Общий итог: 8583.24 Итого наличными: 7053.00 Итого безнал.: 1530.24 НДС 0% : 0.00 НДС 12% : 911.55 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 75.94 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 7053.00 НС Приход: 14767046.01 НС Возвр.Прихода: 369163.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000959282 [12:10:22]StoreToDocumentArchive [12:10:22]MH_GetDate [12:10:22]Write to MH i2c: F0 00 00 52 02 43 [12:10:22]Write i2c OK [12:10:22]MH_I2C_Read... [12:10:22]Read from MH i2c: F0 [12:10:22]MH_I2C_Read... [12:10:22]Read from MH i2c: F0 09 00 [12:10:22]MH_I2C_Read... [12:10:22]Read from MH i2c: F0 09 00 52 02 00 2F 6D B8 67 19 D8 DE 66 3C [12:10:22]shift 266 fd 1740139823 [12:10:22]Create dir for shift 0266 [12:10:22]save to /storage/0266/doc_1740139823 [12:10:22]save last doc name /storage/0266/doc_1740139823 to /storage/kkm_last_doc_name [12:10:22]save OK [12:10:22]Clear old archive folders... [12:10:22]NVStorageSaveData kkm_last_timestamp [12:10:22]File name is /storage/kkm_last_timestamp [12:10:22]Write 4 bytes [12:10:22]NVStorageSaveData done [12:10:22]ExternCall_PrintAddStr [12:10:22]wPrintStart [12:10:22]Write to MH i2c: 01 00 00 53 02 55 [12:10:22]Write i2c OK [12:10:22]MH_I2C_Read... [12:10:22]Read from MH i2c: 01 [12:10:22]MH_I2C_Read... [12:10:22]Read from MH i2c: 01 07 00 [12:10:22]MH_I2C_Read... [12:10:22]Read from MH i2c: 01 07 00 53 02 00 00 00 00 00 FF 0F 6A [12:10:22]RasterBufferAndPrint [12:10:22]line Х отчет [12:10:22]line ИНН: 02508201610067 [12:10:22]line Кассир: Арзыбек уулу А. [12:10:22]line 21.02.2025 12:10 [12:10:22]line Смена: 266 [12:10:22]line РНМ: 0000000000146237 [12:10:22]line ЗНМ: 0300000059 [12:10:22]line СНО: Общий режим [12:10:22]line Всего чеков: 23 [12:10:22]line ИТОГИ ПРИХОД [12:10:22]line Чеков: 23 [12:10:22]line Общий итог: 8583.24 [12:10:22]line Итого наличными: 7053.00 [12:10:22]line Итого безнал.: 1530.24 [12:10:22]line НДС 0% : 0.00 [12:10:22]line НДС 12% : 911.55 [12:10:22]line НСП 0% : 0.00 [12:10:22]line НСП 1,50% : 0.00 [12:10:22]line НСП 0,50% : 0.00 [12:10:22]line НСП 5% : 0.00 [12:10:22]line НСП 3% : 0.00 [12:10:22]line НСП 2% : 0.00 [12:10:22]line НСП 1% : 75.94 [12:10:22]line ИТОГИ ВОЗВРАТ ПРИХОДА [12:10:22]line Чеков: 0 [12:10:22]line Общий итог: 0.00 [12:10:22]line Итого наличными: 0.00 [12:10:22]line Итого безнал.: 0.00 [12:10:22]line НДС 0% : 0.00 [12:10:22]line НДС 12% : 0.00 [12:10:22]line НСП 0% : 0.00 [12:10:22]line НСП 1,50% : 0.00 [12:10:22]line НСП 0,50% : 0.00 [12:10:22]line НСП 5% : 0.00 [12:10:22]line НСП 3% : 0.00 [12:10:22]line НСП 2% : 0.00 [12:10:22]line НСП 1% : 0.00 [12:10:22]line ИТОГИ РАСХОД [12:10:22]line Чеков: 0 [12:10:22]line Общий итог: 0.00 [12:10:22]line Итого наличными: 0.00 [12:10:22]line Итого безнал.: 0.00 [12:10:22]line НДС 0% : 0.00 [12:10:22]line НДС 12% : 0.00 [12:10:22]line НСП 0% : 0.00 [12:10:22]line НСП 1,50% : 0.00 [12:10:22]line НСП 0,50% : 0.00 [12:10:22]line НСП 5% : 0.00 [12:10:22]line НСП 3% : 0.00 [12:10:22]line НСП 2% : 0.00 [12:10:22]line НСП 1% : 0.00 [12:10:22]line ИТОГИ ВОЗВРАТ РАСХОДА [12:10:22]line Чеков: 0 [12:10:22]line Общий итог: 0.00 [12:10:22]line Итого наличными: 0.00 [12:10:22]line Итого безнал.: 0.00 [12:10:22]line НДС 0% : 0.00 [12:10:22]line НДС 12% : 0.00 [12:10:22]line НСП 0% : 0.00 [12:10:22]line НСП 1,50% : 0.00 [12:10:22]line НСП 0,50% : 0.00 [12:10:22]line НСП 5% : 0.00 [12:10:22]line НСП 3% : 0.00 [12:10:22]line НСП 2% : 0.00 [12:10:22]line НСП 1% : 0.00 [12:10:22]line Сумма внесений: 0.00 [12:10:22]line Сумма выплат: 0.00 [12:10:22]line Нал. в кассе: 7053.00 [12:10:22]line НС Приход: 14767046.01 [12:10:22]line НС Возвр.Прихода: 369163.00 [12:10:22]line НС Расход: 0.00 [12:10:22]line НС Возвр.Расхода: 0.00 [12:10:22]line ФМ: 0000000000959282 [12:10:22]written 0, free lines is 4095 [12:10:23]Write to MH i2c: 01 00 00 9E 02 A0 [12:10:23]Write i2c OK [12:10:23]MH_I2C_Read... [12:10:23]Read from MH i2c: 01 [12:10:23]MH_I2C_Read... [12:10:23]Read from MH i2c: 01 07 00 [12:10:23]MH_I2C_Read... [12:10:23]Read from MH i2c: 01 07 00 9E 02 00 00 00 00 00 12 0B C4 [12:10:23]RasterBufferAndPrint [12:10:23]line [12:10:23]line [12:10:23]line [12:10:23]line [12:10:23]line [12:10:23]written 0, free lines is 2870 [12:10:23]MH_Cut [12:10:23]Write to MH i2c: D1 01 00 A5 02 01 79 [12:10:23]Write i2c OK [12:10:23]MH_I2C_Read... [12:10:23]Read from MH i2c: D1 [12:10:23]MH_I2C_Read... [12:10:23]Read from MH i2c: D1 01 00 [12:10:23]MH_I2C_Read... [12:10:23]Read from MH i2c: D1 01 00 A5 02 00 78 [12:10:23]Write to MH i2c: 01 00 00 A6 02 A8 [12:10:23]Write i2c OK [12:10:23]MH_I2C_Read... [12:10:23]OFD Sender: No OFD packet to send [12:10:24]*** Cut start [12:10:24]*** Partial cut [12:10:24]*** CUTSNS_PIN = 1 [12:10:24]*** CUTSNS_PIN = 0 [12:10:24]*** Brake cut motor [12:10:24]Read from MH i2c: 01 [12:10:24]MH_I2C_Read... [12:10:24]*** Stop cut motor [12:10:24]*** Cut end [12:10:24]Read from MH i2c: 01 07 00 [12:10:24]MH_I2C_Read... [12:10:24]Read from MH i2c: 01 07 00 A6 02 00 00 00 00 00 FF 0F BD [12:10:24]process_action x_report done [12:10:24]requested_data is exist [12:10:24]produce_requested_data [12:10:24]requested_item fd.num is exist - process it [12:10:24]SAM_PROTO_GetFieldsCounters [12:10:24]wFMCommunicate request_size=4 [12:10:24]MH_SAM_APDU [12:10:24]CAPDU: 80 13 00 00 [12:10:24]Write to MH i2c: E2 08 00 A7 02 80 13 00 00 00 00 00 00 25 [12:10:24]Write i2c OK [12:10:24]MH_I2C_Read... [12:10:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:10:24]Read from MH i2c: E2 [12:10:24]MH_I2C_Read... [12:10:24]Read from MH i2c: E2 62 00 [12:10:24]MH_I2C_Read... [12:10:24]Read from MH i2c: E2 62 00 A7 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7B 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 09 [12:10:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7B 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:10:25]wFMCommunicate OK [12:10:25]SAM_PROTO_GetFieldsCounters done [12:10:25]requested_item shift.num is exist - process it [12:10:25]requested_item shift.opened is exist - process it [12:10:25]req_shift_opened [12:10:25]FM_GetShiftState [12:10:25]SAM_PROTO_GetShiftState [12:10:25]wFMCommunicate request_size=4 [12:10:25]MH_SAM_APDU [12:10:25]CAPDU: 80 13 01 00 [12:10:25]Write to MH i2c: E2 08 00 A8 02 80 13 01 00 00 00 00 00 27 [12:10:25]Write i2c OK [12:10:25]MH_I2C_Read... [12:10:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:10:25]Read from MH i2c: E2 [12:10:25]MH_I2C_Read... [12:10:25]Read from MH i2c: E2 0E 00 [12:10:25]MH_I2C_Read... [12:10:25]Read from MH i2c: E2 0E 00 A8 02 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 8C [12:10:25]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [12:10:25]wFMCommunicate OK [12:10:25]SAM_PROTO_GetShiftState done [12:10:25]FM_GetShiftState done [12:10:25]req_shift_opened done [12:10:25]requested_item shift.open_date is exist - process it [12:10:25]req_shift_open_date [12:10:25]req_shift_open_date done [12:10:25]produce_requested_data done [12:10:25]produce_requested_data return {"fd.num":32635,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [12:10:25]process_action_free x_report [12:10:25]json_value_free [12:10:25]json_value_free done [12:10:25]process_json_proto returns [12:10:25]Send response to host [12:10:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":32635,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [12:10:25]free response buf [12:10:25]execute_script done [12:10:25]execute_script returns [12:10:25]free content buf [12:10:25]Sock 7.Close socket [12:10:25]Sock 7.Thread stoped [12:10:28]OFD Sender: No OFD packet to send [12:10:33]OFD Sender: No OFD packet to send [12:10:38]OFD Sender: No OFD packet to send [12:10:43]OFD Sender: No OFD packet to send [12:10:48]OFD Sender: No OFD packet to send [12:10:53]OFD Sender: No OFD packet to send [12:10:58]OFD Sender: No OFD packet to send [12:11:03]OFD Sender: No OFD packet to send [12:11:08]OFD Sender: No OFD packet to send [12:11:13]OFD Sender: No OFD packet to send [12:11:18]OFD Sender: No OFD packet to send [12:11:23]OFD Sender: No OFD packet to send [12:11:28]OFD Sender: No OFD packet to send [12:11:33]OFD Sender: No OFD packet to send [12:11:38]OFD Sender: No OFD packet to send [12:11:43]OFD Sender: No OFD packet to send [12:11:48]OFD Sender: No OFD packet to send [12:11:53]OFD Sender: No OFD packet to send [12:11:58]OFD Sender: No OFD packet to send [12:12:03]OFD Sender: No OFD packet to send [12:12:08]OFD Sender: No OFD packet to send [12:12:13]OFD Sender: No OFD packet to send [12:12:18]OFD Sender: No OFD packet to send [12:12:23]OFD Sender: No OFD packet to send [12:12:28]OFD Sender: No OFD packet to send [12:12:33]OFD Sender: No OFD packet to send [12:12:38]OFD Sender: No OFD packet to send [12:12:43]OFD Sender: No OFD packet to send [12:12:48]OFD Sender: No OFD packet to send [12:12:53]OFD Sender: No OFD packet to send [12:12:58]OFD Sender: No OFD packet to send [12:13:03]OFD Sender: No OFD packet to send [12:13:08]OFD Sender: No OFD packet to send [12:13:13]OFD Sender: No OFD packet to send [12:13:18]OFD Sender: No OFD packet to send [12:13:23]OFD Sender: No OFD packet to send [12:13:28]OFD Sender: No OFD packet to send [12:13:33]OFD Sender: No OFD packet to send [12:13:38]OFD Sender: No OFD packet to send [12:13:43]OFD Sender: No OFD packet to send [12:13:48]OFD Sender: No OFD packet to send [12:13:53]OFD Sender: No OFD packet to send [12:13:58]OFD Sender: No OFD packet to send [12:14:03]OFD Sender: No OFD packet to send [12:14:08]OFD Sender: No OFD packet to send [12:14:13]OFD Sender: No OFD packet to send [12:14:18]OFD Sender: No OFD packet to send [12:14:23]OFD Sender: No OFD packet to send [12:14:28]OFD Sender: No OFD packet to send [12:14:33]OFD Sender: No OFD packet to send [12:14:38]OFD Sender: No OFD packet to send [12:14:43]OFD Sender: No OFD packet to send [12:14:48]OFD Sender: No OFD packet to send [12:14:53]OFD Sender: No OFD packet to send [12:14:58]OFD Sender: No OFD packet to send [12:15:03]OFD Sender: No OFD packet to send [12:15:08]OFD Sender: No OFD packet to send [12:15:13]OFD Sender: No OFD packet to send [12:15:18]OFD Sender: No OFD packet to send [12:15:23]OFD Sender: No OFD packet to send [12:15:28]OFD Sender: No OFD packet to send [12:15:33]OFD Sender: No OFD packet to send [12:15:38]OFD Sender: No OFD packet to send [12:15:43]OFD Sender: No OFD packet to send [12:15:48]OFD Sender: No OFD packet to send [12:15:53]OFD Sender: No OFD packet to send [12:15:58]OFD Sender: No OFD packet to send [12:16:03]OFD Sender: No OFD packet to send [12:16:08]OFD Sender: No OFD packet to send [12:16:13]OFD Sender: No OFD packet to send [12:16:19]OFD Sender: No OFD packet to send [12:16:24]OFD Sender: No OFD packet to send [12:16:29]OFD Sender: No OFD packet to send [12:16:34]OFD Sender: No OFD packet to send [12:16:39]OFD Sender: No OFD packet to send [12:16:44]OFD Sender: No OFD packet to send [12:16:49]OFD Sender: No OFD packet to send [12:16:54]OFD Sender: No OFD packet to send [12:16:59]OFD Sender: No OFD packet to send [12:17:04]OFD Sender: No OFD packet to send [12:17:09]OFD Sender: No OFD packet to send [12:17:14]OFD Sender: No OFD packet to send [12:17:19]OFD Sender: No OFD packet to send [12:17:24]OFD Sender: No OFD packet to send [12:17:29]OFD Sender: No OFD packet to send [12:17:34]OFD Sender: No OFD packet to send [12:17:39]OFD Sender: No OFD packet to send [12:17:44]OFD Sender: No OFD packet to send [12:17:49]OFD Sender: No OFD packet to send [12:17:54]OFD Sender: No OFD packet to send [12:17:59]OFD Sender: No OFD packet to send [12:18:04]OFD Sender: No OFD packet to send [12:18:09]OFD Sender: No OFD packet to send [12:18:14]OFD Sender: No OFD packet to send [12:18:19]OFD Sender: No OFD packet to send [12:18:24]OFD Sender: No OFD packet to send [12:18:29]OFD Sender: No OFD packet to send [12:18:34]OFD Sender: No OFD packet to send [12:18:39]OFD Sender: No OFD packet to send [12:18:44]OFD Sender: No OFD packet to send [12:18:49]OFD Sender: No OFD packet to send [12:18:54]OFD Sender: No OFD packet to send [12:18:59]OFD Sender: No OFD packet to send [12:19:04]OFD Sender: No OFD packet to send [12:19:09]OFD Sender: No OFD packet to send [12:19:14]OFD Sender: No OFD packet to send [12:19:19]OFD Sender: No OFD packet to send [12:19:24]OFD Sender: No OFD packet to send [12:19:29]OFD Sender: No OFD packet to send [12:19:34]OFD Sender: No OFD packet to send [12:19:39]OFD Sender: No OFD packet to send [12:19:44]OFD Sender: No OFD packet to send [12:19:49]OFD Sender: No OFD packet to send [12:19:54]OFD Sender: No OFD packet to send [12:19:59]OFD Sender: No OFD packet to send [12:20:04]OFD Sender: No OFD packet to send [12:20:09]OFD Sender: No OFD packet to send [12:20:14]OFD Sender: No OFD packet to send [12:20:19]OFD Sender: No OFD packet to send [12:20:24]OFD Sender: No OFD packet to send [12:20:29]OFD Sender: No OFD packet to send [12:20:34]OFD Sender: No OFD packet to send [12:20:39]OFD Sender: No OFD packet to send [12:20:44]OFD Sender: No OFD packet to send [12:20:49]OFD Sender: No OFD packet to send [12:20:54]OFD Sender: No OFD packet to send [12:20:59]OFD Sender: No OFD packet to send [12:21:04]OFD Sender: No OFD packet to send [12:21:09]OFD Sender: No OFD packet to send [12:21:14]OFD Sender: No OFD packet to send [12:21:19]OFD Sender: No OFD packet to send [12:21:24]OFD Sender: No OFD packet to send [12:21:29]OFD Sender: No OFD packet to send [12:21:34]OFD Sender: No OFD packet to send [12:21:39]OFD Sender: No OFD packet to send [12:21:44]OFD Sender: No OFD packet to send [12:21:49]OFD Sender: No OFD packet to send [12:21:54]OFD Sender: No OFD packet to send [12:21:59]OFD Sender: No OFD packet to send [12:22:04]OFD Sender: No OFD packet to send [12:22:09]OFD Sender: No OFD packet to send [12:22:14]OFD Sender: No OFD packet to send [12:22:19]OFD Sender: No OFD packet to send [12:22:24]OFD Sender: No OFD packet to send [12:22:29]OFD Sender: No OFD packet to send [12:22:34]OFD Sender: No OFD packet to send [12:22:39]OFD Sender: No OFD packet to send [12:22:44]OFD Sender: No OFD packet to send [12:22:49]OFD Sender: No OFD packet to send [12:22:54]OFD Sender: No OFD packet to send [12:22:59]OFD Sender: No OFD packet to send [12:23:04]OFD Sender: No OFD packet to send [12:23:09]OFD Sender: No OFD packet to send [12:23:14]OFD Sender: No OFD packet to send [12:23:19]OFD Sender: No OFD packet to send [12:23:24]OFD Sender: No OFD packet to send [12:23:29]OFD Sender: No OFD packet to send [12:23:34]OFD Sender: No OFD packet to send [12:23:39]OFD Sender: No OFD packet to send [12:23:44]OFD Sender: No OFD packet to send [12:23:49]OFD Sender: No OFD packet to send [12:23:54]OFD Sender: No OFD packet to send [12:23:59]OFD Sender: No OFD packet to send [12:24:04]OFD Sender: No OFD packet to send [12:24:09]OFD Sender: No OFD packet to send [12:24:14]OFD Sender: No OFD packet to send [12:24:19]OFD Sender: No OFD packet to send [12:24:24]OFD Sender: No OFD packet to send [12:24:29]OFD Sender: No OFD packet to send [12:24:34]OFD Sender: No OFD packet to send [12:24:39]OFD Sender: No OFD packet to send [12:24:44]OFD Sender: No OFD packet to send [12:24:49]OFD Sender: No OFD packet to send [12:24:54]OFD Sender: No OFD packet to send [12:24:59]OFD Sender: No OFD packet to send [12:25:04]OFD Sender: No OFD packet to send [12:25:09]OFD Sender: No OFD packet to send [12:25:14]OFD Sender: No OFD packet to send [12:25:19]OFD Sender: No OFD packet to send [12:25:24]OFD Sender: No OFD packet to send [12:25:29]OFD Sender: No OFD packet to send [12:25:34]OFD Sender: No OFD packet to send [12:25:39]OFD Sender: No OFD packet to send [12:25:44]OFD Sender: No OFD packet to send [12:25:49]OFD Sender: No OFD packet to send [12:25:54]OFD Sender: No OFD packet to send [12:25:59]OFD Sender: No OFD packet to send [12:26:04]OFD Sender: No OFD packet to send [12:26:09]OFD Sender: No OFD packet to send [12:26:14]OFD Sender: No OFD packet to send [12:26:19]OFD Sender: No OFD packet to send [12:26:24]OFD Sender: No OFD packet to send [12:26:29]OFD Sender: No OFD packet to send [12:26:34]OFD Sender: No OFD packet to send [12:26:39]OFD Sender: No OFD packet to send [12:26:44]OFD Sender: No OFD packet to send [12:26:49]OFD Sender: No OFD packet to send [12:26:54]OFD Sender: No OFD packet to send [12:26:59]OFD Sender: No OFD packet to send [12:27:04]OFD Sender: No OFD packet to send [12:27:09]OFD Sender: No OFD packet to send [12:27:14]OFD Sender: No OFD packet to send [12:27:19]OFD Sender: No OFD packet to send [12:27:24]OFD Sender: No OFD packet to send [12:27:29]OFD Sender: No OFD packet to send [12:27:34]OFD Sender: No OFD packet to send [12:27:39]OFD Sender: No OFD packet to send [12:27:44]OFD Sender: No OFD packet to send [12:27:49]OFD Sender: No OFD packet to send [12:27:54]OFD Sender: No OFD packet to send [12:27:59]OFD Sender: No OFD packet to send [12:28:04]OFD Sender: No OFD packet to send [12:28:09]OFD Sender: No OFD packet to send [12:28:14]OFD Sender: No OFD packet to send [12:28:19]OFD Sender: No OFD packet to send [12:28:24]OFD Sender: No OFD packet to send [12:28:29]OFD Sender: No OFD packet to send [12:28:34]OFD Sender: No OFD packet to send [12:28:39]OFD Sender: No OFD packet to send [12:28:44]OFD Sender: No OFD packet to send [12:28:49]OFD Sender: No OFD packet to send [12:28:54]OFD Sender: No OFD packet to send [12:28:59]OFD Sender: No OFD packet to send [12:29:04]OFD Sender: No OFD packet to send [12:29:09]OFD Sender: No OFD packet to send [12:29:14]OFD Sender: No OFD packet to send [12:29:19]OFD Sender: No OFD packet to send [12:29:24]OFD Sender: No OFD packet to send [12:29:29]OFD Sender: No OFD packet to send [12:29:34]OFD Sender: No OFD packet to send [12:29:39]OFD Sender: No OFD packet to send [12:29:44]OFD Sender: No OFD packet to send [12:29:49]OFD Sender: No OFD packet to send [12:29:54]OFD Sender: No OFD packet to send [12:29:59]OFD Sender: No OFD packet to send [12:30:04]OFD Sender: No OFD packet to send [12:30:09]OFD Sender: No OFD packet to send [12:30:14]OFD Sender: No OFD packet to send [12:30:19]OFD Sender: No OFD packet to send [12:30:24]OFD Sender: No OFD packet to send [12:30:29]OFD Sender: No OFD packet to send [12:30:34]OFD Sender: No OFD packet to send [12:30:39]OFD Sender: No OFD packet to send [12:30:44]OFD Sender: No OFD packet to send [12:30:49]OFD Sender: No OFD packet to send [12:30:54]OFD Sender: No OFD packet to send [12:30:59]OFD Sender: No OFD packet to send [12:31:04]OFD Sender: No OFD packet to send [12:31:09]OFD Sender: No OFD packet to send [12:31:14]OFD Sender: No OFD packet to send [12:31:19]OFD Sender: No OFD packet to send [12:31:24]OFD Sender: No OFD packet to send [12:31:30]OFD Sender: No OFD packet to send [12:31:35]OFD Sender: No OFD packet to send [12:31:40]OFD Sender: No OFD packet to send [12:31:45]OFD Sender: No OFD packet to send [12:31:50]OFD Sender: No OFD packet to send [12:31:55]OFD Sender: No OFD packet to send [12:32:00]OFD Sender: No OFD packet to send [12:32:05]OFD Sender: No OFD packet to send [12:32:10]OFD Sender: No OFD packet to send [12:32:15]OFD Sender: No OFD packet to send [12:32:20]OFD Sender: No OFD packet to send [12:32:25]OFD Sender: No OFD packet to send [12:32:30]OFD Sender: No OFD packet to send [12:32:35]OFD Sender: No OFD packet to send [12:32:40]OFD Sender: No OFD packet to send [12:32:45]OFD Sender: No OFD packet to send [12:32:50]OFD Sender: No OFD packet to send [12:32:55]OFD Sender: No OFD packet to send [12:33:00]OFD Sender: No OFD packet to send [12:33:05]OFD Sender: No OFD packet to send [12:33:10]OFD Sender: No OFD packet to send [12:33:15]OFD Sender: No OFD packet to send [12:33:20]OFD Sender: No OFD packet to send [12:33:25]OFD Sender: No OFD packet to send [12:33:30]OFD Sender: No OFD packet to send [12:33:35]OFD Sender: No OFD packet to send [12:33:40]OFD Sender: No OFD packet to send [12:33:45]OFD Sender: No OFD packet to send [12:33:50]OFD Sender: No OFD packet to send [12:33:55]OFD Sender: No OFD packet to send [12:34:00]OFD Sender: No OFD packet to send [12:34:05]OFD Sender: No OFD packet to send [12:34:10]OFD Sender: No OFD packet to send [12:34:15]OFD Sender: No OFD packet to send [12:34:20]OFD Sender: No OFD packet to send [12:34:25]OFD Sender: No OFD packet to send [12:34:30]OFD Sender: No OFD packet to send [12:34:35]OFD Sender: No OFD packet to send [12:34:40]OFD Sender: No OFD packet to send [12:34:45]OFD Sender: No OFD packet to send [12:34:50]OFD Sender: No OFD packet to send [12:34:55]OFD Sender: No OFD packet to send [12:35:00]OFD Sender: No OFD packet to send [12:35:05]OFD Sender: No OFD packet to send [12:35:10]OFD Sender: No OFD packet to send [12:35:15]OFD Sender: No OFD packet to send [12:35:20]OFD Sender: No OFD packet to send [12:35:25]OFD Sender: No OFD packet to send [12:35:30]OFD Sender: No OFD packet to send [12:35:35]OFD Sender: No OFD packet to send [12:35:40]OFD Sender: No OFD packet to send [12:35:45]OFD Sender: No OFD packet to send [12:35:50]OFD Sender: No OFD packet to send [12:35:55]OFD Sender: No OFD packet to send [12:36:00]OFD Sender: No OFD packet to send [12:36:05]OFD Sender: No OFD packet to send [12:36:10]OFD Sender: No OFD packet to send [12:36:15]OFD Sender: No OFD packet to send [12:36:20]OFD Sender: No OFD packet to send [12:36:25]OFD Sender: No OFD packet to send [12:36:30]OFD Sender: No OFD packet to send [12:36:35]OFD Sender: No OFD packet to send [12:36:40]OFD Sender: No OFD packet to send [12:36:45]OFD Sender: No OFD packet to send [12:36:50]OFD Sender: No OFD packet to send [12:36:55]OFD Sender: No OFD packet to send [12:37:00]OFD Sender: No OFD packet to send [12:37:05]OFD Sender: No OFD packet to send [12:37:10]OFD Sender: No OFD packet to send [12:37:15]OFD Sender: No OFD packet to send [12:37:20]OFD Sender: No OFD packet to send [12:37:25]OFD Sender: No OFD packet to send [12:37:30]OFD Sender: No OFD packet to send [12:37:35]OFD Sender: No OFD packet to send [12:37:40]OFD Sender: No OFD packet to send [12:37:45]OFD Sender: No OFD packet to send [12:37:50]OFD Sender: No OFD packet to send [12:37:55]OFD Sender: No OFD packet to send [12:38:00]OFD Sender: No OFD packet to send [12:38:05]OFD Sender: No OFD packet to send [12:38:10]OFD Sender: No OFD packet to send [12:38:15]OFD Sender: No OFD packet to send [12:38:20]OFD Sender: No OFD packet to send [12:38:25]OFD Sender: No OFD packet to send [12:38:30]OFD Sender: No OFD packet to send [12:38:35]OFD Sender: No OFD packet to send [12:38:40]OFD Sender: No OFD packet to send [12:38:45]OFD Sender: No OFD packet to send [12:38:50]OFD Sender: No OFD packet to send [12:38:55]OFD Sender: No OFD packet to send [12:39:00]OFD Sender: No OFD packet to send [12:39:05]OFD Sender: No OFD packet to send [12:39:10]OFD Sender: No OFD packet to send [12:39:15]OFD Sender: No OFD packet to send [12:39:20]OFD Sender: No OFD packet to send [12:39:25]OFD Sender: No OFD packet to send [12:39:30]OFD Sender: No OFD packet to send [12:39:35]OFD Sender: No OFD packet to send [12:39:40]OFD Sender: No OFD packet to send [12:39:45]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:46]OFD Sender: No OFD packet to send [12:46:51]OFD Sender: No OFD packet to send [12:46:56]OFD Sender: No OFD packet to send [12:47:01]OFD Sender: No OFD packet to send [12:47:06]OFD Sender: No OFD packet to send [12:47:11]OFD Sender: No OFD packet to send [12:47:16]OFD Sender: No OFD packet to send [12:47:21]OFD Sender: No OFD packet to send [12:47:26]OFD Sender: No OFD packet to send [12:47:31]OFD Sender: No OFD packet to send [12:47:36]OFD Sender: No OFD packet to send [12:47:41]OFD Sender: No OFD packet to send [12:47:46]OFD Sender: No OFD packet to send [12:47:51]OFD Sender: No OFD packet to send [12:47:56]OFD Sender: No OFD packet to send [12:48:01]OFD Sender: No OFD packet to send [12:48:06]OFD Sender: No OFD packet to send [12:48:11]OFD Sender: No OFD packet to send [12:48:16]OFD Sender: No OFD packet to send [12:48:21]OFD Sender: No OFD packet to send [12:48:26]OFD Sender: No OFD packet to send [12:48:31]OFD Sender: No OFD packet to send [12:48:36]OFD Sender: No OFD packet to send [12:48:41]OFD Sender: No OFD packet to send [12:48:46]OFD Sender: No OFD packet to send [12:48:51]OFD Sender: No OFD packet to send [12:48:56]OFD Sender: No OFD packet to send [12:49:01]OFD Sender: No OFD packet to send [12:49:06]OFD Sender: No OFD packet to send [12:49:11]OFD Sender: No OFD packet to send [12:49:16]OFD Sender: No OFD packet to send [12:49:21]OFD Sender: No OFD packet to send [12:49:26]OFD Sender: No OFD packet to send [12:49:31]OFD Sender: No OFD packet to send [12:49:36]OFD Sender: No OFD packet to send [12:49:41]OFD Sender: No OFD packet to send [12:49:46]OFD Sender: No OFD packet to send [12:49:51]OFD Sender: No OFD packet to send [12:49:56]OFD Sender: No OFD packet to send [12:50:01]OFD Sender: No OFD packet to send [12:50:06]OFD Sender: No OFD packet to send [12:50:11]OFD Sender: No OFD packet to send [12:50:16]OFD Sender: No OFD packet to send [12:50:21]OFD Sender: No OFD packet to send [12:50:26]OFD Sender: No OFD packet to send [12:50:31]OFD Sender: No OFD packet to send [12:50:36]OFD Sender: No OFD packet to send [12:50:41]OFD Sender: No OFD packet to send [12:50:46]OFD Sender: No OFD packet to send [12:50:51]OFD Sender: No OFD packet to send [12:50:56]OFD Sender: No OFD packet to send [12:51:01]OFD Sender: No OFD packet to send [12:51:06]OFD Sender: No OFD packet to send [12:51:11]OFD Sender: No OFD packet to send [12:51:16]OFD Sender: No OFD packet to send [12:51:21]OFD Sender: No OFD packet to send [12:51:26]OFD Sender: No OFD packet to send [12:51:31]OFD Sender: No OFD packet to send [12:51:36]OFD Sender: No OFD packet to send [12:51:41]OFD Sender: No OFD packet to send [12:51:46]OFD Sender: No OFD packet to send [12:51:51]OFD Sender: No OFD packet to send [12:51:56]OFD Sender: No OFD packet to send [12:52:01]OFD Sender: No OFD packet to send [12:52:06]OFD Sender: No OFD packet to send [12:52:11]OFD Sender: No OFD packet to send [12:52:16]OFD Sender: No OFD packet to send [12:52:21]OFD Sender: No OFD packet to send [12:52:26]OFD Sender: No OFD packet to send [12:52:31]OFD Sender: No OFD packet to send [12:52:36]OFD Sender: No OFD packet to send [12:52:41]OFD Sender: No OFD packet to send [12:52:46]OFD Sender: No OFD packet to send [12:52:51]OFD Sender: No OFD packet to send [12:52:56]OFD Sender: No OFD packet to send [12:53:01]OFD Sender: No OFD packet to send [12:53:06]OFD Sender: No OFD packet to send [12:53:11]OFD Sender: No OFD packet to send [12:53:16]OFD Sender: No OFD packet to send [12:53:21]OFD Sender: No OFD packet to send [12:53:26]OFD Sender: No OFD packet to send [12:53:31]OFD Sender: No OFD packet to send [12:53:36]OFD Sender: No OFD packet to send [12:53:41]OFD Sender: No OFD packet to send [12:53:46]OFD Sender: No OFD packet to send [12:53:51]OFD Sender: No OFD packet to send [12:53:56]OFD Sender: No OFD packet to send [12:54:01]OFD Sender: No OFD packet to send [12:54:06]OFD Sender: No OFD packet to send [12:54:11]OFD Sender: No OFD packet to send [12:54:16]OFD Sender: No OFD packet to send [12:54:21]OFD Sender: No OFD packet to send [12:54:26]OFD Sender: No OFD packet to send [12:54:31]OFD Sender: No OFD packet to send [12:54:36]OFD Sender: No OFD packet to send [12:54:41]OFD Sender: No OFD packet to send [12:54:46]OFD Sender: No OFD packet to send [12:54:51]OFD Sender: No OFD packet to send [12:54:56]OFD Sender: No OFD packet to send [12:55:01]OFD Sender: No OFD packet to send [12:55:06]OFD Sender: No OFD packet to send [12:55:11]OFD Sender: No OFD packet to send [12:55:16]OFD Sender: No OFD packet to send [12:55:21]OFD Sender: No OFD packet to send [12:55:26]OFD Sender: No OFD packet to send [12:55:31]OFD Sender: No OFD packet to send [12:55:36]OFD Sender: No OFD packet to send [12:55:41]OFD Sender: No OFD packet to send [12:55:46]OFD Sender: No OFD packet to send [12:55:51]OFD Sender: No OFD packet to send [12:55:56]OFD Sender: No OFD packet to send [12:56:01]OFD Sender: No OFD packet to send [12:56:06]OFD Sender: No OFD packet to send [12:56:11]OFD Sender: No OFD packet to send [12:56:16]OFD Sender: No OFD packet to send [12:56:21]OFD Sender: No OFD packet to send [12:56:26]OFD Sender: No OFD packet to send [12:56:31]OFD Sender: No OFD packet to send [12:56:36]OFD Sender: No OFD packet to send [12:56:41]OFD Sender: No OFD packet to send [12:56:46]OFD Sender: No OFD packet to send [12:56:51]OFD Sender: No OFD packet to send [12:56:56]OFD Sender: No OFD packet to send [12:57:01]OFD Sender: No OFD packet to send [12:57:06]OFD Sender: No OFD packet to send [12:57:11]OFD Sender: No OFD packet to send [12:57:16]OFD Sender: No OFD packet to send [12:57:21]OFD Sender: No OFD packet to send [12:57:26]OFD Sender: No OFD packet to send [12:57:31]OFD Sender: No OFD packet to send [12:57:36]OFD Sender: No OFD packet to send [12:57:41]OFD Sender: No OFD packet to send [12:57:46]OFD Sender: No OFD packet to send [12:57:51]OFD Sender: No OFD packet to send [12:57:56]OFD Sender: No OFD packet to send [12:58:01]OFD Sender: No OFD packet to send [12:58:06]OFD Sender: No OFD packet to send [12:58:11]OFD Sender: No OFD packet to send [12:58:16]OFD Sender: No OFD packet to send [12:58:21]OFD Sender: No OFD packet to send [12:58:26]OFD Sender: No OFD packet to send [12:58:31]OFD Sender: No OFD packet to send [12:58:36]OFD Sender: No OFD packet to send [12:58:41]OFD Sender: No OFD packet to send [12:58:46]OFD Sender: No OFD packet to send [12:58:51]OFD Sender: No OFD packet to send [12:58:56]accept exits with 9 [12:58:56]New connection [12:58:56]New thread 3067338084 created [12:58:56]Thread 3067481444 joined [12:58:56]Waiting for new connection... [12:58:56] Sock 9.Parse request [12:58:56]Sock 9.Check first char [12:58:56]Sock 9.First char is OK [12:58:56]request: POST /json_proto HTTP/1.0 [12:58:56]Method: POST [12:58:56]URL: /json_proto [12:58:56]Method is POST - this is cgi request [12:58:56]url: /json_proto [12:58:56]query_string will be loaded in cgi processing [12:58:56]execute_cgi json_proto POST (null) [12:58:56]execute_cgi path=json_proto method=POST [12:58:56]POST find Content-Length [12:58:56]Host: 172.17.47.135:8080 [12:58:56]Content-Length: 614 [12:58:56]Content-Type: application/json [12:58:56] [12:58:56]POST finish read [12:58:56]Found Content-Length = 614 [12:58:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130846", "tax_sys" : 0, "items" : [ { "code": "48744317", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Camel Yellow", "price" : 161.00, "quantity" : 1.000, "sum" : 161.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 161.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:58:56]execute_script... [12:58:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130846", "tax_sys" : 0, "items" : [ { "code": "48744317", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Camel Yellow", "price" : 161.00, "quantity" : 1.000, "sum" : 161.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 161.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:58:56]POST & json_proto [12:58:56]process_json_proto [12:58:56]json parsed OK: [12:58:56]protocol is kg_v1.0 [12:58:56]action value=close_receipt [12:58:56]process_action close_receipt [12:58:56]cmd_close_receipt [12:58:56]MH_GetDate [12:58:56]Write to MH i2c: F0 00 00 A9 02 9A [12:58:56]Write i2c OK [12:58:56]MH_I2C_Read... [12:58:56]Read from MH i2c: F0 [12:58:56]MH_I2C_Read... [12:58:56]Read from MH i2c: F0 09 00 [12:58:56]MH_I2C_Read... [12:58:56]Read from MH i2c: F0 09 00 A9 02 00 91 78 B8 67 19 D8 DE 66 00 [12:58:56]GetLastDocTimeStamp 1740139816 [12:58:56]current date 1740142737 [12:58:56]FM_GetShiftState [12:58:56]SAM_PROTO_GetShiftState [12:58:56]wFMCommunicate request_size=4 [12:58:56]MH_SAM_APDU [12:58:56]CAPDU: 80 13 01 00 [12:58:56]Write to MH i2c: E2 08 00 AA 02 80 13 01 00 00 00 00 00 29 [12:58:56]Write i2c OK [12:58:56]MH_I2C_Read... [12:58:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:58:56]Read from MH i2c: E2 [12:58:56]MH_I2C_Read... [12:58:56]Read from MH i2c: E2 0E 00 [12:58:56]MH_I2C_Read... [12:58:56]Read from MH i2c: E2 0E 00 AA 02 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 8E [12:58:56]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [12:58:56]wFMCommunicate OK [12:58:56]SAM_PROTO_GetShiftState done [12:58:56]FM_GetShiftState done [12:58:56]opened in 1740096631 [12:58:56]opened+sec_in_day 1740183031 [12:58:56]quantity*price = 16100 [12:58:56]sum+1 = 16101 [12:58:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 161.00 НСП 1% : 1.42 НДС 12% : 17.10 Наличными: 161.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 24 21.02.2025 12:58 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32636 ФПД: 198861705973133 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T125858&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32636&fm=198861705973133&tin=02508201610067®Number=0000000000146237&sum=16100 0 [12:58:57]StoreToDocumentArchive [12:58:57]shift 386 fd 32636 [12:58:57]save to /storage/0386/doc_00032636 [12:58:57]save last doc name /storage/0386/doc_00032636 to /storage/kkm_last_doc_name [12:58:57]save OK [12:58:57]Clear old archive folders... [12:58:57]Remove dir /storage/0266 [12:58:57]opendir ok [12:58:57]file . [12:58:57]file .. [12:58:57]file doc_1740139823 [12:58:57]remove file /storage/0266/doc_1740139823 [12:58:57]remove dir /storage/0266 [12:58:57]ProcessDocumentItem done err = 0, tmpTLVsize=266 [12:58:57]tlvbuf is 00EF7270 [12:58:57]SAM_PROTO_ClearQueue [12:58:57]wFMCommunicate request_size=4 [12:58:57]MH_SAM_APDU [12:58:57]CAPDU: 80 09 00 00 [12:58:57]Write to MH i2c: E2 08 00 B7 02 80 09 00 00 00 00 00 00 2B [12:58:57]Write i2c OK [12:58:57]MH_I2C_Read... [12:58:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:58:57]Read from MH i2c: E2 [12:58:57]MH_I2C_Read... [12:58:57]Read from MH i2c: E2 03 00 [12:58:57]MH_I2C_Read... [12:58:57]Read from MH i2c: E2 03 00 B7 02 00 90 00 2D [12:58:57]RAPDU: 90 00 [12:58:57]wFMCommunicate OK [12:58:57]SAM_PROTO_ClearQueue done [12:58:57]KKMCreateOFDPacket [12:58:57]OFDProtocolAddRootSTLVToBuf [12:58:57]FM_MakeSignedData [12:58:57]FM_MakeSignedData [12:58:57]SAM_PROTO_SignData [12:58:57]wFMCommunicate request_size=4 [12:58:57]MH_SAM_APDU [12:58:57]CAPDU: 80 0D 01 02 [12:58:57]Write to MH i2c: E2 08 00 B8 02 80 0D 01 02 00 00 00 00 33 [12:58:57]Write i2c OK [12:58:57]MH_I2C_Read... [12:58:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:58:57]Read from MH i2c: E2 [12:58:57]MH_I2C_Read... [12:58:57]Read from MH i2c: E2 03 00 [12:58:57]MH_I2C_Read... [12:58:57]Read from MH i2c: E2 03 00 B8 02 00 90 00 2E [12:58:57]RAPDU: 90 00 [12:58:57]wFMCommunicate OK [12:58:57]wFMCommunicate request_size=255 [12:58:57]MH_SAM_APDU [12:58:57]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 38 37 34 34 33 31 37 06 04 1D 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 43 61 6D 65 6C 20 59 65 6C 6C 6F 77 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 3E 00 00 00 00 13 04 06 00 E4 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AE 06 00 00 00 00 07 04 06 00 E4 3E 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 92 78 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 [12:58:57]Write to MH i2c: E2 02 01 B9 02 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 38 37 34 34 33 31 37 06 04 1D 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 43 61 6D 65 6C 20 59 65 6C 6C 6F 77 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 3E 00 00 00 00 13 04 06 00 E4 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AE 06 00 00 00 00 07 04 06 00 E4 3E 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 92 78 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 00 00 7B [12:58:57]Write i2c OK [12:58:57]MH_I2C_Read... [12:58:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:58:57]Read from MH i2c: E2 [12:58:57]MH_I2C_Read... [12:58:57]Read from MH i2c: E2 03 00 [12:58:57]MH_I2C_Read... [12:58:57]Read from MH i2c: E2 03 00 B9 02 00 90 00 2F [12:58:57]RAPDU: 90 00 [12:58:57]wFMCommunicate OK [12:58:57]wFMCommunicate request_size=25 [12:58:57]MH_SAM_APDU [12:58:57]CAPDU: 80 0D 02 02 14 38 32 10 04 04 00 7C 7F 00 00 35 04 06 00 B4 DD 19 58 0D 8D [12:58:57]Write to MH i2c: E2 1C 00 BA 02 80 0D 02 02 14 00 38 32 10 04 04 00 7C 7F 00 00 35 04 06 00 B4 DD 19 58 0D 8D 00 00 B6 [12:58:57]Write i2c OK [12:58:57]MH_I2C_Read... [12:58:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:58:57]Read from MH i2c: E2 [12:58:57]MH_I2C_Read... [12:58:57]Read from MH i2c: E2 03 00 [12:58:57]MH_I2C_Read... [12:58:57]Read from MH i2c: E2 03 00 BA 02 00 90 00 30 [12:58:57]RAPDU: 90 00 [12:58:57]wFMCommunicate OK [12:58:57]wFMCommunicate request_size=4 [12:58:57]MH_SAM_APDU [12:58:57]CAPDU: 80 0D 03 02 [12:58:57]Write to MH i2c: E2 08 00 BB 02 80 0D 03 02 00 00 00 00 38 [12:58:57]Write i2c OK [12:58:57]MH_I2C_Read... [12:58:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:58:57]Read from MH i2c: E2 [12:58:57]MH_I2C_Read... [12:58:57]Read from MH i2c: E2 0B 00 [12:58:57]MH_I2C_Read... [12:58:57]Read from MH i2c: E2 0B 00 BB 02 00 D3 13 87 5B 9E 95 EC E2 90 00 02 [12:58:57]RAPDU: D3 13 87 5B 9E 95 EC E2 90 00 [12:58:57]wFMCommunicate OK [12:58:57]SAM_PROTO_SignData done [12:58:57]FM_MakeSignedData done [12:58:57]CreateOFDProtocolMessage [12:58:57]wFMCommunicate request_size=4 [12:58:57]MH_SAM_APDU [12:58:57]CAPDU: 80 11 00 00 [12:58:57]Write to MH i2c: E2 08 00 BC 02 80 11 00 00 00 00 00 00 38 [12:58:57]Write i2c OK [12:58:57]MH_I2C_Read... [12:58:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:58:57]Read from MH i2c: E2 [12:58:57]MH_I2C_Read... [12:58:57]Read from MH i2c: E2 17 00 [12:58:57]MH_I2C_Read... [12:58:57]Read from MH i2c: E2 17 00 BC 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 8E [12:58:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [12:58:57]wFMCommunicate OK [12:58:57]CreateOFDProtocolMessage done [12:58:57]OFDSenderStorePacket 32636 [12:58:57]StoreOFDPacket docnum=32636 [12:58:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 1E 01 00 00 B6 11 16 01 60 FD 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 38 37 34 34 33 31 37 06 04 1D 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 43 61 6D 65 6C 20 59 65 6C 6C 6F 77 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 3E 00 00 00 00 13 04 06 00 E4 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AE 06 00 00 00 00 07 04 06 00 E4 3E 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 92 78 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7C 7F 00 00 35 04 06 00 B4 DD 19 58 0D 8D D3 13 87 5B 9E 95 EC E2 [12:58:57]CheckFolder [12:58:57]dirname=/storage/ofd_packets [12:58:57]CheckFolder done [12:58:57]ProducePacketName [12:58:57]name=ofd_packets/00032636 [12:58:57]NVStorageSaveData ofd_packets/00032636 [12:58:57]File name is /storage/ofd_packets/00032636 [12:58:57]Write 316 bytes [12:58:57]NVStorageSaveData done [12:58:57]OFDSenderStorePacket done [12:58:57]KKMCreateOFDPacket done [12:58:57]NVStorageSaveData kkm_last_timestamp [12:58:57]File name is /storage/kkm_last_timestamp [12:58:57]Write 4 bytes [12:58:57]NVStorageSaveData done [12:58:57]ExternCall_PrintAddStr [12:58:57]wPrintStart [12:58:57]Write to MH i2c: 01 00 00 BD 02 BF [12:58:57]Write i2c OK [12:58:57]MH_I2C_Read... [12:58:57]Read from MH i2c: 01 [12:58:57]MH_I2C_Read... [12:58:57]Read from MH i2c: 01 07 00 [12:58:57]MH_I2C_Read... [12:58:57]Read from MH i2c: 01 07 00 BD 02 00 00 00 00 00 FF 0F D4 [12:58:57]RasterBufferAndPrint [12:58:57]line Счет N : (3)130846 [12:58:57]line ИНН: 02508201610067 [12:58:57]line Контрольно-Кассовый Чек [12:58:57]line ПРОДАЖА [12:58:57]line Товар: 48744317 [12:58:57]line Сигареты Camel Yellow [12:58:57]line 1.000 * 161.00 [12:58:57]line = 161.00 [12:58:57]line НДС 12% НСП 1% [12:58:57]line > о реализуемом товаре [12:58:57]line ИТОГО: 161.00 [12:58:57]line НСП 1% : 1.42 [12:58:57]line НДС 12% : 17.10 [12:58:57]line Наличными: 161.00 [12:58:57]line Безнал.: 0.00 [12:58:57]line Место: АЗС № 96 "Партнер Нефть" [12:58:57]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [12:58:57]line СНО: Общий режим [12:58:57]line Чек 24 21.02.2025 12:58 [12:58:57]line Смена: 386 ФФД: 1.0 [12:58:57]line ЗНМ: 0300000059 [12:58:57]line РНМ: 0000000000146237 [12:58:57]line Версия ККМ: v1.0 [12:58:57]line ФМ: 0000000000959282 [12:58:57]line ФД: 32636 [12:58:57]line ФПД: 198861705973133 [12:58:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T125858&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32636&fm=198861705973133&tin=02508201610067®Number=0000000000146237&sum=16100 [12:58:58]line 0 [12:58:58]OFD Sender: Processing packet 32636 [packets to send 105, broken 104] [12:58:58]ProducePacketName [12:58:58]name=ofd_packets/00032636 [12:58:58]OFD Sender: To server: pG, [12:58:58]CommunicateWithHost lk.salyk.kg:30040 [12:58:58]ConnectInit lk.salyk.kg [12:58:58]written 0, free lines is 4095 [12:58:58]Connected sock=7 [12:58: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 32 38 32 1E 01 00 00 B6 11 16 01 60 FD 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 38 37 34 34 33 31 37 06 04 1D 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 43 61 6D 65 6C 20 59 65 6C 6C 6F 77 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E4 3E 00 00 00 00 13 04 06 00 E4 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AE 06 00 00 00 00 07 04 06 00 E4 3E 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 92 78 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7C 7F 00 00 35 04 06 00 B4 DD 19 58 0D 8D D3 13 87 5B 9E 95 EC E2 [12:58:58]Write to MH i2c: 01 00 00 E5 02 E7 [12:58:58]Write i2c OK [12:58:58]MH_I2C_Read... [12:58:58]Read from MH i2c: 01 [12:58:58]MH_I2C_Read... [12:58:58]Read from MH i2c: 01 07 00 [12:58:58]MH_I2C_Read... [12:58:58]Read from MH i2c: 01 07 00 E5 02 00 00 00 00 00 12 0D 0D [12:58:58]RasterBufferAndPrint [12:58:58]line [12:58:58]line [12:58:58]line [12:58:58]line [12:58:58]line [12:58:58]written 0, free lines is 3354 [12:58:58]MH_Cut [12:58:58]Write to MH i2c: D1 01 00 EC 02 01 C0 [12:58:58]Write i2c OK [12:58:58]MH_I2C_Read... [12:58:58]Read from MH i2c: D1 [12:58:58]MH_I2C_Read... [12:58:58]Read from MH i2c: D1 01 00 [12:58:58]MH_I2C_Read... [12:58:58]Read from MH i2c: D1 01 00 EC 02 00 BF [12:58:58]Write to MH i2c: 01 00 00 ED 02 EF [12:58:58]Write i2c OK [12:58:58]MH_I2C_Read... [12:58:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 55 73 47 00 C8 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 32 38 32 10 04 04 00 7C 7F 00 00 F4 03 04 00 28 22 B8 67 B6 04 01 00 00 13 C4 14 EE 76 0C DC 31 [12:58:58]CommunicateWithHost err = 0 [12:58:58]CheckOFDResponse [12:58:58]1017 (14) - 77093643461234 [12:58:58]1041 (16) - 0000000000959282 [12:58:58]1040 (4) - 32636 [12:58:58]1012 (4) - 21.02.2025 06:50 [12:58:58]1206 (1) - 0 [12:58:58]OFD Sender: Remove packet 32636 [12:58:58]ProducePacketName [12:58:58]name=ofd_packets/00032636 [12:58:58]NVStorageDeleteData [12:58:59]OFD Sender: No OFD packet to send [12:58:59]*** Cut start [12:58:59]*** Partial cut [12:58:59]*** CUTSNS_PIN = 1 [12:58:59]*** CUTSNS_PIN = 0 [12:58:59]*** Brake cut motor [12:59:00]Read from MH i2c: 01 [12:59:00]MH_I2C_Read... [12:59:00]*** Stop cut motor [12:59:00]*** Cut end [12:59:00]Read from MH i2c: 01 07 00 [12:59:00]MH_I2C_Read... [12:59:00]Read from MH i2c: 01 07 00 ED 02 00 00 00 00 00 FF 0F 04 [12:59:00]process_action close_receipt done [12:59:00]requested_data is exist [12:59:00]produce_requested_data [12:59:00]requested_item fm.sn is exist - process it [12:59:00]wFMCommunicate request_size=4 [12:59:00]MH_SAM_APDU [12:59:00]CAPDU: 80 11 00 00 [12:59:00]Write to MH i2c: E2 08 00 EE 02 80 11 00 00 00 00 00 00 6A [12:59:00]Write i2c OK [12:59:00]MH_I2C_Read... [12:59:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:59:00]Read from MH i2c: E2 [12:59:00]MH_I2C_Read... [12:59:00]Read from MH i2c: E2 17 00 [12:59:00]MH_I2C_Read... [12:59:00]Read from MH i2c: E2 17 00 EE 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 C0 [12:59:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [12:59:00]wFMCommunicate OK [12:59:00]requested_item fd.num is exist - process it [12:59:00]SAM_PROTO_GetFieldsCounters [12:59:00]wFMCommunicate request_size=4 [12:59:00]MH_SAM_APDU [12:59:00]CAPDU: 80 13 00 00 [12:59:00]Write to MH i2c: E2 08 00 EF 02 80 13 00 00 00 00 00 00 6D [12:59:00]Write i2c OK [12:59:00]MH_I2C_Read... [12:59:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:59:00]Read from MH i2c: E2 [12:59:00]MH_I2C_Read... [12:59:00]Read from MH i2c: E2 62 00 [12:59:00]MH_I2C_Read... [12:59:00]Read from MH i2c: E2 62 00 EF 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7C 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 55 [12:59: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7C 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:59:00]wFMCommunicate OK [12:59:00]SAM_PROTO_GetFieldsCounters done [12:59:00]requested_item shift.num is exist - process it [12:59:00]requested_item shift.opened is exist - process it [12:59:00]req_shift_opened [12:59:00]FM_GetShiftState [12:59:00]SAM_PROTO_GetShiftState [12:59:00]wFMCommunicate request_size=4 [12:59:00]MH_SAM_APDU [12:59:00]CAPDU: 80 13 01 00 [12:59:00]Write to MH i2c: E2 08 00 F0 02 80 13 01 00 00 00 00 00 6F [12:59:00]Write i2c OK [12:59:00]MH_I2C_Read... [12:59:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:59:00]Read from MH i2c: E2 [12:59:00]MH_I2C_Read... [12:59:00]Read from MH i2c: E2 0E 00 [12:59:00]MH_I2C_Read... [12:59:00]Read from MH i2c: E2 0E 00 F0 02 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 D4 [12:59:00]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [12:59:00]wFMCommunicate OK [12:59:00]SAM_PROTO_GetShiftState done [12:59:00]FM_GetShiftState done [12:59:00]req_shift_opened done [12:59:00]requested_item shift.open_date is exist - process it [12:59:00]req_shift_open_date [12:59:00]req_shift_open_date done [12:59:00]produce_requested_data done [12:59:00]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32636,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [12:59:00]process_action_free close_receipt [12:59:00]json_value_free [12:59:00]json_value_free done [12:59:00]process_json_proto returns [12:59:00]Send response to host [12:59:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32636,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [12:59:00]free response buf [12:59:00]execute_script done [12:59:00]execute_script returns [12:59:00]free content buf [12:59:00]Sock 9.Close socket [12:59:00]Sock 9.Thread stoped [12:59:04]OFD Sender: No OFD packet to send [12:59:09]OFD Sender: No OFD packet to send [12:59:14]OFD Sender: No OFD packet to send [12:59:19]OFD Sender: No OFD packet to send [12:59:24]OFD Sender: No OFD packet to send [12:59:29]OFD Sender: No OFD packet to send [12:59:34]OFD Sender: No OFD packet to send [12:59:39]OFD Sender: No OFD packet to send [12:59:44]OFD Sender: No OFD packet to send [12:59:49]OFD Sender: No OFD packet to send [12:59:54]OFD Sender: No OFD packet to send [12:59:59]OFD Sender: No OFD packet to send [13:00:04]OFD Sender: No OFD packet to send [13:00:09]OFD Sender: No OFD packet to send [13:00:14]OFD Sender: No OFD packet to send [13:00:19]OFD Sender: No OFD packet to send [13:00:24]OFD Sender: No OFD packet to send [13:00:29]OFD Sender: No OFD packet to send [13:00:34]OFD Sender: No OFD packet to send [13:00:39]OFD Sender: No OFD packet to send [13:00:44]OFD Sender: No OFD packet to send [13:00:49]OFD Sender: No OFD packet to send [13:00:54]OFD Sender: No OFD packet to send [13:00:59]OFD Sender: No OFD packet to send [13:01:04]OFD Sender: No OFD packet to send [13:01:09]OFD Sender: No OFD packet to send [13:01:14]OFD Sender: No OFD packet to send [13:01:19]OFD Sender: No OFD packet to send [13:01:24]OFD Sender: No OFD packet to send [00:00:10] *** EcrCore started. Build 196 *** [00:00:10]/dev/ttyS4 opened [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]Malloc ok [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 01 00 00 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 6E FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 13 [00:00:10]Are we in boot? [00:00:10]We are in boot - try to switch [00:00:10]Write to MH i2c: A0 00 00 02 00 A1 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:10]*** [00:00:10]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:10]*** Waiting for read because exit forced [00:00:10]Read from MH i2c: A0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:10]*** 10 ms more... [00:00:10]*** MH1903S init start (LINUX_LIGHT) [00:00:10]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:10]*** Serial: 3139303353513838 540000000057256E (1903SQ88T) [00:00:10]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:10]*** step 0: 5000 (2650, 2350 REF) [00:00:10]*** step 1: 4835 (2500, 2335 REF) [00:00:10]*** step 2: 4676 (2440, 2236 REF) [00:00:10]*** step 3: 4523 (2280, 2243 REF) [00:00:10]*** step 4: 4376 (2160, 2216 REF) [00:00:10]*** step 5: 4235 (2050, 2185 REF) [00:00:10]*** step 6: 4098 (1950, 2148 REF) [00:00:10]*** step 7: 3967 (1870, 2097 REF) [00:00:10]*** step 8: 3840 (1828, 2012 REF) [00:00:10]*** step 9: 3719 (1728, 1991 REF) [00:00:10]*** step 10: 3601 (1675, 1926 REF) [00:00:10]*** step 11: 3488 (1635, 1853 REF) [00:00:10]*** step 12: 3379 (1595, 1784 REF) [00:00:10]*** step 13: 3275 (1565, 1710 REF) [00:00:10]*** step 14: 3174 (1543, 1631 REF) [00:00:10]*** step 15: 3077 (1523, 1554 REF) [00:00:10]*** step 16: 2983 (1503, 1480 REF) [00:00:10]*** step 17: 2893 (1486, 1407 REF) [00:00:10]*** step 18: 2806 (1466, 1340 REF) [00:00:10]*** step 19: 2723 (1426, 1297 REF) [00:00:10]*** step 20: 2642 (1406, 1236 REF) [00:00:10]*** step 21: 2565 (1384, 1181 REF) [00:00:10]*** step 22: 2490 (1364, 1126 REF) [00:00:10]*** step 23: 2418 (1344, 1074 REF) [00:00:10]*** step 24: 2349 (1322, 1027 REF) [00:00:10]*** step 25: 2283 (1302, 981 REF) [00:00:10]*** step 26: 2218 (1282, 936 REF) [00:00:10]*** step 27: 2157 (1262, 895 REF) [00:00:10]*** step 28: 2097 (1242, 855 REF) [00:00:10]*** step 29: 2040 (1222, 818 REF) [00:00:10]*** step 30: 1985 (1202, 783 REF) [00:00:10]*** step 31: 1932 (1191, 741 REF) [00:00:10]*** step 32: 1880 (1181, 699 REF) [00:00:10]*** step 33: 1831 (1171, 660 REF) [00:00:10]*** step 34: 1784 (1161, 623 REF) [00:00:10]*** step 35: 1738 (1151, 587 REF) [00:00:10]*** step 36: 1694 (1141, 553 REF) [00:00:10]*** step 37: 1652 (1131, 521 REF) [00:00:10]*** step 38: 1611 (1121, 490 REF) [00:00:10]*** step 39: 1572 (1111, 461 REF) [00:00:10]*** step 40: 1534 (1103, 431 REF) [00:00:10]*** step 41: 1497 (1093, 404 REF) [00:00:10]*** step 42: 1462 (1083, 379 REF) [00:00:10]*** step 43: 1428 (1073, 355 REF) [00:00:10]*** step 44: 1396 (1063, 333 REF) [00:00:10]*** step 45: 1365 (1053, 312 REF) [00:00:10]*** step 46: 1334 (1043, 291 REF) [00:00:10]*** step 47: 1305 (1033, 272 REF) [00:00:10]*** step 48: 1277 (1023, 254 REF) [00:00:10]*** step 49: 1250 (1013, 237 REF) [00:00:10]*** step 50: 1224 (990, 234 REF) [00:00:10]*** step 51: 1199 (980, 219 REF) [00:00:10]*** step 52: 1175 (970, 205 REF) [00:00:10]*** step 53: 1152 (960, 192 REF) [00:00:10]*** step 54: 1130 (950, 180 REF) [00:00:10]*** step 55: 1108 (940, 168 REF) [00:00:10]*** step 56: 1088 (930, 158 REF) [00:00:10]*** step 57: 1068 (920, 148 REF) [00:00:10]*** step 58: 1049 (910, 139 REF) [00:00:10]*** step 59: 1030 (900, 130 REF) [00:00:10]*** step 60: 1012 (890, 122 REF) [00:00:10]*** step 61: 995 (880, 115 REF) [00:00:10]*** step 62: 979 (870, 109 REF) [00:00:10]*** step 63: 963 (860, 103 REF) [00:00:10]*** step 64: 948 (850, 98 REF) [00:00:10]*** step 65: 933 (840, 93 REF) [00:00:10]*** step 66: 919 (830, 89 REF) [00:00:10]*** step 67: 905 (820, 85 REF) [00:00:10]*** step 68: 892 (810, 82 REF) [00:00:10]*** step 69: 879 (800, 79 REF) [00:00:10]*** step 70: 867 (790, 77 REF) [00:00:10]*** step 71: 855 (780, 75 REF) [00:00:10]*** step 72: 844 (770, 74 REF) [00:00:10]*** step 73: 833 (760, 73 REF) [00:00:10]*** step 74: 822 (750, 72 REF) [00:00:10]*** step 75: 812 (740, 72 REF) [00:00:10]*** step 76: 803 (730, 73 REF) [00:00:10]*** step 77: 793 (720, 73 REF) [00:00:10]*** step 78: 784 (710, 74 REF) [00:00:10]*** step 79: 776 (700, 76 REF) [00:00:10]*** step 80: 767 (690, 77 REF) [00:00:10]*** step 81: 759 (680, 79 REF) [00:00:10]*** step 82: 751 (670, 81 REF) [00:00:10]*** step 83: 744 (660, 84 REF) [00:00:10]*** step 84: 737 (650, 87 REF) [00:00:10]*** step 85: 730 (640, 90 REF) [00:00:10]*** step 86: 723 (630, 93 REF) [00:00:10]*** step 87: 717 (620, 97 REF) [00:00:10]*** step 88: 710 (610, 100 REF) [00:00:10]*** step 89: 705 (600, 105 REF) [00:00:10]*** step 90: 699 [00:00:10]*** step 91: 693 [00:00:10]*** step 92: 688 [00:00:10]*** step 93: 683 [00:00:10]*** step 94: 678 [00:00:10]*** step 95: 673 [00:00:10]*** step 96: 669 [00:00:10]*** step 97: 664 [00:00:10]*** step 98: 660 [00:00:10]*** step 99: 656 [00:00:10]*** step 100: 652 [00:00:10]*** step 101: 648 [00:00:10]*** step 102: 644 [00:00:10]*** step 103: 641 [00:00:10]*** step 104: 638 [00:00:10]*** step 105: 634 [00:00:10]*** step 106: 631 [00:00:10]*** step 107: 628 [00:00:10]*** step 108: 625 [00:00:10]*** step 109: 622 [00:00:10]*** step 110: 620 [00:00:10]*** step 111: 617 [00:00:10]*** step 112: 615 [00:00:10]*** step 113: 612 [00:00:10]*** step 114: 610 [00:00:10]*** step 115: 608 [00:00:10]*** step 116: 605 [00:00:10]*** step 117: 603 [00:00:10]*** step 118: 601 [00:00:10]*** step 119: 599 [00:00:10]*** printer: Printer HW initialized [00:00:10]*** initSamCard finished [00:00:10]*** RTC: 14262561+1725880345=1740142906 [00:00:10]*** BPK Status Register BPK_RDY = 0x0 [00:00:10]*** SEN State Register SEN_STATE = 0x20ff [00:00:10]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:10]*** Analog Control Register 0 SEN_ANA0 = 0x33550624 [00:00:10]*** Is cutter blocked? [00:00:11]MH_GetMetrics [00:00:11]Write to MH i2c: 00 00 00 03 00 02 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 03 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 6E FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 14 [00:00:11]Are we in boot? [00:00:11]We are not in boot now [00:00:11]Write to MH i2c: 01 00 00 04 00 04 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:11]Model is 3 [00:00:11]MH firmware is 30620 [00:00:11]MH boot firmware is 3 [00:00:11]MH_SetPrinterDots 448 [00:00:11]HeadWidthInBytes 56 [00:00:11]maxmasksize 7 [00:00:11]Write to MH i2c: D6 06 00 05 00 41 00 60 00 FF FF 7F [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:11]Write to MH i2c: D5 00 00 06 00 DA [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]ExternCall_SetCallbacks [00:00:11]NVStorageInit [00:00:11]MH_GetDate [00:00:11]Write to MH i2c: F0 00 00 07 00 F6 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 07 00 00 3A 79 B8 67 19 D8 DE 66 06 [13:01:46]Current date/time: 21.02.2025 13:01 [13:01:46]FM_Init [13:01:46]wFMConnect [13:01:46]MH_SAM_On [13:01:46]Write to MH i2c: E0 00 00 08 00 E7 [13:01:46]Write i2c OK [13:01:46]MH_I2C_Read... [13:01:46]*** iso7816_init finished! [13:01:46]*** atr: [13:01:46]*** 0F 3B D5 18 FF 81 91 FE [13:01:46]*** 1F C3 80 73 C8 21 10 0A [13:01:46]*** 00 00 00 00 00 00 00 00 [13:01:46]*** 00 00 00 00 00 00 00 00 [13:01:46]*** 00 00 00 00 00 00 00 00 [13:01:46]*** 00 00 00 00 00 00 00 00 [13:01:46]*** 00 00 00 00 00 00 00 00 [13:01:46]*** 00 00 00 00 00 00 00 00 [13:01:46]Read from MH i2c: E0 [13:01:46]MH_I2C_Read... [13:01:46]Read from MH i2c: E0 10 00 [13:01:46]MH_I2C_Read... [13:01:46]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [13:01:46]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [13:01:46]wFMCommunicate request_size=10 [13:01:46]MH_SAM_APDU [13:01:46]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [13:01:46]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [13:01:46]Write i2c OK [13:01:46]MH_I2C_Read... [13:01:46]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [13:01:46]Read from MH i2c: E2 [13:01:46]MH_I2C_Read... [13:01:46]Read from MH i2c: E2 03 00 [13:01:46]MH_I2C_Read... [13:01:46]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [13:01:46]RAPDU: 90 00 [13:01:46]wFMCommunicate OK [13:01:46]wFMCommunicate request_size=4 [13:01:46]MH_SAM_APDU [13:01:46]CAPDU: 80 11 00 00 [13:01:46]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [13:01:46]Write i2c OK [13:01:46]MH_I2C_Read... [13:01:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:01:46]Read from MH i2c: E2 [13:01:46]MH_I2C_Read... [13:01:46]Read from MH i2c: E2 17 00 [13:01:46]MH_I2C_Read... [13:01:46]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 DA [13:01:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [13:01:46]wFMCommunicate OK [13:01:46]Detected FM SN is 0000000000959282 [13:01:46]Stored FM SN is 0000000000959282 [13:01:46]wFMCommunicate request_size=9 [13:01:46]MH_SAM_APDU [13:01:46]CAPDU: 80 16 00 00 04 04 F4 00 00 [13:01:46]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 04 F4 00 00 00 00 8A [13:01:46]Write i2c OK [13:01:46]MH_I2C_Read... [13:01:46]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [13:01:46]Read from MH i2c: E2 [13:01:46]MH_I2C_Read... [13:01:46]Read from MH i2c: E2 03 00 [13:01:46]MH_I2C_Read... [13:01:46]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [13:01:46]RAPDU: 90 00 [13:01:46]wFMCommunicate OK [13:01:46]FM PIN OK [13:01:46]wFMCommunicate request_size=8 [13:01:46]MH_SAM_APDU [13:01:46]CAPDU: 80 14 04 00 03 02 00 01 [13:01:46]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [13:01:46]Write i2c OK [13:01:46]MH_I2C_Read... [13:01:46]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [13:01:46]Read from MH i2c: E2 [13:01:46]MH_I2C_Read... [13:01:46]Read from MH i2c: E2 03 00 [13:01:46]MH_I2C_Read... [13:01:46]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [13:01:46]RAPDU: 90 00 [13:01:46]wFMCommunicate OK [13:01:46]wFMCommunicate request_size=13 [13:01:46]MH_SAM_APDU [13:01:46]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [13:01:46]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [13:01:46]Write i2c OK [13:01:46]MH_I2C_Read... [13:01:46]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [13:01:46]Read from MH i2c: E2 [13:01:46]MH_I2C_Read... [13:01:46]Read from MH i2c: E2 03 00 [13:01:46]MH_I2C_Read... [13:01:46]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [13:01:46]RAPDU: 90 00 [13:01:46]wFMCommunicate OK [13:01:46]wFMCommunicate request_size=4 [13:01:46]MH_SAM_APDU [13:01:46]CAPDU: 80 11 00 00 [13:01:46]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [13:01:46]Write i2c OK [13:01:46]MH_I2C_Read... [13:01:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:01:46]Read from MH i2c: E2 [13:01:46]MH_I2C_Read... [13:01:46]Read from MH i2c: E2 17 00 [13:01:46]MH_I2C_Read... [13:01:46]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 DE [13:01:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [13:01:46]wFMCommunicate OK [13:01:46]DocumentArchiveInit [13:01:46]Start Httpd... [13:01:46]Httpd thread 3067759972 created [13:01:46]Write to MH i2c: 01 00 00 0F 00 0F [13:01:46]Write i2c OK [13:01:46]MH_I2C_Read... [13:01:46]Read from MH i2c: 01 [13:01:46]MH_I2C_Read... [13:01:46]Read from MH i2c: 01 07 00 [13:01:46]MH_I2C_Read... [13:01:46]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [13:01:46]MH Int Process started [13:01:46]Allocated Socket 8 [13:01:46]Bind OK [13:01:46]Listen OK [13:01:46]httpd running on port 8080 [13:01:46]Waiting for new connection... [13:01:46]OFD Sender: No OFD packet to send [13:01:51]OFD Sender: No OFD packet to send [13:01:56]OFD Sender: No OFD packet to send [13:02:01]OFD Sender: No OFD packet to send [13:02:06]OFD Sender: No OFD packet to send [13:02:11]OFD Sender: No OFD packet to send [13:02:16]OFD Sender: No OFD packet to send [13:02:21]OFD Sender: No OFD packet to send [13:02:26]OFD Sender: No OFD packet to send [13:02:31]OFD Sender: No OFD packet to send [13:02:36]OFD Sender: No OFD packet to send [13:02:41]OFD Sender: No OFD packet to send [13:02:46]OFD Sender: No OFD packet to send [13:02:51]OFD Sender: No OFD packet to send [13:02:56]OFD Sender: No OFD packet to send [13:03:01]OFD Sender: No OFD packet to send [13:03:04]accept exits with 9 [13:03:04]New connection [13:03:04]New thread 3067473252 created [13:03:04]Waiting for new connection... [13:03:04] Sock 9.Parse request [13:03:04]Sock 9.Check first char [13:03:04]Sock 9.First char is OK [13:03:04]request: POST /json_proto HTTP/1.0 [13:03:04]Method: POST [13:03:04]URL: /json_proto [13:03:04]Method is POST - this is cgi request [13:03:04]url: /json_proto [13:03:04]query_string will be loaded in cgi processing [13:03:04]execute_cgi json_proto POST (null) [13:03:04]execute_cgi path=json_proto method=POST [13:03:04]POST find Content-Length [13:03:04]Host: 172.17.47.135:8080 [13:03:04]Content-Length: 215 [13:03:04]Content-Type: application/json [13:03:04] [13:03:04]POST finish read [13:03:04]Found Content-Length = 215 [13:03:04]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" ] } } [13:03:04]execute_script... [13:03:04]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" ] } } [13:03:04]POST & json_proto [13:03:04]process_json_proto [13:03:04]json parsed OK: [13:03:04]protocol is kg_v1.0 [13:03:04]action value=get_value [13:03:04]process_action get_value [13:03:04]cmd_get_value [13:03:04]process_action get_value done [13:03:04]requested_data is exist [13:03:04]produce_requested_data [13:03:04]requested_item kkm.sn is exist - process it [13:03:04]requested_item kkm.ver is exist - process it [13:03:04]requested_item fm.sn is exist - process it [13:03:04]wFMCommunicate request_size=4 [13:03:04]MH_SAM_APDU [13:03:04]CAPDU: 80 11 00 00 [13:03:04]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [13:03:04]Write i2c OK [13:03:04]MH_I2C_Read... [13:03:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:03:04]Read from MH i2c: E2 [13:03:04]MH_I2C_Read... [13:03:04]Read from MH i2c: E2 17 00 [13:03:04]MH_I2C_Read... [13:03:04]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 E0 [13:03:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [13:03:04]wFMCommunicate OK [13:03:04]requested_item fd.num is exist - process it [13:03:04]SAM_PROTO_GetFieldsCounters [13:03:04]wFMCommunicate request_size=4 [13:03:04]MH_SAM_APDU [13:03:04]CAPDU: 80 13 00 00 [13:03:04]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [13:03:04]Write i2c OK [13:03:04]MH_I2C_Read... [13:03:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:03:04]Read from MH i2c: E2 [13:03:04]MH_I2C_Read... [13:03:04]Read from MH i2c: E2 62 00 [13:03:04]MH_I2C_Read... [13:03:04]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7C 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 75 [13:03:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7C 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:03:04]wFMCommunicate OK [13:03:04]SAM_PROTO_GetFieldsCounters done [13:03:04]requested_item shift.num is exist - process it [13:03:04]requested_item shift.opened is exist - process it [13:03:04]req_shift_opened [13:03:04]FM_GetShiftState [13:03:04]SAM_PROTO_GetShiftState [13:03:04]wFMCommunicate request_size=4 [13:03:04]MH_SAM_APDU [13:03:04]CAPDU: 80 13 01 00 [13:03:04]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [13:03:04]Write i2c OK [13:03:04]MH_I2C_Read... [13:03:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:03:04]Read from MH i2c: E2 [13:03:04]MH_I2C_Read... [13:03:04]Read from MH i2c: E2 0E 00 [13:03:04]MH_I2C_Read... [13:03:04]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 F4 [13:03:04]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [13:03:04]wFMCommunicate OK [13:03:04]SAM_PROTO_GetShiftState done [13:03:04]FM_GetShiftState done [13:03:04]req_shift_opened done [13:03:04]requested_item shift.open_date is exist - process it [13:03:04]req_shift_open_date [13:03:04]req_shift_open_date done [13:03:04]produce_requested_data done [13:03:04]produce_requested_data return {"kkm.sn":"0300000059","kkm.ver":"v1.0","fm.sn":"0000000000959282","fd.num":32636,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [13:03:04]process_action_free get_value [13:03:04]json_value_free [13:03:04]json_value_free done [13:03:04]process_json_proto returns [13:03:04]Send response to host [13:03:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000059","kkm.ver":"v1.0","fm.sn":"0000000000959282","fd.num":32636,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [13:03:04]free response buf [13:03:04]execute_script done [13:03:04]execute_script returns [13:03:04]free content buf [13:03:04]Sock 9.Close socket [13:03:04]Sock 9.Thread stoped [13:03:06]OFD Sender: No OFD packet to send [13:03:08]accept exits with 7 [13:03:08]New connection [13:03:08]New thread 3067329892 created [13:03:08]Thread 3067473252 joined [13:03:08]Waiting for new connection... [13:03:08] Sock 7.Parse request [13:03:08]Sock 7.Check first char [13:03:08]Sock 7.First char is OK [13:03:08]request: POST /json_proto HTTP/1.0 [13:03:08]Method: POST [13:03:08]URL: /json_proto [13:03:08]Method is POST - this is cgi request [13:03:08]url: /json_proto [13:03:08]query_string will be loaded in cgi processing [13:03:08]execute_cgi json_proto POST (null) [13:03:08]execute_cgi path=json_proto method=POST [13:03:08]POST find Content-Length [13:03:08]Host: 172.17.47.135:8080 [13:03:08]Content-Length: 331 [13:03:08]Content-Type: application/json [13:03:08] [13:03:08]POST finish read [13:03:08]Found Content-Length = 331 [13:03:08]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" ] } } [13:03:08]execute_script... [13:03:08]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" ] } } [13:03:08]POST & json_proto [13:03:08]process_json_proto [13:03:08]json parsed OK: [13:03:08]protocol is kg_v1.0 [13:03:08]action value=get_value [13:03:08]process_action get_value [13:03:08]cmd_get_value [13:03:08]process_action get_value done [13:03:08]requested_data is exist [13:03:08]produce_requested_data [13:03:08]requested_item fm.sale.total is exist - process it [13:03:08]SAM_PROTO_GetFMData [13:03:08]wFMCommunicate request_size=4 [13:03:08]MH_SAM_APDU [13:03:08]CAPDU: 80 13 03 00 [13:03:08]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [13:03:08]Write i2c OK [13:03:08]MH_I2C_Read... [13:03:08]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [13:03:08]Read from MH i2c: E2 [13:03:08]MH_I2C_Read... [13:03:08]Read from MH i2c: E2 FD 00 [13:03:08]MH_I2C_Read... [13:03:08]Read from MH i2c: E2 FD 00 13 00 00 C4 04 85 04 C0 04 6E 04 04 00 77 7C 00 00 69 04 A0 00 6F 04 04 00 EC 7A 00 00 B1 04 04 00 3D F8 04 58 70 04 04 00 51 3E 1F 28 72 04 04 00 EC B9 E5 2F 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 83 19 59 09 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 E8 62 C7 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8B 01 00 00 B1 04 04 00 4C 4C 33 02 70 04 04 00 A0 94 14 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D6 D3 3B EF 03 09 00 90 00 3E [13:03:08]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 77 7C 00 00 69 04 A0 00 6F 04 04 00 EC 7A 00 00 B1 04 04 00 3D F8 04 58 70 04 04 00 51 3E 1F 28 72 04 04 00 EC B9 E5 2F 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 83 19 59 09 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 E8 62 C7 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8B 01 00 00 B1 04 04 00 4C 4C 33 02 70 04 04 00 A0 94 14 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D6 D3 3B EF 03 09 00 90 00 [13:03:08]wFMCommunicate OK [13:03:08]wFMCommunicate request_size=4 [13:03:08]MH_SAM_APDU [13:03:08]CAPDU: 80 17 00 00 [13:03:08]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [13:03:08]Write i2c OK [13:03:08]MH_I2C_Read... [13:03:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:03:08]Read from MH i2c: E2 [13:03:08]MH_I2C_Read... [13:03:08]Read from MH i2c: E2 FD 00 [13:03:08]MH_I2C_Read... [13:03:08]Read from MH i2c: E2 FD 00 14 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 25 FC 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 6F [13:03:08]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 25 FC 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [13:03:08]wFMCommunicate OK [13:03:08]wFMCommunicate request_size=4 [13:03:08]MH_SAM_APDU [13:03:08]CAPDU: 80 17 00 00 [13:03:08]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [13:03:08]Write i2c OK [13:03:08]MH_I2C_Read... [13:03:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:03:09]Read from MH i2c: E2 [13:03:09]MH_I2C_Read... [13:03:09]Read from MH i2c: E2 FD 00 [13:03:09]MH_I2C_Read... [13:03:09]Read from MH i2c: E2 FD 00 15 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 AA [13:03:09]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [13:03:09]wFMCommunicate OK [13:03:09]wFMCommunicate request_size=4 [13:03:09]MH_SAM_APDU [13:03:09]CAPDU: 80 17 00 00 [13:03:09]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [13:03:09]Write i2c OK [13:03:09]MH_I2C_Read... [13:03:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:03:09]Read from MH i2c: E2 [13:03:09]MH_I2C_Read... [13:03:09]Read from MH i2c: E2 FD 00 [13:03:09]MH_I2C_Read... [13:03:09]Read from MH i2c: E2 FD 00 16 00 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 0E [13:03:09]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [13:03:09]wFMCommunicate OK [13:03:09]wFMCommunicate request_size=4 [13:03:09]MH_SAM_APDU [13:03:09]CAPDU: 80 17 00 00 [13:03:09]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [13:03:09]Write i2c OK [13:03:09]MH_I2C_Read... [13:03:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [13:03:09]Read from MH i2c: E2 [13:03:09]MH_I2C_Read... [13:03:09]Read from MH i2c: E2 E1 00 [13:03:09]MH_I2C_Read... [13:03:09]Read from MH i2c: E2 E1 00 17 00 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [13:03:09]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:03:09]wFMCommunicate OK [13:03:09]SAM_PROTO_GetFMData done [13:03:09]requested_item fm.sale_refund.total is exist - process it [13:03:09]requested_item fm.buy.total is exist - process it [13:03:09]requested_item shift.sale.total is exist - process it [13:03:09]SAM_PROTO_GetShiftData [13:03:09]wFMCommunicate request_size=4 [13:03:09]MH_SAM_APDU [13:03:09]CAPDU: 80 13 02 00 [13:03:09]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [13:03:09]Write i2c OK [13:03:09]MH_I2C_Read... [13:03:10]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:03:10]Read from MH i2c: E2 [13:03:10]MH_I2C_Read... [13:03:10]Read from MH i2c: E2 FD 00 [13:03:10]MH_I2C_Read... [13:03:10]Read from MH i2c: E2 FD 00 18 00 00 AE 04 AA 04 AA 04 6E 04 04 00 18 00 00 00 69 04 9B 00 6F 04 04 00 18 00 00 00 B1 04 03 00 B8 57 0D 70 04 03 00 F8 01 0B 72 04 03 00 C0 55 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C1 6A 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 38 1E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 40 [13:03:10]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 18 00 00 00 69 04 9B 00 6F 04 04 00 18 00 00 00 B1 04 03 00 B8 57 0D 70 04 03 00 F8 01 0B 72 04 03 00 C0 55 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C1 6A 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 38 1E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [13:03:10]wFMCommunicate OK [13:03:10]wFMCommunicate request_size=4 [13:03:10]MH_SAM_APDU [13:03:10]CAPDU: 80 17 00 00 [13:03:10]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [13:03:10]Write i2c OK [13:03:10]MH_I2C_Read... [13:03:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:03:10]Read from MH i2c: E2 [13:03:10]MH_I2C_Read... [13:03:10]Read from MH i2c: E2 FD 00 [13:03:10]MH_I2C_Read... [13:03:10]Read from MH i2c: E2 FD 00 19 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 BB [13:03:10]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [13:03:10]wFMCommunicate OK [13:03:10]wFMCommunicate request_size=4 [13:03:10]MH_SAM_APDU [13:03:10]CAPDU: 80 17 00 00 [13:03:10]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [13:03:10]Write i2c OK [13:03:10]MH_I2C_Read... [13:03:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:03:10]Read from MH i2c: E2 [13:03:10]MH_I2C_Read... [13:03:10]Read from MH i2c: E2 FD 00 [13:03:10]MH_I2C_Read... [13:03:10]Read from MH i2c: E2 FD 00 1A 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 51 [13:03:10]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [13:03:10]wFMCommunicate OK [13:03:10]wFMCommunicate request_size=4 [13:03:10]MH_SAM_APDU [13:03:10]CAPDU: 80 17 00 00 [13:03:10]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [13:03:10]Write i2c OK [13:03:10]MH_I2C_Read... [13:03:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:03:10]Read from MH i2c: E2 [13:03:10]MH_I2C_Read... [13:03:10]Read from MH i2c: E2 FD 00 [13:03:10]MH_I2C_Read... [13:03:10]Read from MH i2c: E2 FD 00 1B 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 0D [13:03:10]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [13:03:10]wFMCommunicate OK [13:03:10]wFMCommunicate request_size=4 [13:03:10]MH_SAM_APDU [13:03:10]CAPDU: 80 17 00 00 [13:03:10]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [13:03:10]Write i2c OK [13:03:10]MH_I2C_Read... [13:03:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [13:03:11]Read from MH i2c: E2 [13:03:11]MH_I2C_Read... [13:03:11]Read from MH i2c: E2 CB 00 [13:03:11]MH_I2C_Read... [13:03:11]Read from MH i2c: E2 CB 00 1C 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [13:03:11]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:03:11]wFMCommunicate OK [13:03:11]SAM_PROTO_GetShiftData done [13:03:11]requested_item shift.sale.total_cash is exist - process it [13:03:11]requested_item shift.sale_refund.total is exist - process it [13:03:11]requested_item shift.sale_refund.total_cash is exist - process it [13:03:11]requested_item shift.buy.total is exist - process it [13:03:11]requested_item shift.buy.total_cash is exist - process it [13:03:11]produce_requested_data done [13:03:11]produce_requested_data return {"fm.sale.total":14767207.01,"fm.sale_refund.total":369163.00,"fm.buy.total":0.00,"shift.sale.total":8744.24,"shift.sale.total_cash":7214.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} [13:03:11]process_action_free get_value [13:03:11]json_value_free [13:03:11]json_value_free done [13:03:11]process_json_proto returns [13:03:11]Send response to host [13:03:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":14767207.01,"fm.sale_refund.total":369163.00,"fm.buy.total":0.00,"shift.sale.total":8744.24,"shift.sale.total_cash":7214.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}}} [13:03:11]free response buf [13:03:11]execute_script done [13:03:11]execute_script returns [13:03:11]free content buf [13:03:11]Sock 7.Close socket [13:03:11]Sock 7.Thread stoped [13:03:11]OFD Sender: No OFD packet to send [13:03:16]OFD Sender: No OFD packet to send [13:03:21]OFD Sender: No OFD packet to send [13:03:26]OFD Sender: No OFD packet to send [13:03:31]OFD Sender: No OFD packet to send [13:03:36]OFD Sender: No OFD packet to send [13:03:41]OFD Sender: No OFD packet to send [13:03:46]OFD Sender: No OFD packet to send [13:03:51]OFD Sender: No OFD packet to send [13:03:56]OFD Sender: No OFD packet to send [13:04:01]OFD Sender: No OFD packet to send [13:04:06]OFD Sender: No OFD packet to send [13:04:11]OFD Sender: No OFD packet to send [13:04:16]OFD Sender: No OFD packet to send [13:04:21]OFD Sender: No OFD packet to send [13:04:26]OFD Sender: No OFD packet to send [13:04:31]OFD Sender: No OFD packet to send [13:04:36]OFD Sender: No OFD packet to send [13:04:41]OFD Sender: No OFD packet to send [13:04:46]OFD Sender: No OFD packet to send [13:04:51]OFD Sender: No OFD packet to send [13:04:56]OFD Sender: No OFD packet to send [13:05:01]OFD Sender: No OFD packet to send [13:05:06]OFD Sender: No OFD packet to send [13:05:11]OFD Sender: No OFD packet to send [13:05:16]OFD Sender: No OFD packet to send [13:05:21]OFD Sender: No OFD packet to send [13:05:26]OFD Sender: No OFD packet to send [13:05:31]OFD Sender: No OFD packet to send [13:05:36]OFD Sender: No OFD packet to send [13:05:41]OFD Sender: No OFD packet to send [13:05:46]OFD Sender: No OFD packet to send [13:05:51]OFD Sender: No OFD packet to send [13:05:56]OFD Sender: No OFD packet to send [13:06:01]OFD Sender: No OFD packet to send [13:06:06]OFD Sender: No OFD packet to send [13:06:11]OFD Sender: No OFD packet to send [13:06:16]OFD Sender: No OFD packet to send [13:06:21]OFD Sender: No OFD packet to send [13:06:26]OFD Sender: No OFD packet to send [13:06:31]OFD Sender: No OFD packet to send [13:06:36]OFD Sender: No OFD packet to send [13:06:41]OFD Sender: No OFD packet to send [13:06:46]OFD Sender: No OFD packet to send [13:06:51]OFD Sender: No OFD packet to send [13:06:56]OFD Sender: No OFD packet to send [13:07:01]OFD Sender: No OFD packet to send [13:07:06]OFD Sender: No OFD packet to send [13:07:11]OFD Sender: No OFD packet to send [13:07:16]OFD Sender: No OFD packet to send [13:07:21]OFD Sender: No OFD packet to send [13:07:26]OFD Sender: No OFD packet to send [13:07:31]OFD Sender: No OFD packet to send [13:07:36]OFD Sender: No OFD packet to send [13:07:41]OFD Sender: No OFD packet to send [13:07:46]OFD Sender: No OFD packet to send [13:07:52]OFD Sender: No OFD packet to send [13:07:57]OFD Sender: No OFD packet to send [13:08:02]OFD Sender: No OFD packet to send [13:08:07]OFD Sender: No OFD packet to send [13:08:12]OFD Sender: No OFD packet to send [13:08:17]OFD Sender: No OFD packet to send [13:08:22]OFD Sender: No OFD packet to send [13:08:27]OFD Sender: No OFD packet to send [13:08:32]OFD Sender: No OFD packet to send [13:08:37]OFD Sender: No OFD packet to send [13:08:42]OFD Sender: No OFD packet to send [13:08:47]OFD Sender: No OFD packet to send [13:08:52]OFD Sender: No OFD packet to send [13:08:57]OFD Sender: No OFD packet to send [13:09:02]OFD Sender: No OFD packet to send [13:09:07]OFD Sender: No OFD packet to send [13:09:12]OFD Sender: No OFD packet to send [13:09:17]OFD Sender: No OFD packet to send [13:09:22]OFD Sender: No OFD packet to send [13:09:27]OFD Sender: No OFD packet to send [13:09:32]OFD Sender: No OFD packet to send [13:09:37]OFD Sender: No OFD packet to send [13:09:42]OFD Sender: No OFD packet to send [13:09:47]OFD Sender: No OFD packet to send [13:09:52]OFD Sender: No OFD packet to send [13:09:57]OFD Sender: No OFD packet to send [13:10:02]OFD Sender: No OFD packet to send [13:10:07]OFD Sender: No OFD packet to send [13:10:12]OFD Sender: No OFD packet to send [13:10:17]OFD Sender: No OFD packet to send [13:10:22]OFD Sender: No OFD packet to send [13:10:27]OFD Sender: No OFD packet to send [13:10:32]OFD Sender: No OFD packet to send [13:10:37]OFD Sender: No OFD packet to send [13:10:42]OFD Sender: No OFD packet to send [13:10:47]OFD Sender: No OFD packet to send [13:10:52]OFD Sender: No OFD packet to send [13:10:57]OFD Sender: No OFD packet to send [13:11:02]OFD Sender: No OFD packet to send [13:11:07]OFD Sender: No OFD packet to send [13:11:12]OFD Sender: No OFD packet to send [13:11:17]OFD Sender: No OFD packet to send [13:11:22]OFD Sender: No OFD packet to send [13:11:27]OFD Sender: No OFD packet to send [13:11:32]OFD Sender: No OFD packet to send [13:11:37]OFD Sender: No OFD packet to send [13:11:42]OFD Sender: No OFD packet to send [13:11:47]OFD Sender: No OFD packet to send [13:11:52]OFD Sender: No OFD packet to send [13:11:57]OFD Sender: No OFD packet to send [13:12:02]OFD Sender: No OFD packet to send [13:12:07]OFD Sender: No OFD packet to send [13:12:12]OFD Sender: No OFD packet to send [13:12:17]OFD Sender: No OFD packet to send [13:12:22]OFD Sender: No OFD packet to send [13:12:27]OFD Sender: No OFD packet to send [13:12:32]OFD Sender: No OFD packet to send [13:12:37]OFD Sender: No OFD packet to send [13:12:42]OFD Sender: No OFD packet to send [13:12:47]OFD Sender: No OFD packet to send [13:12:52]OFD Sender: No OFD packet to send [13:12:57]OFD Sender: No OFD packet to send [13:13:02]OFD Sender: No OFD packet to send [13:13:07]OFD Sender: No OFD packet to send [13:13:12]OFD Sender: No OFD packet to send [13:13:17]OFD Sender: No OFD packet to send [13:13:22]OFD Sender: No OFD packet to send [13:13:27]OFD Sender: No OFD packet to send [13:13:32]OFD Sender: No OFD packet to send [13:13:37]OFD Sender: No OFD packet to send [13:13:42]OFD Sender: No OFD packet to send [13:13:47]OFD Sender: No OFD packet to send [13:13:52]OFD Sender: No OFD packet to send [13:13:57]OFD Sender: No OFD packet to send [13:14:02]OFD Sender: No OFD packet to send [13:14:07]OFD Sender: No OFD packet to send [13:14:12]OFD Sender: No OFD packet to send [13:14:17]OFD Sender: No OFD packet to send [13:14:22]OFD Sender: No OFD packet to send [13:14:27]OFD Sender: No OFD packet to send [13:14:32]OFD Sender: No OFD packet to send [13:14:37]OFD Sender: No OFD packet to send [13:14:42]OFD Sender: No OFD packet to send [13:14:47]OFD Sender: No OFD packet to send [13:14:52]OFD Sender: No OFD packet to send [13:14:57]OFD Sender: No OFD packet to send [13:15:02]OFD Sender: No OFD packet to send [13:15:07]OFD Sender: No OFD packet to send [13:15:12]OFD Sender: No OFD packet to send [13:15:17]OFD Sender: No OFD packet to send [13:15:22]OFD Sender: No OFD packet to send [13:15:27]OFD Sender: No OFD packet to send [13:15:32]OFD Sender: No OFD packet to send [13:15:37]OFD Sender: No OFD packet to send [13:15:42]OFD Sender: No OFD packet to send [13:15:47]OFD Sender: No OFD packet to send [13:15:52]OFD Sender: No OFD packet to send [13:15:57]OFD Sender: No OFD packet to send [13:16:02]OFD Sender: No OFD packet to send [13:16:07]OFD Sender: No OFD packet to send [13:16:12]OFD Sender: No OFD packet to send [13:16:17]OFD Sender: No OFD packet to send [13:16:22]OFD Sender: No OFD packet to send [13:16:27]OFD Sender: No OFD packet to send [13:16:32]OFD Sender: No OFD packet to send [13:16:37]OFD Sender: No OFD packet to send [13:16:42]OFD Sender: No OFD packet to send [13:16:47]OFD Sender: No OFD packet to send [13:16:52]OFD Sender: No OFD packet to send [13:16:57]OFD Sender: No OFD packet to send [13:17:02]OFD Sender: No OFD packet to send [13:17:07]OFD Sender: No OFD packet to send [13:17:12]OFD Sender: No OFD packet to send [13:17:17]OFD Sender: No OFD packet to send [13:17:22]OFD Sender: No OFD packet to send [13:17:27]OFD Sender: No OFD packet to send [13:17:32]OFD Sender: No OFD packet to send [13:17:37]OFD Sender: No OFD packet to send [13:17:42]OFD Sender: No OFD packet to send [13:17:47]OFD Sender: No OFD packet to send [13:17:52]OFD Sender: No OFD packet to send [13:17:57]OFD Sender: No OFD packet to send [13:18:02]OFD Sender: No OFD packet to send [13:18:07]OFD Sender: No OFD packet to send [13:18:12]OFD Sender: No OFD packet to send [13:18:17]OFD Sender: No OFD packet to send [13:18:22]OFD Sender: No OFD packet to send [13:18:27]OFD Sender: No OFD packet to send [13:18:32]OFD Sender: No OFD packet to send [13:18:37]OFD Sender: No OFD packet to send [13:18:42]OFD Sender: No OFD packet to send [13:18:47]OFD Sender: No OFD packet to send [13:18:52]OFD Sender: No OFD packet to send [13:18:57]OFD Sender: No OFD packet to send [13:19:02]OFD Sender: No OFD packet to send [13:19:07]OFD Sender: No OFD packet to send [13:19:12]OFD Sender: No OFD packet to send [13:19:17]OFD Sender: No OFD packet to send [13:19:22]OFD Sender: No OFD packet to send [13:19:27]OFD Sender: No OFD packet to send [13:19:32]OFD Sender: No OFD packet to send [13:19:37]OFD Sender: No OFD packet to send [13:19:42]OFD Sender: No OFD packet to send [13:19:47]OFD Sender: No OFD packet to send [13:19:52]OFD Sender: No OFD packet to send [13:19:57]OFD Sender: No OFD packet to send [13:20:02]OFD Sender: No OFD packet to send [13:20:07]OFD Sender: No OFD packet to send [13:20:12]OFD Sender: No OFD packet to send [13:20:17]OFD Sender: No OFD packet to send [13:20:22]OFD Sender: No OFD packet to send [13:20:27]OFD Sender: No OFD packet to send [13:20:32]OFD Sender: No OFD packet to send [13:20:37]OFD Sender: No OFD packet to send [13:20:42]OFD Sender: No OFD packet to send [13:20:47]OFD Sender: No OFD packet to send [13:20:52]OFD Sender: No OFD packet to send [13:20:57]OFD Sender: No OFD packet to send [13:21:02]OFD Sender: No OFD packet to send [13:21:07]OFD Sender: No OFD packet to send [13:21:12]OFD Sender: No OFD packet to send [13:21:17]OFD Sender: No OFD packet to send [13:21:22]OFD Sender: No OFD packet to send [13:21:27]OFD Sender: No OFD packet to send [13:21:32]OFD Sender: No OFD packet to send [13:21:37]OFD Sender: No OFD packet to send [13:21:42]OFD Sender: No OFD packet to send [13:21:47]OFD Sender: No OFD packet to send [13:21:52]OFD Sender: No OFD packet to send [13:21:57]OFD Sender: No OFD packet to send [13:22:02]OFD Sender: No OFD packet to send [13:22:07]OFD Sender: No OFD packet to send [13:22:12]OFD Sender: No OFD packet to send [13:22:17]OFD Sender: No OFD packet to send [13:22:22]OFD Sender: No OFD packet to send [13:22:27]OFD Sender: No OFD packet to send [13:22:32]OFD Sender: No OFD packet to send [13:22:37]OFD Sender: No OFD packet to send [13:22:42]OFD Sender: No OFD packet to send [13:22:47]OFD Sender: No OFD packet to send [13:22:52]OFD Sender: No OFD packet to send [13:22:58]OFD Sender: No OFD packet to send [13:23:03]OFD Sender: No OFD packet to send [13:23:08]OFD Sender: No OFD packet to send [13:23:13]OFD Sender: No OFD packet to send [13:23:18]OFD Sender: No OFD packet to send [13:23:23]OFD Sender: No OFD packet to send [13:23:28]OFD Sender: No OFD packet to send [13:23:33]OFD Sender: No OFD packet to send [13:23:38]OFD Sender: No OFD packet to send [13:23:43]OFD Sender: No OFD packet to send [13:23:48]OFD Sender: No OFD packet to send [13:23:53]OFD Sender: No OFD packet to send [13:23:58]OFD Sender: No OFD packet to send [13:24:03]OFD Sender: No OFD packet to send [13:24:08]OFD Sender: No OFD packet to send [13:24:13]OFD Sender: No OFD packet to send [13:24:18]OFD Sender: No OFD packet to send [13:24:23]OFD Sender: No OFD packet to send [13:24:28]OFD Sender: No OFD packet to send [13:24:33]OFD Sender: No OFD packet to send [13:24:38]OFD Sender: No OFD packet to send [13:24:43]OFD Sender: No OFD packet to send [13:24:48]OFD Sender: No OFD packet to send [13:24:53]OFD Sender: No OFD packet to send [13:24:58]OFD Sender: No OFD packet to send [13:25:03]OFD Sender: No OFD packet to send [13:25:08]OFD Sender: No OFD packet to send [13:25:13]OFD Sender: No OFD packet to send [13:25:18]OFD Sender: No OFD packet to send [13:25:23]OFD Sender: No OFD packet to send [13:25:28]OFD Sender: No OFD packet to send [13:25:33]OFD Sender: No OFD packet to send [13:25:38]OFD Sender: No OFD packet to send [13:25:43]OFD Sender: No OFD packet to send [13:25:48]OFD Sender: No OFD packet to send [13:25:53]OFD Sender: No OFD packet to send [13:25:58]OFD Sender: No OFD packet to send [13:26:03]OFD Sender: No OFD packet to send [13:26:08]OFD Sender: No OFD packet to send [13:26:13]OFD Sender: No OFD packet to send [13:26:18]OFD Sender: No OFD packet to send [13:26:23]OFD Sender: No OFD packet to send [13:26:28]OFD Sender: No OFD packet to send [13:26:33]OFD Sender: No OFD packet to send [13:26:38]OFD Sender: No OFD packet to send [13:26:43]OFD Sender: No OFD packet to send [13:26:48]OFD Sender: No OFD packet to send [13:26:53]OFD Sender: No OFD packet to send [13:26:58]OFD Sender: No OFD packet to send [13:27:03]OFD Sender: No OFD packet to send [13:27:08]OFD Sender: No OFD packet to send [13:27:13]OFD Sender: No OFD packet to send [13:27:18]OFD Sender: No OFD packet to send [13:27:23]OFD Sender: No OFD packet to send [13:27:28]OFD Sender: No OFD packet to send [13:27:33]OFD Sender: No OFD packet to send [13:27:38]OFD Sender: No OFD packet to send [13:27:43]OFD Sender: No OFD packet to send [13:27:48]OFD Sender: No OFD packet to send [13:27:53]OFD Sender: No OFD packet to send [13:27:58]OFD Sender: No OFD packet to send [13:28:03]OFD Sender: No OFD packet to send [13:28:08]OFD Sender: No OFD packet to send [13:28:13]OFD Sender: No OFD packet to send [13:28:18]OFD Sender: No OFD packet to send [13:28:23]OFD Sender: No OFD packet to send [13:28:28]OFD Sender: No OFD packet to send [13:28:33]OFD Sender: No OFD packet to send [13:28:38]OFD Sender: No OFD packet to send [13:28:43]OFD Sender: No OFD packet to send [13:28:48]OFD Sender: No OFD packet to send [13:28:53]OFD Sender: No OFD packet to send [13:28:58]OFD Sender: No OFD packet to send [13:29:03]OFD Sender: No OFD packet to send [13:29:08]OFD Sender: No OFD packet to send [13:29:13]OFD Sender: No OFD packet to send [13:29:18]OFD Sender: No OFD packet to send [13:29:23]OFD Sender: No OFD packet to send [13:29:28]OFD Sender: No OFD packet to send [13:29:33]OFD Sender: No OFD packet to send [13:29:38]OFD Sender: No OFD packet to send [13:29:43]OFD Sender: No OFD packet to send [13:29:48]OFD Sender: No OFD packet to send [13:29:53]OFD Sender: No OFD packet to send [13:29:58]OFD Sender: No OFD packet to send [13:30:03]OFD Sender: No OFD packet to send [13:30:08]OFD Sender: No OFD packet to send [13:30:13]OFD Sender: No OFD packet to send [13:30:18]OFD Sender: No OFD packet to send [13:30:23]OFD Sender: No OFD packet to send [13:30:28]OFD Sender: No OFD packet to send [13:30:33]OFD Sender: No OFD packet to send [13:30:38]OFD Sender: No OFD packet to send [13:30:43]OFD Sender: No OFD packet to send [13:30:48]OFD Sender: No OFD packet to send [13:30:53]OFD Sender: No OFD packet to send [13:30:58]OFD Sender: No OFD packet to send [13:31:03]OFD Sender: No OFD packet to send [13:31:08]OFD Sender: No OFD packet to send [13:31:13]OFD Sender: No OFD packet to send [13:31:18]OFD Sender: No OFD packet to send [13:31:23]OFD Sender: No OFD packet to send [13:31:28]OFD Sender: No OFD packet to send [13:31:33]OFD Sender: No OFD packet to send [13:31:38]OFD Sender: No OFD packet to send [13:31:43]OFD Sender: No OFD packet to send [13:31:48]OFD Sender: No OFD packet to send [13:31:53]OFD Sender: No OFD packet to send [13:31:58]OFD Sender: No OFD packet to send [13:32:03]OFD Sender: No OFD packet to send [13:32:08]OFD Sender: No OFD packet to send [13:32:13]OFD Sender: No OFD packet to send [13:32:18]OFD Sender: No OFD packet to send [13:32:23]OFD Sender: No OFD packet to send [13:32:28]OFD Sender: No OFD packet to send [13:32:33]OFD Sender: No OFD packet to send [13:32:38]OFD Sender: No OFD packet to send [13:32:43]OFD Sender: No OFD packet to send [13:32:48]OFD Sender: No OFD packet to send [13:32:53]OFD Sender: No OFD packet to send [13:32:58]OFD Sender: No OFD packet to send [13:33:03]OFD Sender: No OFD packet to send [13:33:08]OFD Sender: No OFD packet to send [13:33:13]OFD Sender: No OFD packet to send [13:33:18]OFD Sender: No OFD packet to send [13:33:23]OFD Sender: No OFD packet to send [13:33:28]OFD Sender: No OFD packet to send [13:33:33]OFD Sender: No OFD packet to send [13:33:38]OFD Sender: No OFD packet to send [13:33:43]OFD Sender: No OFD packet to send [13:33:48]OFD Sender: No OFD packet to send [13:33:53]OFD Sender: No OFD packet to send [13:33:58]OFD Sender: No OFD packet to send [13:34:03]OFD Sender: No OFD packet to send [13:34:08]OFD Sender: No OFD packet to send [13:34:13]OFD Sender: No OFD packet to send [13:34:18]OFD Sender: No OFD packet to send [13:34:23]OFD Sender: No OFD packet to send [13:34:28]OFD Sender: No OFD packet to send [13:34:33]OFD Sender: No OFD packet to send [13:34:38]OFD Sender: No OFD packet to send [13:34:43]OFD Sender: No OFD packet to send [13:34:48]OFD Sender: No OFD packet to send [13:34:53]OFD Sender: No OFD packet to send [13:34:58]OFD Sender: No OFD packet to send [13:35:03]OFD Sender: No OFD packet to send [13:35:08]OFD Sender: No OFD packet to send [13:35:13]OFD Sender: No OFD packet to send [13:35:18]OFD Sender: No OFD packet to send [13:35:23]OFD Sender: No OFD packet to send [13:35:28]OFD Sender: No OFD packet to send [13:35:33]OFD Sender: No OFD packet to send [13:35:38]OFD Sender: No OFD packet to send [13:35:43]OFD Sender: No OFD packet to send [13:35:48]OFD Sender: No OFD packet to send [13:35:53]OFD Sender: No OFD packet to send [13:35:58]OFD Sender: No OFD packet to send [13:36:03]OFD Sender: No OFD packet to send [13:36:08]OFD Sender: No OFD packet to send [13:36:13]OFD Sender: No OFD packet to send [13:36:18]OFD Sender: No OFD packet to send [13:36:23]OFD Sender: No OFD packet to send [13:36:28]OFD Sender: No OFD packet to send [13:36:33]OFD Sender: No OFD packet to send [13:36:38]OFD Sender: No OFD packet to send [13:36:43]OFD Sender: No OFD packet to send [13:36:48]OFD Sender: No OFD packet to send [13:36:53]OFD Sender: No OFD packet to send [13:36:58]OFD Sender: No OFD packet to send [13:37:03]OFD Sender: No OFD packet to send [13:37:08]OFD Sender: No OFD packet to send [13:37:13]OFD Sender: No OFD packet to send [13:37:18]OFD Sender: No OFD packet to send [13:37:23]OFD Sender: No OFD packet to send [13:37:28]OFD Sender: No OFD packet to send [13:37:33]OFD Sender: No OFD packet to send [13:37:38]OFD Sender: No OFD packet to send [13:37:43]OFD Sender: No OFD packet to send [13:37:48]OFD Sender: No OFD packet to send [13:37:53]OFD Sender: No OFD packet to send [13:37:58]OFD Sender: No OFD packet to send [13:38:04]OFD Sender: No OFD packet to send [13:38:09]OFD Sender: No OFD packet to send [13:38:14]OFD Sender: No OFD packet to send [13:38:19]OFD Sender: No OFD packet to send [13:38:24]OFD Sender: No OFD packet to send [13:38:29]OFD Sender: No OFD packet to send [13:38:34]OFD Sender: No OFD packet to send [13:38:39]OFD Sender: No OFD packet to send [13:38:44]OFD Sender: No OFD packet to send [13:38:49]OFD Sender: No OFD packet to send [13:38:54]OFD Sender: No OFD packet to send [13:38:59]OFD Sender: No OFD packet to send [13:39:04]OFD Sender: No OFD packet to send [13:39:09]OFD Sender: No OFD packet to send [13:39:14]OFD Sender: No OFD packet to send [13:39:19]OFD Sender: No OFD packet to send [13:39:24]OFD Sender: No OFD packet to send [13:39:29]OFD Sender: No OFD packet to send [13:39:34]OFD Sender: No OFD packet to send [13:39:39]OFD Sender: No OFD packet to send [13:39:44]OFD Sender: No OFD packet to send [13:39:49]OFD Sender: No OFD packet to send [13:39:54]OFD Sender: No OFD packet to send [13:39:59]OFD Sender: No OFD packet to send [13:40:04]OFD Sender: No OFD packet to send [13:40:09]OFD Sender: No OFD packet to send [13:40:14]OFD Sender: No OFD packet to send [13:40:19]OFD Sender: No OFD packet to send [13:40:24]OFD Sender: No OFD packet to send [13:40:29]OFD Sender: No OFD packet to send [13:40:34]OFD Sender: No OFD packet to send [13:40:39]OFD Sender: No OFD packet to send [13:40:44]OFD Sender: No OFD packet to send [13:40:49]OFD Sender: No OFD packet to send [13:40:54]OFD Sender: No OFD packet to send [13:40:59]OFD Sender: No OFD packet to send [13:41:04]OFD Sender: No OFD packet to send [13:41:09]OFD Sender: No OFD packet to send [13:41:14]OFD Sender: No OFD packet to send [13:41:19]OFD Sender: No OFD packet to send [13:41:24]OFD Sender: No OFD packet to send [13:41:29]OFD Sender: No OFD packet to send [13:41:34]OFD Sender: No OFD packet to send [13:41:39]OFD Sender: No OFD packet to send [13:41:44]OFD Sender: No OFD packet to send [13:41:49]OFD Sender: No OFD packet to send [13:41:54]OFD Sender: No OFD packet to send [13:41:59]OFD Sender: No OFD packet to send [13:42:04]OFD Sender: No OFD packet to send [13:42:09]OFD Sender: No OFD packet to send [13:42:14]OFD Sender: No OFD packet to send [13:42:19]OFD Sender: No OFD packet to send [13:42:24]OFD Sender: No OFD packet to send [13:42:29]OFD Sender: No OFD packet to send [13:42:34]OFD Sender: No OFD packet to send [13:42:39]OFD Sender: No OFD packet to send [13:42:44]OFD Sender: No OFD packet to send [13:42:49]OFD Sender: No OFD packet to send [13:42:54]OFD Sender: No OFD packet to send [13:42:59]OFD Sender: No OFD packet to send [13:43:04]OFD Sender: No OFD packet to send [13:43:09]OFD Sender: No OFD packet to send [13:43:14]OFD Sender: No OFD packet to send [13:43:19]OFD Sender: No OFD packet to send [13:43:24]OFD Sender: No OFD packet to send [13:43:29]OFD Sender: No OFD packet to send [13:43:34]OFD Sender: No OFD packet to send [13:43:39]OFD Sender: No OFD packet to send [13:43:44]OFD Sender: No OFD packet to send [13:43:49]OFD Sender: No OFD packet to send [13:43:54]OFD Sender: No OFD packet to send [13:43:59]OFD Sender: No OFD packet to send [13:44:04]OFD Sender: No OFD packet to send [13:44:09]OFD Sender: No OFD packet to send [13:44:14]OFD Sender: No OFD packet to send [13:44:19]OFD Sender: No OFD packet to send [13:44:24]OFD Sender: No OFD packet to send [13:44:29]OFD Sender: No OFD packet to send [13:44:34]OFD Sender: No OFD packet to send [13:44:39]OFD Sender: No OFD packet to send [13:44:44]OFD Sender: No OFD packet to send [13:44:49]OFD Sender: No OFD packet to send [13:44:54]OFD Sender: No OFD packet to send [13:44:59]OFD Sender: No OFD packet to send [13:45:04]OFD Sender: No OFD packet to send [13:45:09]OFD Sender: No OFD packet to send [13:45:14]OFD Sender: No OFD packet to send [13:45:19]OFD Sender: No OFD packet to send [13:45:24]OFD Sender: No OFD packet to send [13:45:29]OFD Sender: No OFD packet to send [13:45:34]OFD Sender: No OFD packet to send [13:45:39]OFD Sender: No OFD packet to send [13:45:44]OFD Sender: No OFD packet to send [13:45:49]OFD Sender: No OFD packet to send [13:45:54]OFD Sender: No OFD packet to send [13:45:59]OFD Sender: No OFD packet to send [13:46:04]OFD Sender: No OFD packet to send [13:46:09]OFD Sender: No OFD packet to send [13:46:14]OFD Sender: No OFD packet to send [13:46:19]OFD Sender: No OFD packet to send [13:46:24]OFD Sender: No OFD packet to send [13:46:29]OFD Sender: No OFD packet to send [13:46:34]OFD Sender: No OFD packet to send [13:46:39]OFD Sender: No OFD packet to send [13:46:44]OFD Sender: No OFD packet to send [13:46:49]OFD Sender: No OFD packet to send [13:46:54]OFD Sender: No OFD packet to send [13:46:59]OFD Sender: No OFD packet to send [13:47:04]OFD Sender: No OFD packet to send [13:47:09]OFD Sender: No OFD packet to send [13:47:14]OFD Sender: No OFD packet to send [13:47:19]OFD Sender: No OFD packet to send [13:47:24]OFD Sender: No OFD packet to send [13:47:29]OFD Sender: No OFD packet to send [13:47:34]OFD Sender: No OFD packet to send [13:47:39]OFD Sender: No OFD packet to send [13:47:44]OFD Sender: No OFD packet to send [13:47:49]OFD Sender: No OFD packet to send [13:47:54]OFD Sender: No OFD packet to send [13:47:59]OFD Sender: No OFD packet to send [13:48:04]OFD Sender: No OFD packet to send [13:48:09]OFD Sender: No OFD packet to send [13:48:14]OFD Sender: No OFD packet to send [13:48:19]OFD Sender: No OFD packet to send [13:48:24]OFD Sender: No OFD packet to send [13:48:29]OFD Sender: No OFD packet to send [13:48:34]OFD Sender: No OFD packet to send [13:48:39]OFD Sender: No OFD packet to send [13:48:44]OFD Sender: No OFD packet to send [13:48:49]OFD Sender: No OFD packet to send [13:48:54]OFD Sender: No OFD packet to send [13:48:59]OFD Sender: No OFD packet to send [13:49:04]OFD Sender: No OFD packet to send [13:49:09]OFD Sender: No OFD packet to send [13:49:14]OFD Sender: No OFD packet to send [13:49:19]OFD Sender: No OFD packet to send [13:49:24]OFD Sender: No OFD packet to send [13:49:29]OFD Sender: No OFD packet to send [13:49:34]OFD Sender: No OFD packet to send [13:49:39]OFD Sender: No OFD packet to send [13:49:44]OFD Sender: No OFD packet to send [13:49:49]OFD Sender: No OFD packet to send [13:49:54]OFD Sender: No OFD packet to send [13:49:59]OFD Sender: No OFD packet to send [13:50:04]OFD Sender: No OFD packet to send [13:50:09]OFD Sender: No OFD packet to send [13:50:14]OFD Sender: No OFD packet to send [13:50:19]OFD Sender: No OFD packet to send [13:50:24]OFD Sender: No OFD packet to send [13:50:29]OFD Sender: No OFD packet to send [13:50:34]accept exits with 9 [13:50:34]New connection [13:50:34]New thread 3067473252 created [13:50:34]Thread 3067329892 joined [13:50:34]Waiting for new connection... [13:50:34] Sock 9.Parse request [13:50:34]Sock 9.Check first char [13:50:34]Sock 9.First char is OK [13:50:34]request: POST /json_proto HTTP/1.0 [13:50:34]Method: POST [13:50:34]URL: /json_proto [13:50:34]Method is POST - this is cgi request [13:50:34]url: /json_proto [13:50:34]query_string will be loaded in cgi processing [13:50:34]execute_cgi json_proto POST (null) [13:50:34]execute_cgi path=json_proto method=POST [13:50:34]POST find Content-Length [13:50:34]Host: 172.17.47.135:8080 [13:50:34]Content-Length: 680 [13:50:34]Content-Type: application/json [13:50:34] [13:50:34]POST finish read [13:50:34]Found Content-Length = 680 [13:50:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6545065", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 72.60, "quantity" : 13.780, "sum" : 1000.43, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:50:34]execute_script... [13:50:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6545065", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 72.60, "quantity" : 13.780, "sum" : 1000.43, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:50:34]POST & json_proto [13:50:34]process_json_proto [13:50:34]json parsed OK: [13:50:34]protocol is kg_v1.0 [13:50:34]action value=close_receipt [13:50:34]process_action close_receipt [13:50:34]cmd_close_receipt [13:50:34]MH_GetDate [13:50:34]Write to MH i2c: F0 00 00 1D 00 0C [13:50:34]Write i2c OK [13:50:34]MH_I2C_Read... [13:50:34]Read from MH i2c: F0 [13:50:34]MH_I2C_Read... [13:50:34]Read from MH i2c: F0 09 00 [13:50:34]MH_I2C_Read... [13:50:34]Read from MH i2c: F0 09 00 1D 00 00 AB 84 B8 67 19 D8 DE 66 98 [13:50:34]GetLastDocTimeStamp 1740142738 [13:50:34]current date 1740145835 [13:50:34]FM_GetShiftState [13:50:34]SAM_PROTO_GetShiftState [13:50:34]wFMCommunicate request_size=4 [13:50:34]MH_SAM_APDU [13:50:34]CAPDU: 80 13 01 00 [13:50:34]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [13:50:34]Write i2c OK [13:50:34]MH_I2C_Read... [13:50:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:50:34]Read from MH i2c: E2 [13:50:34]MH_I2C_Read... [13:50:34]Read from MH i2c: E2 0E 00 [13:50:34]MH_I2C_Read... [13:50:34]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 00 [13:50:34]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [13:50:34]wFMCommunicate OK [13:50:34]SAM_PROTO_GetShiftState done [13:50:34]FM_GetShiftState done [13:50:34]opened in 1740096631 [13:50:34]opened+sec_in_day 1740183031 [13:50:34]quantity*price = 100042 [13:50:34]sum+1 = 100044 [13:50:34]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.43 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.24 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 25 21.02.2025 13:50 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32637 ФПД: 212619394477830 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T135035&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32637&fm=212619394477830&tin=02508201610067®Number=0000000000146237&sum=100000 [13:50:35]StoreToDocumentArchive [13:50:35]shift 386 fd 32637 [13:50:35]save to /storage/0386/doc_00032637 [13:50:35]save last doc name /storage/0386/doc_00032637 to /storage/kkm_last_doc_name [13:50:35]save OK [13:50:35]Clear old archive folders... [13:50:35]ProcessDocumentItem done err = 0, tmpTLVsize=248 [13:50:35]tlvbuf is 007F8AF0 [13:50:35]SAM_PROTO_ClearQueue [13:50:35]wFMCommunicate request_size=4 [13:50:35]MH_SAM_APDU [13:50:35]CAPDU: 80 09 00 00 [13:50:35]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [13:50:35]Write i2c OK [13:50:35]MH_I2C_Read... [13:50:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:50:35]Read from MH i2c: E2 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: E2 03 00 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [13:50:35]RAPDU: 90 00 [13:50:35]wFMCommunicate OK [13:50:35]SAM_PROTO_ClearQueue done [13:50:35]KKMCreateOFDPacket [13:50:35]OFDProtocolAddRootSTLVToBuf [13:50:35]FM_MakeSignedData [13:50:35]FM_MakeSignedData [13:50:35]SAM_PROTO_SignData [13:50:35]wFMCommunicate request_size=4 [13:50:35]MH_SAM_APDU [13:50:35]CAPDU: 80 0D 01 02 [13:50:35]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [13:50:35]Write i2c OK [13:50:35]MH_I2C_Read... [13:50:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:50:35]Read from MH i2c: E2 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: E2 03 00 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [13:50:35]RAPDU: 90 00 [13:50:35]wFMCommunicate OK [13:50:35]wFMCommunicate request_size=255 [13:50:35]MH_SAM_APDU [13:50:35]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 32 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 AB 84 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7D 7F 00 00 35 04 06 00 C1 60 4F 7A [13:50:35]Write to MH i2c: E2 02 01 2D 00 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 32 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 AB 84 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7D 7F 00 00 35 04 06 00 C1 60 4F 7A 00 00 12 [13:50:35]Write i2c OK [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: E2 [13:50:35]MH_I2C_Read... [13:50:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:50:35]Read from MH i2c: E2 03 00 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [13:50:35]RAPDU: 90 00 [13:50:35]wFMCommunicate OK [13:50:35]wFMCommunicate request_size=7 [13:50:35]MH_SAM_APDU [13:50:35]CAPDU: 80 0D 02 02 02 EF 06 [13:50:35]Write to MH i2c: E2 0A 00 2E 00 80 0D 02 02 02 00 EF 06 00 00 A1 [13:50:35]Write i2c OK [13:50:35]MH_I2C_Read... [13:50:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:50:35]Read from MH i2c: E2 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: E2 03 00 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [13:50:35]RAPDU: 90 00 [13:50:35]wFMCommunicate OK [13:50:35]wFMCommunicate request_size=4 [13:50:35]MH_SAM_APDU [13:50:35]CAPDU: 80 0D 03 02 [13:50:35]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [13:50:35]Write i2c OK [13:50:35]MH_I2C_Read... [13:50:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:50:35]Read from MH i2c: E2 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: E2 0B 00 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: E2 0B 00 2F 00 00 74 2D 16 3B 24 C4 FF 96 90 00 1A [13:50:35]RAPDU: 74 2D 16 3B 24 C4 FF 96 90 00 [13:50:35]wFMCommunicate OK [13:50:35]SAM_PROTO_SignData done [13:50:35]FM_MakeSignedData done [13:50:35]CreateOFDProtocolMessage [13:50:35]wFMCommunicate request_size=4 [13:50:35]MH_SAM_APDU [13:50:35]CAPDU: 80 11 00 00 [13:50:35]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [13:50:35]Write i2c OK [13:50:35]MH_I2C_Read... [13:50:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:50:35]Read from MH i2c: E2 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: E2 17 00 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 00 [13:50:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [13:50:35]wFMCommunicate OK [13:50:35]CreateOFDProtocolMessage done [13:50:35]OFDSenderStorePacket 32637 [13:50:35]StoreOFDPacket docnum=32637 [13:50:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0C 01 00 00 39 A2 04 01 64 C6 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 32 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 AB 84 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7D 7F 00 00 35 04 06 00 C1 60 4F 7A EF 06 74 2D 16 3B 24 C4 FF 96 [13:50:35]CheckFolder [13:50:35]dirname=/storage/ofd_packets [13:50:35]CheckFolder done [13:50:35]ProducePacketName [13:50:35]name=ofd_packets/00032637 [13:50:35]NVStorageSaveData ofd_packets/00032637 [13:50:35]File name is /storage/ofd_packets/00032637 [13:50:35]Write 298 bytes [13:50:35]NVStorageSaveData done [13:50:35]OFDSenderStorePacket done [13:50:35]KKMCreateOFDPacket done [13:50:35]NVStorageSaveData kkm_last_timestamp [13:50:35]File name is /storage/kkm_last_timestamp [13:50:35]Write 4 bytes [13:50:35]NVStorageSaveData done [13:50:35]ExternCall_PrintAddStr [13:50:35]wPrintStart [13:50:35]Write to MH i2c: 01 00 00 31 00 31 [13:50:35]Write i2c OK [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: 01 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: 01 07 00 [13:50:35]MH_I2C_Read... [13:50:35]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [13:50:35]RasterBufferAndPrint [13:50:35]line Счет N : (1)6545065 [13:50:35]line ИНН: 02508201610067 [13:50:35]line Контрольно-Кассовый Чек [13:50:35]line ПРОДАЖА [13:50:35]line ТРК (МРК, ГНК) : 23 [13:50:35]line Товар: 2710194210 [13:50:35]line ДТ-К-2 [13:50:35]line 13.780 * 72.60 [13:50:35]line = 1000.43 [13:50:35]line НДС 12% НСП 1% [13:50:35]line > о реализуемом товаре [13:50:35]line ОКРУГЛЕНИЕ: -0.43 [13:50:35]line ИТОГО: 1000.00 [13:50:35]line Внесено: 1000.00 [13:50:35]line СДАЧА: 0.00 [13:50:35]line НСП 1% : 8.85 [13:50:35]line НДС 12% : 106.24 [13:50:35]line Наличными: 1000.00 [13:50:35]line Безнал.: 0.00 [13:50:35]line Место: АЗС № 96 "Партнер Нефть" [13:50:35]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [13:50:35]line СНО: Общий режим [13:50:35]line Чек 25 21.02.2025 13:50 [13:50:35]line Смена: 386 ФФД: 1.0 [13:50:35]line ЗНМ: 0300000059 [13:50:35]line РНМ: 0000000000146237 [13:50:35]line Версия ККМ: v1.0 [13:50:35]line ФМ: 0000000000959282 [13:50:35]line ФД: 32637 [13:50:35]line ФПД: 212619394477830 [13:50:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T135035&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32637&fm=212619394477830&tin=02508201610067®Number=0000000000146237&sum=100000 [13:50:35]written 0, free lines is 4095 [13:50:35]OFD Sender: Processing packet 32637 [packets to send 105, broken 104] [13:50:35]ProducePacketName [13:50:35]name=ofd_packets/00032637 [13:50:35]OFD Sender: To server: pG, [13:50:35]CommunicateWithHost lk.salyk.kg:30040 [13:50:35]ConnectInit lk.salyk.kg [13:50:36]Connected sock=10 [13:50:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0C 01 00 00 39 A2 04 01 64 C6 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 32 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 AB 84 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7D 7F 00 00 35 04 06 00 C1 60 4F 7A EF 06 74 2D 16 3B 24 C4 FF 96 [13:50:36]Write to MH i2c: 01 00 00 5C 00 5C [13:50:36]Write i2c OK [13:50:36]MH_I2C_Read... [13:50:36]Read from MH i2c: 01 [13:50:36]MH_I2C_Read... [13:50:36]Read from MH i2c: 01 07 00 [13:50:36]MH_I2C_Read... [13:50:36]Read from MH i2c: 01 07 00 5C 00 00 00 00 00 00 F3 0C 62 [13:50:36]RasterBufferAndPrint [13:50:36]line [13:50:36]line [13:50:36]line [13:50:36]line [13:50:36]line [13:50:36]written 0, free lines is 3321 [13:50:36]MH_Cut [13:50:36]Write to MH i2c: D1 01 00 63 00 01 35 [13:50:36]Write i2c OK [13:50:36]MH_I2C_Read... [13:50:36]Read from MH i2c: D1 [13:50:36]MH_I2C_Read... [13:50:36]Read from MH i2c: D1 01 00 [13:50:36]MH_I2C_Read... [13:50:36]Read from MH i2c: D1 01 00 63 00 00 34 [13:50:36]Write to MH i2c: 01 00 00 64 00 64 [13:50:36]Write i2c OK [13:50:36]MH_I2C_Read... [13:50:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 9B A5 47 00 99 24 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7D 7F 00 00 F4 03 04 00 41 2E B8 67 B6 04 01 00 00 E9 50 0B F8 8F 3B 54 07 [13:50:36]CommunicateWithHost err = 0 [13:50:36]CheckOFDResponse [13:50:36]1017 (14) - 77093643461234 [13:50:36]1041 (16) - 0000000000959282 [13:50:36]1040 (4) - 32637 [13:50:36]1012 (4) - 21.02.2025 07:41 [13:50:36]1206 (1) - 0 [13:50:36]OFD Sender: Remove packet 32637 [13:50:36]ProducePacketName [13:50:36]name=ofd_packets/00032637 [13:50:36]NVStorageDeleteData [13:50:36]OFD Sender: No OFD packet to send [13:50:37]*** Cut start [13:50:37]*** Partial cut [13:50:37]*** CUTSNS_PIN = 1 [13:50:37]*** CUTSNS_PIN = 0 [13:50:37]*** Brake cut motor [13:50:37]Read from MH i2c: 01 [13:50:37]MH_I2C_Read... [13:50:37]*** Stop cut motor [13:50:37]*** Cut end [13:50:37]Read from MH i2c: 01 07 00 [13:50:37]MH_I2C_Read... [13:50:37]Read from MH i2c: 01 07 00 64 00 00 00 00 00 00 FF 0F 79 [13:50:37]process_action close_receipt done [13:50:37]requested_data is exist [13:50:37]produce_requested_data [13:50:37]requested_item fm.sn is exist - process it [13:50:37]wFMCommunicate request_size=4 [13:50:37]MH_SAM_APDU [13:50:37]CAPDU: 80 11 00 00 [13:50:37]Write to MH i2c: E2 08 00 65 00 80 11 00 00 00 00 00 00 DF [13:50:37]Write i2c OK [13:50:37]MH_I2C_Read... [13:50:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:50:37]Read from MH i2c: E2 [13:50:37]MH_I2C_Read... [13:50:37]Read from MH i2c: E2 17 00 [13:50:37]MH_I2C_Read... [13:50:37]Read from MH i2c: E2 17 00 65 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 35 [13:50:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [13:50:37]wFMCommunicate OK [13:50:37]requested_item fd.num is exist - process it [13:50:37]SAM_PROTO_GetFieldsCounters [13:50:37]wFMCommunicate request_size=4 [13:50:37]MH_SAM_APDU [13:50:37]CAPDU: 80 13 00 00 [13:50:37]Write to MH i2c: E2 08 00 66 00 80 13 00 00 00 00 00 00 E2 [13:50:37]Write i2c OK [13:50:37]MH_I2C_Read... [13:50:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:50:37]Read from MH i2c: E2 [13:50:37]MH_I2C_Read... [13:50:37]Read from MH i2c: E2 62 00 [13:50:37]MH_I2C_Read... [13:50:37]Read from MH i2c: E2 62 00 66 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7D 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 CE [13:50: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7D 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:50:37]wFMCommunicate OK [13:50:37]SAM_PROTO_GetFieldsCounters done [13:50:37]requested_item shift.num is exist - process it [13:50:37]requested_item shift.opened is exist - process it [13:50:37]req_shift_opened [13:50:37]FM_GetShiftState [13:50:37]SAM_PROTO_GetShiftState [13:50:37]wFMCommunicate request_size=4 [13:50:37]MH_SAM_APDU [13:50:37]CAPDU: 80 13 01 00 [13:50:37]Write to MH i2c: E2 08 00 67 00 80 13 01 00 00 00 00 00 E4 [13:50:37]Write i2c OK [13:50:37]MH_I2C_Read... [13:50:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:50:37]Read from MH i2c: E2 [13:50:37]MH_I2C_Read... [13:50:37]Read from MH i2c: E2 0E 00 [13:50:37]MH_I2C_Read... [13:50:37]Read from MH i2c: E2 0E 00 67 00 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 49 [13:50:37]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [13:50:37]wFMCommunicate OK [13:50:37]SAM_PROTO_GetShiftState done [13:50:37]FM_GetShiftState done [13:50:37]req_shift_opened done [13:50:37]requested_item shift.open_date is exist - process it [13:50:37]req_shift_open_date [13:50:37]req_shift_open_date done [13:50:37]produce_requested_data done [13:50:37]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32637,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [13:50:37]process_action_free close_receipt [13:50:37]json_value_free [13:50:37]json_value_free done [13:50:37]process_json_proto returns [13:50:37]Send response to host [13:50:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32637,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [13:50:37]free response buf [13:50:37]execute_script done [13:50:37]execute_script returns [13:50:37]free content buf [13:50:37]Sock 9.Close socket [13:50:37]Sock 9.Thread stoped [13:50:41]OFD Sender: No OFD packet to send [13:50:43]accept exits with 7 [13:50:43]New connection [13:50:43]New thread 3067329892 created [13:50:43]Thread 3067473252 joined [13:50:43]Waiting for new connection... [13:50:43] Sock 7.Parse request [13:50:43]Sock 7.Check first char [13:50:43]Sock 7.First char is OK [13:50:43]request: POST /json_proto HTTP/1.0 [13:50:43]Method: POST [13:50:43]URL: /json_proto [13:50:43]Method is POST - this is cgi request [13:50:43]url: /json_proto [13:50:43]query_string will be loaded in cgi processing [13:50:43]execute_cgi json_proto POST (null) [13:50:43]execute_cgi path=json_proto method=POST [13:50:43]POST find Content-Length [13:50:43]Host: 172.17.47.135:8080 [13:50:43]Content-Length: 736 [13:50:43]Content-Type: application/json [13:50:43] [13:50:43]POST finish read [13:50:43]Found Content-Length = 736 [13:50:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 32637, "base_FM": "0000000000959282", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6545065", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 72.60, "quantity" : 13.780, "sum" : 1000.43, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:50:43]execute_script... [13:50:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 32637, "base_FM": "0000000000959282", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6545065", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 23", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 72.60, "quantity" : 13.780, "sum" : 1000.43, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:50:43]POST & json_proto [13:50:43]process_json_proto [13:50:43]json parsed OK: [13:50:43]protocol is kg_v1.0 [13:50:43]action value=close_receipt [13:50:43]process_action close_receipt [13:50:43]cmd_close_receipt [13:50:43]MH_GetDate [13:50:43]Write to MH i2c: F0 00 00 68 00 57 [13:50:43]Write i2c OK [13:50:43]MH_I2C_Read... [13:50:43]Read from MH i2c: F0 [13:50:43]MH_I2C_Read... [13:50:43]Read from MH i2c: F0 09 00 [13:50:43]MH_I2C_Read... [13:50:43]Read from MH i2c: F0 09 00 68 00 00 B4 84 B8 67 19 D8 DE 66 EC [13:50:43]GetLastDocTimeStamp 1740145835 [13:50:43]current date 1740145844 [13:50:43]FM_GetShiftState [13:50:43]SAM_PROTO_GetShiftState [13:50:43]wFMCommunicate request_size=4 [13:50:43]MH_SAM_APDU [13:50:43]CAPDU: 80 13 01 00 [13:50:43]Write to MH i2c: E2 08 00 69 00 80 13 01 00 00 00 00 00 E6 [13:50:43]Write i2c OK [13:50:43]MH_I2C_Read... [13:50:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:50:43]Read from MH i2c: E2 [13:50:43]MH_I2C_Read... [13:50:43]Read from MH i2c: E2 0E 00 [13:50:43]MH_I2C_Read... [13:50:43]Read from MH i2c: E2 0E 00 69 00 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 4B [13:50:43]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [13:50:43]wFMCommunicate OK [13:50:43]SAM_PROTO_GetShiftState done [13:50:43]FM_GetShiftState done [13:50:43]opened in 1740096631 [13:50:43]opened+sec_in_day 1740183031 [13:50:43]quantity*price = 100042 [13:50:43]sum+1 = 100044 [13:50:43]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.43 ИТОГО: 1000.00 НСП 1% : 8.85 НДС 12% : 106.24 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 26 21.02.2025 13:50 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФД осн.: 32637 ФМ осн.: 0000000000959282 ФМ: 0000000000959282 ФД: 32638 ФПД: 156171566028617 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T135044&type=2&operation_type=1&fn_number=0000000000959282&fd_number=32638&fm=156171566028617&tin=02508201610067®Number=0000000000146237&sum=100000 [13:50:44]StoreToDocumentArchive [13:50:44]shift 386 fd 32638 [13:50:44]save to /storage/0386/doc_00032638 [13:50:44]save last doc name /storage/0386/doc_00032638 to /storage/kkm_last_doc_name [13:50:44]save OK [13:50:44]Clear old archive folders... [13:50:44]ProcessDocumentItem done err = 0, tmpTLVsize=276 [13:50:44]tlvbuf is 007ED330 [13:50:44]SAM_PROTO_ClearQueue [13:50:44]wFMCommunicate request_size=4 [13:50:44]MH_SAM_APDU [13:50:44]CAPDU: 80 09 00 00 [13:50:44]Write to MH i2c: E2 08 00 78 00 80 09 00 00 00 00 00 00 EA [13:50:44]Write i2c OK [13:50:44]MH_I2C_Read... [13:50:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:50:44]Read from MH i2c: E2 [13:50:44]MH_I2C_Read... [13:50:44]Read from MH i2c: E2 03 00 [13:50:44]MH_I2C_Read... [13:50:44]Read from MH i2c: E2 03 00 78 00 00 90 00 EC [13:50:44]RAPDU: 90 00 [13:50:44]wFMCommunicate OK [13:50:44]SAM_PROTO_ClearQueue done [13:50:44]KKMCreateOFDPacket [13:50:44]OFDProtocolAddRootSTLVToBuf [13:50:44]FM_MakeSignedData [13:50:44]FM_MakeSignedData [13:50:44]SAM_PROTO_SignData [13:50:44]wFMCommunicate request_size=4 [13:50:44]MH_SAM_APDU [13:50:44]CAPDU: 80 0D 01 02 [13:50:44]Write to MH i2c: E2 08 00 79 00 80 0D 01 02 00 00 00 00 F2 [13:50:44]Write i2c OK [13:50:44]MH_I2C_Read... [13:50:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:50:44]Read from MH i2c: E2 [13:50:44]MH_I2C_Read... [13:50:44]Read from MH i2c: E2 03 00 [13:50:44]MH_I2C_Read... [13:50:44]Read from MH i2c: E2 03 00 79 00 00 90 00 ED [13:50:44]RAPDU: 90 00 [13:50:44]wFMCommunicate OK [13:50:44]wFMCommunicate request_size=255 [13:50:44]MH_SAM_APDU [13:50:44]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 02 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 32 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 B4 84 B8 67 0E 04 04 00 82 01 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 33 37 27 04 04 00 7D 7F 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 11 04 10 00 30 30 30 30 [13:50:44]Write to MH i2c: E2 02 01 7A 00 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 02 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 32 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 B4 84 B8 67 0E 04 04 00 82 01 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 33 37 27 04 04 00 7D 7F 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 11 04 10 00 30 30 30 30 00 00 71 [13:50:44]Write i2c OK [13:50:44]MH_I2C_Read... [13:50:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:50:44]Read from MH i2c: E2 [13:50:44]MH_I2C_Read... [13:50:44]Read from MH i2c: E2 03 00 [13:50:44]MH_I2C_Read... [13:50:44]Read from MH i2c: E2 03 00 7A 00 00 90 00 EE [13:50:44]RAPDU: 90 00 [13:50:44]wFMCommunicate OK [13:50:44]wFMCommunicate request_size=35 [13:50:44]MH_SAM_APDU [13:50:44]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7E 7F 00 00 35 04 06 00 8E 09 86 B7 97 49 [13:50:44]Write to MH i2c: E2 26 00 7B 00 80 0D 02 02 1E 00 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7E 7F 00 00 35 04 06 00 8E 09 86 B7 97 49 00 00 9C [13:50:44]Write i2c OK [13:50:44]MH_I2C_Read... [13:50:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:50:44]Read from MH i2c: E2 [13:50:44]MH_I2C_Read... [13:50:44]Read from MH i2c: E2 03 00 [13:50:44]MH_I2C_Read... [13:50:44]Read from MH i2c: E2 03 00 7B 00 00 90 00 EF [13:50:44]RAPDU: 90 00 [13:50:44]wFMCommunicate OK [13:50:44]wFMCommunicate request_size=4 [13:50:44]MH_SAM_APDU [13:50:44]CAPDU: 80 0D 03 02 [13:50:44]Write to MH i2c: E2 08 00 7C 00 80 0D 03 02 00 00 00 00 F7 [13:50:44]Write i2c OK [13:50:44]MH_I2C_Read... [13:50:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:50:45]Read from MH i2c: E2 [13:50:45]MH_I2C_Read... [13:50:45]Read from MH i2c: E2 0B 00 [13:50:45]MH_I2C_Read... [13:50:45]Read from MH i2c: E2 0B 00 7C 00 00 D1 E6 44 B9 1F A4 BC 53 90 00 7E [13:50:45]RAPDU: D1 E6 44 B9 1F A4 BC 53 90 00 [13:50:45]wFMCommunicate OK [13:50:45]SAM_PROTO_SignData done [13:50:45]FM_MakeSignedData done [13:50:45]CreateOFDProtocolMessage [13:50:45]wFMCommunicate request_size=4 [13:50:45]MH_SAM_APDU [13:50:45]CAPDU: 80 11 00 00 [13:50:45]Write to MH i2c: E2 08 00 7D 00 80 11 00 00 00 00 00 00 F7 [13:50:45]Write i2c OK [13:50:45]MH_I2C_Read... [13:50:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:50:45]Read from MH i2c: E2 [13:50:45]MH_I2C_Read... [13:50:45]Read from MH i2c: E2 17 00 [13:50:45]MH_I2C_Read... [13:50:45]Read from MH i2c: E2 17 00 7D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 4D [13:50:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [13:50:45]wFMCommunicate OK [13:50:45]CreateOFDProtocolMessage done [13:50:45]OFDSenderStorePacket 32638 [13:50:45]StoreOFDPacket docnum=32638 [13:50:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 28 01 00 00 69 B5 20 01 0F 68 5A 03 01 00 03 00 14 01 1E 04 01 00 02 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 32 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 B4 84 B8 67 0E 04 04 00 82 01 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 33 37 27 04 04 00 7D 7F 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7E 7F 00 00 35 04 06 00 8E 09 86 B7 97 49 D1 E6 44 B9 1F A4 BC 53 [13:50:45]CheckFolder [13:50:45]dirname=/storage/ofd_packets [13:50:45]CheckFolder done [13:50:45]ProducePacketName [13:50:45]name=ofd_packets/00032638 [13:50:45]NVStorageSaveData ofd_packets/00032638 [13:50:45]File name is /storage/ofd_packets/00032638 [13:50:45]Write 326 bytes [13:50:45]NVStorageSaveData done [13:50:45]OFDSenderStorePacket done [13:50:45]KKMCreateOFDPacket done [13:50:45]NVStorageSaveData kkm_last_timestamp [13:50:45]File name is /storage/kkm_last_timestamp [13:50:45]Write 4 bytes [13:50:45]NVStorageSaveData done [13:50:45]ExternCall_PrintAddStr [13:50:45]wPrintStart [13:50:45]Write to MH i2c: 01 00 00 7E 00 7E [13:50:45]Write i2c OK [13:50:45]MH_I2C_Read... [13:50:45]Read from MH i2c: 01 [13:50:45]MH_I2C_Read... [13:50:45]Read from MH i2c: 01 07 00 [13:50:45]MH_I2C_Read... [13:50:45]Read from MH i2c: 01 07 00 7E 00 00 00 00 00 00 FF 0F 93 [13:50:45]RasterBufferAndPrint [13:50:45]line Счет N : (1)6545065 [13:50:45]line ИНН: 02508201610067 [13:50:45]line Контрольно-Кассовый Чек [13:50:45]line ВОЗВРАТ ПРОДАЖИ [13:50:45]line ТРК (МРК, ГНК) : 23 [13:50:45]line Товар: 2710194210 [13:50:45]line ДТ-К-2 [13:50:45]line 13.780 * 72.60 [13:50:45]line = 1000.43 [13:50:45]line НДС 12% НСП 1% [13:50:45]line > о реализуемом товаре [13:50:45]line ОКРУГЛЕНИЕ: -0.43 [13:50:45]line ИТОГО: 1000.00 [13:50:45]line НСП 1% : 8.85 [13:50:45]line НДС 12% : 106.24 [13:50:45]line Наличными: 1000.00 [13:50:45]line Безнал.: 0.00 [13:50:45]line Место: АЗС № 96 "Партнер Нефть" [13:50:45]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [13:50:45]line СНО: Общий режим [13:50:45]line Чек 26 21.02.2025 13:50 [13:50:45]line Смена: 386 ФФД: 1.0 [13:50:45]line ЗНМ: 0300000059 [13:50:45]line РНМ: 0000000000146237 [13:50:45]line Версия ККМ: v1.0 [13:50:45]line ФД осн.: 32637 [13:50:45]line ФМ осн.: 0000000000959282 [13:50:45]line ФМ: 0000000000959282 [13:50:45]line ФД: 32638 [13:50:45]line ФПД: 156171566028617 [13:50:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T135044&type=2&operation_type=1&fn_number=0000000000959282&fd_number=32638&fm=156171566028617&tin=02508201610067®Number=0000000000146237&sum=100000 [13:50:45]written 0, free lines is 4095 [13:50:45]OFD Sender: Processing packet 32638 [packets to send 105, broken 104] [13:50:45]ProducePacketName [13:50:45]name=ofd_packets/00032638 [13:50:45]OFD Sender: To server: pG, [13:50:45]CommunicateWithHost lk.salyk.kg:30040 [13:50:45]ConnectInit lk.salyk.kg [13:50:45]Connected sock=10 [13:50: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 32 38 32 28 01 00 00 69 B5 20 01 0F 68 5A 03 01 00 03 00 14 01 1E 04 01 00 02 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 32 FF 03 08 00 03 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 B4 84 B8 67 0E 04 04 00 82 01 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 33 37 27 04 04 00 7D 7F 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7E 7F 00 00 35 04 06 00 8E 09 86 B7 97 49 D1 E6 44 B9 1F A4 BC 53 [13:50:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 1B 79 47 00 3F 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 32 38 32 10 04 04 00 7E 7F 00 00 F4 03 04 00 4A 2E B8 67 B6 04 01 00 00 FD 98 2C 82 A8 34 CF E6 [13:50:45]CommunicateWithHost err = 0 [13:50:45]CheckOFDResponse [13:50:45]1017 (14) - 77093643461234 [13:50:45]1041 (16) - 0000000000959282 [13:50:45]1040 (4) - 32638 [13:50:45]1012 (4) - 21.02.2025 07:42 [13:50:45]1206 (1) - 0 [13:50:45]OFD Sender: Remove packet 32638 [13:50:45]ProducePacketName [13:50:45]name=ofd_packets/00032638 [13:50:45]NVStorageDeleteData [13:50:45]Write to MH i2c: 01 00 00 A9 00 A9 [13:50:45]Write i2c OK [13:50:45]MH_I2C_Read... [13:50:45]Read from MH i2c: 01 [13:50:45]MH_I2C_Read... [13:50:45]Read from MH i2c: 01 07 00 [13:50:45]MH_I2C_Read... [13:50:45]Read from MH i2c: 01 07 00 A9 00 00 00 00 00 00 2F 0D EC [13:50:45]RasterBufferAndPrint [13:50:45]line [13:50:45]line [13:50:45]line [13:50:45]line [13:50:45]line [13:50:45]written 0, free lines is 3384 [13:50:45]MH_Cut [13:50:45]Write to MH i2c: D1 01 00 B0 00 01 82 [13:50:45]Write i2c OK [13:50:45]MH_I2C_Read... [13:50:45]Read from MH i2c: D1 [13:50:45]MH_I2C_Read... [13:50:45]Read from MH i2c: D1 01 00 [13:50:45]MH_I2C_Read... [13:50:45]Read from MH i2c: D1 01 00 B0 00 00 81 [13:50:45]Write to MH i2c: 01 00 00 B1 00 B1 [13:50:45]Write i2c OK [13:50:45]MH_I2C_Read... [13:50:46]OFD Sender: No OFD packet to send [13:50:46]*** Cut start [13:50:46]*** Partial cut [13:50:46]*** CUTSNS_PIN = 1 [13:50:46]*** CUTSNS_PIN = 0 [13:50:46]*** Brake cut motor [13:50:46]Read from MH i2c: 01 [13:50:46]MH_I2C_Read... [13:50:46]*** Stop cut motor [13:50:46]*** Cut end [13:50:46]Read from MH i2c: 01 07 00 [13:50:46]MH_I2C_Read... [13:50:46]Read from MH i2c: 01 07 00 B1 00 00 00 00 00 00 FF 0F C6 [13:50:46]process_action close_receipt done [13:50:46]requested_data is exist [13:50:46]produce_requested_data [13:50:46]requested_item fm.sn is exist - process it [13:50:46]wFMCommunicate request_size=4 [13:50:46]MH_SAM_APDU [13:50:46]CAPDU: 80 11 00 00 [13:50:46]Write to MH i2c: E2 08 00 B2 00 80 11 00 00 00 00 00 00 2C [13:50:46]Write i2c OK [13:50:46]MH_I2C_Read... [13:50:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:50:46]Read from MH i2c: E2 [13:50:46]MH_I2C_Read... [13:50:46]Read from MH i2c: E2 17 00 [13:50:46]MH_I2C_Read... [13:50:46]Read from MH i2c: E2 17 00 B2 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 82 [13:50:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [13:50:46]wFMCommunicate OK [13:50:46]requested_item fd.num is exist - process it [13:50:46]SAM_PROTO_GetFieldsCounters [13:50:46]wFMCommunicate request_size=4 [13:50:46]MH_SAM_APDU [13:50:46]CAPDU: 80 13 00 00 [13:50:46]Write to MH i2c: E2 08 00 B3 00 80 13 00 00 00 00 00 00 2F [13:50:46]Write i2c OK [13:50:46]MH_I2C_Read... [13:50:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:50:47]Read from MH i2c: E2 [13:50:47]MH_I2C_Read... [13:50:47]Read from MH i2c: E2 62 00 [13:50:47]MH_I2C_Read... [13:50:47]Read from MH i2c: E2 62 00 B3 00 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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7E 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 1F [13:50: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7E 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:50:47]wFMCommunicate OK [13:50:47]SAM_PROTO_GetFieldsCounters done [13:50:47]requested_item shift.num is exist - process it [13:50:47]requested_item shift.opened is exist - process it [13:50:47]req_shift_opened [13:50:47]FM_GetShiftState [13:50:47]SAM_PROTO_GetShiftState [13:50:47]wFMCommunicate request_size=4 [13:50:47]MH_SAM_APDU [13:50:47]CAPDU: 80 13 01 00 [13:50:47]Write to MH i2c: E2 08 00 B4 00 80 13 01 00 00 00 00 00 31 [13:50:47]Write i2c OK [13:50:47]MH_I2C_Read... [13:50:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:50:47]Read from MH i2c: E2 [13:50:47]MH_I2C_Read... [13:50:47]Read from MH i2c: E2 0E 00 [13:50:47]MH_I2C_Read... [13:50:47]Read from MH i2c: E2 0E 00 B4 00 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 96 [13:50:47]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [13:50:47]wFMCommunicate OK [13:50:47]SAM_PROTO_GetShiftState done [13:50:47]FM_GetShiftState done [13:50:47]req_shift_opened done [13:50:47]requested_item shift.open_date is exist - process it [13:50:47]req_shift_open_date [13:50:47]req_shift_open_date done [13:50:47]produce_requested_data done [13:50:47]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32638,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [13:50:47]process_action_free close_receipt [13:50:47]json_value_free [13:50:47]json_value_free done [13:50:47]process_json_proto returns [13:50:47]Send response to host [13:50:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32638,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [13:50:47]free response buf [13:50:47]execute_script done [13:50:47]execute_script returns [13:50:47]free content buf [13:50:47]Sock 7.Close socket [13:50:47]Sock 7.Thread stoped [13:50:51]OFD Sender: No OFD packet to send [13:50:56]OFD Sender: No OFD packet to send [13:51:01]OFD Sender: No OFD packet to send [13:51:06]OFD Sender: No OFD packet to send [13:51:11]OFD Sender: No OFD packet to send [13:51:16]OFD Sender: No OFD packet to send [13:51:21]OFD Sender: No OFD packet to send [13:51:25]accept exits with 9 [13:51:25]New connection [13:51:25]New thread 3067473252 created [13:51:25]Thread 3067329892 joined [13:51:25]Waiting for new connection... [13:51:25] Sock 9.Parse request [13:51:25]Sock 9.Check first char [13:51:25]Sock 9.First char is OK [13:51:25]request: POST /json_proto HTTP/1.0 [13:51:25]Method: POST [13:51:25]URL: /json_proto [13:51:25]Method is POST - this is cgi request [13:51:25]url: /json_proto [13:51:25]query_string will be loaded in cgi processing [13:51:25]execute_cgi json_proto POST (null) [13:51:25]execute_cgi path=json_proto method=POST [13:51:25]POST find Content-Length [13:51:25]Host: 172.17.47.135:8080 [13:51:25]Content-Length: 817 [13:51:25]Content-Type: application/json [13:51:25] [13:51:25]POST finish read [13:51:25]Found Content-Length = 817 [13:51:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6545066", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 7.790, "sum" : 500.12, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 500.12 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:51:25]execute_script... [13:51:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6545066", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 7.790, "sum" : 500.12, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 500.12 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:51:25]POST & json_proto [13:51:25]process_json_proto [13:51:25]json parsed OK: [13:51:25]protocol is kg_v1.0 [13:51:25]action value=close_receipt [13:51:25]process_action close_receipt [13:51:25]cmd_close_receipt [13:51:25]MH_GetDate [13:51:25]Write to MH i2c: F0 00 00 B5 00 A4 [13:51:25]Write i2c OK [13:51:25]MH_I2C_Read... [13:51:25]Read from MH i2c: F0 [13:51:25]MH_I2C_Read... [13:51:25]Read from MH i2c: F0 09 00 [13:51:25]MH_I2C_Read... [13:51:25]Read from MH i2c: F0 09 00 B5 00 00 DE 84 B8 67 19 D8 DE 66 63 [13:51:25]GetLastDocTimeStamp 1740145844 [13:51:25]current date 1740145886 [13:51:25]FM_GetShiftState [13:51:25]SAM_PROTO_GetShiftState [13:51:25]wFMCommunicate request_size=4 [13:51:25]MH_SAM_APDU [13:51:25]CAPDU: 80 13 01 00 [13:51:25]Write to MH i2c: E2 08 00 B6 00 80 13 01 00 00 00 00 00 33 [13:51:25]Write i2c OK [13:51:25]MH_I2C_Read... [13:51:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:51:25]Read from MH i2c: E2 [13:51:25]MH_I2C_Read... [13:51:25]Read from MH i2c: E2 0E 00 [13:51:25]MH_I2C_Read... [13:51:25]Read from MH i2c: E2 0E 00 B6 00 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 98 [13:51:25]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [13:51:25]wFMCommunicate OK [13:51:25]SAM_PROTO_GetShiftState done [13:51:25]FM_GetShiftState done [13:51:25]opened in 1740096631 [13:51:25]opened+sec_in_day 1740183031 [13:51:25]quantity*price = 50011 [13:51:25]sum+1 = 50013 [13:51:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.12 НСП 1% : 4.43 НДС 12% : 53.11 Наличными: 0.00 Безнал.: 500.12 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 27 21.02.2025 13:51 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32639 ФПД: 37028521100564 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T135126&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32639&fm=37028521100564&tin=02508201610067®Number=0000000000146237&sum=50012 [13:51:26]StoreToDocumentArchive [13:51:26]shift 386 fd 32639 [13:51:26]save to /storage/0386/doc_00032639 [13:51:26]save last doc name /storage/0386/doc_00032639 to /storage/kkm_last_doc_name [13:51:26]save OK [13:51:26]Clear old archive folders... [13:51:26]ProcessDocumentItem done err = 0, tmpTLVsize=251 [13:51:26]tlvbuf is 007E62A0 [13:51:26]SAM_PROTO_ClearQueue [13:51:26]wFMCommunicate request_size=4 [13:51:26]MH_SAM_APDU [13:51:26]CAPDU: 80 09 00 00 [13:51:26]Write to MH i2c: E2 08 00 C3 00 80 09 00 00 00 00 00 00 35 [13:51:26]Write i2c OK [13:51:26]MH_I2C_Read... [13:51:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:51:26]Read from MH i2c: E2 [13:51:26]MH_I2C_Read... [13:51:26]Read from MH i2c: E2 03 00 [13:51:26]MH_I2C_Read... [13:51:26]Read from MH i2c: E2 03 00 C3 00 00 90 00 37 [13:51:26]RAPDU: 90 00 [13:51:26]wFMCommunicate OK [13:51:26]SAM_PROTO_ClearQueue done [13:51:26]KKMCreateOFDPacket [13:51:26]OFDProtocolAddRootSTLVToBuf [13:51:26]FM_MakeSignedData [13:51:26]FM_MakeSignedData [13:51:26]SAM_PROTO_SignData [13:51:26]wFMCommunicate request_size=4 [13:51:26]MH_SAM_APDU [13:51:26]CAPDU: 80 0D 01 02 [13:51:26]Write to MH i2c: E2 08 00 C4 00 80 0D 01 02 00 00 00 00 3D [13:51:26]Write i2c OK [13:51:26]MH_I2C_Read... [13:51:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:51:26]Read from MH i2c: E2 [13:51:26]MH_I2C_Read... [13:51:26]Read from MH i2c: E2 03 00 [13:51:26]MH_I2C_Read... [13:51:26]Read from MH i2c: E2 03 00 C4 00 00 90 00 38 [13:51:26]RAPDU: 90 00 [13:51:26]wFMCommunicate OK [13:51:26]wFMCommunicate request_size=255 [13:51:26]MH_SAM_APDU [13:51:26]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 6E 1E 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5C C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 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 00 00 00 00 00 00 39 04 06 00 5C C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 DE 84 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7F 7F 00 00 35 04 06 00 21 [13:51:26]Write to MH i2c: E2 02 01 C5 00 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 6E 1E 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5C C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 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 00 00 00 00 00 00 39 04 06 00 5C C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 DE 84 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7F 7F 00 00 35 04 06 00 21 00 00 2B [13:51:26]Write i2c OK [13:51:26]MH_I2C_Read... [13:51:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:51:27]Read from MH i2c: E2 [13:51:27]MH_I2C_Read... [13:51:27]Read from MH i2c: E2 03 00 [13:51:27]MH_I2C_Read... [13:51:27]Read from MH i2c: E2 03 00 C5 00 00 90 00 39 [13:51:27]RAPDU: 90 00 [13:51:27]wFMCommunicate OK [13:51:27]wFMCommunicate request_size=10 [13:51:27]MH_SAM_APDU [13:51:27]CAPDU: 80 0D 02 02 05 AD 5F D8 C5 14 [13:51:27]Write to MH i2c: E2 0D 00 C6 00 80 0D 02 02 05 00 AD 5F D8 C5 14 00 00 07 [13:51:27]Write i2c OK [13:51:27]MH_I2C_Read... [13:51:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:51:27]Read from MH i2c: E2 [13:51:27]MH_I2C_Read... [13:51:27]Read from MH i2c: E2 03 00 [13:51:27]MH_I2C_Read... [13:51:27]Read from MH i2c: E2 03 00 C6 00 00 90 00 3A [13:51:27]RAPDU: 90 00 [13:51:27]wFMCommunicate OK [13:51:27]wFMCommunicate request_size=4 [13:51:27]MH_SAM_APDU [13:51:27]CAPDU: 80 0D 03 02 [13:51:27]Write to MH i2c: E2 08 00 C7 00 80 0D 03 02 00 00 00 00 42 [13:51:27]Write i2c OK [13:51:27]MH_I2C_Read... [13:51:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:51:27]Read from MH i2c: E2 [13:51:27]MH_I2C_Read... [13:51:27]Read from MH i2c: E2 0B 00 [13:51:27]MH_I2C_Read... [13:51:27]Read from MH i2c: E2 0B 00 C7 00 00 F7 25 1B 79 B0 FE FC 8E 90 00 2B [13:51:27]RAPDU: F7 25 1B 79 B0 FE FC 8E 90 00 [13:51:27]wFMCommunicate OK [13:51:27]SAM_PROTO_SignData done [13:51:27]FM_MakeSignedData done [13:51:27]CreateOFDProtocolMessage [13:51:27]wFMCommunicate request_size=4 [13:51:27]MH_SAM_APDU [13:51:27]CAPDU: 80 11 00 00 [13:51:27]Write to MH i2c: E2 08 00 C8 00 80 11 00 00 00 00 00 00 42 [13:51:27]Write i2c OK [13:51:27]MH_I2C_Read... [13:51:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:51:27]Read from MH i2c: E2 [13:51:27]MH_I2C_Read... [13:51:27]Read from MH i2c: E2 17 00 [13:51:27]MH_I2C_Read... [13:51:27]Read from MH i2c: E2 17 00 C8 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 98 [13:51:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [13:51:27]wFMCommunicate OK [13:51:27]CreateOFDProtocolMessage done [13:51:27]OFDSenderStorePacket 32639 [13:51:27]StoreOFDPacket docnum=32639 [13:51:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 9F 97 07 01 8C A6 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 6E 1E 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5C C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 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 00 00 00 00 00 00 39 04 06 00 5C C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 DE 84 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7F 7F 00 00 35 04 06 00 21 AD 5F D8 C5 14 F7 25 1B 79 B0 FE FC 8E [13:51:27]CheckFolder [13:51:27]dirname=/storage/ofd_packets [13:51:27]CheckFolder done [13:51:27]ProducePacketName [13:51:27]name=ofd_packets/00032639 [13:51:27]NVStorageSaveData ofd_packets/00032639 [13:51:27]File name is /storage/ofd_packets/00032639 [13:51:27]Write 301 bytes [13:51:27]NVStorageSaveData done [13:51:27]OFDSenderStorePacket done [13:51:27]KKMCreateOFDPacket done [13:51:27]NVStorageSaveData kkm_last_timestamp [13:51:27]File name is /storage/kkm_last_timestamp [13:51:27]Write 4 bytes [13:51:27]NVStorageSaveData done [13:51:27]ExternCall_PrintAddStr [13:51:27]wPrintStart [13:51:27]Write to MH i2c: 01 00 00 C9 00 C9 [13:51:27]Write i2c OK [13:51:27]MH_I2C_Read... [13:51:27]Read from MH i2c: 01 [13:51:27]MH_I2C_Read... [13:51:27]Read from MH i2c: 01 07 00 [13:51:27]MH_I2C_Read... [13:51:27]Read from MH i2c: 01 07 00 C9 00 00 00 00 00 00 FF 0F DE [13:51:27]RasterBufferAndPrint [13:51:27]line Счет N : (1)6545066 [13:51:27]line ИНН: 02508201610067 [13:51:27]line Контрольно-Кассовый Чек [13:51:27]line ПРОДАЖА [13:51:27]line ТРК (МРК, ГНК) : 32 [13:51:27]line Товар: 2710124130 [13:51:27]line Аи-92-К-5 [13:51:27]line 7.790 * 64.20 [13:51:27]line = 500.12 [13:51:27]line НДС 12% НСП 1% [13:51:27]line > о реализуемом товаре [13:51:27]line ИТОГО: 500.12 [13:51:27]line НСП 1% : 4.43 [13:51:27]line НДС 12% : 53.11 [13:51:27]line Наличными: 0.00 [13:51:27]line Безнал.: 500.12 [13:51:27]line Место: АЗС № 96 "Партнер Нефть" [13:51:27]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [13:51:27]line СНО: Общий режим [13:51:27]line Чек 27 21.02.2025 13:51 [13:51:27]line Смена: 386 ФФД: 1.0 [13:51:27]line ЗНМ: 0300000059 [13:51:27]line РНМ: 0000000000146237 [13:51:27]line Версия ККМ: v1.0 [13:51:27]line Платежная система: Бакай Банк [13:51:27]line ФМ: 0000000000959282 [13:51:27]line ФД: 32639 [13:51:27]line ФПД: 37028521100564 [13:51:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T135126&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32639&fm=37028521100564&tin=02508201610067®Number=0000000000146237&sum=50012 [13:51:27]OFD Sender: Processing packet 32639 [packets to send 105, broken 104] [13:51:27]ProducePacketName [13:51:27]name=ofd_packets/00032639 [13:51:27]OFD Sender: To server: pG, [13:51:27]CommunicateWithHost lk.salyk.kg:30040 [13:51:27]ConnectInit lk.salyk.kg [13:51:27]written 0, free lines is 4095 [13:51:27]Connected sock=10 [13:51: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 32 38 32 0F 01 00 00 9F 97 07 01 8C A6 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 6E 1E 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5C C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 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 00 00 00 00 00 00 39 04 06 00 5C C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 DE 84 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 7F 7F 00 00 35 04 06 00 21 AD 5F D8 C5 14 F7 25 1B 79 B0 FE FC 8E [13:51:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 4D 2F 47 00 AD 85 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 32 38 32 10 04 04 00 7F 7F 00 00 F4 03 04 00 75 2E B8 67 B6 04 01 00 00 9C 26 8C 3F 89 62 58 66 [13:51:28]CommunicateWithHost err = 0 [13:51:28]CheckOFDResponse [13:51:28]1017 (14) - 77093643461234 [13:51:28]1041 (16) - 0000000000959282 [13:51:28]1040 (4) - 32639 [13:51:28]1012 (4) - 21.02.2025 07:42 [13:51:28]1206 (1) - 0 [13:51:28]OFD Sender: Remove packet 32639 [13:51:28]ProducePacketName [13:51:28]name=ofd_packets/00032639 [13:51:28]NVStorageDeleteData [13:51:28]Write to MH i2c: 01 00 00 F3 00 F3 [13:51:28]Write i2c OK [13:51:28]MH_I2C_Read... [13:51:28]Read from MH i2c: 01 [13:51:28]MH_I2C_Read... [13:51:28]Read from MH i2c: 01 07 00 [13:51:28]MH_I2C_Read... [13:51:28]Read from MH i2c: 01 07 00 F3 00 00 00 00 00 00 0F 0D 16 [13:51:28]RasterBufferAndPrint [13:51:28]line [13:51:28]line [13:51:28]line [13:51:28]line [13:51:28]line [13:51:28]written 0, free lines is 3350 [13:51:28]MH_Cut [13:51:28]Write to MH i2c: D1 01 00 FA 00 01 CC [13:51:28]Write i2c OK [13:51:28]MH_I2C_Read... [13:51:28]Read from MH i2c: D1 [13:51:28]MH_I2C_Read... [13:51:28]Read from MH i2c: D1 01 00 [13:51:28]MH_I2C_Read... [13:51:28]Read from MH i2c: D1 01 00 FA 00 00 CB [13:51:28]Write to MH i2c: 01 00 00 FB 00 FB [13:51:28]Write i2c OK [13:51:28]MH_I2C_Read... [13:51:28]OFD Sender: No OFD packet to send [13:51:28]*** Cut start [13:51:28]*** Partial cut [13:51:28]*** CUTSNS_PIN = 1 [13:51:28]*** CUTSNS_PIN = 0 [13:51:29]*** Brake cut motor [13:51:29]Read from MH i2c: 01 [13:51:29]MH_I2C_Read... [13:51:29]*** Stop cut motor [13:51:29]*** Cut end [13:51:29]Read from MH i2c: 01 07 00 [13:51:29]MH_I2C_Read... [13:51:29]Read from MH i2c: 01 07 00 FB 00 00 00 00 00 00 FF 0F 10 [13:51:29]process_action close_receipt done [13:51:29]requested_data is exist [13:51:29]produce_requested_data [13:51:29]requested_item fm.sn is exist - process it [13:51:29]wFMCommunicate request_size=4 [13:51:29]MH_SAM_APDU [13:51:29]CAPDU: 80 11 00 00 [13:51:29]Write to MH i2c: E2 08 00 FC 00 80 11 00 00 00 00 00 00 76 [13:51:29]Write i2c OK [13:51:29]MH_I2C_Read... [13:51:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:51:29]Read from MH i2c: E2 [13:51:29]MH_I2C_Read... [13:51:29]Read from MH i2c: E2 17 00 [13:51:29]MH_I2C_Read... [13:51:29]Read from MH i2c: E2 17 00 FC 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 CC [13:51:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [13:51:29]wFMCommunicate OK [13:51:29]requested_item fd.num is exist - process it [13:51:29]SAM_PROTO_GetFieldsCounters [13:51:29]wFMCommunicate request_size=4 [13:51:29]MH_SAM_APDU [13:51:29]CAPDU: 80 13 00 00 [13:51:29]Write to MH i2c: E2 08 00 FD 00 80 13 00 00 00 00 00 00 79 [13:51:29]Write i2c OK [13:51:29]MH_I2C_Read... [13:51:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:51:29]Read from MH i2c: E2 [13:51:29]MH_I2C_Read... [13:51:29]Read from MH i2c: E2 62 00 [13:51:29]MH_I2C_Read... [13:51:29]Read from MH i2c: E2 62 00 FD 00 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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7F 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 6D [13:51:29]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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 7F 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:51:29]wFMCommunicate OK [13:51:29]SAM_PROTO_GetFieldsCounters done [13:51:29]requested_item shift.num is exist - process it [13:51:29]requested_item shift.opened is exist - process it [13:51:29]req_shift_opened [13:51:29]FM_GetShiftState [13:51:29]SAM_PROTO_GetShiftState [13:51:29]wFMCommunicate request_size=4 [13:51:29]MH_SAM_APDU [13:51:29]CAPDU: 80 13 01 00 [13:51:29]Write to MH i2c: E2 08 00 FE 00 80 13 01 00 00 00 00 00 7B [13:51:29]Write i2c OK [13:51:29]MH_I2C_Read... [13:51:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:51:29]Read from MH i2c: E2 [13:51:29]MH_I2C_Read... [13:51:29]Read from MH i2c: E2 0E 00 [13:51:29]MH_I2C_Read... [13:51:29]Read from MH i2c: E2 0E 00 FE 00 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 E0 [13:51:29]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [13:51:29]wFMCommunicate OK [13:51:29]SAM_PROTO_GetShiftState done [13:51:29]FM_GetShiftState done [13:51:29]req_shift_opened done [13:51:29]requested_item shift.open_date is exist - process it [13:51:29]req_shift_open_date [13:51:29]req_shift_open_date done [13:51:29]produce_requested_data done [13:51:29]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32639,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [13:51:29]process_action_free close_receipt [13:51:29]json_value_free [13:51:29]json_value_free done [13:51:29]process_json_proto returns [13:51:29]Send response to host [13:51:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32639,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [13:51:29]free response buf [13:51:29]execute_script done [13:51:29]execute_script returns [13:51:29]free content buf [13:51:29]Sock 9.Close socket [13:51:29]Sock 9.Thread stoped [13:51:33]OFD Sender: No OFD packet to send [13:51:38]OFD Sender: No OFD packet to send [13:51:43]OFD Sender: No OFD packet to send [13:51:48]OFD Sender: No OFD packet to send [13:51:53]OFD Sender: No OFD packet to send [13:51:58]OFD Sender: No OFD packet to send [13:52:03]OFD Sender: No OFD packet to send [13:52:08]OFD Sender: No OFD packet to send [13:52:13]OFD Sender: No OFD packet to send [13:52:18]OFD Sender: No OFD packet to send [13:52:23]OFD Sender: No OFD packet to send [13:52:28]OFD Sender: No OFD packet to send [13:52:33]OFD Sender: No OFD packet to send [13:52:38]OFD Sender: No OFD packet to send [13:52:43]OFD Sender: No OFD packet to send [13:52:48]OFD Sender: No OFD packet to send [13:52:53]OFD Sender: No OFD packet to send [13:52:58]OFD Sender: No OFD packet to send [13:53:03]OFD Sender: No OFD packet to send [13:53:08]OFD Sender: No OFD packet to send [13:53:13]OFD Sender: No OFD packet to send [13:53:18]OFD Sender: No OFD packet to send [13:53:23]OFD Sender: No OFD packet to send [13:53:28]OFD Sender: No OFD packet to send [13:53:33]OFD Sender: No OFD packet to send [13:53:38]OFD Sender: No OFD packet to send [13:53:43]OFD Sender: No OFD packet to send [13:53:48]OFD Sender: No OFD packet to send [13:53:53]OFD Sender: No OFD packet to send [13:53:58]OFD Sender: No OFD packet to send [13:54:03]OFD Sender: No OFD packet to send [13:54:08]OFD Sender: No OFD packet to send [13:54:13]OFD Sender: No OFD packet to send [13:54:18]OFD Sender: No OFD packet to send [13:54:23]OFD Sender: No OFD packet to send [13:54:28]OFD Sender: No OFD packet to send [13:54:33]OFD Sender: No OFD packet to send [13:54:38]OFD Sender: No OFD packet to send [13:54:43]OFD Sender: No OFD packet to send [13:54:48]OFD Sender: No OFD packet to send [13:54:53]OFD Sender: No OFD packet to send [13:54:58]OFD Sender: No OFD packet to send [13:55:03]OFD Sender: No OFD packet to send [13:55:08]OFD Sender: No OFD packet to send [13:55:13]OFD Sender: No OFD packet to send [13:55:18]OFD Sender: No OFD packet to send [13:55:23]OFD Sender: No OFD packet to send [13:55:28]OFD Sender: No OFD packet to send [13:55:33]OFD Sender: No OFD packet to send [13:55:38]OFD Sender: No OFD packet to send [13:55:43]OFD Sender: No OFD packet to send [13:55:48]OFD Sender: No OFD packet to send [13:55:53]OFD Sender: No OFD packet to send [13:55:58]OFD Sender: No OFD packet to send [13:56:03]OFD Sender: No OFD packet to send [13:56:08]OFD Sender: No OFD packet to send [13:56:13]OFD Sender: No OFD packet to send [13:56:18]OFD Sender: No OFD packet to send [13:56:23]OFD Sender: No OFD packet to send [13:56:28]OFD Sender: No OFD packet to send [13:56:33]OFD Sender: No OFD packet to send [13:56:38]OFD Sender: No OFD packet to send [13:56:43]OFD Sender: No OFD packet to send [13:56:48]OFD Sender: No OFD packet to send [13:56:53]OFD Sender: No OFD packet to send [13:56:58]OFD Sender: No OFD packet to send [13:57:03]OFD Sender: No OFD packet to send [13:57:08]OFD Sender: No OFD packet to send [13:57:13]OFD Sender: No OFD packet to send [13:57:18]OFD Sender: No OFD packet to send [13:57:23]OFD Sender: No OFD packet to send [13:57:27]accept exits with 7 [13:57:27]New connection [13:57:27]New thread 3067329892 created [13:57:27]Thread 3067473252 joined [13:57:27]Waiting for new connection... [13:57:27] Sock 7.Parse request [13:57:27]Sock 7.Check first char [13:57:27]Sock 7.First char is OK [13:57:27]request: POST /json_proto HTTP/1.0 [13:57:27]Method: POST [13:57:27]URL: /json_proto [13:57:27]Method is POST - this is cgi request [13:57:27]url: /json_proto [13:57:27]query_string will be loaded in cgi processing [13:57:27]execute_cgi json_proto POST (null) [13:57:27]execute_cgi path=json_proto method=POST [13:57:27]POST find Content-Length [13:57:27]Host: 172.17.47.135:8080 [13:57:27]Content-Length: 702 [13:57:27]Content-Type: application/json [13:57:27] [13:57:27]POST finish read [13:57:27]Found Content-Length = 702 [13:57:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130847", "tax_sys" : 0, "items" : [ { "code": "4700000482757", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fr \u0433\u0430\u0437 \u043C\u0430\u043D\u0433,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 94.00, "quantity" : 2.000, "sum" : 188.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 188.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:57:27]execute_script... [13:57:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130847", "tax_sys" : 0, "items" : [ { "code": "4700000482757", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fr \u0433\u0430\u0437 \u043C\u0430\u043D\u0433,\u043A\u043B\u0443\u0431 \u0436/\u0431 0,45\u043B", "price" : 94.00, "quantity" : 2.000, "sum" : 188.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 188.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:57:27]POST & json_proto [13:57:27]process_json_proto [13:57:27]json parsed OK: [13:57:27]protocol is kg_v1.0 [13:57:27]action value=close_receipt [13:57:27]process_action close_receipt [13:57:27]cmd_close_receipt [13:57:27]MH_GetDate [13:57:27]Write to MH i2c: F0 00 00 FF 00 EE [13:57:27]Write i2c OK [13:57:27]MH_I2C_Read... [13:57:27]Read from MH i2c: F0 [13:57:27]MH_I2C_Read... [13:57:27]Read from MH i2c: F0 09 00 [13:57:27]MH_I2C_Read... [13:57:27]Read from MH i2c: F0 09 00 FF 00 00 49 86 B8 67 19 D8 DE 66 1A [13:57:27]GetLastDocTimeStamp 1740145886 [13:57:27]current date 1740146249 [13:57:27]FM_GetShiftState [13:57:27]SAM_PROTO_GetShiftState [13:57:27]wFMCommunicate request_size=4 [13:57:27]MH_SAM_APDU [13:57:27]CAPDU: 80 13 01 00 [13:57:27]Write to MH i2c: E2 08 00 00 01 80 13 01 00 00 00 00 00 7E [13:57:27]Write i2c OK [13:57:27]MH_I2C_Read... [13:57:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:57:27]Read from MH i2c: E2 [13:57:27]MH_I2C_Read... [13:57:27]Read from MH i2c: E2 0E 00 [13:57:27]MH_I2C_Read... [13:57:27]Read from MH i2c: E2 0E 00 00 01 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 E3 [13:57:27]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [13:57:27]wFMCommunicate OK [13:57:27]SAM_PROTO_GetShiftState done [13:57:27]FM_GetShiftState done [13:57:27]opened in 1740096631 [13:57:27]opened+sec_in_day 1740183031 [13:57:27]quantity*price = 18800 [13:57:27]sum+1 = 18801 [13:57:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 188.00 НСП 1% : 1.66 НДС 12% : 19.96 Наличными: 188.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 28 21.02.2025 13:57 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32640 ФПД: 123347602442768 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T135729&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32640&fm=123347602442768&tin=02508201610067®Number=0000000000146237&sum=18800 0 [13:57:29]StoreToDocumentArchive [13:57:29]shift 386 fd 32640 [13:57:29]save to /storage/0386/doc_00032640 [13:57:29]save last doc name /storage/0386/doc_00032640 to /storage/kkm_last_doc_name [13:57:29]save OK [13:57:29]Clear old archive folders... [13:57:29]ProcessDocumentItem done err = 0, tmpTLVsize=303 [13:57:29]tlvbuf is 00805230 [13:57:29]SAM_PROTO_ClearQueue [13:57:29]wFMCommunicate request_size=4 [13:57:29]MH_SAM_APDU [13:57:29]CAPDU: 80 09 00 00 [13:57:29]Write to MH i2c: E2 08 00 0D 01 80 09 00 00 00 00 00 00 80 [13:57:29]Write i2c OK [13:57:29]MH_I2C_Read... [13:57:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:57:29]Read from MH i2c: E2 [13:57:29]MH_I2C_Read... [13:57:29]Read from MH i2c: E2 03 00 [13:57:29]MH_I2C_Read... [13:57:29]Read from MH i2c: E2 03 00 0D 01 00 90 00 82 [13:57:29]RAPDU: 90 00 [13:57:29]wFMCommunicate OK [13:57:29]SAM_PROTO_ClearQueue done [13:57:29]KKMCreateOFDPacket [13:57:29]OFDProtocolAddRootSTLVToBuf [13:57:29]FM_MakeSignedData [13:57:29]FM_MakeSignedData [13:57:29]SAM_PROTO_SignData [13:57:29]wFMCommunicate request_size=4 [13:57:29]MH_SAM_APDU [13:57:29]CAPDU: 80 0D 01 02 [13:57:29]Write to MH i2c: E2 08 00 0E 01 80 0D 01 02 00 00 00 00 88 [13:57:29]Write i2c OK [13:57:29]MH_I2C_Read... [13:57:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:57:29]Read from MH i2c: E2 [13:57:29]MH_I2C_Read... [13:57:29]Read from MH i2c: E2 03 00 [13:57:29]MH_I2C_Read... [13:57:29]Read from MH i2c: E2 03 00 0E 01 00 90 00 83 [13:57:29]RAPDU: 90 00 [13:57:29]wFMCommunicate OK [13:57:29]wFMCommunicate request_size=255 [13:57:29]MH_SAM_APDU [13:57:29]CAPDU: 80 0D 02 02 FA 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 35 37 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 BC D0 B0 D0 BD D0 B3 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 70 49 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CC 07 00 00 00 00 07 04 06 00 70 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 49 86 B8 67 0E 04 04 00 82 01 00 00 B9 04 01 00 01 0D [13:57:29]Write to MH i2c: E2 02 01 0F 01 80 0D 02 02 FA 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 35 37 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 BC D0 B0 D0 BD D0 B3 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 70 49 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CC 07 00 00 00 00 07 04 06 00 70 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 49 86 B8 67 0E 04 04 00 82 01 00 00 B9 04 01 00 01 0D 00 00 AD [13:57:29]Write i2c OK [13:57:29]MH_I2C_Read... [13:57:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:57:29]Read from MH i2c: E2 [13:57:29]MH_I2C_Read... [13:57:29]Read from MH i2c: E2 03 00 [13:57:29]MH_I2C_Read... [13:57:29]Read from MH i2c: E2 03 00 0F 01 00 90 00 84 [13:57:29]RAPDU: 90 00 [13:57:29]wFMCommunicate OK [13:57:29]wFMCommunicate request_size=62 [13:57:29]MH_SAM_APDU [13:57:29]CAPDU: 80 0D 02 02 39 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 80 7F 00 00 35 04 06 00 70 2F 1A 07 0A 10 [13:57:29]Write to MH i2c: E2 41 00 10 01 80 0D 02 02 39 00 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 80 7F 00 00 35 04 06 00 70 2F 1A 07 0A 10 00 00 A0 [13:57:29]Write i2c OK [13:57:29]MH_I2C_Read... [13:57:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:57:29]Read from MH i2c: E2 [13:57:29]MH_I2C_Read... [13:57:29]Read from MH i2c: E2 03 00 [13:57:29]MH_I2C_Read... [13:57:29]Read from MH i2c: E2 03 00 10 01 00 90 00 85 [13:57:29]RAPDU: 90 00 [13:57:29]wFMCommunicate OK [13:57:29]wFMCommunicate request_size=4 [13:57:29]MH_SAM_APDU [13:57:29]CAPDU: 80 0D 03 02 [13:57:29]Write to MH i2c: E2 08 00 11 01 80 0D 03 02 00 00 00 00 8D [13:57:29]Write i2c OK [13:57:29]MH_I2C_Read... [13:57:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:57:29]Read from MH i2c: E2 [13:57:29]MH_I2C_Read... [13:57:29]Read from MH i2c: E2 0B 00 [13:57:29]MH_I2C_Read... [13:57:29]Read from MH i2c: E2 0B 00 11 01 00 94 4D 6F 22 11 C2 A1 43 90 00 B7 [13:57:29]RAPDU: 94 4D 6F 22 11 C2 A1 43 90 00 [13:57:29]wFMCommunicate OK [13:57:29]SAM_PROTO_SignData done [13:57:29]FM_MakeSignedData done [13:57:29]CreateOFDProtocolMessage [13:57:29]wFMCommunicate request_size=4 [13:57:29]MH_SAM_APDU [13:57:29]CAPDU: 80 11 00 00 [13:57:29]Write to MH i2c: E2 08 00 12 01 80 11 00 00 00 00 00 00 8D [13:57:29]Write i2c OK [13:57:29]MH_I2C_Read... [13:57:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:57:29]Read from MH i2c: E2 [13:57:29]MH_I2C_Read... [13:57:29]Read from MH i2c: E2 17 00 [13:57:29]MH_I2C_Read... [13:57:29]Read from MH i2c: E2 17 00 12 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 E3 [13:57:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [13:57:29]wFMCommunicate OK [13:57:29]CreateOFDProtocolMessage done [13:57:29]OFDSenderStorePacket 32640 [13:57:29]StoreOFDPacket docnum=32640 [13:57:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 43 01 00 00 BC 8F 3B 01 E0 0C 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 35 37 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 BC D0 B0 D0 BD D0 B3 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 70 49 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CC 07 00 00 00 00 07 04 06 00 70 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 49 86 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 80 7F 00 00 35 04 06 00 70 2F 1A 07 0A 10 94 4D 6F 22 11 C2 A1 43 [13:57:29]CheckFolder [13:57:29]dirname=/storage/ofd_packets [13:57:29]CheckFolder done [13:57:29]ProducePacketName [13:57:29]name=ofd_packets/00032640 [13:57:29]NVStorageSaveData ofd_packets/00032640 [13:57:29]File name is /storage/ofd_packets/00032640 [13:57:29]Write 353 bytes [13:57:29]NVStorageSaveData done [13:57:29]OFDSenderStorePacket done [13:57:29]KKMCreateOFDPacket done [13:57:29]NVStorageSaveData kkm_last_timestamp [13:57:29]File name is /storage/kkm_last_timestamp [13:57:29]Write 4 bytes [13:57:29]NVStorageSaveData done [13:57:29]OFD Sender: Processing packet 32640 [packets to send 105, broken 104] [13:57:29]ProducePacketName [13:57:29]name=ofd_packets/00032640 [13:57:29]OFD Sender: To server: pG, [13:57:29]CommunicateWithHost lk.salyk.kg:30040 [13:57:29]ConnectInit lk.salyk.kg [13:57:29]ExternCall_PrintAddStr [13:57:29]wPrintStart [13:57:29]Write to MH i2c: 01 00 00 13 01 14 [13:57:29]Write i2c OK [13:57:29]MH_I2C_Read... [13:57:29]Read from MH i2c: 01 [13:57:29]MH_I2C_Read... [13:57:29]Read from MH i2c: 01 07 00 [13:57:29]MH_I2C_Read... [13:57:29]Read from MH i2c: 01 07 00 13 01 00 00 00 00 00 FF 0F 29 [13:57:29]RasterBufferAndPrint [13:57:29]line Счет N : (3)130847 [13:57:29]line ИНН: 02508201610067 [13:57:29]line Контрольно-Кассовый Чек [13:57:29]line ПРОДАЖА [13:57:29]line Товар: 4700000482757 [13:57:29]line Напиток Nitro Fr газ манг,клуб ж/б 0,45л [13:57:29]line 2.000 * 94.00 [13:57:29]line = 188.00 [13:57:29]line НДС 12% НСП 1% [13:57:29]line > о реализуемом товаре [13:57:29]line ИТОГО: 188.00 [13:57:29]line НСП 1% : 1.66 [13:57:29]line НДС 12% : 19.96 [13:57:29]line Наличными: 188.00 [13:57:29]line Безнал.: 0.00 [13:57:29]line Место: АЗС № 96 "Партнер Нефть" [13:57:29]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [13:57:29]line СНО: Общий режим [13:57:29]line Чек 28 21.02.2025 13:57 [13:57:29]line Смена: 386 ФФД: 1.0 [13:57:29]line ЗНМ: 0300000059 [13:57:29]line РНМ: 0000000000146237 [13:57:29]line Версия ККМ: v1.0 [13:57:29]line ФМ: 0000000000959282 [13:57:29]line ФД: 32640 [13:57:29]line ФПД: 123347602442768 [13:57:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T135729&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32640&fm=123347602442768&tin=02508201610067®Number=0000000000146237&sum=18800 [13:57:29]line 0 [13:57:29]Connected sock=11 [13:57:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 43 01 00 00 BC 8F 3B 01 E0 0C 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 32 37 35 37 06 04 3D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 20 D0 B3 D0 B0 D0 B7 20 D0 BC D0 B0 D0 BD D0 B3 2C D0 BA D0 BB D1 83 D0 B1 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 70 49 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CC 07 00 00 00 00 07 04 06 00 70 49 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 49 86 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 80 7F 00 00 35 04 06 00 70 2F 1A 07 0A 10 94 4D 6F 22 11 C2 A1 43 [13:57:29]written 0, free lines is 4095 [13:57:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 8E A1 47 00 8B 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 32 38 32 10 04 04 00 80 7F 00 00 F4 03 04 00 DF 2F B8 67 B6 04 01 00 00 C0 B0 6A C1 56 FA B9 E4 [13:57:30]CommunicateWithHost err = 0 [13:57:30]CheckOFDResponse [13:57:30]1017 (14) - 77093643461234 [13:57:30]1041 (16) - 0000000000959282 [13:57:30]1040 (4) - 32640 [13:57:30]1012 (4) - 21.02.2025 07:48 [13:57:30]1206 (1) - 0 [13:57:30]OFD Sender: Remove packet 32640 [13:57:30]ProducePacketName [13:57:30]name=ofd_packets/00032640 [13:57:30]NVStorageDeleteData [13:57:30]Write to MH i2c: 01 00 00 3C 01 3D [13:57:30]Write i2c OK [13:57:30]MH_I2C_Read... [13:57:30]Read from MH i2c: 01 [13:57:30]MH_I2C_Read... [13:57:30]Read from MH i2c: 01 07 00 [13:57:30]MH_I2C_Read... [13:57:30]Read from MH i2c: 01 07 00 3C 01 00 00 00 00 00 01 0D 52 [13:57:30]RasterBufferAndPrint [13:57:30]line [13:57:30]line [13:57:30]line [13:57:30]line [13:57:30]line [13:57:30]written 0, free lines is 3338 [13:57:30]MH_Cut [13:57:30]Write to MH i2c: D1 01 00 43 01 01 16 [13:57:30]Write i2c OK [13:57:30]MH_I2C_Read... [13:57:30]Read from MH i2c: D1 [13:57:30]MH_I2C_Read... [13:57:30]Read from MH i2c: D1 01 00 [13:57:30]MH_I2C_Read... [13:57:30]Read from MH i2c: D1 01 00 43 01 00 15 [13:57:30]Write to MH i2c: 01 00 00 44 01 45 [13:57:30]Write i2c OK [13:57:30]MH_I2C_Read... [13:57:30]OFD Sender: No OFD packet to send [13:57:31]*** Cut start [13:57:31]*** Partial cut [13:57:31]*** CUTSNS_PIN = 1 [13:57:31]*** CUTSNS_PIN = 0 [13:57:31]*** Brake cut motor [13:57:31]Read from MH i2c: 01 [13:57:31]MH_I2C_Read... [13:57:31]*** Stop cut motor [13:57:31]*** Cut end [13:57:31]Read from MH i2c: 01 07 00 [13:57:31]MH_I2C_Read... [13:57:31]Read from MH i2c: 01 07 00 44 01 00 00 00 00 00 FF 0F 5A [13:57:31]process_action close_receipt done [13:57:31]requested_data is exist [13:57:31]produce_requested_data [13:57:31]requested_item fm.sn is exist - process it [13:57:31]wFMCommunicate request_size=4 [13:57:31]MH_SAM_APDU [13:57:31]CAPDU: 80 11 00 00 [13:57:31]Write to MH i2c: E2 08 00 45 01 80 11 00 00 00 00 00 00 C0 [13:57:31]Write i2c OK [13:57:31]MH_I2C_Read... [13:57:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:57:31]Read from MH i2c: E2 [13:57:31]MH_I2C_Read... [13:57:31]Read from MH i2c: E2 17 00 [13:57:31]MH_I2C_Read... [13:57:31]Read from MH i2c: E2 17 00 45 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 16 [13:57:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [13:57:31]wFMCommunicate OK [13:57:31]requested_item fd.num is exist - process it [13:57:31]SAM_PROTO_GetFieldsCounters [13:57:31]wFMCommunicate request_size=4 [13:57:31]MH_SAM_APDU [13:57:31]CAPDU: 80 13 00 00 [13:57:31]Write to MH i2c: E2 08 00 46 01 80 13 00 00 00 00 00 00 C3 [13:57:31]Write i2c OK [13:57:31]MH_I2C_Read... [13:57:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:57:31]Read from MH i2c: E2 [13:57:31]MH_I2C_Read... [13:57:31]Read from MH i2c: E2 62 00 [13:57:31]MH_I2C_Read... [13:57:31]Read from MH i2c: E2 62 00 46 01 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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 80 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 BB [13:57:31]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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 80 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:57:31]wFMCommunicate OK [13:57:31]SAM_PROTO_GetFieldsCounters done [13:57:31]requested_item shift.num is exist - process it [13:57:31]requested_item shift.opened is exist - process it [13:57:31]req_shift_opened [13:57:31]FM_GetShiftState [13:57:31]SAM_PROTO_GetShiftState [13:57:31]wFMCommunicate request_size=4 [13:57:31]MH_SAM_APDU [13:57:31]CAPDU: 80 13 01 00 [13:57:31]Write to MH i2c: E2 08 00 47 01 80 13 01 00 00 00 00 00 C5 [13:57:31]Write i2c OK [13:57:31]MH_I2C_Read... [13:57:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:57:31]Read from MH i2c: E2 [13:57:31]MH_I2C_Read... [13:57:31]Read from MH i2c: E2 0E 00 [13:57:31]MH_I2C_Read... [13:57:31]Read from MH i2c: E2 0E 00 47 01 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 2A [13:57:31]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [13:57:31]wFMCommunicate OK [13:57:31]SAM_PROTO_GetShiftState done [13:57:31]FM_GetShiftState done [13:57:31]req_shift_opened done [13:57:31]requested_item shift.open_date is exist - process it [13:57:31]req_shift_open_date [13:57:31]req_shift_open_date done [13:57:31]produce_requested_data done [13:57:31]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32640,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [13:57:31]process_action_free close_receipt [13:57:31]json_value_free [13:57:31]json_value_free done [13:57:31]process_json_proto returns [13:57:31]Send response to host [13:57:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32640,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [13:57:31]free response buf [13:57:31]execute_script done [13:57:31]execute_script returns [13:57:31]free content buf [13:57:31]Sock 7.Close socket [13:57:31]Sock 7.Thread stoped [13:57:35]OFD Sender: No OFD packet to send [13:57:40]OFD Sender: No OFD packet to send [13:57:45]OFD Sender: No OFD packet to send [13:57:50]OFD Sender: No OFD packet to send [13:57:55]OFD Sender: No OFD packet to send [13:58:00]OFD Sender: No OFD packet to send [13:58:05]OFD Sender: No OFD packet to send [13:58:10]OFD Sender: No OFD packet to send [13:58:15]OFD Sender: No OFD packet to send [13:58:20]OFD Sender: No OFD packet to send [13:58:25]OFD Sender: No OFD packet to send [13:58:30]OFD Sender: No OFD packet to send [13:58:35]OFD Sender: No OFD packet to send [13:58:40]OFD Sender: No OFD packet to send [13:58:45]OFD Sender: No OFD packet to send [13:58:50]OFD Sender: No OFD packet to send [13:58:55]OFD Sender: No OFD packet to send [13:59:00]OFD Sender: No OFD packet to send [13:59:05]OFD Sender: No OFD packet to send [13:59:10]OFD Sender: No OFD packet to send [13:59:15]OFD Sender: No OFD packet to send [13:59:20]OFD Sender: No OFD packet to send [13:59:25]OFD Sender: No OFD packet to send [13:59:30]OFD Sender: No OFD packet to send [13:59:35]OFD Sender: No OFD packet to send [13:59:40]OFD Sender: No OFD packet to send [13:59:45]OFD Sender: No OFD packet to send [13:59:50]OFD Sender: No OFD packet to send [13:59:55]OFD Sender: No OFD packet to send [14:00:00]OFD Sender: No OFD packet to send [14:00:05]OFD Sender: No OFD packet to send [14:00:10]OFD Sender: No OFD packet to send [14:00:15]OFD Sender: No OFD packet to send [14:00:20]OFD Sender: No OFD packet to send [14:00:25]OFD Sender: No OFD packet to send [14:00:30]OFD Sender: No OFD packet to send [14:00:35]OFD Sender: No OFD packet to send [14:00:40]OFD Sender: No OFD packet to send [14:00:45]OFD Sender: No OFD packet to send [14:00:50]OFD Sender: No OFD packet to send [14:00:55]OFD Sender: No OFD packet to send [14:01:00]OFD Sender: No OFD packet to send [14:01:05]OFD Sender: No OFD packet to send [14:01:10]OFD Sender: No OFD packet to send [14:01:15]OFD Sender: No OFD packet to send [14:01:21]OFD Sender: No OFD packet to send [14:01:26]OFD Sender: No OFD packet to send [14:01:31]OFD Sender: No OFD packet to send [14:01:36]OFD Sender: No OFD packet to send [14:01:37]recv_with_timeout no data received [14:01:41]OFD Sender: No OFD packet to send [14:01:46]OFD Sender: No OFD packet to send [14:01:47]recv_with_timeout no data received [14:01:51]OFD Sender: No OFD packet to send [14:01:56]OFD Sender: No OFD packet to send [14:01:57]recv_with_timeout no data received [14:02:01]OFD Sender: No OFD packet to send [14:02:06]OFD Sender: No OFD packet to send [14:02:07]recv_with_timeout no data received [14:02:11]OFD Sender: No OFD packet to send [14:02:16]OFD Sender: No OFD packet to send [14:02:21]OFD Sender: No OFD packet to send [14:02:21]recv_with_timeout no data received [14:02:26]OFD Sender: No OFD packet to send [14:02:31]OFD Sender: No OFD packet to send [14:02:32]recv_with_timeout no data received [14:02:36]OFD Sender: No OFD packet to send [14:02:41]OFD Sender: No OFD packet to send [14:02:42]recv_with_timeout no data received [14:02:46]OFD Sender: No OFD packet to send [14:02:51]OFD Sender: No OFD packet to send [14:02:52]recv_with_timeout no data received [14:02:56]OFD Sender: No OFD packet to send [14:03:01]OFD Sender: No OFD packet to send [14:03:06]recv_with_timeout no data received [14:03:06]OFD Sender: No OFD packet to send [14:03:11]OFD Sender: No OFD packet to send [14:03:16]OFD Sender: No OFD packet to send [14:03:21]OFD Sender: No OFD packet to send [14:03:26]OFD Sender: No OFD packet to send [14:03:31]OFD Sender: No OFD packet to send [14:03:36]OFD Sender: No OFD packet to send [14:03:41]OFD Sender: No OFD packet to send [14:03:46]OFD Sender: No OFD packet to send [14:03:51]OFD Sender: No OFD packet to send [14:03:56]OFD Sender: No OFD packet to send [14:04:01]OFD Sender: No OFD packet to send [14:04:06]OFD Sender: No OFD packet to send [14:04:11]OFD Sender: No OFD packet to send [14:04:16]OFD Sender: No OFD packet to send [14:04:21]recv_with_timeout no data received [14:04:21]OFD Sender: No OFD packet to send [14:04:26]OFD Sender: No OFD packet to send [14:04:31]accept exits with 9 [14:04:31]New connection [14:04:31]New thread 3067473252 created [14:04:31]Thread 3067329892 joined [14:04:31]Waiting for new connection... [14:04:31] Sock 9.Parse request [14:04:31]Sock 9.Check first char [14:04:31]Sock 9.First char is OK [14:04:31]request: POST /json_proto HTTP/1.0 [14:04:31]Method: POST [14:04:31]URL: /json_proto [14:04:31]Method is POST - this is cgi request [14:04:31]url: /json_proto [14:04:31]query_string will be loaded in cgi processing [14:04:31]execute_cgi json_proto POST (null) [14:04:31]execute_cgi path=json_proto method=POST [14:04:31]POST find Content-Length [14:04:31]Host: 172.17.47.135:8080 [14:04:31]Content-Length: 683 [14:04:31]Content-Type: application/json [14:04:31] [14:04:31]POST finish read [14:04:31]Found Content-Length = 683 [14:04:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130848", "tax_sys" : 0, "items" : [ { "code": "4870202522015", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 1,2\u043B", "price" : 124.00, "quantity" : 1.000, "sum" : 124.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 124.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:04:31]execute_script... [14:04: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)130848", "tax_sys" : 0, "items" : [ { "code": "4870202522015", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 1,2\u043B", "price" : 124.00, "quantity" : 1.000, "sum" : 124.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 124.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:04:31]POST & json_proto [14:04:31]process_json_proto [14:04:31]json parsed OK: [14:04:31]protocol is kg_v1.0 [14:04:31]action value=close_receipt [14:04:31]process_action close_receipt [14:04:31]cmd_close_receipt [14:04:31]MH_GetDate [14:04:31]Write to MH i2c: F0 00 00 48 01 38 [14:04:31]Write i2c OK [14:04:31]MH_I2C_Read... [14:04:31]Read from MH i2c: F0 [14:04:31]MH_I2C_Read... [14:04:31]Read from MH i2c: F0 09 00 [14:04:31]MH_I2C_Read... [14:04:31]Read from MH i2c: F0 09 00 48 01 00 F0 87 B8 67 19 D8 DE 66 0C [14:04:31]GetLastDocTimeStamp 1740146249 [14:04:31]current date 1740146672 [14:04:31]FM_GetShiftState [14:04:31]SAM_PROTO_GetShiftState [14:04:31]wFMCommunicate request_size=4 [14:04:31]MH_SAM_APDU [14:04:31]CAPDU: 80 13 01 00 [14:04:31]Write to MH i2c: E2 08 00 49 01 80 13 01 00 00 00 00 00 C7 [14:04:31]Write i2c OK [14:04:31]MH_I2C_Read... [14:04:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:04:31]Read from MH i2c: E2 [14:04:31]MH_I2C_Read... [14:04:31]Read from MH i2c: E2 0E 00 [14:04:31]MH_I2C_Read... [14:04:31]Read from MH i2c: E2 0E 00 49 01 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 2C [14:04:31]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [14:04:31]wFMCommunicate OK [14:04:31]SAM_PROTO_GetShiftState done [14:04:31]FM_GetShiftState done [14:04:31]opened in 1740096631 [14:04:31]opened+sec_in_day 1740183031 [14:04:31]quantity*price = 12400 [14:04:31]sum+1 = 12401 [14:04:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 124.00 НСП 1% : 1.10 НДС 12% : 13.17 Наличными: 124.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 29 21.02.2025 14:04 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32641 ФПД: 203304827743376 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T140432&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32641&fm=203304827743376&tin=02508201610067®Number=0000000000146237&sum=12400 0 [14:04:32]StoreToDocumentArchive [14:04:32]shift 386 fd 32641 [14:04:32]save to /storage/0386/doc_00032641 [14:04:32]save last doc name /storage/0386/doc_00032641 to /storage/kkm_last_doc_name [14:04:32]save OK [14:04:32]Clear old archive folders... [14:04:32]ProcessDocumentItem done err = 0, tmpTLVsize=291 [14:04:32]tlvbuf is 00801520 [14:04:32]SAM_PROTO_ClearQueue [14:04:32]wFMCommunicate request_size=4 [14:04:32]MH_SAM_APDU [14:04:32]CAPDU: 80 09 00 00 [14:04:32]Write to MH i2c: E2 08 00 56 01 80 09 00 00 00 00 00 00 C9 [14:04:32]Write i2c OK [14:04:32]MH_I2C_Read... [14:04:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:04:32]Read from MH i2c: E2 [14:04:32]MH_I2C_Read... [14:04:32]Read from MH i2c: E2 03 00 [14:04:32]MH_I2C_Read... [14:04:32]Read from MH i2c: E2 03 00 56 01 00 90 00 CB [14:04:32]RAPDU: 90 00 [14:04:32]wFMCommunicate OK [14:04:32]SAM_PROTO_ClearQueue done [14:04:32]KKMCreateOFDPacket [14:04:32]OFDProtocolAddRootSTLVToBuf [14:04:32]FM_MakeSignedData [14:04:32]FM_MakeSignedData [14:04:32]SAM_PROTO_SignData [14:04:32]wFMCommunicate request_size=4 [14:04:32]MH_SAM_APDU [14:04:32]CAPDU: 80 0D 01 02 [14:04:32]Write to MH i2c: E2 08 00 57 01 80 0D 01 02 00 00 00 00 D1 [14:04:32]Write i2c OK [14:04:32]MH_I2C_Read... [14:04:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:04:32]Read from MH i2c: E2 [14:04:32]MH_I2C_Read... [14:04:32]Read from MH i2c: E2 03 00 [14:04:32]MH_I2C_Read... [14:04:32]Read from MH i2c: E2 03 00 57 01 00 90 00 CC [14:04:32]RAPDU: 90 00 [14:04:32]wFMCommunicate OK [14:04:32]wFMCommunicate request_size=255 [14:04:32]MH_SAM_APDU [14:04:32]CAPDU: 80 0D 02 02 FA 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 30 00 00 00 00 13 04 06 00 70 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 05 00 00 00 00 07 04 06 00 70 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 F0 87 B8 67 0E 04 04 00 82 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 [14:04:32]Write to MH i2c: E2 02 01 58 01 80 0D 02 02 FA 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 30 00 00 00 00 13 04 06 00 70 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 05 00 00 00 00 07 04 06 00 70 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 F0 87 B8 67 0E 04 04 00 82 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 00 00 15 [14:04:32]Write i2c OK [14:04:32]MH_I2C_Read... [14:04:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:04:32]Read from MH i2c: E2 [14:04:32]MH_I2C_Read... [14:04:32]Read from MH i2c: E2 03 00 [14:04:32]MH_I2C_Read... [14:04:32]Read from MH i2c: E2 03 00 58 01 00 90 00 CD [14:04:32]RAPDU: 90 00 [14:04:32]wFMCommunicate OK [14:04:32]wFMCommunicate request_size=50 [14:04:32]MH_SAM_APDU [14:04:32]CAPDU: 80 0D 02 02 2D 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 81 7F 00 00 35 04 06 00 B8 E7 98 09 EC 90 [14:04:32]Write to MH i2c: E2 35 00 59 01 80 0D 02 02 2D 00 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 81 7F 00 00 35 04 06 00 B8 E7 98 09 EC 90 00 00 F0 [14:04:32]Write i2c OK [14:04:32]MH_I2C_Read... [14:04:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:04:32]Read from MH i2c: E2 [14:04:32]MH_I2C_Read... [14:04:32]Read from MH i2c: E2 03 00 [14:04:32]MH_I2C_Read... [14:04:32]Read from MH i2c: E2 03 00 59 01 00 90 00 CE [14:04:32]RAPDU: 90 00 [14:04:32]wFMCommunicate OK [14:04:32]wFMCommunicate request_size=4 [14:04:32]MH_SAM_APDU [14:04:32]CAPDU: 80 0D 03 02 [14:04:32]Write to MH i2c: E2 08 00 5A 01 80 0D 03 02 00 00 00 00 D6 [14:04:32]Write i2c OK [14:04:32]MH_I2C_Read... [14:04:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:04:32]Read from MH i2c: E2 [14:04:32]MH_I2C_Read... [14:04:32]Read from MH i2c: E2 0B 00 [14:04:32]MH_I2C_Read... [14:04:32]Read from MH i2c: E2 0B 00 5A 01 00 8E 54 F8 9C 5A 11 30 0C 90 00 F4 [14:04:32]RAPDU: 8E 54 F8 9C 5A 11 30 0C 90 00 [14:04:32]wFMCommunicate OK [14:04:32]SAM_PROTO_SignData done [14:04:32]FM_MakeSignedData done [14:04:32]CreateOFDProtocolMessage [14:04:32]wFMCommunicate request_size=4 [14:04:32]MH_SAM_APDU [14:04:32]CAPDU: 80 11 00 00 [14:04:32]Write to MH i2c: E2 08 00 5B 01 80 11 00 00 00 00 00 00 D6 [14:04:32]Write i2c OK [14:04:32]MH_I2C_Read... [14:04:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:04:32]Read from MH i2c: E2 [14:04:32]MH_I2C_Read... [14:04:32]Read from MH i2c: E2 17 00 [14:04:32]MH_I2C_Read... [14:04:32]Read from MH i2c: E2 17 00 5B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 2C [14:04:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [14:04:32]wFMCommunicate OK [14:04:32]CreateOFDProtocolMessage done [14:04:32]OFDSenderStorePacket 32641 [14:04:32]StoreOFDPacket docnum=32641 [14:04:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 37 01 00 00 AF 6A 2F 01 E6 2C 5A 03 01 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 30 00 00 00 00 13 04 06 00 70 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 05 00 00 00 00 07 04 06 00 70 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 F0 87 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 81 7F 00 00 35 04 06 00 B8 E7 98 09 EC 90 8E 54 F8 9C 5A 11 30 0C [14:04:32]CheckFolder [14:04:32]dirname=/storage/ofd_packets [14:04:32]CheckFolder done [14:04:32]ProducePacketName [14:04:32]name=ofd_packets/00032641 [14:04:32]NVStorageSaveData ofd_packets/00032641 [14:04:32]File name is /storage/ofd_packets/00032641 [14:04:32]Write 341 bytes [14:04:32]NVStorageSaveData done [14:04:32]OFDSenderStorePacket done [14:04:32]KKMCreateOFDPacket done [14:04:32]NVStorageSaveData kkm_last_timestamp [14:04:32]File name is /storage/kkm_last_timestamp [14:04:32]Write 4 bytes [14:04:32]NVStorageSaveData done [14:04:32]ExternCall_PrintAddStr [14:04:32]wPrintStart [14:04:32]Write to MH i2c: 01 00 00 5C 01 5D [14:04:32]Write i2c OK [14:04:32]MH_I2C_Read... [14:04:32]Read from MH i2c: 01 [14:04:32]MH_I2C_Read... [14:04:32]Read from MH i2c: 01 07 00 [14:04:32]MH_I2C_Read... [14:04:32]Read from MH i2c: 01 07 00 5C 01 00 00 00 00 00 FF 0F 72 [14:04:32]RasterBufferAndPrint [14:04:32]line Счет N : (3)130848 [14:04:32]line ИНН: 02508201610067 [14:04:32]line Контрольно-Кассовый Чек [14:04:32]line ПРОДАЖА [14:04:32]line Товар: 4870202522015 [14:04:32]line Напиток Maxi Чай Грушевый 1,2л [14:04:32]line 1.000 * 124.00 [14:04:32]line = 124.00 [14:04:32]line НДС 12% НСП 1% [14:04:32]line > о реализуемом товаре [14:04:32]line ИТОГО: 124.00 [14:04:32]line НСП 1% : 1.10 [14:04:32]line НДС 12% : 13.17 [14:04:32]line Наличными: 124.00 [14:04:32]line Безнал.: 0.00 [14:04:32]line Место: АЗС № 96 "Партнер Нефть" [14:04:32]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [14:04:32]line СНО: Общий режим [14:04:32]line Чек 29 21.02.2025 14:04 [14:04:32]line Смена: 386 ФФД: 1.0 [14:04:32]line ЗНМ: 0300000059 [14:04:32]line РНМ: 0000000000146237 [14:04:32]line Версия ККМ: v1.0 [14:04:32]line ФМ: 0000000000959282 [14:04:32]line ФД: 32641 [14:04:32]line ФПД: 203304827743376 [14:04:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T140432&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32641&fm=203304827743376&tin=02508201610067®Number=0000000000146237&sum=12400 [14:04:33]OFD Sender: Processing packet 32641 [packets to send 105, broken 104] [14:04:33]ProducePacketName [14:04:33]name=ofd_packets/00032641 [14:04:33]OFD Sender: To server: pG, [14:04:33]CommunicateWithHost lk.salyk.kg:30040 [14:04:33]ConnectInit lk.salyk.kg [14:04:33]line 0 [14:04:33]written 0, free lines is 4095 [14:04:33]Connected sock=7 [14:04: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 32 38 32 37 01 00 00 AF 6A 2F 01 E6 2C 5A 03 01 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 30 00 00 00 00 13 04 06 00 70 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 05 00 00 00 00 07 04 06 00 70 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 F0 87 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 81 7F 00 00 35 04 06 00 B8 E7 98 09 EC 90 8E 54 F8 9C 5A 11 30 0C [14:04:33]Write to MH i2c: 01 00 00 85 01 86 [14:04:33]Write i2c OK [14:04:33]MH_I2C_Read... [14:04:33]Read from MH i2c: 01 [14:04:33]MH_I2C_Read... [14:04:33]Read from MH i2c: 01 07 00 [14:04:33]MH_I2C_Read... [14:04:33]Read from MH i2c: 01 07 00 85 01 00 00 00 00 00 11 0D AB [14:04:33]RasterBufferAndPrint [14:04:33]line [14:04:33]line [14:04:33]line [14:04:33]line [14:04:33]line [14:04:33]written 0, free lines is 3351 [14:04:33]MH_Cut [14:04:33]Write to MH i2c: D1 01 00 8C 01 01 5F [14:04:33]Write i2c OK [14:04:33]MH_I2C_Read... [14:04:33]Read from MH i2c: D1 [14:04:33]MH_I2C_Read... [14:04:33]Read from MH i2c: D1 01 00 [14:04:33]MH_I2C_Read... [14:04:33]Read from MH i2c: D1 01 00 8C 01 00 5E [14:04:33]Write to MH i2c: 01 00 00 8D 01 8E [14:04:33]Write i2c OK [14:04:33]MH_I2C_Read... [14:04:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 1A 2B 47 00 4F 27 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 81 7F 00 00 F4 03 04 00 86 31 B8 67 B6 04 01 00 00 A9 2F EC 07 8A 59 6F 21 [14:04:33]CommunicateWithHost err = 0 [14:04:33]CheckOFDResponse [14:04:33]1017 (14) - 77093643461234 [14:04:33]1041 (16) - 0000000000959282 [14:04:33]1040 (4) - 32641 [14:04:33]1012 (4) - 21.02.2025 07:55 [14:04:33]1206 (1) - 0 [14:04:33]OFD Sender: Remove packet 32641 [14:04:33]ProducePacketName [14:04:33]name=ofd_packets/00032641 [14:04:33]NVStorageDeleteData [14:04:34]OFD Sender: No OFD packet to send [14:04:34]*** Cut start [14:04:34]*** Partial cut [14:04:34]*** CUTSNS_PIN = 1 [14:04:34]*** CUTSNS_PIN = 0 [14:04:34]*** Brake cut motor [14:04:34]Read from MH i2c: 01 [14:04:34]MH_I2C_Read... [14:04:34]*** Stop cut motor [14:04:34]*** Cut end [14:04:34]Read from MH i2c: 01 07 00 [14:04:34]MH_I2C_Read... [14:04:34]Read from MH i2c: 01 07 00 8D 01 00 00 00 00 00 FF 0F A3 [14:04:34]process_action close_receipt done [14:04:34]requested_data is exist [14:04:34]produce_requested_data [14:04:34]requested_item fm.sn is exist - process it [14:04:34]wFMCommunicate request_size=4 [14:04:34]MH_SAM_APDU [14:04:34]CAPDU: 80 11 00 00 [14:04:34]Write to MH i2c: E2 08 00 8E 01 80 11 00 00 00 00 00 00 09 [14:04:34]Write i2c OK [14:04:34]MH_I2C_Read... [14:04:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:04:34]Read from MH i2c: E2 [14:04:34]MH_I2C_Read... [14:04:34]Read from MH i2c: E2 17 00 [14:04:34]MH_I2C_Read... [14:04:34]Read from MH i2c: E2 17 00 8E 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 5F [14:04:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [14:04:34]wFMCommunicate OK [14:04:34]requested_item fd.num is exist - process it [14:04:34]SAM_PROTO_GetFieldsCounters [14:04:34]wFMCommunicate request_size=4 [14:04:34]MH_SAM_APDU [14:04:34]CAPDU: 80 13 00 00 [14:04:34]Write to MH i2c: E2 08 00 8F 01 80 13 00 00 00 00 00 00 0C [14:04:34]Write i2c OK [14:04:34]MH_I2C_Read... [14:04:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:04:35]Read from MH i2c: E2 [14:04:35]MH_I2C_Read... [14:04:35]Read from MH i2c: E2 62 00 [14:04:35]MH_I2C_Read... [14:04:35]Read from MH i2c: E2 62 00 8F 01 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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 81 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 08 [14:04: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 81 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:04:35]wFMCommunicate OK [14:04:35]SAM_PROTO_GetFieldsCounters done [14:04:35]requested_item shift.num is exist - process it [14:04:35]requested_item shift.opened is exist - process it [14:04:35]req_shift_opened [14:04:35]FM_GetShiftState [14:04:35]SAM_PROTO_GetShiftState [14:04:35]wFMCommunicate request_size=4 [14:04:35]MH_SAM_APDU [14:04:35]CAPDU: 80 13 01 00 [14:04:35]Write to MH i2c: E2 08 00 90 01 80 13 01 00 00 00 00 00 0E [14:04:35]Write i2c OK [14:04:35]MH_I2C_Read... [14:04:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:04:35]Read from MH i2c: E2 [14:04:35]MH_I2C_Read... [14:04:35]Read from MH i2c: E2 0E 00 [14:04:35]MH_I2C_Read... [14:04:35]Read from MH i2c: E2 0E 00 90 01 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 73 [14:04:35]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [14:04:35]wFMCommunicate OK [14:04:35]SAM_PROTO_GetShiftState done [14:04:35]FM_GetShiftState done [14:04:35]req_shift_opened done [14:04:35]requested_item shift.open_date is exist - process it [14:04:35]req_shift_open_date [14:04:35]req_shift_open_date done [14:04:35]produce_requested_data done [14:04:35]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32641,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [14:04:35]process_action_free close_receipt [14:04:35]json_value_free [14:04:35]json_value_free done [14:04:35]process_json_proto returns [14:04:35]Send response to host [14:04:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32641,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [14:04:35]free response buf [14:04:35]execute_script done [14:04:35]execute_script returns [14:04:35]free content buf [14:04:35]Sock 9.Close socket [14:04:35]Sock 9.Thread stoped [14:04:39]OFD Sender: No OFD packet to send [14:04:41]recv_with_timeout no data received [14:04:44]OFD Sender: No OFD packet to send [14:04:49]OFD Sender: No OFD packet to send [14:04:51]recv_with_timeout no data received [14:04:54]OFD Sender: No OFD packet to send [14:04:59]OFD Sender: No OFD packet to send [14:05:01]recv_with_timeout no data received [14:05:04]OFD Sender: No OFD packet to send [14:05:09]OFD Sender: No OFD packet to send [14:05:12]recv_with_timeout no data received [14:05:14]OFD Sender: No OFD packet to send [14:05:19]OFD Sender: No OFD packet to send [14:05:22]recv_with_timeout no data received [14:05:24]OFD Sender: No OFD packet to send [14:05:29]OFD Sender: No OFD packet to send [14:05:33]recv_with_timeout no data received [14:05:34]OFD Sender: No OFD packet to send [14:05:39]OFD Sender: No OFD packet to send [14:05:43]recv_with_timeout no data received [14:05:44]OFD Sender: No OFD packet to send [14:05:49]OFD Sender: No OFD packet to send [14:05:53]recv_with_timeout no data received [14:05:54]OFD Sender: No OFD packet to send [14:05:59]OFD Sender: No OFD packet to send [14:06:03]recv_with_timeout no data received [14:06:04]OFD Sender: No OFD packet to send [14:06:09]OFD Sender: No OFD packet to send [14:06:14]OFD Sender: No OFD packet to send [14:06:15]recv_with_timeout no data received [14:06:19]OFD Sender: No OFD packet to send [14:06:24]OFD Sender: No OFD packet to send [14:06:26]recv_with_timeout no data received [14:06:29]OFD Sender: No OFD packet to send [14:06:34]OFD Sender: No OFD packet to send [14:06:39]OFD Sender: No OFD packet to send [14:06:39]recv_with_timeout no data received [14:06:44]OFD Sender: No OFD packet to send [14:06:49]OFD Sender: No OFD packet to send [14:06:51]recv_with_timeout no data received [14:06:54]OFD Sender: No OFD packet to send [14:06:59]OFD Sender: No OFD packet to send [14:07:01]recv_with_timeout no data received [14:07:04]OFD Sender: No OFD packet to send [14:07:09]OFD Sender: No OFD packet to send [14:07:12]recv_with_timeout no data received [14:07:14]OFD Sender: No OFD packet to send [14:07:19]OFD Sender: No OFD packet to send [14:07:24]OFD Sender: No OFD packet to send [14:07:25]recv_with_timeout no data received [14:07:29]OFD Sender: No OFD packet to send [14:07:34]OFD Sender: No OFD packet to send [14:07:36]recv_with_timeout no data received [14:07:39]OFD Sender: No OFD packet to send [14:07:44]OFD Sender: No OFD packet to send [14:07:47]recv_with_timeout no data received [14:07:49]OFD Sender: No OFD packet to send [14:07:54]OFD Sender: No OFD packet to send [14:07:57]recv_with_timeout no data received [14:07:59]OFD Sender: No OFD packet to send [14:08:04]OFD Sender: No OFD packet to send [14:08:07]recv_with_timeout no data received [14:08:09]OFD Sender: No OFD packet to send [14:08:14]OFD Sender: No OFD packet to send [14:08:17]recv_with_timeout no data received [14:08:19]OFD Sender: No OFD packet to send [14:08:24]OFD Sender: No OFD packet to send [14:08:27]recv_with_timeout no data received [14:08:29]OFD Sender: No OFD packet to send [14:08:34]OFD Sender: No OFD packet to send [14:08:37]recv_with_timeout no data received [14:08:39]OFD Sender: No OFD packet to send [14:08:44]OFD Sender: No OFD packet to send [14:08:48]recv_with_timeout no data received [14:08:49]OFD Sender: No OFD packet to send [14:08:54]OFD Sender: No OFD packet to send [14:08:58]recv_with_timeout no data received [14:08:59]OFD Sender: No OFD packet to send [14:09:04]OFD Sender: No OFD packet to send [14:09:09]OFD Sender: No OFD packet to send [14:09:14]OFD Sender: No OFD packet to send [14:09:19]OFD Sender: No OFD packet to send [14:09:24]OFD Sender: No OFD packet to send [14:09:28]recv_with_timeout no data received [14:09:29]OFD Sender: No OFD packet to send [14:09:34]OFD Sender: No OFD packet to send [14:09:39]OFD Sender: No OFD packet to send [14:09:44]OFD Sender: No OFD packet to send [14:09:48]recv_with_timeout no data received [14:09:49]OFD Sender: No OFD packet to send [14:09:54]OFD Sender: No OFD packet to send [14:09:58]recv_with_timeout no data received [14:09:59]OFD Sender: No OFD packet to send [14:10:04]OFD Sender: No OFD packet to send [14:10:09]recv_with_timeout no data received [14:10:09]OFD Sender: No OFD packet to send [14:10:14]OFD Sender: No OFD packet to send [14:10:19]OFD Sender: No OFD packet to send [14:10:24]OFD Sender: No OFD packet to send [14:10:29]OFD Sender: No OFD packet to send [14:10:34]OFD Sender: No OFD packet to send [14:10:39]OFD Sender: No OFD packet to send [14:10:44]OFD Sender: No OFD packet to send [14:10:49]OFD Sender: No OFD packet to send [14:10:54]OFD Sender: No OFD packet to send [14:10:59]OFD Sender: No OFD packet to send [14:11:04]OFD Sender: No OFD packet to send [14:11:09]OFD Sender: No OFD packet to send [14:11:14]OFD Sender: No OFD packet to send [14:11:19]OFD Sender: No OFD packet to send [14:11:24]OFD Sender: No OFD packet to send [14:11:29]OFD Sender: No OFD packet to send [14:11:34]OFD Sender: No OFD packet to send [14:11:39]OFD Sender: No OFD packet to send [14:11:44]OFD Sender: No OFD packet to send [14:11:49]OFD Sender: No OFD packet to send [14:11:54]OFD Sender: No OFD packet to send [14:11:59]OFD Sender: No OFD packet to send [14:12:04]OFD Sender: No OFD packet to send [14:12:09]OFD Sender: No OFD packet to send [14:12:14]OFD Sender: No OFD packet to send [14:12:19]OFD Sender: No OFD packet to send [14:12:24]OFD Sender: No OFD packet to send [14:12:29]OFD Sender: No OFD packet to send [14:12:34]OFD Sender: No OFD packet to send [14:12:39]OFD Sender: No OFD packet to send [14:12:44]OFD Sender: No OFD packet to send [14:12:49]OFD Sender: No OFD packet to send [14:12:54]OFD Sender: No OFD packet to send [14:12:59]OFD Sender: No OFD packet to send [14:13:04]OFD Sender: No OFD packet to send [14:13:09]OFD Sender: No OFD packet to send [14:13:14]OFD Sender: No OFD packet to send [14:13:19]OFD Sender: No OFD packet to send [14:13:24]OFD Sender: No OFD packet to send [14:13:29]OFD Sender: No OFD packet to send [14:13:34]OFD Sender: No OFD packet to send [14:13:39]OFD Sender: No OFD packet to send [14:13:44]OFD Sender: No OFD packet to send [14:13:49]OFD Sender: No OFD packet to send [14:13:54]OFD Sender: No OFD packet to send [14:13:59]OFD Sender: No OFD packet to send [14:14:04]OFD Sender: No OFD packet to send [14:14:09]OFD Sender: No OFD packet to send [14:14:14]OFD Sender: No OFD packet to send [14:14:19]OFD Sender: No OFD packet to send [14:14:24]OFD Sender: No OFD packet to send [14:14:29]OFD Sender: No OFD packet to send [14:14:34]accept exits with 10 [14:14:34]New connection [14:14:34]New thread 3067329892 created [14:14:34]Thread 3067473252 joined [14:14:34]Waiting for new connection... [14:14:34] Sock 10.Parse request [14:14:34]Sock 10.Check first char [14:14:34]Sock 10.First char is OK [14:14:34]request: POST /json_proto HTTP/1.0 [14:14:34]Method: POST [14:14:34]URL: /json_proto [14:14:34]Method is POST - this is cgi request [14:14:34]url: /json_proto [14:14:34]query_string will be loaded in cgi processing [14:14:34]execute_cgi json_proto POST (null) [14:14:34]execute_cgi path=json_proto method=POST [14:14:34]POST find Content-Length [14:14:34]Host: 172.17.47.135:8080 [14:14:34]Content-Length: 1172 [14:14:34]Content-Type: application/json [14:14:34] [14:14:34]POST finish read [14:14:34]Found Content-Length = 1172 [14:14:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130849", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002325113", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A PEPSI \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0441\u0442 0,25\u043B", "price" : 94.00, "quantity" : 1.000, "sum" : 94.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 187.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:14:34]execute_script... [14:14:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130849", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002325113", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A PEPSI \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0441\u0442 0,25\u043B", "price" : 94.00, "quantity" : 1.000, "sum" : 94.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 187.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:14:34]POST & json_proto [14:14:34]process_json_proto [14:14:34]json parsed OK: [14:14:34]protocol is kg_v1.0 [14:14:34]action value=close_receipt [14:14:34]process_action close_receipt [14:14:34]cmd_close_receipt [14:14:34]MH_GetDate [14:14:34]Write to MH i2c: F0 00 00 91 01 81 [14:14:34]Write i2c OK [14:14:34]MH_I2C_Read... [14:14:34]Read from MH i2c: F0 [14:14:34]MH_I2C_Read... [14:14:34]Read from MH i2c: F0 09 00 [14:14:34]MH_I2C_Read... [14:14:34]Read from MH i2c: F0 09 00 91 01 00 4B 8A B8 67 19 D8 DE 66 B3 [14:14:34]GetLastDocTimeStamp 1740146672 [14:14:34]current date 1740147275 [14:14:34]FM_GetShiftState [14:14:34]SAM_PROTO_GetShiftState [14:14:34]wFMCommunicate request_size=4 [14:14:34]MH_SAM_APDU [14:14:34]CAPDU: 80 13 01 00 [14:14:34]Write to MH i2c: E2 08 00 92 01 80 13 01 00 00 00 00 00 10 [14:14:34]Write i2c OK [14:14:34]MH_I2C_Read... [14:14:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:14:34]Read from MH i2c: E2 [14:14:34]MH_I2C_Read... [14:14:34]Read from MH i2c: E2 0E 00 [14:14:34]MH_I2C_Read... [14:14:34]Read from MH i2c: E2 0E 00 92 01 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 75 [14:14:34]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [14:14:34]wFMCommunicate OK [14:14:34]SAM_PROTO_GetShiftState done [14:14:34]FM_GetShiftState done [14:14:34]opened in 1740096631 [14:14:34]opened+sec_in_day 1740183031 [14:14:34]quantity*price = 4900 [14:14:34]sum+1 = 4901 [14:14:34]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870002325113 Напиток PEPSI газированный ст 0,25л 1.000 * 94.00 = 94.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 42113270 Жев Orbit арбуз 1.000 * 44.00 = 44.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 187.00 НСП 1% : 1.65 НДС 12% : 19.85 Наличными: 187.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 30 21.02.2025 14:14 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32642 ФПД: 96759871856359 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T141435&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32642&fm=96759871856359&tin=02508201610067®Number=0000000000146237&sum=18700 0 [14:14:35]StoreToDocumentArchive [14:14:35]shift 386 fd 32642 [14:14:35]save to /storage/0386/doc_00032642 [14:14:35]save last doc name /storage/0386/doc_00032642 to /storage/kkm_last_doc_name [14:14:35]save OK [14:14:35]Clear old archive folders... [14:14:35]ProcessDocumentItem done err = 0, tmpTLVsize=490 [14:14:35]tlvbuf is 00801180 [14:14:35]SAM_PROTO_ClearQueue [14:14:35]wFMCommunicate request_size=4 [14:14:35]MH_SAM_APDU [14:14:35]CAPDU: 80 09 00 00 [14:14:35]Write to MH i2c: E2 08 00 9F 01 80 09 00 00 00 00 00 00 12 [14:14:35]Write i2c OK [14:14:35]MH_I2C_Read... [14:14:35]Read from MH i2c: E2 [14:14:35]MH_I2C_Read... [14:14:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:14:35]Read from MH i2c: E2 03 00 [14:14:35]MH_I2C_Read... [14:14:35]Read from MH i2c: E2 03 00 9F 01 00 90 00 14 [14:14:35]RAPDU: 90 00 [14:14:35]wFMCommunicate OK [14:14:35]SAM_PROTO_ClearQueue done [14:14:35]KKMCreateOFDPacket [14:14:35]OFDProtocolAddRootSTLVToBuf [14:14:35]FM_MakeSignedData [14:14:35]FM_MakeSignedData [14:14:35]SAM_PROTO_SignData [14:14:35]wFMCommunicate request_size=4 [14:14:35]MH_SAM_APDU [14:14:35]CAPDU: 80 0D 01 02 [14:14:35]Write to MH i2c: E2 08 00 A0 01 80 0D 01 02 00 00 00 00 1A [14:14:35]Write i2c OK [14:14:35]MH_I2C_Read... [14:14:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:14:35]Read from MH i2c: E2 [14:14:35]MH_I2C_Read... [14:14:35]Read from MH i2c: E2 03 00 [14:14:35]MH_I2C_Read... [14:14:35]Read from MH i2c: E2 03 00 A0 01 00 90 00 15 [14:14:35]RAPDU: 90 00 [14:14:35]wFMCommunicate OK [14:14:35]wFMCommunicate request_size=255 [14:14:35]MH_SAM_APDU [14:14:35]CAPDU: 80 0D 02 02 FA 03 00 EA 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 [14:14:35]Write to MH i2c: E2 02 01 A1 01 80 0D 02 02 FA 00 03 00 EA 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 00 00 1B [14:14:35]Write i2c OK [14:14:35]MH_I2C_Read... [14:14:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:14:36]Read from MH i2c: E2 [14:14:36]MH_I2C_Read... [14:14:36]Read from MH i2c: E2 03 00 [14:14:36]MH_I2C_Read... [14:14:36]Read from MH i2c: E2 03 00 A1 01 00 90 00 16 [14:14:36]RAPDU: 90 00 [14:14:36]wFMCommunicate OK [14:14:36]wFMCommunicate request_size=249 [14:14:36]MH_SAM_APDU [14:14:36]CAPDU: 80 0D 02 02 F4 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 07 00 00 00 00 07 04 06 00 0C 49 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 4B 8A B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 82 7F 00 00 35 04 06 00 58 00 A9 CA 5E E7 [14:14:36]Write to MH i2c: E2 FC 00 A2 01 80 0D 02 02 F4 00 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 07 00 00 00 00 07 04 06 00 0C 49 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 4B 8A B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 82 7F 00 00 35 04 06 00 58 00 A9 CA 5E E7 00 00 89 [14:14:36]Write i2c OK [14:14:36]MH_I2C_Read... [14:14:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:14:36]Read from MH i2c: E2 [14:14:36]MH_I2C_Read... [14:14:36]Read from MH i2c: E2 03 00 [14:14:36]MH_I2C_Read... [14:14:36]Read from MH i2c: E2 03 00 A2 01 00 90 00 17 [14:14:36]RAPDU: 90 00 [14:14:36]wFMCommunicate OK [14:14:36]wFMCommunicate request_size=4 [14:14:36]MH_SAM_APDU [14:14:36]CAPDU: 80 0D 03 02 [14:14:36]Write to MH i2c: E2 08 00 A3 01 80 0D 03 02 00 00 00 00 1F [14:14:36]Write i2c OK [14:14:36]MH_I2C_Read... [14:14:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:14:36]Read from MH i2c: E2 [14:14:36]MH_I2C_Read... [14:14:36]Read from MH i2c: E2 0B 00 [14:14:36]MH_I2C_Read... [14:14:36]Read from MH i2c: E2 0B 00 A3 01 00 D8 A6 1D AE 8D 8B 6F 1E 90 00 0E [14:14:36]RAPDU: D8 A6 1D AE 8D 8B 6F 1E 90 00 [14:14:36]wFMCommunicate OK [14:14:36]SAM_PROTO_SignData done [14:14:36]FM_MakeSignedData done [14:14:36]CreateOFDProtocolMessage [14:14:36]wFMCommunicate request_size=4 [14:14:36]MH_SAM_APDU [14:14:36]CAPDU: 80 11 00 00 [14:14:36]Write to MH i2c: E2 08 00 A4 01 80 11 00 00 00 00 00 00 1F [14:14:36]Write i2c OK [14:14:36]MH_I2C_Read... [14:14:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:14:36]Read from MH i2c: E2 [14:14:36]MH_I2C_Read... [14:14:36]Read from MH i2c: E2 17 00 [14:14:36]MH_I2C_Read... [14:14:36]Read from MH i2c: E2 17 00 A4 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 75 [14:14:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [14:14:36]wFMCommunicate OK [14:14:36]CreateOFDProtocolMessage done [14:14:36]OFDSenderStorePacket 32642 [14:14:36]StoreOFDPacket docnum=32642 [14:14:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 FE 01 00 00 D9 A1 F6 01 02 49 5A 03 01 00 03 00 EA 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 07 00 00 00 00 07 04 06 00 0C 49 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 4B 8A B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 82 7F 00 00 35 04 06 00 58 00 A9 CA 5E E7 D8 A6 1D AE 8D 8B 6F 1E [14:14:36]CheckFolder [14:14:36]dirname=/storage/ofd_packets [14:14:36]CheckFolder done [14:14:36]ProducePacketName [14:14:36]name=ofd_packets/00032642 [14:14:36]NVStorageSaveData ofd_packets/00032642 [14:14:36]File name is /storage/ofd_packets/00032642 [14:14:36]Write 540 bytes [14:14:36]NVStorageSaveData done [14:14:36]OFDSenderStorePacket done [14:14:36]KKMCreateOFDPacket done [14:14:36]NVStorageSaveData kkm_last_timestamp [14:14:36]File name is /storage/kkm_last_timestamp [14:14:36]Write 4 bytes [14:14:36]NVStorageSaveData done [14:14:36]ExternCall_PrintAddStr [14:14:36]wPrintStart [14:14:36]Write to MH i2c: 01 00 00 A5 01 A6 [14:14:36]Write i2c OK [14:14:36]MH_I2C_Read... [14:14:36]Read from MH i2c: 01 [14:14:36]MH_I2C_Read... [14:14:36]Read from MH i2c: 01 07 00 [14:14:36]MH_I2C_Read... [14:14:36]Read from MH i2c: 01 07 00 A5 01 00 00 00 00 00 FF 0F BB [14:14:36]RasterBufferAndPrint [14:14:36]line Счет N : (3)130849 [14:14:36]line ИНН: 02508201610067 [14:14:36]line Контрольно-Кассовый Чек [14:14:36]line ПРОДАЖА [14:14:36]line Товар: 4700000160211 [14:14:36]line Вода Легенда 0,5л [14:14:36]line 1.000 * 49.00 [14:14:36]line = 49.00 [14:14:36]line НДС 12% НСП 1% [14:14:36]line > о реализуемом товаре [14:14:36]line Товар: 4870002325113 [14:14:36]line Напиток PEPSI газированный ст 0,25л [14:14:36]line 1.000 * 94.00 [14:14:36]line = 94.00 [14:14:36]line НДС 12% НСП 1% [14:14:36]line > о реализуемом товаре [14:14:36]line Товар: 42113270 [14:14:36]line Жев Orbit арбуз [14:14:36]line 1.000 * 44.00 [14:14:36]line = 44.00 [14:14:36]line НДС 12% НСП 1% [14:14:36]line > о реализуемом товаре [14:14:36]line ИТОГО: 187.00 [14:14:36]line НСП 1% : 1.65 [14:14:36]line НДС 12% : 19.85 [14:14:36]line Наличными: 187.00 [14:14:36]line Безнал.: 0.00 [14:14:36]line Место: АЗС № 96 "Партнер Нефть" [14:14:36]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [14:14:36]line СНО: Общий режим [14:14:36]line Чек 30 21.02.2025 14:14 [14:14:36]line Смена: 386 ФФД: 1.0 [14:14:36]line ЗНМ: 0300000059 [14:14:36]line РНМ: 0000000000146237 [14:14:36]line Версия ККМ: v1.0 [14:14:36]line ФМ: 0000000000959282 [14:14:36]line ФД: 32642 [14:14:36]line ФПД: 96759871856359 [14:14:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T141435&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32642&fm=96759871856359&tin=02508201610067®Number=0000000000146237&sum=18700 [14:14:36]line 0 [14:14:36]written 0, free lines is 4095 [14:14:36]OFD Sender: Processing packet 32642 [packets to send 105, broken 104] [14:14:36]ProducePacketName [14:14:36]name=ofd_packets/00032642 [14:14:36]OFD Sender: To server: pG, [14:14:36]CommunicateWithHost lk.salyk.kg:30040 [14:14:36]ConnectInit lk.salyk.kg [14:14:36]Connected sock=7 [14:14:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 FE 01 00 00 D9 A1 F6 01 02 49 5A 03 01 00 03 00 EA 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 49 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C1 07 00 00 00 00 07 04 06 00 0C 49 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 4B 8A B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 82 7F 00 00 35 04 06 00 58 00 A9 CA 5E E7 D8 A6 1D AE 8D 8B 6F 1E [14:14:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 8E A2 47 00 5C EC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 82 7F 00 00 F4 03 04 00 E2 33 B8 67 B6 04 01 00 00 2E 03 97 50 67 D9 A5 D3 [14:14:37]CommunicateWithHost err = 0 [14:14:37]CheckOFDResponse [14:14:37]1017 (14) - 77093643461234 [14:14:37]1041 (16) - 0000000000959282 [14:14:37]1040 (4) - 32642 [14:14:37]1012 (4) - 21.02.2025 08:05 [14:14:37]1206 (1) - 0 [14:14:37]OFD Sender: Remove packet 32642 [14:14:37]ProducePacketName [14:14:37]name=ofd_packets/00032642 [14:14:37]NVStorageDeleteData [14:14:37]Write to MH i2c: 01 00 00 DA 01 DB [14:14:37]Write i2c OK [14:14:37]MH_I2C_Read... [14:14:37]Read from MH i2c: 01 [14:14:37]MH_I2C_Read... [14:14:37]Read from MH i2c: 01 07 00 [14:14:37]MH_I2C_Read... [14:14:37]Read from MH i2c: 01 07 00 DA 01 00 00 00 00 00 6A 0C 58 [14:14:37]RasterBufferAndPrint [14:14:37]line [14:14:37]line [14:14:37]line [14:14:37]line [14:14:37]line [14:14:37]written 0, free lines is 3187 [14:14:37]MH_Cut [14:14:37]Write to MH i2c: D1 01 00 E1 01 01 B4 [14:14:37]Write i2c OK [14:14:37]MH_I2C_Read... [14:14:37]Read from MH i2c: D1 [14:14:37]MH_I2C_Read... [14:14:37]Read from MH i2c: D1 01 00 [14:14:37]MH_I2C_Read... [14:14:37]Read from MH i2c: D1 01 00 E1 01 00 B3 [14:14:37]Write to MH i2c: 01 00 00 E2 01 E3 [14:14:37]Write i2c OK [14:14:37]MH_I2C_Read... [14:14:37]OFD Sender: No OFD packet to send [14:14:37]*** Cut start [14:14:37]*** Partial cut [14:14:37]*** CUTSNS_PIN = 1 [14:14:37]*** CUTSNS_PIN = 0 [14:14:38]*** Brake cut motor [14:14:38]Read from MH i2c: 01 [14:14:38]MH_I2C_Read... [14:14:38]*** Stop cut motor [14:14:38]*** Cut end [14:14:38]Read from MH i2c: 01 07 00 [14:14:38]MH_I2C_Read... [14:14:38]Read from MH i2c: 01 07 00 E2 01 00 00 00 00 00 FF 0F F8 [14:14:38]process_action close_receipt done [14:14:38]requested_data is exist [14:14:38]produce_requested_data [14:14:38]requested_item fm.sn is exist - process it [14:14:38]wFMCommunicate request_size=4 [14:14:38]MH_SAM_APDU [14:14:38]CAPDU: 80 11 00 00 [14:14:38]Write to MH i2c: E2 08 00 E3 01 80 11 00 00 00 00 00 00 5E [14:14:38]Write i2c OK [14:14:38]MH_I2C_Read... [14:14:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:14:38]Read from MH i2c: E2 [14:14:38]MH_I2C_Read... [14:14:38]Read from MH i2c: E2 17 00 [14:14:38]MH_I2C_Read... [14:14:38]Read from MH i2c: E2 17 00 E3 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 B4 [14:14:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [14:14:38]wFMCommunicate OK [14:14:38]requested_item fd.num is exist - process it [14:14:38]SAM_PROTO_GetFieldsCounters [14:14:38]wFMCommunicate request_size=4 [14:14:38]MH_SAM_APDU [14:14:38]CAPDU: 80 13 00 00 [14:14:38]Write to MH i2c: E2 08 00 E4 01 80 13 00 00 00 00 00 00 61 [14:14:38]Write i2c OK [14:14:38]MH_I2C_Read... [14:14:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:14:38]Read from MH i2c: E2 [14:14:38]MH_I2C_Read... [14:14:38]Read from MH i2c: E2 62 00 [14:14:38]MH_I2C_Read... [14:14:38]Read from MH i2c: E2 62 00 E4 01 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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 82 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 61 [14:14:38]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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 82 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:14:38]wFMCommunicate OK [14:14:38]SAM_PROTO_GetFieldsCounters done [14:14:38]requested_item shift.num is exist - process it [14:14:38]requested_item shift.opened is exist - process it [14:14:38]req_shift_opened [14:14:38]FM_GetShiftState [14:14:38]SAM_PROTO_GetShiftState [14:14:38]wFMCommunicate request_size=4 [14:14:38]MH_SAM_APDU [14:14:38]CAPDU: 80 13 01 00 [14:14:38]Write to MH i2c: E2 08 00 E5 01 80 13 01 00 00 00 00 00 63 [14:14:38]Write i2c OK [14:14:38]MH_I2C_Read... [14:14:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:14:38]Read from MH i2c: E2 [14:14:38]MH_I2C_Read... [14:14:38]Read from MH i2c: E2 0E 00 [14:14:38]MH_I2C_Read... [14:14:38]Read from MH i2c: E2 0E 00 E5 01 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 C8 [14:14:38]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [14:14:38]wFMCommunicate OK [14:14:38]SAM_PROTO_GetShiftState done [14:14:38]FM_GetShiftState done [14:14:38]req_shift_opened done [14:14:38]requested_item shift.open_date is exist - process it [14:14:38]req_shift_open_date [14:14:38]req_shift_open_date done [14:14:38]produce_requested_data done [14:14:38]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32642,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [14:14:38]process_action_free close_receipt [14:14:38]json_value_free [14:14:38]json_value_free done [14:14:38]process_json_proto returns [14:14:38]Send response to host [14:14:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32642,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [14:14:38]free response buf [14:14:38]execute_script done [14:14:38]execute_script returns [14:14:38]free content buf [14:14:38]Sock 10.Close socket [14:14:38]Sock 10.Thread stoped [14:14:42]OFD Sender: No OFD packet to send [14:14:47]OFD Sender: No OFD packet to send [14:14:52]OFD Sender: No OFD packet to send [14:14:57]OFD Sender: No OFD packet to send [14:15:02]OFD Sender: No OFD packet to send [14:15:07]OFD Sender: No OFD packet to send [14:15:12]OFD Sender: No OFD packet to send [14:15:17]OFD Sender: No OFD packet to send [14:15:22]OFD Sender: No OFD packet to send [14:15:27]OFD Sender: No OFD packet to send [14:15:32]OFD Sender: No OFD packet to send [14:15:37]OFD Sender: No OFD packet to send [14:15:42]OFD Sender: No OFD packet to send [14:15:47]OFD Sender: No OFD packet to send [14:15:52]OFD Sender: No OFD packet to send [14:15:57]OFD Sender: No OFD packet to send [14:16:02]OFD Sender: No OFD packet to send [14:16:07]OFD Sender: No OFD packet to send [14:16:12]OFD Sender: No OFD packet to send [14:16:17]OFD Sender: No OFD packet to send [14:16:22]OFD Sender: No OFD packet to send [14:16:27]OFD Sender: No OFD packet to send [14:16:32]OFD Sender: No OFD packet to send [14:16:37]OFD Sender: No OFD packet to send [14:16:42]OFD Sender: No OFD packet to send [14:16:47]OFD Sender: No OFD packet to send [14:16:52]OFD Sender: No OFD packet to send [14:16:57]OFD Sender: No OFD packet to send [14:17:02]OFD Sender: No OFD packet to send [14:17:07]OFD Sender: No OFD packet to send [14:17:12]OFD Sender: No OFD packet to send [14:17:17]OFD Sender: No OFD packet to send [14:17:22]OFD Sender: No OFD packet to send [14:17:32]OFD Sender: No OFD packet to send [14:17:37]OFD Sender: No OFD packet to send [14:17:42]OFD Sender: No OFD packet to send [14:17:47]OFD Sender: No OFD packet to send [14:17:52]OFD Sender: No OFD packet to send [14:17:57]OFD Sender: No OFD packet to send [14:18:02]OFD Sender: No OFD packet to send [14:18:07]OFD Sender: No OFD packet to send [14:18:12]OFD Sender: No OFD packet to send [14:18:17]OFD Sender: No OFD packet to send [14:18:22]OFD Sender: No OFD packet to send [14:18:27]OFD Sender: No OFD packet to send [14:18:32]OFD Sender: No OFD packet to send [14:18:37]OFD Sender: No OFD packet to send [14:18:42]OFD Sender: No OFD packet to send [14:18:47]OFD Sender: No OFD packet to send [14:18:52]OFD Sender: No OFD packet to send [14:18:57]OFD Sender: No OFD packet to send [14:19:02]OFD Sender: No OFD packet to send [14:19:07]OFD Sender: No OFD packet to send [14:19:12]OFD Sender: No OFD packet to send [14:19:17]OFD Sender: No OFD packet to send [14:19:22]OFD Sender: No OFD packet to send [14:19:27]OFD Sender: No OFD packet to send [14:19:32]OFD Sender: No OFD packet to send [14:19:37]OFD Sender: No OFD packet to send [14:19:40]ConnectInit Can't connect to host [14:19:42]OFD Sender: No OFD packet to send [14:19:47]OFD Sender: No OFD packet to send [14:19:52]OFD Sender: No OFD packet to send [14:19:58]OFD Sender: No OFD packet to send [14:20:03]OFD Sender: No OFD packet to send [14:20:08]OFD Sender: No OFD packet to send [14:20:13]OFD Sender: No OFD packet to send [14:20:18]OFD Sender: No OFD packet to send [14:20:23]OFD Sender: No OFD packet to send [14:20:28]OFD Sender: No OFD packet to send [14:20:33]OFD Sender: No OFD packet to send [14:20:38]OFD Sender: No OFD packet to send [14:20:43]OFD Sender: No OFD packet to send [14:20:48]OFD Sender: No OFD packet to send [14:20:53]OFD Sender: No OFD packet to send [14:20:58]OFD Sender: No OFD packet to send [14:21:03]OFD Sender: No OFD packet to send [14:21:08]OFD Sender: No OFD packet to send [14:21:13]OFD Sender: No OFD packet to send [14:21:18]OFD Sender: No OFD packet to send [14:21:23]OFD Sender: No OFD packet to send [14:21:28]OFD Sender: No OFD packet to send [14:21:33]OFD Sender: No OFD packet to send [14:21:38]OFD Sender: No OFD packet to send [14:21:43]OFD Sender: No OFD packet to send [14:21:48]OFD Sender: No OFD packet to send [14:21:53]OFD Sender: No OFD packet to send [14:21:58]OFD Sender: No OFD packet to send [14:22:03]OFD Sender: No OFD packet to send [14:22:08]OFD Sender: No OFD packet to send [14:22:13]OFD Sender: No OFD packet to send [14:22:18]OFD Sender: No OFD packet to send [14:22:23]OFD Sender: No OFD packet to send [14:22:28]OFD Sender: No OFD packet to send [14:22:33]OFD Sender: No OFD packet to send [14:22:38]OFD Sender: No OFD packet to send [14:22:43]OFD Sender: No OFD packet to send [14:22:48]OFD Sender: No OFD packet to send [14:22:53]OFD Sender: No OFD packet to send [14:22:58]OFD Sender: No OFD packet to send [14:23:03]OFD Sender: No OFD packet to send [14:23:08]OFD Sender: No OFD packet to send [14:23:13]OFD Sender: No OFD packet to send [14:23:18]OFD Sender: No OFD packet to send [14:23:23]OFD Sender: No OFD packet to send [14:23:28]OFD Sender: No OFD packet to send [14:23:33]OFD Sender: No OFD packet to send [14:23:38]OFD Sender: No OFD packet to send [14:23:43]OFD Sender: No OFD packet to send [14:23:48]OFD Sender: No OFD packet to send [14:23:53]OFD Sender: No OFD packet to send [14:23:58]OFD Sender: No OFD packet to send [14:24:03]OFD Sender: No OFD packet to send [14:24:08]OFD Sender: No OFD packet to send [14:24:13]OFD Sender: No OFD packet to send [14:24:18]OFD Sender: No OFD packet to send [14:24:23]OFD Sender: No OFD packet to send [14:24:28]OFD Sender: No OFD packet to send [14:24:33]OFD Sender: No OFD packet to send [14:24:38]OFD Sender: No OFD packet to send [14:24:43]OFD Sender: No OFD packet to send [14:24:48]OFD Sender: No OFD packet to send [14:24:53]OFD Sender: No OFD packet to send [14:24:58]OFD Sender: No OFD packet to send [14:25:03]OFD Sender: No OFD packet to send [14:25:08]OFD Sender: No OFD packet to send [14:25:13]OFD Sender: No OFD packet to send [14:25:18]OFD Sender: No OFD packet to send [14:25:23]OFD Sender: No OFD packet to send [14:25:28]OFD Sender: No OFD packet to send [14:25:33]OFD Sender: No OFD packet to send [14:25:38]OFD Sender: No OFD packet to send [14:25:43]OFD Sender: No OFD packet to send [14:25:48]OFD Sender: No OFD packet to send [14:25:53]OFD Sender: No OFD packet to send [14:25:58]OFD Sender: No OFD packet to send [14:26:03]OFD Sender: No OFD packet to send [14:26:08]OFD Sender: No OFD packet to send [14:26:13]OFD Sender: No OFD packet to send [14:26:18]OFD Sender: No OFD packet to send [14:26:23]OFD Sender: No OFD packet to send [14:26:28]OFD Sender: No OFD packet to send [14:26:33]OFD Sender: No OFD packet to send [14:26:38]OFD Sender: No OFD packet to send [14:26:43]OFD Sender: No OFD packet to send [14:26:48]OFD Sender: No OFD packet to send [14:26:53]OFD Sender: No OFD packet to send [14:26:58]OFD Sender: No OFD packet to send [14:27:03]OFD Sender: No OFD packet to send [14:27:08]OFD Sender: No OFD packet to send [14:27:13]OFD Sender: No OFD packet to send [14:27:18]OFD Sender: No OFD packet to send [14:27:23]OFD Sender: No OFD packet to send [14:27:28]OFD Sender: No OFD packet to send [14:27:33]OFD Sender: No OFD packet to send [14:27:38]OFD Sender: No OFD packet to send [14:27:43]OFD Sender: No OFD packet to send [14:27:48]OFD Sender: No OFD packet to send [14:27:53]OFD Sender: No OFD packet to send [14:27:58]OFD Sender: No OFD packet to send [14:28:03]OFD Sender: No OFD packet to send [14:28:08]OFD Sender: No OFD packet to send [14:28:13]OFD Sender: No OFD packet to send [14:28:18]OFD Sender: No OFD packet to send [14:28:23]OFD Sender: No OFD packet to send [14:28:28]OFD Sender: No OFD packet to send [14:28:33]OFD Sender: No OFD packet to send [14:28:38]OFD Sender: No OFD packet to send [14:28:43]OFD Sender: No OFD packet to send [14:28:48]OFD Sender: No OFD packet to send [14:28:53]OFD Sender: No OFD packet to send [14:28:58]OFD Sender: No OFD packet to send [14:29:03]OFD Sender: No OFD packet to send [14:29:08]OFD Sender: No OFD packet to send [14:29:13]OFD Sender: No OFD packet to send [14:29:18]OFD Sender: No OFD packet to send [14:29:23]OFD Sender: No OFD packet to send [14:29:28]OFD Sender: No OFD packet to send [14:29:33]OFD Sender: No OFD packet to send [14:29:38]OFD Sender: No OFD packet to send [14:29:43]OFD Sender: No OFD packet to send [14:29:48]OFD Sender: No OFD packet to send [14:29:53]OFD Sender: No OFD packet to send [14:29:58]OFD Sender: No OFD packet to send [14:30:03]OFD Sender: No OFD packet to send [14:30:08]OFD Sender: No OFD packet to send [14:30:13]OFD Sender: No OFD packet to send [14:30:18]OFD Sender: No OFD packet to send [14:30:23]OFD Sender: No OFD packet to send [14:30:28]OFD Sender: No OFD packet to send [14:30:33]OFD Sender: No OFD packet to send [14:30:38]OFD Sender: No OFD packet to send [14:30:43]OFD Sender: No OFD packet to send [14:30:48]OFD Sender: No OFD packet to send [14:30:53]OFD Sender: No OFD packet to send [14:30:58]OFD Sender: No OFD packet to send [14:31:03]OFD Sender: No OFD packet to send [14:31:08]OFD Sender: No OFD packet to send [14:31:13]OFD Sender: No OFD packet to send [14:31:18]OFD Sender: No OFD packet to send [14:31:23]OFD Sender: No OFD packet to send [14:31:28]OFD Sender: No OFD packet to send [14:31:33]OFD Sender: No OFD packet to send [14:31:38]OFD Sender: No OFD packet to send [14:31:43]OFD Sender: No OFD packet to send [14:31:48]OFD Sender: No OFD packet to send [14:31:53]OFD Sender: No OFD packet to send [14:31:58]OFD Sender: No OFD packet to send [14:32:03]OFD Sender: No OFD packet to send [14:32:08]OFD Sender: No OFD packet to send [14:32:13]OFD Sender: No OFD packet to send [14:32:18]OFD Sender: No OFD packet to send [14:32:23]OFD Sender: No OFD packet to send [14:32:28]OFD Sender: No OFD packet to send [14:32:33]OFD Sender: No OFD packet to send [14:32:38]OFD Sender: No OFD packet to send [14:32:43]OFD Sender: No OFD packet to send [14:32:48]OFD Sender: No OFD packet to send [14:32:53]OFD Sender: No OFD packet to send [14:32:58]OFD Sender: No OFD packet to send [14:33:03]OFD Sender: No OFD packet to send [14:33:08]OFD Sender: No OFD packet to send [14:33:13]OFD Sender: No OFD packet to send [14:33:18]OFD Sender: No OFD packet to send [14:33:23]OFD Sender: No OFD packet to send [14:33:28]OFD Sender: No OFD packet to send [14:33:33]OFD Sender: No OFD packet to send [14:33:38]OFD Sender: No OFD packet to send [14:33:43]OFD Sender: No OFD packet to send [14:33:48]OFD Sender: No OFD packet to send [14:33:53]OFD Sender: No OFD packet to send [14:33:58]OFD Sender: No OFD packet to send [14:34:03]OFD Sender: No OFD packet to send [14:34:08]OFD Sender: No OFD packet to send [14:34:13]OFD Sender: No OFD packet to send [14:34:18]OFD Sender: No OFD packet to send [14:34:23]OFD Sender: No OFD packet to send [14:34:28]OFD Sender: No OFD packet to send [14:34:33]OFD Sender: No OFD packet to send [14:34:38]OFD Sender: No OFD packet to send [14:34:43]OFD Sender: No OFD packet to send [14:34:48]OFD Sender: No OFD packet to send [14:34:53]OFD Sender: No OFD packet to send [14:34:58]OFD Sender: No OFD packet to send [14:35:04]OFD Sender: No OFD packet to send [14:35:09]OFD Sender: No OFD packet to send [14:35:14]OFD Sender: No OFD packet to send [14:35:19]OFD Sender: No OFD packet to send [14:35:24]OFD Sender: No OFD packet to send [14:35:29]OFD Sender: No OFD packet to send [14:35:34]OFD Sender: No OFD packet to send [14:35:39]OFD Sender: No OFD packet to send [14:35:44]OFD Sender: No OFD packet to send [14:35:49]OFD Sender: No OFD packet to send [14:35:54]OFD Sender: No OFD packet to send [14:35:59]OFD Sender: No OFD packet to send [14:36:04]OFD Sender: No OFD packet to send [14:36:09]OFD Sender: No OFD packet to send [14:36:14]OFD Sender: No OFD packet to send [14:36:19]OFD Sender: No OFD packet to send [14:36:24]OFD Sender: No OFD packet to send [14:36:29]OFD Sender: No OFD packet to send [14:36:34]OFD Sender: No OFD packet to send [14:36:39]OFD Sender: No OFD packet to send [14:36:44]OFD Sender: No OFD packet to send [14:36:49]OFD Sender: No OFD packet to send [14:36:54]OFD Sender: No OFD packet to send [14:36:59]OFD Sender: No OFD packet to send [14:37:04]OFD Sender: No OFD packet to send [14:37:09]OFD Sender: No OFD packet to send [14:37:14]OFD Sender: No OFD packet to send [14:37:19]OFD Sender: No OFD packet to send [14:37:24]OFD Sender: No OFD packet to send [14:37:29]OFD Sender: No OFD packet to send [14:37:34]OFD Sender: No OFD packet to send [14:37:39]OFD Sender: No OFD packet to send [14:37:44]OFD Sender: No OFD packet to send [14:37:49]OFD Sender: No OFD packet to send [14:37:54]OFD Sender: No OFD packet to send [14:37:59]OFD Sender: No OFD packet to send [14:38:04]OFD Sender: No OFD packet to send [14:38:09]OFD Sender: No OFD packet to send [14:38:14]OFD Sender: No OFD packet to send [14:38:19]OFD Sender: No OFD packet to send [14:38:24]OFD Sender: No OFD packet to send [14:38:29]OFD Sender: No OFD packet to send [14:38:34]OFD Sender: No OFD packet to send [14:38:39]OFD Sender: No OFD packet to send [14:38:44]OFD Sender: No OFD packet to send [14:38:49]OFD Sender: No OFD packet to send [14:38:54]OFD Sender: No OFD packet to send [14:38:59]OFD Sender: No OFD packet to send [14:39:04]OFD Sender: No OFD packet to send [14:39:09]OFD Sender: No OFD packet to send [14:39:14]OFD Sender: No OFD packet to send [14:39:19]OFD Sender: No OFD packet to send [14:39:24]OFD Sender: No OFD packet to send [14:39:29]OFD Sender: No OFD packet to send [14:39:34]OFD Sender: No OFD packet to send [14:39:39]OFD Sender: No OFD packet to send [14:39:44]OFD Sender: No OFD packet to send [14:39:49]OFD Sender: No OFD packet to send [14:39:54]OFD Sender: No OFD packet to send [14:39:59]OFD Sender: No OFD packet to send [14:40:04]OFD Sender: No OFD packet to send [14:40:09]OFD Sender: No OFD packet to send [14:40:14]OFD Sender: No OFD packet to send [14:40:19]OFD Sender: No OFD packet to send [14:40:24]OFD Sender: No OFD packet to send [14:40:29]OFD Sender: No OFD packet to send [14:40:34]OFD Sender: No OFD packet to send [14:40:39]OFD Sender: No OFD packet to send [14:40:44]OFD Sender: No OFD packet to send [14:40:49]OFD Sender: No OFD packet to send [14:40:54]OFD Sender: No OFD packet to send [14:40:59]OFD Sender: No OFD packet to send [14:41:04]OFD Sender: No OFD packet to send [14:41:09]OFD Sender: No OFD packet to send [14:41:14]OFD Sender: No OFD packet to send [14:41:19]OFD Sender: No OFD packet to send [14:41:24]OFD Sender: No OFD packet to send [14:41:29]OFD Sender: No OFD packet to send [14:41:34]OFD Sender: No OFD packet to send [14:41:39]OFD Sender: No OFD packet to send [14:41:44]OFD Sender: No OFD packet to send [14:41:49]OFD Sender: No OFD packet to send [14:41:54]OFD Sender: No OFD packet to send [14:41:59]OFD Sender: No OFD packet to send [14:42:04]OFD Sender: No OFD packet to send [14:42:09]OFD Sender: No OFD packet to send [14:42:14]OFD Sender: No OFD packet to send [14:42:19]OFD Sender: No OFD packet to send [14:42:24]OFD Sender: No OFD packet to send [14:42:29]OFD Sender: No OFD packet to send [14:42:34]OFD Sender: No OFD packet to send [14:42:39]OFD Sender: No OFD packet to send [14:42:44]OFD Sender: No OFD packet to send [14:42:49]OFD Sender: No OFD packet to send [14:42:54]OFD Sender: No OFD packet to send [14:42:59]OFD Sender: No OFD packet to send [14:43:04]OFD Sender: No OFD packet to send [14:43:09]OFD Sender: No OFD packet to send [14:43:14]OFD Sender: No OFD packet to send [14:43:19]OFD Sender: No OFD packet to send [14:43:24]OFD Sender: No OFD packet to send [14:43:29]OFD Sender: No OFD packet to send [14:43:34]OFD Sender: No OFD packet to send [14:43:39]OFD Sender: No OFD packet to send [14:43:44]OFD Sender: No OFD packet to send [14:43:49]OFD Sender: No OFD packet to send [14:43:54]OFD Sender: No OFD packet to send [14:43:59]OFD Sender: No OFD packet to send [14:44:04]OFD Sender: No OFD packet to send [14:44:09]OFD Sender: No OFD packet to send [14:44:14]OFD Sender: No OFD packet to send [14:44:19]OFD Sender: No OFD packet to send [14:44:24]OFD Sender: No OFD packet to send [14:44:29]OFD Sender: No OFD packet to send [14:44:34]OFD Sender: No OFD packet to send [14:44:39]OFD Sender: No OFD packet to send [14:44:44]OFD Sender: No OFD packet to send [14:44:49]OFD Sender: No OFD packet to send [14:44:54]OFD Sender: No OFD packet to send [14:44:59]OFD Sender: No OFD packet to send [14:45:04]OFD Sender: No OFD packet to send [14:45:09]OFD Sender: No OFD packet to send [14:45:14]OFD Sender: No OFD packet to send [14:45:19]OFD Sender: No OFD packet to send [14:45:24]OFD Sender: No OFD packet to send [14:45:29]OFD Sender: No OFD packet to send [14:45:34]OFD Sender: No OFD packet to send [14:45:39]OFD Sender: No OFD packet to send [14:45:44]OFD Sender: No OFD packet to send [14:45:49]OFD Sender: No OFD packet to send [14:45:54]OFD Sender: No OFD packet to send [14:45:59]OFD Sender: No OFD packet to send [14:46:04]OFD Sender: No OFD packet to send [14:46:09]OFD Sender: No OFD packet to send [14:46:14]OFD Sender: No OFD packet to send [14:46:19]OFD Sender: No OFD packet to send [14:46:24]OFD Sender: No OFD packet to send [14:46:29]OFD Sender: No OFD packet to send [14:46:34]OFD Sender: No OFD packet to send [14:46:39]OFD Sender: No OFD packet to send [14:46:44]OFD Sender: No OFD packet to send [14:46:49]OFD Sender: No OFD packet to send [14:46:54]OFD Sender: No OFD packet to send [14:46:59]OFD Sender: No OFD packet to send [14:47:04]OFD Sender: No OFD packet to send [14:47:09]OFD Sender: No OFD packet to send [14:47:14]OFD Sender: No OFD packet to send [14:47:19]OFD Sender: No OFD packet to send [14:47:24]OFD Sender: No OFD packet to send [14:47:29]OFD Sender: No OFD packet to send [14:47:34]OFD Sender: No OFD packet to send [14:47:39]OFD Sender: No OFD packet to send [14:47:44]OFD Sender: No OFD packet to send [14:47:49]OFD Sender: No OFD packet to send [14:47:54]OFD Sender: No OFD packet to send [14:47:59]OFD Sender: No OFD packet to send [14:48:04]OFD Sender: No OFD packet to send [14:48:09]OFD Sender: No OFD packet to send [14:48:14]OFD Sender: No OFD packet to send [14:48:19]OFD Sender: No OFD packet to send [14:48:24]OFD Sender: No OFD packet to send [14:48:29]OFD Sender: No OFD packet to send [14:48:34]OFD Sender: No OFD packet to send [14:48:39]OFD Sender: No OFD packet to send [14:48:44]OFD Sender: No OFD packet to send [14:48:49]OFD Sender: No OFD packet to send [14:48:54]OFD Sender: No OFD packet to send [14:48:59]OFD Sender: No OFD packet to send [14:49:04]OFD Sender: No OFD packet to send [14:49:09]OFD Sender: No OFD packet to send [14:49:14]OFD Sender: No OFD packet to send [14:49:19]OFD Sender: No OFD packet to send [14:49:24]OFD Sender: No OFD packet to send [14:49:29]OFD Sender: No OFD packet to send [14:49:34]OFD Sender: No OFD packet to send [14:49:39]OFD Sender: No OFD packet to send [14:49:44]OFD Sender: No OFD packet to send [14:49:49]OFD Sender: No OFD packet to send [14:49:54]OFD Sender: No OFD packet to send [14:49:59]OFD Sender: No OFD packet to send [14:50:04]OFD Sender: No OFD packet to send [14:50:09]OFD Sender: No OFD packet to send [14:50:14]OFD Sender: No OFD packet to send [14:50:20]OFD Sender: No OFD packet to send [14:50:25]OFD Sender: No OFD packet to send [14:50:30]OFD Sender: No OFD packet to send [14:50:35]OFD Sender: No OFD packet to send [14:50:40]OFD Sender: No OFD packet to send [14:50:45]OFD Sender: No OFD packet to send [14:50:50]OFD Sender: No OFD packet to send [14:50:55]OFD Sender: No OFD packet to send [14:51:00]OFD Sender: No OFD packet to send [14:51:05]OFD Sender: No OFD packet to send [14:51:10]OFD Sender: No OFD packet to send [14:51:15]OFD Sender: No OFD packet to send [14:51:20]OFD Sender: No OFD packet to send [14:51:25]OFD Sender: No OFD packet to send [14:51:30]OFD Sender: No OFD packet to send [14:51:35]OFD Sender: No OFD packet to send [14:51:40]OFD Sender: No OFD packet to send [14:51:45]OFD Sender: No OFD packet to send [14:51:50]OFD Sender: No OFD packet to send [14:51:55]OFD Sender: No OFD packet to send [14:52:00]OFD Sender: No OFD packet to send [14:52:05]OFD Sender: No OFD packet to send [14:52:10]OFD Sender: No OFD packet to send [14:52:15]OFD Sender: No OFD packet to send [14:52:20]OFD Sender: No OFD packet to send [14:52:25]OFD Sender: No OFD packet to send [14:52:30]OFD Sender: No OFD packet to send [14:52:35]OFD Sender: No OFD packet to send [14:52:40]OFD Sender: No OFD packet to send [14:52:45]OFD Sender: No OFD packet to send [14:52:50]OFD Sender: No OFD packet to send [14:52:55]OFD Sender: No OFD packet to send [14:53:00]OFD Sender: No OFD packet to send [14:53:05]OFD Sender: No OFD packet to send [14:53:10]OFD Sender: No OFD packet to send [14:53:15]OFD Sender: No OFD packet to send [14:53:20]OFD Sender: No OFD packet to send [14:53:25]OFD Sender: No OFD packet to send [14:53:30]OFD Sender: No OFD packet to send [14:53:35]OFD Sender: No OFD packet to send [14:53:40]OFD Sender: No OFD packet to send [14:53:45]OFD Sender: No OFD packet to send [14:53:50]OFD Sender: No OFD packet to send [14:53:55]OFD Sender: No OFD packet to send [14:54:00]OFD Sender: No OFD packet to send [14:54:05]OFD Sender: No OFD packet to send [14:54:10]OFD Sender: No OFD packet to send [14:54:15]OFD Sender: No OFD packet to send [14:54:20]OFD Sender: No OFD packet to send [14:54:25]OFD Sender: No OFD packet to send [14:54:30]OFD Sender: No OFD packet to send [14:54:35]OFD Sender: No OFD packet to send [14:54:40]OFD Sender: No OFD packet to send [14:54:45]OFD Sender: No OFD packet to send [14:54:50]OFD Sender: No OFD packet to send [14:54:55]OFD Sender: No OFD packet to send [14:55:00]OFD Sender: No OFD packet to send [14:55:05]OFD Sender: No OFD packet to send [14:55:10]OFD Sender: No OFD packet to send [14:55:15]OFD Sender: No OFD packet to send [14:55:20]OFD Sender: No OFD packet to send [14:55:25]accept exits with 9 [14:55:25]New connection [14:55:25]New thread 3067473252 created [14:55:25]Thread 3067329892 joined [14:55:25]Waiting for new connection... [14:55:25] Sock 9.Parse request [14:55:25]Sock 9.Check first char [14:55:25]Sock 9.First char is OK [14:55:25]request: POST /json_proto HTTP/1.0 [14:55:25]Method: POST [14:55:25]URL: /json_proto [14:55:25]Method is POST - this is cgi request [14:55:25]url: /json_proto [14:55:25]query_string will be loaded in cgi processing [14:55:25]execute_cgi json_proto POST (null) [14:55:25]execute_cgi path=json_proto method=POST [14:55:25]POST find Content-Length [14:55:25]Host: 172.17.47.135:8080 [14:55:25]Content-Length: 678 [14:55:25]Content-Type: application/json [14:55:25] [14:55:25]POST finish read [14:55:25]Found Content-Length = 678 [14:55:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6545093", "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" : 64.20, "quantity" : 6.240, "sum" : 400.61, "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" ] } } [14:55:25]execute_script... [14:55:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6545093", "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" : 64.20, "quantity" : 6.240, "sum" : 400.61, "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" ] } } [14:55:25]POST & json_proto [14:55:25]process_json_proto [14:55:25]json parsed OK: [14:55:25]protocol is kg_v1.0 [14:55:25]action value=close_receipt [14:55:25]process_action close_receipt [14:55:25]cmd_close_receipt [14:55:25]MH_GetDate [14:55:25]Write to MH i2c: F0 00 00 E6 01 D6 [14:55:25]Write i2c OK [14:55:25]MH_I2C_Read... [14:55:25]Read from MH i2c: F0 [14:55:25]MH_I2C_Read... [14:55:25]Read from MH i2c: F0 09 00 [14:55:25]MH_I2C_Read... [14:55:25]Read from MH i2c: F0 09 00 E6 01 00 DE 93 B8 67 19 D8 DE 66 A4 [14:55:25]GetLastDocTimeStamp 1740147275 [14:55:25]current date 1740149726 [14:55:25]FM_GetShiftState [14:55:25]SAM_PROTO_GetShiftState [14:55:25]wFMCommunicate request_size=4 [14:55:25]MH_SAM_APDU [14:55:25]CAPDU: 80 13 01 00 [14:55:25]Write to MH i2c: E2 08 00 E7 01 80 13 01 00 00 00 00 00 65 [14:55:25]Write i2c OK [14:55:25]MH_I2C_Read... [14:55:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:55:25]Read from MH i2c: E2 [14:55:25]MH_I2C_Read... [14:55:25]Read from MH i2c: E2 0E 00 [14:55:25]MH_I2C_Read... [14:55:25]Read from MH i2c: E2 0E 00 E7 01 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 CA [14:55:25]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [14:55:25]wFMCommunicate OK [14:55:25]SAM_PROTO_GetShiftState done [14:55:25]FM_GetShiftState done [14:55:25]opened in 1740096631 [14:55:25]opened+sec_in_day 1740183031 [14:55:25]quantity*price = 40060 [14:55:25]sum+1 = 40062 [14:55:25]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.61 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.54 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 31 21.02.2025 14:55 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32643 ФПД: 210678930825947 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T145526&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32643&fm=210678930825947&tin=02508201610067®Number=0000000000146237&sum=40000 [14:55:26]StoreToDocumentArchive [14:55:26]shift 386 fd 32643 [14:55:26]save to /storage/0386/doc_00032643 [14:55:26]save last doc name /storage/0386/doc_00032643 to /storage/kkm_last_doc_name [14:55:26]save OK [14:55:26]Clear old archive folders... [14:55:26]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:55:26]tlvbuf is 00802E20 [14:55:26]SAM_PROTO_ClearQueue [14:55:26]wFMCommunicate request_size=4 [14:55:26]MH_SAM_APDU [14:55:26]CAPDU: 80 09 00 00 [14:55:26]Write to MH i2c: E2 08 00 F4 01 80 09 00 00 00 00 00 00 67 [14:55:26]Write i2c OK [14:55:26]MH_I2C_Read... [14:55:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:55:26]Read from MH i2c: E2 [14:55:26]MH_I2C_Read... [14:55:26]Read from MH i2c: E2 03 00 [14:55:26]MH_I2C_Read... [14:55:26]Read from MH i2c: E2 03 00 F4 01 00 90 00 69 [14:55:26]RAPDU: 90 00 [14:55:26]wFMCommunicate OK [14:55:26]SAM_PROTO_ClearQueue done [14:55:26]KKMCreateOFDPacket [14:55:26]OFDProtocolAddRootSTLVToBuf [14:55:26]FM_MakeSignedData [14:55:26]FM_MakeSignedData [14:55:26]SAM_PROTO_SignData [14:55:26]wFMCommunicate request_size=4 [14:55:26]MH_SAM_APDU [14:55:26]CAPDU: 80 0D 01 02 [14:55:26]Write to MH i2c: E2 08 00 F5 01 80 0D 01 02 00 00 00 00 6F [14:55:26]Write i2c OK [14:55:26]MH_I2C_Read... [14:55:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:55:26]Read from MH i2c: E2 [14:55:26]MH_I2C_Read... [14:55:26]Read from MH i2c: E2 03 00 [14:55:26]MH_I2C_Read... [14:55:26]Read from MH i2c: E2 03 00 F5 01 00 90 00 6A [14:55:26]RAPDU: 90 00 [14:55:26]wFMCommunicate OK [14:55:26]wFMCommunicate request_size=255 [14:55:26]MH_SAM_APDU [14:55:26]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 60 18 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 7D 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 9E 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 1F 00 00 00 F4 03 04 00 DE 93 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 83 7F 00 00 35 04 06 00 BF [14:55:26]Write to MH i2c: E2 02 01 F6 01 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 60 18 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 7D 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 9E 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 1F 00 00 00 F4 03 04 00 DE 93 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 83 7F 00 00 35 04 06 00 BF 00 00 F4 [14:55:26]Write i2c OK [14:55:26]MH_I2C_Read... [14:55:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:55:26]Read from MH i2c: E2 [14:55:26]MH_I2C_Read... [14:55:26]Read from MH i2c: E2 03 00 [14:55:26]MH_I2C_Read... [14:55:26]Read from MH i2c: E2 03 00 F6 01 00 90 00 6B [14:55:26]RAPDU: 90 00 [14:55:26]wFMCommunicate OK [14:55:26]wFMCommunicate request_size=10 [14:55:26]MH_SAM_APDU [14:55:26]CAPDU: 80 0D 02 02 05 9C 82 D5 62 DB [14:55:26]Write to MH i2c: E2 0D 00 F7 01 80 0D 02 02 05 00 9C 82 D5 62 DB 00 00 AC [14:55:26]Write i2c OK [14:55:26]MH_I2C_Read... [14:55:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:55:26]Read from MH i2c: E2 [14:55:26]MH_I2C_Read... [14:55:26]Read from MH i2c: E2 03 00 [14:55:26]MH_I2C_Read... [14:55:26]Read from MH i2c: E2 03 00 F7 01 00 90 00 6C [14:55:26]RAPDU: 90 00 [14:55:26]wFMCommunicate OK [14:55:26]wFMCommunicate request_size=4 [14:55:26]MH_SAM_APDU [14:55:26]CAPDU: 80 0D 03 02 [14:55:26]Write to MH i2c: E2 08 00 F8 01 80 0D 03 02 00 00 00 00 74 [14:55:26]Write i2c OK [14:55:26]MH_I2C_Read... [14:55:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:55:26]Read from MH i2c: E2 [14:55:26]MH_I2C_Read... [14:55:26]Read from MH i2c: E2 0B 00 [14:55:26]MH_I2C_Read... [14:55:26]Read from MH i2c: E2 0B 00 F8 01 00 A3 43 09 47 C8 92 70 08 90 00 7D [14:55:26]RAPDU: A3 43 09 47 C8 92 70 08 90 00 [14:55:26]wFMCommunicate OK [14:55:26]SAM_PROTO_SignData done [14:55:26]FM_MakeSignedData done [14:55:26]CreateOFDProtocolMessage [14:55:26]wFMCommunicate request_size=4 [14:55:26]MH_SAM_APDU [14:55:26]CAPDU: 80 11 00 00 [14:55:26]Write to MH i2c: E2 08 00 F9 01 80 11 00 00 00 00 00 00 74 [14:55:26]Write i2c OK [14:55:26]MH_I2C_Read... [14:55:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:55:26]Read from MH i2c: E2 [14:55:26]MH_I2C_Read... [14:55:26]Read from MH i2c: E2 17 00 [14:55:26]MH_I2C_Read... [14:55:26]Read from MH i2c: E2 17 00 F9 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 CA [14:55:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [14:55:26]wFMCommunicate OK [14:55:26]CreateOFDProtocolMessage done [14:55:26]OFDSenderStorePacket 32643 [14:55:26]StoreOFDPacket docnum=32643 [14:55:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 69 5E 07 01 A3 EF 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 60 18 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 7D 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 9E 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 1F 00 00 00 F4 03 04 00 DE 93 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 83 7F 00 00 35 04 06 00 BF 9C 82 D5 62 DB A3 43 09 47 C8 92 70 08 [14:55:26]CheckFolder [14:55:26]dirname=/storage/ofd_packets [14:55:26]CheckFolder done [14:55:26]ProducePacketName [14:55:26]name=ofd_packets/00032643 [14:55:26]NVStorageSaveData ofd_packets/00032643 [14:55:26]File name is /storage/ofd_packets/00032643 [14:55:26]Write 301 bytes [14:55:26]NVStorageSaveData done [14:55:26]OFDSenderStorePacket done [14:55:26]KKMCreateOFDPacket done [14:55:26]NVStorageSaveData kkm_last_timestamp [14:55:26]File name is /storage/kkm_last_timestamp [14:55:26]Write 4 bytes [14:55:26]NVStorageSaveData done [14:55:26]ExternCall_PrintAddStr [14:55:26]wPrintStart [14:55:26]Write to MH i2c: 01 00 00 FA 01 FB [14:55:26]Write i2c OK [14:55:26]MH_I2C_Read... [14:55:26]Read from MH i2c: 01 [14:55:26]MH_I2C_Read... [14:55:26]Read from MH i2c: 01 07 00 [14:55:26]MH_I2C_Read... [14:55:26]Read from MH i2c: 01 07 00 FA 01 00 00 00 00 00 FF 0F 10 [14:55:26]RasterBufferAndPrint [14:55:26]line Счет N : (1)6545093 [14:55:26]line ИНН: 02508201610067 [14:55:26]line Контрольно-Кассовый Чек [14:55:26]line ПРОДАЖА [14:55:26]line ТРК (МРК, ГНК) : 12 [14:55:26]line Товар: 2710124130 [14:55:26]line Аи-92-К-5 [14:55:26]line 6.240 * 64.20 [14:55:26]line = 400.61 [14:55:26]line НДС 12% НСП 1% [14:55:26]line > о реализуемом товаре [14:55:26]line ОКРУГЛЕНИЕ: -0.61 [14:55:26]line ИТОГО: 400.00 [14:55:26]line Внесено: 400.00 [14:55:26]line СДАЧА: 0.00 [14:55:26]line НСП 1% : 3.54 [14:55:26]line НДС 12% : 42.54 [14:55:26]line Наличными: 400.00 [14:55:26]line Безнал.: 0.00 [14:55:26]line Место: АЗС № 96 "Партнер Нефть" [14:55:26]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [14:55:26]line СНО: Общий режим [14:55:26]line Чек 31 21.02.2025 14:55 [14:55:26]line Смена: 386 ФФД: 1.0 [14:55:26]line ЗНМ: 0300000059 [14:55:26]line РНМ: 0000000000146237 [14:55:26]line Версия ККМ: v1.0 [14:55:26]line ФМ: 0000000000959282 [14:55:26]line ФД: 32643 [14:55:26]line ФПД: 210678930825947 [14:55:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T145526&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32643&fm=210678930825947&tin=02508201610067®Number=0000000000146237&sum=40000 [14:55:27]written 0, free lines is 4095 [14:55:27]OFD Sender: Processing packet 32643 [packets to send 105, broken 104] [14:55:27]ProducePacketName [14:55:27]name=ofd_packets/00032643 [14:55:27]OFD Sender: To server: pG, [14:55:27]CommunicateWithHost lk.salyk.kg:30040 [14:55:27]ConnectInit lk.salyk.kg [14:55:27]Connected sock=7 [14:55: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 32 38 32 0F 01 00 00 69 5E 07 01 A3 EF 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 60 18 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 7D 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 9E 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 1F 00 00 00 F4 03 04 00 DE 93 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 83 7F 00 00 35 04 06 00 BF 9C 82 D5 62 DB A3 43 09 47 C8 92 70 08 [14:55:27]Write to MH i2c: 01 00 00 25 02 27 [14:55:27]Write i2c OK [14:55:27]MH_I2C_Read... [14:55:27]Read from MH i2c: 01 [14:55:27]MH_I2C_Read... [14:55:27]Read from MH i2c: 01 07 00 [14:55:27]MH_I2C_Read... [14:55:27]Read from MH i2c: 01 07 00 25 02 00 00 00 00 00 E4 0C 1E [14:55:27]RasterBufferAndPrint [14:55:27]line [14:55:27]line [14:55:27]line [14:55:27]line [14:55:27]line [14:55:27]written 0, free lines is 3306 [14:55:27]MH_Cut [14:55:27]Write to MH i2c: D1 01 00 2C 02 01 00 [14:55:27]Write i2c OK [14:55:27]MH_I2C_Read... [14:55:27]Read from MH i2c: D1 [14:55:27]MH_I2C_Read... [14:55:27]Read from MH i2c: D1 01 00 [14:55:27]MH_I2C_Read... [14:55:27]Read from MH i2c: D1 01 00 2C 02 00 FF [14:55:27]Write to MH i2c: 01 00 00 2D 02 2F [14:55:27]Write i2c OK [14:55:27]MH_I2C_Read... [14:55:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 A4 F5 47 00 65 4C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 83 7F 00 00 F4 03 04 00 74 3D B8 67 B6 04 01 00 00 B7 9F A0 C8 CE FD FE BE [14:55:27]CommunicateWithHost err = 0 [14:55:27]CheckOFDResponse [14:55:27]1017 (14) - 77093643461234 [14:55:27]1041 (16) - 0000000000959282 [14:55:27]1040 (4) - 32643 [14:55:27]1012 (4) - 21.02.2025 08:46 [14:55:27]1206 (1) - 0 [14:55:27]OFD Sender: Remove packet 32643 [14:55:27]ProducePacketName [14:55:27]name=ofd_packets/00032643 [14:55:27]NVStorageDeleteData [14:55:28]OFD Sender: No OFD packet to send [14:55:28]*** Cut start [14:55:28]*** Partial cut [14:55:28]*** CUTSNS_PIN = 1 [14:55:28]*** CUTSNS_PIN = 0 [14:55:28]*** Brake cut motor [14:55:28]Read from MH i2c: 01 [14:55:28]MH_I2C_Read... [14:55:28]*** Stop cut motor [14:55:28]*** Cut end [14:55:28]Read from MH i2c: 01 07 00 [14:55:28]MH_I2C_Read... [14:55:28]Read from MH i2c: 01 07 00 2D 02 00 00 00 00 00 FF 0F 44 [14:55:28]process_action close_receipt done [14:55:28]requested_data is exist [14:55:28]produce_requested_data [14:55:28]requested_item fm.sn is exist - process it [14:55:28]wFMCommunicate request_size=4 [14:55:28]MH_SAM_APDU [14:55:28]CAPDU: 80 11 00 00 [14:55:28]Write to MH i2c: E2 08 00 2E 02 80 11 00 00 00 00 00 00 AA [14:55:28]Write i2c OK [14:55:28]MH_I2C_Read... [14:55:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:55:28]Read from MH i2c: E2 [14:55:28]MH_I2C_Read... [14:55:28]Read from MH i2c: E2 17 00 [14:55:28]MH_I2C_Read... [14:55:28]Read from MH i2c: E2 17 00 2E 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 00 [14:55:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [14:55:28]wFMCommunicate OK [14:55:28]requested_item fd.num is exist - process it [14:55:28]SAM_PROTO_GetFieldsCounters [14:55:28]wFMCommunicate request_size=4 [14:55:28]MH_SAM_APDU [14:55:28]CAPDU: 80 13 00 00 [14:55:28]Write to MH i2c: E2 08 00 2F 02 80 13 00 00 00 00 00 00 AD [14:55:28]Write i2c OK [14:55:28]MH_I2C_Read... [14:55:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:55:29]Read from MH i2c: E2 [14:55:29]MH_I2C_Read... [14:55:29]Read from MH i2c: E2 62 00 [14:55:29]MH_I2C_Read... [14:55:29]Read from MH i2c: E2 62 00 2F 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 83 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 B1 [14:55:29]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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 83 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:55:29]wFMCommunicate OK [14:55:29]SAM_PROTO_GetFieldsCounters done [14:55:29]requested_item shift.num is exist - process it [14:55:29]requested_item shift.opened is exist - process it [14:55:29]req_shift_opened [14:55:29]FM_GetShiftState [14:55:29]SAM_PROTO_GetShiftState [14:55:29]wFMCommunicate request_size=4 [14:55:29]MH_SAM_APDU [14:55:29]CAPDU: 80 13 01 00 [14:55:29]Write to MH i2c: E2 08 00 30 02 80 13 01 00 00 00 00 00 AF [14:55:29]Write i2c OK [14:55:29]MH_I2C_Read... [14:55:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:55:29]Read from MH i2c: E2 [14:55:29]MH_I2C_Read... [14:55:29]Read from MH i2c: E2 0E 00 [14:55:29]MH_I2C_Read... [14:55:29]Read from MH i2c: E2 0E 00 30 02 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 14 [14:55:29]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [14:55:29]wFMCommunicate OK [14:55:29]SAM_PROTO_GetShiftState done [14:55:29]FM_GetShiftState done [14:55:29]req_shift_opened done [14:55:29]requested_item shift.open_date is exist - process it [14:55:29]req_shift_open_date [14:55:29]req_shift_open_date done [14:55:29]produce_requested_data done [14:55:29]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32643,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [14:55:29]process_action_free close_receipt [14:55:29]json_value_free [14:55:29]json_value_free done [14:55:29]process_json_proto returns [14:55:29]Send response to host [14:55:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32643,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [14:55:29]free response buf [14:55:29]execute_script done [14:55:29]execute_script returns [14:55:29]free content buf [14:55:29]Sock 9.Close socket [14:55:29]Sock 9.Thread stoped [14:55:33]OFD Sender: No OFD packet to send [14:55:38]OFD Sender: No OFD packet to send [14:55:43]OFD Sender: No OFD packet to send [14:55:48]OFD Sender: No OFD packet to send [14:55:53]OFD Sender: No OFD packet to send [14:55:58]OFD Sender: No OFD packet to send [14:56:03]OFD Sender: No OFD packet to send [14:56:08]OFD Sender: No OFD packet to send [14:56:13]OFD Sender: No OFD packet to send [14:56:18]OFD Sender: No OFD packet to send [14:56:23]OFD Sender: No OFD packet to send [14:56:28]OFD Sender: No OFD packet to send [14:56:33]OFD Sender: No OFD packet to send [14:56:38]OFD Sender: No OFD packet to send [14:56:43]OFD Sender: No OFD packet to send [14:56:48]OFD Sender: No OFD packet to send [14:56:53]OFD Sender: No OFD packet to send [14:56:58]OFD Sender: No OFD packet to send [14:57:03]OFD Sender: No OFD packet to send [14:57:08]OFD Sender: No OFD packet to send [14:57:13]OFD Sender: No OFD packet to send [14:57:18]OFD Sender: No OFD packet to send [14:57:23]OFD Sender: No OFD packet to send [14:57:28]OFD Sender: No OFD packet to send [14:57:33]OFD Sender: No OFD packet to send [14:57:38]OFD Sender: No OFD packet to send [14:57:43]OFD Sender: No OFD packet to send [14:57:48]OFD Sender: No OFD packet to send [14:57:53]OFD Sender: No OFD packet to send [14:57:58]OFD Sender: No OFD packet to send [14:58:03]OFD Sender: No OFD packet to send [14:58:08]OFD Sender: No OFD packet to send [14:58:13]OFD Sender: No OFD packet to send [14:58:18]OFD Sender: No OFD packet to send [14:58:23]OFD Sender: No OFD packet to send [14:58:28]OFD Sender: No OFD packet to send [14:58:33]OFD Sender: No OFD packet to send [14:58:38]OFD Sender: No OFD packet to send [14:58:43]OFD Sender: No OFD packet to send [14:58:48]OFD Sender: No OFD packet to send [14:58:53]OFD Sender: No OFD packet to send [14:58:58]OFD Sender: No OFD packet to send [14:59:03]OFD Sender: No OFD packet to send [14:59:08]OFD Sender: No OFD packet to send [14:59:13]OFD Sender: No OFD packet to send [14:59:18]OFD Sender: No OFD packet to send [14:59:23]OFD Sender: No OFD packet to send [14:59:28]OFD Sender: No OFD packet to send [14:59:33]OFD Sender: No OFD packet to send [14:59:38]OFD Sender: No OFD packet to send [14:59:43]OFD Sender: No OFD packet to send [14:59:48]OFD Sender: No OFD packet to send [14:59:53]OFD Sender: No OFD packet to send [14:59:58]OFD Sender: No OFD packet to send [15:00:03]OFD Sender: No OFD packet to send [15:00:08]OFD Sender: No OFD packet to send [15:00:13]OFD Sender: No OFD packet to send [15:00:18]OFD Sender: No OFD packet to send [15:00:23]OFD Sender: No OFD packet to send [15:00:28]OFD Sender: No OFD packet to send [15:00:33]OFD Sender: No OFD packet to send [15:00:38]OFD Sender: No OFD packet to send [15:00:43]OFD Sender: No OFD packet to send [15:00:48]OFD Sender: No OFD packet to send [15:00:53]OFD Sender: No OFD packet to send [15:00:58]OFD Sender: No OFD packet to send [15:01:03]OFD Sender: No OFD packet to send [15:01:08]OFD Sender: No OFD packet to send [15:01:13]OFD Sender: No OFD packet to send [15:01:18]OFD Sender: No OFD packet to send [15:01:23]OFD Sender: No OFD packet to send [15:01:28]OFD Sender: No OFD packet to send [15:01:33]OFD Sender: No OFD packet to send [15:01:38]OFD Sender: No OFD packet to send [15:01:43]OFD Sender: No OFD packet to send [15:01:48]OFD Sender: No OFD packet to send [15:01:53]OFD Sender: No OFD packet to send [15:01:58]OFD Sender: No OFD packet to send [15:02:03]OFD Sender: No OFD packet to send [15:02:08]OFD Sender: No OFD packet to send [15:02:13]OFD Sender: No OFD packet to send [15:02:18]OFD Sender: No OFD packet to send [15:02:23]OFD Sender: No OFD packet to send [15:02:28]OFD Sender: No OFD packet to send [15:02:33]OFD Sender: No OFD packet to send [15:02:38]OFD Sender: No OFD packet to send [15:02:43]OFD Sender: No OFD packet to send [15:02:48]OFD Sender: No OFD packet to send [15:02:53]OFD Sender: No OFD packet to send [15:02:58]OFD Sender: No OFD packet to send [15:03:03]OFD Sender: No OFD packet to send [15:03:08]OFD Sender: No OFD packet to send [15:03:13]OFD Sender: No OFD packet to send [15:03:18]OFD Sender: No OFD packet to send [15:03:23]OFD Sender: No OFD packet to send [15:03:28]OFD Sender: No OFD packet to send [15:03:33]OFD Sender: No OFD packet to send [15:03:38]OFD Sender: No OFD packet to send [15:03:43]OFD Sender: No OFD packet to send [15:03:48]OFD Sender: No OFD packet to send [15:03:53]OFD Sender: No OFD packet to send [15:03:58]OFD Sender: No OFD packet to send [15:04:03]OFD Sender: No OFD packet to send [15:04:08]OFD Sender: No OFD packet to send [15:04:13]OFD Sender: No OFD packet to send [15:04:18]OFD Sender: No OFD packet to send [15:04:23]OFD Sender: No OFD packet to send [15:04:28]OFD Sender: No OFD packet to send [15:04:33]OFD Sender: No OFD packet to send [15:04:38]OFD Sender: No OFD packet to send [15:04:43]OFD Sender: No OFD packet to send [15:04:48]OFD Sender: No OFD packet to send [15:04:53]OFD Sender: No OFD packet to send [15:04:58]OFD Sender: No OFD packet to send [15:05:03]OFD Sender: No OFD packet to send [15:05:08]OFD Sender: No OFD packet to send [15:05:13]OFD Sender: No OFD packet to send [15:05:18]OFD Sender: No OFD packet to send [15:05:23]OFD Sender: No OFD packet to send [15:05:28]OFD Sender: No OFD packet to send [15:05:33]OFD Sender: No OFD packet to send [15:05:38]OFD Sender: No OFD packet to send [15:05:43]OFD Sender: No OFD packet to send [15:05:48]OFD Sender: No OFD packet to send [15:05:53]OFD Sender: No OFD packet to send [15:05:58]OFD Sender: No OFD packet to send [15:06:03]OFD Sender: No OFD packet to send [15:06:08]OFD Sender: No OFD packet to send [15:06:13]OFD Sender: No OFD packet to send [15:06:18]OFD Sender: No OFD packet to send [15:06:23]OFD Sender: No OFD packet to send [15:06:28]OFD Sender: No OFD packet to send [15:06:33]OFD Sender: No OFD packet to send [15:06:33]accept exits with 10 [15:06:33]New connection [15:06:33]New thread 3067329892 created [15:06:33]Thread 3067473252 joined [15:06:33]Waiting for new connection... [15:06:33] Sock 10.Parse request [15:06:33]Sock 10.Check first char [15:06:33]Sock 10.First char is OK [15:06:33]request: POST /json_proto HTTP/1.0 [15:06:33]Method: POST [15:06:33]URL: /json_proto [15:06:33]Method is POST - this is cgi request [15:06:33]url: /json_proto [15:06:33]query_string will be loaded in cgi processing [15:06:33]execute_cgi json_proto POST (null) [15:06:33]execute_cgi path=json_proto method=POST [15:06:33]POST find Content-Length [15:06:33]Host: 172.17.47.135:8080 [15:06:33]Content-Length: 711 [15:06:33]Content-Type: application/json [15:06:33] [15:06:33]POST finish read [15:06:33]Found Content-Length = 711 [15:06:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130850", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 124.00, "quantity" : 1.000, "sum" : 124.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 124.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:06:33]execute_script... [15:06:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130850", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 124.00, "quantity" : 1.000, "sum" : 124.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 124.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:06:33]POST & json_proto [15:06:33]process_json_proto [15:06:33]json parsed OK: [15:06:33]protocol is kg_v1.0 [15:06:33]action value=close_receipt [15:06:33]process_action close_receipt [15:06:33]cmd_close_receipt [15:06:33]MH_GetDate [15:06:33]Write to MH i2c: F0 00 00 31 02 22 [15:06:33]Write i2c OK [15:06:33]MH_I2C_Read... [15:06:33]Read from MH i2c: F0 [15:06:33]MH_I2C_Read... [15:06:33]Read from MH i2c: F0 09 00 [15:06:33]MH_I2C_Read... [15:06:33]Read from MH i2c: F0 09 00 31 02 00 7B 96 B8 67 19 D8 DE 66 90 [15:06:33]GetLastDocTimeStamp 1740149726 [15:06:33]current date 1740150395 [15:06:33]FM_GetShiftState [15:06:33]SAM_PROTO_GetShiftState [15:06:33]wFMCommunicate request_size=4 [15:06:33]MH_SAM_APDU [15:06:33]CAPDU: 80 13 01 00 [15:06:33]Write to MH i2c: E2 08 00 32 02 80 13 01 00 00 00 00 00 B1 [15:06:33]Write i2c OK [15:06:33]MH_I2C_Read... [15:06:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:06:33]Read from MH i2c: E2 [15:06:33]MH_I2C_Read... [15:06:33]Read from MH i2c: E2 0E 00 [15:06:33]MH_I2C_Read... [15:06:33]Read from MH i2c: E2 0E 00 32 02 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 16 [15:06:33]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [15:06:33]wFMCommunicate OK [15:06:33]SAM_PROTO_GetShiftState done [15:06:33]FM_GetShiftState done [15:06:33]opened in 1740096631 [15:06:33]opened+sec_in_day 1740183031 [15:06:33]quantity*price = 12400 [15:06:33]sum+1 = 12401 [15:06:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 124.00 НСП 1% : 1.10 НДС 12% : 13.17 Наличными: 124.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 32 21.02.2025 15:06 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32644 ФПД: 77736181405676 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T150635&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32644&fm=77736181405676&tin=02508201610067®Number=0000000000146237&sum=12400 0 [15:06:35]StoreToDocumentArchive [15:06:35]shift 386 fd 32644 [15:06:35]save to /storage/0386/doc_00032644 [15:06:35]save last doc name /storage/0386/doc_00032644 to /storage/kkm_last_doc_name [15:06:35]save OK [15:06:35]Clear old archive folders... [15:06:35]ProcessDocumentItem done err = 0, tmpTLVsize=303 [15:06:35]tlvbuf is 007F1D70 [15:06:35]SAM_PROTO_ClearQueue [15:06:35]wFMCommunicate request_size=4 [15:06:35]MH_SAM_APDU [15:06:35]CAPDU: 80 09 00 00 [15:06:35]Write to MH i2c: E2 08 00 3F 02 80 09 00 00 00 00 00 00 B3 [15:06:35]Write i2c OK [15:06:35]MH_I2C_Read... [15:06:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:06:35]Read from MH i2c: E2 [15:06:35]MH_I2C_Read... [15:06:35]Read from MH i2c: E2 03 00 [15:06:35]MH_I2C_Read... [15:06:35]Read from MH i2c: E2 03 00 3F 02 00 90 00 B5 [15:06:35]RAPDU: 90 00 [15:06:35]wFMCommunicate OK [15:06:35]SAM_PROTO_ClearQueue done [15:06:35]KKMCreateOFDPacket [15:06:35]OFDProtocolAddRootSTLVToBuf [15:06:35]FM_MakeSignedData [15:06:35]FM_MakeSignedData [15:06:35]SAM_PROTO_SignData [15:06:35]wFMCommunicate request_size=4 [15:06:35]MH_SAM_APDU [15:06:35]CAPDU: 80 0D 01 02 [15:06:35]Write to MH i2c: E2 08 00 40 02 80 0D 01 02 00 00 00 00 BB [15:06:35]Write i2c OK [15:06:35]MH_I2C_Read... [15:06:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:06:35]Read from MH i2c: E2 [15:06:35]MH_I2C_Read... [15:06:35]Read from MH i2c: E2 03 00 [15:06:35]MH_I2C_Read... [15:06:35]Read from MH i2c: E2 03 00 40 02 00 90 00 B6 [15:06:35]RAPDU: 90 00 [15:06:35]wFMCommunicate OK [15:06:35]wFMCommunicate request_size=255 [15:06:35]MH_SAM_APDU [15:06:35]CAPDU: 80 0D 02 02 FA 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 30 00 00 00 00 13 04 06 00 70 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 05 00 00 00 00 07 04 06 00 70 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 7B 96 B8 67 0E 04 04 00 82 01 00 00 B9 04 01 00 01 0D [15:06:35]Write to MH i2c: E2 02 01 41 02 80 0D 02 02 FA 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 30 00 00 00 00 13 04 06 00 70 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 05 00 00 00 00 07 04 06 00 70 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 7B 96 B8 67 0E 04 04 00 82 01 00 00 B9 04 01 00 01 0D 00 00 19 [15:06:35]Write i2c OK [15:06:35]MH_I2C_Read... [15:06:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:06:35]Read from MH i2c: E2 [15:06:35]MH_I2C_Read... [15:06:35]Read from MH i2c: E2 03 00 [15:06:35]MH_I2C_Read... [15:06:35]Read from MH i2c: E2 03 00 41 02 00 90 00 B7 [15:06:35]RAPDU: 90 00 [15:06:35]wFMCommunicate OK [15:06:35]wFMCommunicate request_size=62 [15:06:35]MH_SAM_APDU [15:06:35]CAPDU: 80 0D 02 02 39 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 84 7F 00 00 35 04 06 00 46 B3 5D 7A 97 EC [15:06:35]Write to MH i2c: E2 41 00 42 02 80 0D 02 02 39 00 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 84 7F 00 00 35 04 06 00 46 B3 5D 7A 97 EC 00 00 50 [15:06:35]Write i2c OK [15:06:35]MH_I2C_Read... [15:06:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:06:35]Read from MH i2c: E2 [15:06:35]MH_I2C_Read... [15:06:35]Read from MH i2c: E2 03 00 [15:06:35]MH_I2C_Read... [15:06:35]Read from MH i2c: E2 03 00 42 02 00 90 00 B8 [15:06:35]RAPDU: 90 00 [15:06:35]wFMCommunicate OK [15:06:35]wFMCommunicate request_size=4 [15:06:35]MH_SAM_APDU [15:06:35]CAPDU: 80 0D 03 02 [15:06:35]Write to MH i2c: E2 08 00 43 02 80 0D 03 02 00 00 00 00 C0 [15:06:35]Write i2c OK [15:06:35]MH_I2C_Read... [15:06:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:06:35]Read from MH i2c: E2 [15:06:35]MH_I2C_Read... [15:06:35]Read from MH i2c: E2 0B 00 [15:06:35]MH_I2C_Read... [15:06:35]Read from MH i2c: E2 0B 00 43 02 00 99 47 E0 BD 74 6E 42 6A 90 00 CC [15:06:35]RAPDU: 99 47 E0 BD 74 6E 42 6A 90 00 [15:06:35]wFMCommunicate OK [15:06:35]SAM_PROTO_SignData done [15:06:35]FM_MakeSignedData done [15:06:35]CreateOFDProtocolMessage [15:06:35]wFMCommunicate request_size=4 [15:06:35]MH_SAM_APDU [15:06:35]CAPDU: 80 11 00 00 [15:06:35]Write to MH i2c: E2 08 00 44 02 80 11 00 00 00 00 00 00 C0 [15:06:35]Write i2c OK [15:06:35]MH_I2C_Read... [15:06:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:06:35]Read from MH i2c: E2 [15:06:35]MH_I2C_Read... [15:06:35]Read from MH i2c: E2 17 00 [15:06:35]MH_I2C_Read... [15:06:35]Read from MH i2c: E2 17 00 44 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 16 [15:06:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [15:06:35]wFMCommunicate OK [15:06:35]CreateOFDProtocolMessage done [15:06:35]OFDSenderStorePacket 32644 [15:06:35]StoreOFDPacket docnum=32644 [15:06:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 43 01 00 00 37 D3 3B 01 07 E5 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 30 00 00 00 00 13 04 06 00 70 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 05 00 00 00 00 07 04 06 00 70 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 7B 96 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 84 7F 00 00 35 04 06 00 46 B3 5D 7A 97 EC 99 47 E0 BD 74 6E 42 6A [15:06:35]CheckFolder [15:06:35]dirname=/storage/ofd_packets [15:06:35]CheckFolder done [15:06:35]ProducePacketName [15:06:35]name=ofd_packets/00032644 [15:06:35]NVStorageSaveData ofd_packets/00032644 [15:06:35]File name is /storage/ofd_packets/00032644 [15:06:35]Write 353 bytes [15:06:35]NVStorageSaveData done [15:06:35]OFDSenderStorePacket done [15:06:35]KKMCreateOFDPacket done [15:06:35]NVStorageSaveData kkm_last_timestamp [15:06:35]File name is /storage/kkm_last_timestamp [15:06:35]Write 4 bytes [15:06:35]NVStorageSaveData done [15:06:35]ExternCall_PrintAddStr [15:06:35]wPrintStart [15:06:35]Write to MH i2c: 01 00 00 45 02 47 [15:06:35]Write i2c OK [15:06:35]MH_I2C_Read... [15:06:35]Read from MH i2c: 01 [15:06:35]MH_I2C_Read... [15:06:35]Read from MH i2c: 01 07 00 [15:06:35]MH_I2C_Read... [15:06:35]Read from MH i2c: 01 07 00 45 02 00 00 00 00 00 FF 0F 5C [15:06:35]RasterBufferAndPrint [15:06:35]line Счет N : (3)130850 [15:06:35]line ИНН: 02508201610067 [15:06:35]line Контрольно-Кассовый Чек [15:06:35]line ПРОДАЖА [15:06:35]line Товар: 4870202521216 [15:06:35]line Напиток MAXI чай 1,2 зел.лимон (новый) [15:06:35]line 1.000 * 124.00 [15:06:35]line = 124.00 [15:06:35]line НДС 12% НСП 1% [15:06:35]line > о реализуемом товаре [15:06:35]line ИТОГО: 124.00 [15:06:35]line НСП 1% : 1.10 [15:06:35]line НДС 12% : 13.17 [15:06:35]line Наличными: 124.00 [15:06:35]line Безнал.: 0.00 [15:06:35]line Место: АЗС № 96 "Партнер Нефть" [15:06:35]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [15:06:35]line СНО: Общий режим [15:06:35]line Чек 32 21.02.2025 15:06 [15:06:35]line Смена: 386 ФФД: 1.0 [15:06:35]line ЗНМ: 0300000059 [15:06:35]line РНМ: 0000000000146237 [15:06:35]line Версия ККМ: v1.0 [15:06:35]line ФМ: 0000000000959282 [15:06:35]line ФД: 32644 [15:06:35]line ФПД: 77736181405676 [15:06:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T150635&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32644&fm=77736181405676&tin=02508201610067®Number=0000000000146237&sum=12400 [15:06:35]line 0 [15:06:35]OFD Sender: Processing packet 32644 [packets to send 105, broken 104] [15:06:35]ProducePacketName [15:06:35]name=ofd_packets/00032644 [15:06:35]OFD Sender: To server: pG, [15:06:35]CommunicateWithHost lk.salyk.kg:30040 [15:06:35]ConnectInit lk.salyk.kg [15:06:35]written 0, free lines is 4095 [15:06:36]Connected sock=9 [15:06:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 43 01 00 00 37 D3 3B 01 07 E5 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 30 00 00 00 00 13 04 06 00 70 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 05 00 00 00 00 07 04 06 00 70 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 7B 96 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 84 7F 00 00 35 04 06 00 46 B3 5D 7A 97 EC 99 47 E0 BD 74 6E 42 6A [15:06:36]Write to MH i2c: 01 00 00 6E 02 70 [15:06:36]Write i2c OK [15:06:36]MH_I2C_Read... [15:06:36]Read from MH i2c: 01 [15:06:36]MH_I2C_Read... [15:06:36]Read from MH i2c: 01 07 00 [15:06:36]MH_I2C_Read... [15:06:36]Read from MH i2c: 01 07 00 6E 02 00 00 00 00 00 04 0D 88 [15:06:36]RasterBufferAndPrint [15:06:36]line [15:06:36]line [15:06:36]line [15:06:36]line [15:06:36]line [15:06:36]written 0, free lines is 3338 [15:06:36]MH_Cut [15:06:36]Write to MH i2c: D1 01 00 75 02 01 49 [15:06:36]Write i2c OK [15:06:36]MH_I2C_Read... [15:06:36]Read from MH i2c: D1 [15:06:36]MH_I2C_Read... [15:06:36]Read from MH i2c: D1 01 00 [15:06:36]MH_I2C_Read... [15:06:36]Read from MH i2c: D1 01 00 75 02 00 48 [15:06:36]Write to MH i2c: 01 00 00 76 02 78 [15:06:36]Write i2c OK [15:06:36]MH_I2C_Read... [15:06:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 92 60 47 00 2D FC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 84 7F 00 00 F4 03 04 00 11 40 B8 67 B6 04 01 00 00 57 9E D9 9A E7 72 2E D6 [15:06:36]CommunicateWithHost err = 0 [15:06:36]CheckOFDResponse [15:06:36]1017 (14) - 77093643461234 [15:06:36]1041 (16) - 0000000000959282 [15:06:36]1040 (4) - 32644 [15:06:36]1012 (4) - 21.02.2025 08:57 [15:06:36]1206 (1) - 0 [15:06:36]OFD Sender: Remove packet 32644 [15:06:36]ProducePacketName [15:06:36]name=ofd_packets/00032644 [15:06:36]NVStorageDeleteData [15:06:37]*** Cut start [15:06:37]*** Partial cut [15:06:37]*** CUTSNS_PIN = 1 [15:06:37]*** CUTSNS_PIN = 0 [15:06:37]OFD Sender: No OFD packet to send [15:06:37]*** Brake cut motor [15:06:37]Read from MH i2c: 01 [15:06:37]MH_I2C_Read... [15:06:37]*** Stop cut motor [15:06:37]*** Cut end [15:06:37]Read from MH i2c: 01 07 00 [15:06:37]MH_I2C_Read... [15:06:37]Read from MH i2c: 01 07 00 76 02 00 00 00 00 00 FF 0F 8D [15:06:37]process_action close_receipt done [15:06:37]requested_data is exist [15:06:37]produce_requested_data [15:06:37]requested_item fm.sn is exist - process it [15:06:37]wFMCommunicate request_size=4 [15:06:37]MH_SAM_APDU [15:06:37]CAPDU: 80 11 00 00 [15:06:37]Write to MH i2c: E2 08 00 77 02 80 11 00 00 00 00 00 00 F3 [15:06:37]Write i2c OK [15:06:37]MH_I2C_Read... [15:06:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:06:37]Read from MH i2c: E2 [15:06:37]MH_I2C_Read... [15:06:37]Read from MH i2c: E2 17 00 [15:06:37]MH_I2C_Read... [15:06:37]Read from MH i2c: E2 17 00 77 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 49 [15:06:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [15:06:37]wFMCommunicate OK [15:06:37]requested_item fd.num is exist - process it [15:06:37]SAM_PROTO_GetFieldsCounters [15:06:37]wFMCommunicate request_size=4 [15:06:37]MH_SAM_APDU [15:06:37]CAPDU: 80 13 00 00 [15:06:37]Write to MH i2c: E2 08 00 78 02 80 13 00 00 00 00 00 00 F6 [15:06:37]Write i2c OK [15:06:37]MH_I2C_Read... [15:06:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:06:37]Read from MH i2c: E2 [15:06:37]MH_I2C_Read... [15:06:37]Read from MH i2c: E2 62 00 [15:06:37]MH_I2C_Read... [15:06:37]Read from MH i2c: E2 62 00 78 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 84 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 FE [15:06: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 84 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:06:37]wFMCommunicate OK [15:06:37]SAM_PROTO_GetFieldsCounters done [15:06:37]requested_item shift.num is exist - process it [15:06:37]requested_item shift.opened is exist - process it [15:06:37]req_shift_opened [15:06:37]FM_GetShiftState [15:06:37]SAM_PROTO_GetShiftState [15:06:37]wFMCommunicate request_size=4 [15:06:37]MH_SAM_APDU [15:06:37]CAPDU: 80 13 01 00 [15:06:37]Write to MH i2c: E2 08 00 79 02 80 13 01 00 00 00 00 00 F8 [15:06:37]Write i2c OK [15:06:37]MH_I2C_Read... [15:06:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:06:37]Read from MH i2c: E2 [15:06:37]MH_I2C_Read... [15:06:37]Read from MH i2c: E2 0E 00 [15:06:37]MH_I2C_Read... [15:06:37]Read from MH i2c: E2 0E 00 79 02 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 5D [15:06:37]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [15:06:37]wFMCommunicate OK [15:06:37]SAM_PROTO_GetShiftState done [15:06:37]FM_GetShiftState done [15:06:37]req_shift_opened done [15:06:37]requested_item shift.open_date is exist - process it [15:06:37]req_shift_open_date [15:06:37]req_shift_open_date done [15:06:37]produce_requested_data done [15:06:37]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32644,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [15:06:37]process_action_free close_receipt [15:06:37]json_value_free [15:06:37]json_value_free done [15:06:37]process_json_proto returns [15:06:37]Send response to host [15:06:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32644,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [15:06:37]free response buf [15:06:37]execute_script done [15:06:37]execute_script returns [15:06:37]free content buf [15:06:37]Sock 10.Close socket [15:06:37]Sock 10.Thread stoped [15:06:42]OFD Sender: No OFD packet to send [15:06:47]OFD Sender: No OFD packet to send [15:06:52]OFD Sender: No OFD packet to send [15:06:54]accept exits with 7 [15:06:54]New connection [15:06:54]New thread 3067473252 created [15:06:54]Thread 3067329892 joined [15:06:54]Waiting for new connection... [15:06:54] Sock 7.Parse request [15:06:54]Sock 7.Check first char [15:06:54]Sock 7.First char is OK [15:06:54]request: POST /json_proto HTTP/1.0 [15:06:54]Method: POST [15:06:54]URL: /json_proto [15:06:54]Method is POST - this is cgi request [15:06:54]url: /json_proto [15:06:54]query_string will be loaded in cgi processing [15:06:54]execute_cgi json_proto POST (null) [15:06:54]execute_cgi path=json_proto method=POST [15:06:54]POST find Content-Length [15:06:54]Host: 172.17.47.135:8080 [15:06:54]Content-Length: 620 [15:06:54]Content-Type: application/json [15:06:54] [15:06:54]POST finish read [15:06:54]Found Content-Length = 620 [15:06:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130851", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 146.00, "quantity" : 2.000, "sum" : 292.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 292.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:06:54]execute_script... [15:06:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130851", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 146.00, "quantity" : 2.000, "sum" : 292.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 292.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:06:54]POST & json_proto [15:06:54]process_json_proto [15:06:54]json parsed OK: [15:06:54]protocol is kg_v1.0 [15:06:54]action value=close_receipt [15:06:54]process_action close_receipt [15:06:54]cmd_close_receipt [15:06:54]MH_GetDate [15:06:54]Write to MH i2c: F0 00 00 7A 02 6B [15:06:54]Write i2c OK [15:06:54]MH_I2C_Read... [15:06:54]Read from MH i2c: F0 [15:06:54]MH_I2C_Read... [15:06:54]Read from MH i2c: F0 09 00 [15:06:54]MH_I2C_Read... [15:06:54]Read from MH i2c: F0 09 00 7A 02 00 90 96 B8 67 19 D8 DE 66 EE [15:06:54]GetLastDocTimeStamp 1740150395 [15:06:54]current date 1740150416 [15:06:54]FM_GetShiftState [15:06:54]SAM_PROTO_GetShiftState [15:06:54]wFMCommunicate request_size=4 [15:06:54]MH_SAM_APDU [15:06:54]CAPDU: 80 13 01 00 [15:06:54]Write to MH i2c: E2 08 00 7B 02 80 13 01 00 00 00 00 00 FA [15:06:54]Write i2c OK [15:06:54]MH_I2C_Read... [15:06:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:06:54]Read from MH i2c: E2 [15:06:54]MH_I2C_Read... [15:06:54]Read from MH i2c: E2 0E 00 [15:06:54]MH_I2C_Read... [15:06:54]Read from MH i2c: E2 0E 00 7B 02 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 5F [15:06:54]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [15:06:54]wFMCommunicate OK [15:06:54]SAM_PROTO_GetShiftState done [15:06:54]FM_GetShiftState done [15:06:54]opened in 1740096631 [15:06:54]opened+sec_in_day 1740183031 [15:06:54]quantity*price = 29200 [15:06:54]sum+1 = 29201 [15:06:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 292.00 НСП 1% : 2.58 НДС 12% : 31.01 Наличными: 292.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 33 21.02.2025 15:06 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32645 ФПД: 182163453043040 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T150656&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32645&fm=182163453043040&tin=02508201610067®Number=0000000000146237&sum=29200 0 [15:06:55]StoreToDocumentArchive [15:06:55]shift 386 fd 32645 [15:06:55]save to /storage/0386/doc_00032645 [15:06:55]save last doc name /storage/0386/doc_00032645 to /storage/kkm_last_doc_name [15:06:55]save OK [15:06:55]Clear old archive folders... [15:06:55]ProcessDocumentItem done err = 0, tmpTLVsize=272 [15:06:55]tlvbuf is 007E4660 [15:06:55]SAM_PROTO_ClearQueue [15:06:55]wFMCommunicate request_size=4 [15:06:55]MH_SAM_APDU [15:06:55]CAPDU: 80 09 00 00 [15:06:55]Write to MH i2c: E2 08 00 88 02 80 09 00 00 00 00 00 00 FC [15:06:55]Write i2c OK [15:06:55]MH_I2C_Read... [15:06:55]Read from MH i2c: E2 [15:06:55]MH_I2C_Read... [15:06:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:06:55]Read from MH i2c: E2 03 00 [15:06:55]MH_I2C_Read... [15:06:55]Read from MH i2c: E2 03 00 88 02 00 90 00 FE [15:06:55]RAPDU: 90 00 [15:06:55]wFMCommunicate OK [15:06:55]SAM_PROTO_ClearQueue done [15:06:55]KKMCreateOFDPacket [15:06:55]OFDProtocolAddRootSTLVToBuf [15:06:55]FM_MakeSignedData [15:06:55]FM_MakeSignedData [15:06:55]SAM_PROTO_SignData [15:06:55]wFMCommunicate request_size=4 [15:06:55]MH_SAM_APDU [15:06:55]CAPDU: 80 0D 01 02 [15:06:55]Write to MH i2c: E2 08 00 89 02 80 0D 01 02 00 00 00 00 04 [15:06:55]Write i2c OK [15:06:55]MH_I2C_Read... [15:06:56]Read from MH i2c: E2 [15:06:56]MH_I2C_Read... [15:06:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:06:56]Read from MH i2c: E2 03 00 [15:06:56]MH_I2C_Read... [15:06:56]Read from MH i2c: E2 03 00 89 02 00 90 00 FF [15:06:56]RAPDU: 90 00 [15:06:56]wFMCommunicate OK [15:06:56]wFMCommunicate request_size=255 [15:06:56]MH_SAM_APDU [15:06:56]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 08 39 00 00 00 00 13 04 06 00 10 72 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 72 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 02 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1D 0C 00 00 00 00 07 04 06 00 10 72 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 90 96 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 [15:06:56]Write to MH i2c: E2 02 01 8A 02 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 08 39 00 00 00 00 13 04 06 00 10 72 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 72 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 02 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1D 0C 00 00 00 00 07 04 06 00 10 72 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 90 96 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 00 00 AF [15:06:56]Write i2c OK [15:06:56]MH_I2C_Read... [15:06:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:06:56]Read from MH i2c: E2 [15:06:56]MH_I2C_Read... [15:06:56]Read from MH i2c: E2 03 00 [15:06:56]MH_I2C_Read... [15:06:56]Read from MH i2c: E2 03 00 8A 02 00 90 00 00 [15:06:56]RAPDU: 90 00 [15:06:56]wFMCommunicate OK [15:06:56]wFMCommunicate request_size=31 [15:06:56]MH_SAM_APDU [15:06:56]CAPDU: 80 0D 02 02 1A 30 30 39 35 39 32 38 32 10 04 04 00 85 7F 00 00 35 04 06 00 A5 AD 3B E8 E1 60 [15:06:56]Write to MH i2c: E2 22 00 8B 02 80 0D 02 02 1A 00 30 30 39 35 39 32 38 32 10 04 04 00 85 7F 00 00 35 04 06 00 A5 AD 3B E8 E1 60 00 00 EF [15:06:56]Write i2c OK [15:06:56]MH_I2C_Read... [15:06:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:06:56]Read from MH i2c: E2 [15:06:56]MH_I2C_Read... [15:06:56]Read from MH i2c: E2 03 00 [15:06:56]MH_I2C_Read... [15:06:56]Read from MH i2c: E2 03 00 8B 02 00 90 00 01 [15:06:56]RAPDU: 90 00 [15:06:56]wFMCommunicate OK [15:06:56]wFMCommunicate request_size=4 [15:06:56]MH_SAM_APDU [15:06:56]CAPDU: 80 0D 03 02 [15:06:56]Write to MH i2c: E2 08 00 8C 02 80 0D 03 02 00 00 00 00 09 [15:06:56]Write i2c OK [15:06:56]MH_I2C_Read... [15:06:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:06:56]Read from MH i2c: E2 [15:06:56]MH_I2C_Read... [15:06:56]Read from MH i2c: E2 0B 00 [15:06:56]MH_I2C_Read... [15:06:56]Read from MH i2c: E2 0B 00 8C 02 00 2C C3 D2 B2 F1 51 9D 96 90 00 F2 [15:06:56]RAPDU: 2C C3 D2 B2 F1 51 9D 96 90 00 [15:06:56]wFMCommunicate OK [15:06:56]SAM_PROTO_SignData done [15:06:56]FM_MakeSignedData done [15:06:56]CreateOFDProtocolMessage [15:06:56]wFMCommunicate request_size=4 [15:06:56]MH_SAM_APDU [15:06:56]CAPDU: 80 11 00 00 [15:06:56]Write to MH i2c: E2 08 00 8D 02 80 11 00 00 00 00 00 00 09 [15:06:56]Write i2c OK [15:06:56]MH_I2C_Read... [15:06:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:06:56]Read from MH i2c: E2 [15:06:56]MH_I2C_Read... [15:06:56]Read from MH i2c: E2 17 00 [15:06:56]MH_I2C_Read... [15:06:56]Read from MH i2c: E2 17 00 8D 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 5F [15:06:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [15:06:56]wFMCommunicate OK [15:06:56]CreateOFDProtocolMessage done [15:06:56]OFDSenderStorePacket 32645 [15:06:56]StoreOFDPacket docnum=32645 [15:06:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 24 01 00 00 E4 E0 1C 01 E7 BF 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 08 39 00 00 00 00 13 04 06 00 10 72 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 72 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 02 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1D 0C 00 00 00 00 07 04 06 00 10 72 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 90 96 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 85 7F 00 00 35 04 06 00 A5 AD 3B E8 E1 60 2C C3 D2 B2 F1 51 9D 96 [15:06:56]CheckFolder [15:06:56]dirname=/storage/ofd_packets [15:06:56]CheckFolder done [15:06:56]ProducePacketName [15:06:56]name=ofd_packets/00032645 [15:06:56]NVStorageSaveData ofd_packets/00032645 [15:06:56]File name is /storage/ofd_packets/00032645 [15:06:56]Write 322 bytes [15:06:56]NVStorageSaveData done [15:06:56]OFDSenderStorePacket done [15:06:56]KKMCreateOFDPacket done [15:06:56]NVStorageSaveData kkm_last_timestamp [15:06:56]File name is /storage/kkm_last_timestamp [15:06:56]Write 4 bytes [15:06:56]NVStorageSaveData done [15:06:56]ExternCall_PrintAddStr [15:06:56]wPrintStart [15:06:56]Write to MH i2c: 01 00 00 8E 02 90 [15:06:56]Write i2c OK [15:06:56]MH_I2C_Read... [15:06:56]Read from MH i2c: 01 [15:06:56]MH_I2C_Read... [15:06:56]Read from MH i2c: 01 07 00 [15:06:56]MH_I2C_Read... [15:06:56]Read from MH i2c: 01 07 00 8E 02 00 00 00 00 00 FF 0F A5 [15:06:56]RasterBufferAndPrint [15:06:56]line Счет N : (3)130851 [15:06:56]line ИНН: 02508201610067 [15:06:56]line Контрольно-Кассовый Чек [15:06:56]line ПРОДАЖА [15:06:56]line Товар: 48745000 [15:06:56]line Сигареты Winston Purple Mix [15:06:56]line 2.000 * 146.00 [15:06:56]line = 292.00 [15:06:56]line НДС 12% НСП 1% [15:06:56]line > о реализуемом товаре [15:06:56]line ИТОГО: 292.00 [15:06:56]line НСП 1% : 2.58 [15:06:56]line НДС 12% : 31.01 [15:06:56]line Наличными: 292.00 [15:06:56]line Безнал.: 0.00 [15:06:56]line Место: АЗС № 96 "Партнер Нефть" [15:06:56]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [15:06:56]line СНО: Общий режим [15:06:56]line Чек 33 21.02.2025 15:06 [15:06:56]line Смена: 386 ФФД: 1.0 [15:06:56]line ЗНМ: 0300000059 [15:06:56]line РНМ: 0000000000146237 [15:06:56]line Версия ККМ: v1.0 [15:06:56]line ФМ: 0000000000959282 [15:06:56]line ФД: 32645 [15:06:56]line ФПД: 182163453043040 [15:06:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T150656&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32645&fm=182163453043040&tin=02508201610067®Number=0000000000146237&sum=29200 [15:06:56]line 0 [15:06:56]OFD Sender: Processing packet 32645 [packets to send 105, broken 104] [15:06:56]ProducePacketName [15:06:56]name=ofd_packets/00032645 [15:06:56]OFD Sender: To server: pG, [15:06:56]CommunicateWithHost lk.salyk.kg:30040 [15:06:56]ConnectInit lk.salyk.kg [15:06:56]written 0, free lines is 4095 [15:06:56]Connected sock=10 [15:06: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 32 38 32 24 01 00 00 E4 E0 1C 01 E7 BF 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 08 39 00 00 00 00 13 04 06 00 10 72 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 72 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 02 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1D 0C 00 00 00 00 07 04 06 00 10 72 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 90 96 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 85 7F 00 00 35 04 06 00 A5 AD 3B E8 E1 60 2C C3 D2 B2 F1 51 9D 96 [15:06:57]Write to MH i2c: 01 00 00 B6 02 B8 [15:06:57]Write i2c OK [15:06:57]MH_I2C_Read... [15:06:57]Read from MH i2c: 01 [15:06:57]MH_I2C_Read... [15:06:57]Read from MH i2c: 01 07 00 [15:06:57]MH_I2C_Read... [15:06:57]Read from MH i2c: 01 07 00 B6 02 00 00 00 00 00 08 0D D4 [15:06:57]RasterBufferAndPrint [15:06:57]line [15:06:57]line [15:06:57]line [15:06:57]line [15:06:57]line [15:06:57]written 0, free lines is 3343 [15:06:57]MH_Cut [15:06:57]Write to MH i2c: D1 01 00 BD 02 01 91 [15:06:57]Write i2c OK [15:06:57]MH_I2C_Read... [15:06:57]Read from MH i2c: D1 [15:06:57]MH_I2C_Read... [15:06:57]Read from MH i2c: D1 01 00 [15:06:57]MH_I2C_Read... [15:06:57]Read from MH i2c: D1 01 00 BD 02 00 90 [15:06:57]Write to MH i2c: 01 00 00 BE 02 C0 [15:06:57]Write i2c OK [15:06:57]MH_I2C_Read... [15:06:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 BB 1C 47 00 1E 27 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 85 7F 00 00 F4 03 04 00 26 40 B8 67 B6 04 01 00 00 8F 27 77 BC 2E 26 C8 C9 [15:06:57]CommunicateWithHost err = 0 [15:06:57]CheckOFDResponse [15:06:57]1017 (14) - 77093643461234 [15:06:57]1041 (16) - 0000000000959282 [15:06:57]1040 (4) - 32645 [15:06:57]1012 (4) - 21.02.2025 08:58 [15:06:57]1206 (1) - 0 [15:06:57]OFD Sender: Remove packet 32645 [15:06:57]ProducePacketName [15:06:57]name=ofd_packets/00032645 [15:06:57]NVStorageDeleteData [15:06:57]OFD Sender: No OFD packet to send [15:06:57]*** Cut start [15:06:57]*** Partial cut [15:06:57]*** CUTSNS_PIN = 1 [15:06:57]*** CUTSNS_PIN = 0 [15:06:58]*** Brake cut motor [15:06:58]Read from MH i2c: 01 [15:06:58]MH_I2C_Read... [15:06:58]*** Stop cut motor [15:06:58]*** Cut end [15:06:58]Read from MH i2c: 01 07 00 [15:06:58]MH_I2C_Read... [15:06:58]Read from MH i2c: 01 07 00 BE 02 00 00 00 00 00 FF 0F D5 [15:06:58]process_action close_receipt done [15:06:58]requested_data is exist [15:06:58]produce_requested_data [15:06:58]requested_item fm.sn is exist - process it [15:06:58]wFMCommunicate request_size=4 [15:06:58]MH_SAM_APDU [15:06:58]CAPDU: 80 11 00 00 [15:06:58]Write to MH i2c: E2 08 00 BF 02 80 11 00 00 00 00 00 00 3B [15:06:58]Write i2c OK [15:06:58]MH_I2C_Read... [15:06:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:06:58]Read from MH i2c: E2 [15:06:58]MH_I2C_Read... [15:06:58]Read from MH i2c: E2 17 00 [15:06:58]MH_I2C_Read... [15:06:58]Read from MH i2c: E2 17 00 BF 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 91 [15:06:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [15:06:58]wFMCommunicate OK [15:06:58]requested_item fd.num is exist - process it [15:06:58]SAM_PROTO_GetFieldsCounters [15:06:58]wFMCommunicate request_size=4 [15:06:58]MH_SAM_APDU [15:06:58]CAPDU: 80 13 00 00 [15:06:58]Write to MH i2c: E2 08 00 C0 02 80 13 00 00 00 00 00 00 3E [15:06:58]Write i2c OK [15:06:58]MH_I2C_Read... [15:06:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:06:58]Read from MH i2c: E2 [15:06:58]MH_I2C_Read... [15:06:58]Read from MH i2c: E2 62 00 [15:06:58]MH_I2C_Read... [15:06:58]Read from MH i2c: E2 62 00 C0 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 85 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 4A [15:06:58]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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 85 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:06:58]wFMCommunicate OK [15:06:58]SAM_PROTO_GetFieldsCounters done [15:06:58]requested_item shift.num is exist - process it [15:06:58]requested_item shift.opened is exist - process it [15:06:58]req_shift_opened [15:06:58]FM_GetShiftState [15:06:58]SAM_PROTO_GetShiftState [15:06:58]wFMCommunicate request_size=4 [15:06:58]MH_SAM_APDU [15:06:58]CAPDU: 80 13 01 00 [15:06:58]Write to MH i2c: E2 08 00 C1 02 80 13 01 00 00 00 00 00 40 [15:06:58]Write i2c OK [15:06:58]MH_I2C_Read... [15:06:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:06:58]Read from MH i2c: E2 [15:06:58]MH_I2C_Read... [15:06:58]Read from MH i2c: E2 0E 00 [15:06:58]MH_I2C_Read... [15:06:58]Read from MH i2c: E2 0E 00 C1 02 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 A5 [15:06:58]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [15:06:58]wFMCommunicate OK [15:06:58]SAM_PROTO_GetShiftState done [15:06:58]FM_GetShiftState done [15:06:58]req_shift_opened done [15:06:58]requested_item shift.open_date is exist - process it [15:06:58]req_shift_open_date [15:06:58]req_shift_open_date done [15:06:58]produce_requested_data done [15:06:58]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32645,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [15:06:58]process_action_free close_receipt [15:06:58]json_value_free [15:06:58]json_value_free done [15:06:58]process_json_proto returns [15:06:58]Send response to host [15:06:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32645,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [15:06:58]free response buf [15:06:58]execute_script done [15:06:58]execute_script returns [15:06:58]free content buf [15:06:58]Sock 7.Close socket [15:06:58]Sock 7.Thread stoped [15:07:02]OFD Sender: No OFD packet to send [15:07:07]OFD Sender: No OFD packet to send [15:07:12]OFD Sender: No OFD packet to send [15:07:17]OFD Sender: No OFD packet to send [15:07:22]OFD Sender: No OFD packet to send [15:07:27]OFD Sender: No OFD packet to send [15:07:32]OFD Sender: No OFD packet to send [15:07:37]OFD Sender: No OFD packet to send [15:07:42]OFD Sender: No OFD packet to send [15:07:47]OFD Sender: No OFD packet to send [15:07:52]OFD Sender: No OFD packet to send [15:07:57]OFD Sender: No OFD packet to send [15:08:02]OFD Sender: No OFD packet to send [15:08:07]OFD Sender: No OFD packet to send [15:08:12]OFD Sender: No OFD packet to send [15:08:17]OFD Sender: No OFD packet to send [15:08:22]OFD Sender: No OFD packet to send [15:08:27]OFD Sender: No OFD packet to send [15:08:32]OFD Sender: No OFD packet to send [15:08:37]OFD Sender: No OFD packet to send [15:08:42]OFD Sender: No OFD packet to send [15:08:47]OFD Sender: No OFD packet to send [15:08:52]OFD Sender: No OFD packet to send [15:08:57]OFD Sender: No OFD packet to send [15:09:02]OFD Sender: No OFD packet to send [15:09:07]OFD Sender: No OFD packet to send [15:09:12]OFD Sender: No OFD packet to send [15:09:17]OFD Sender: No OFD packet to send [15:09:22]OFD Sender: No OFD packet to send [15:09:27]OFD Sender: No OFD packet to send [15:09:32]OFD Sender: No OFD packet to send [15:09:37]OFD Sender: No OFD packet to send [15:09:42]OFD Sender: No OFD packet to send [15:09:47]OFD Sender: No OFD packet to send [15:09:52]OFD Sender: No OFD packet to send [15:09:57]OFD Sender: No OFD packet to send [15:10:02]OFD Sender: No OFD packet to send [15:10:07]OFD Sender: No OFD packet to send [15:10:12]OFD Sender: No OFD packet to send [15:10:17]OFD Sender: No OFD packet to send [15:10:22]OFD Sender: No OFD packet to send [15:10:27]OFD Sender: No OFD packet to send [15:10:33]OFD Sender: No OFD packet to send [15:10:38]OFD Sender: No OFD packet to send [15:10:43]OFD Sender: No OFD packet to send [15:10:48]OFD Sender: No OFD packet to send [15:10:53]OFD Sender: No OFD packet to send [15:10:58]OFD Sender: No OFD packet to send [15:11:03]OFD Sender: No OFD packet to send [15:11:08]OFD Sender: No OFD packet to send [15:11:13]OFD Sender: No OFD packet to send [15:11:18]OFD Sender: No OFD packet to send [15:11:23]OFD Sender: No OFD packet to send [15:11:28]OFD Sender: No OFD packet to send [15:11:33]OFD Sender: No OFD packet to send [15:11:38]OFD Sender: No OFD packet to send [15:11:43]OFD Sender: No OFD packet to send [15:11:48]OFD Sender: No OFD packet to send [15:11:53]OFD Sender: No OFD packet to send [15:11:58]OFD Sender: No OFD packet to send [15:12:03]OFD Sender: No OFD packet to send [15:12:08]OFD Sender: No OFD packet to send [15:12:13]OFD Sender: No OFD packet to send [15:12:18]OFD Sender: No OFD packet to send [15:12:23]OFD Sender: No OFD packet to send [15:12:28]OFD Sender: No OFD packet to send [15:12:33]OFD Sender: No OFD packet to send [15:12:38]OFD Sender: No OFD packet to send [15:12:43]OFD Sender: No OFD packet to send [15:12:48]OFD Sender: No OFD packet to send [15:12:53]OFD Sender: No OFD packet to send [15:12:58]OFD Sender: No OFD packet to send [15:13:03]OFD Sender: No OFD packet to send [15:13:08]OFD Sender: No OFD packet to send [15:13:13]OFD Sender: No OFD packet to send [15:13:18]OFD Sender: No OFD packet to send [15:13:23]OFD Sender: No OFD packet to send [15:13:28]OFD Sender: No OFD packet to send [15:13:33]OFD Sender: No OFD packet to send [15:13:38]OFD Sender: No OFD packet to send [15:13:43]OFD Sender: No OFD packet to send [15:13:48]OFD Sender: No OFD packet to send [15:13:53]OFD Sender: No OFD packet to send [15:13:58]OFD Sender: No OFD packet to send [15:14:03]OFD Sender: No OFD packet to send [15:14:08]OFD Sender: No OFD packet to send [15:14:13]OFD Sender: No OFD packet to send [15:14:18]OFD Sender: No OFD packet to send [15:14:23]OFD Sender: No OFD packet to send [15:14:28]OFD Sender: No OFD packet to send [15:14:33]OFD Sender: No OFD packet to send [15:14:38]OFD Sender: No OFD packet to send [15:14:43]OFD Sender: No OFD packet to send [15:14:48]OFD Sender: No OFD packet to send [15:14:53]OFD Sender: No OFD packet to send [15:14:58]OFD Sender: No OFD packet to send [15:15:03]OFD Sender: No OFD packet to send [15:15:08]OFD Sender: No OFD packet to send [15:15:13]OFD Sender: No OFD packet to send [15:15:18]OFD Sender: No OFD packet to send [15:15:23]OFD Sender: No OFD packet to send [15:15:28]OFD Sender: No OFD packet to send [15:15:33]OFD Sender: No OFD packet to send [15:15:38]OFD Sender: No OFD packet to send [15:15:43]OFD Sender: No OFD packet to send [15:15:48]OFD Sender: No OFD packet to send [15:15:53]OFD Sender: No OFD packet to send [15:15:58]OFD Sender: No OFD packet to send [15:16:03]OFD Sender: No OFD packet to send [15:16:08]OFD Sender: No OFD packet to send [15:16:13]OFD Sender: No OFD packet to send [15:16:18]OFD Sender: No OFD packet to send [15:16:23]OFD Sender: No OFD packet to send [15:16:28]OFD Sender: No OFD packet to send [15:16:33]OFD Sender: No OFD packet to send [15:16:38]OFD Sender: No OFD packet to send [15:16:43]OFD Sender: No OFD packet to send [15:16:48]OFD Sender: No OFD packet to send [15:16:53]OFD Sender: No OFD packet to send [15:16:58]OFD Sender: No OFD packet to send [15:17:03]OFD Sender: No OFD packet to send [15:17:08]OFD Sender: No OFD packet to send [15:17:13]OFD Sender: No OFD packet to send [15:17:18]OFD Sender: No OFD packet to send [15:17:23]OFD Sender: No OFD packet to send [15:17:28]OFD Sender: No OFD packet to send [15:17:33]OFD Sender: No OFD packet to send [15:17:38]OFD Sender: No OFD packet to send [15:17:43]OFD Sender: No OFD packet to send [15:17:48]OFD Sender: No OFD packet to send [15:17:53]OFD Sender: No OFD packet to send [15:17:58]OFD Sender: No OFD packet to send [15:18:03]OFD Sender: No OFD packet to send [15:18:08]OFD Sender: No OFD packet to send [15:18:13]OFD Sender: No OFD packet to send [15:18:18]OFD Sender: No OFD packet to send [15:18:23]OFD Sender: No OFD packet to send [15:18:28]OFD Sender: No OFD packet to send [15:18:33]OFD Sender: No OFD packet to send [15:18:38]OFD Sender: No OFD packet to send [15:18:43]OFD Sender: No OFD packet to send [15:18:48]OFD Sender: No OFD packet to send [15:18:53]OFD Sender: No OFD packet to send [15:18:58]OFD Sender: No OFD packet to send [15:19:03]OFD Sender: No OFD packet to send [15:19:08]OFD Sender: No OFD packet to send [15:19:13]OFD Sender: No OFD packet to send [15:19:18]OFD Sender: No OFD packet to send [15:19:23]OFD Sender: No OFD packet to send [15:19:28]OFD Sender: No OFD packet to send [15:19:33]OFD Sender: No OFD packet to send [15:19:38]OFD Sender: No OFD packet to send [15:19:43]OFD Sender: No OFD packet to send [15:19:48]OFD Sender: No OFD packet to send [15:19:53]OFD Sender: No OFD packet to send [15:19:58]OFD Sender: No OFD packet to send [15:20:03]OFD Sender: No OFD packet to send [15:20:08]OFD Sender: No OFD packet to send [15:20:13]OFD Sender: No OFD packet to send [15:20:18]OFD Sender: No OFD packet to send [15:20:23]OFD Sender: No OFD packet to send [15:20:28]OFD Sender: No OFD packet to send [15:20:33]OFD Sender: No OFD packet to send [15:20:38]OFD Sender: No OFD packet to send [15:20:43]OFD Sender: No OFD packet to send [15:20:48]OFD Sender: No OFD packet to send [15:20:53]OFD Sender: No OFD packet to send [15:20:58]OFD Sender: No OFD packet to send [15:21:03]OFD Sender: No OFD packet to send [15:21:08]OFD Sender: No OFD packet to send [15:21:13]OFD Sender: No OFD packet to send [15:21:18]OFD Sender: No OFD packet to send [15:21:23]OFD Sender: No OFD packet to send [15:21:28]OFD Sender: No OFD packet to send [15:21:33]OFD Sender: No OFD packet to send [15:21:38]OFD Sender: No OFD packet to send [15:21:43]OFD Sender: No OFD packet to send [15:21:48]OFD Sender: No OFD packet to send [15:21:53]OFD Sender: No OFD packet to send [15:21:58]OFD Sender: No OFD packet to send [15:22:03]OFD Sender: No OFD packet to send [15:22:08]OFD Sender: No OFD packet to send [15:22:13]OFD Sender: No OFD packet to send [15:22:18]OFD Sender: No OFD packet to send [15:22:23]OFD Sender: No OFD packet to send [15:22:28]OFD Sender: No OFD packet to send [15:22:33]OFD Sender: No OFD packet to send [15:22:38]OFD Sender: No OFD packet to send [15:22:43]OFD Sender: No OFD packet to send [15:22:48]OFD Sender: No OFD packet to send [15:22:53]OFD Sender: No OFD packet to send [15:22:58]OFD Sender: No OFD packet to send [15:23:03]OFD Sender: No OFD packet to send [15:23:08]OFD Sender: No OFD packet to send [15:23:13]OFD Sender: No OFD packet to send [15:23:18]OFD Sender: No OFD packet to send [15:23:23]OFD Sender: No OFD packet to send [15:23:28]OFD Sender: No OFD packet to send [15:23:33]OFD Sender: No OFD packet to send [15:23:38]OFD Sender: No OFD packet to send [15:23:43]OFD Sender: No OFD packet to send [15:23:48]OFD Sender: No OFD packet to send [15:23:53]OFD Sender: No OFD packet to send [15:23:58]OFD Sender: No OFD packet to send [15:24:03]OFD Sender: No OFD packet to send [15:24:08]OFD Sender: No OFD packet to send [15:24:13]OFD Sender: No OFD packet to send [15:24:18]OFD Sender: No OFD packet to send [15:24:23]OFD Sender: No OFD packet to send [15:24:28]OFD Sender: No OFD packet to send [15:24:33]OFD Sender: No OFD packet to send [15:24:38]OFD Sender: No OFD packet to send [15:24:43]OFD Sender: No OFD packet to send [15:24:48]OFD Sender: No OFD packet to send [15:24:53]OFD Sender: No OFD packet to send [15:24:58]OFD Sender: No OFD packet to send [15:25:03]OFD Sender: No OFD packet to send [15:25:08]OFD Sender: No OFD packet to send [15:25:13]OFD Sender: No OFD packet to send [15:25:18]OFD Sender: No OFD packet to send [15:25:23]OFD Sender: No OFD packet to send [15:25:28]OFD Sender: No OFD packet to send [15:25:33]OFD Sender: No OFD packet to send [15:25:38]OFD Sender: No OFD packet to send [15:25:43]OFD Sender: No OFD packet to send [15:25:49]OFD Sender: No OFD packet to send [15:25:54]OFD Sender: No OFD packet to send [15:25:59]OFD Sender: No OFD packet to send [15:26:04]OFD Sender: No OFD packet to send [15:26:09]OFD Sender: No OFD packet to send [15:26:14]OFD Sender: No OFD packet to send [15:26:19]OFD Sender: No OFD packet to send [15:26:24]OFD Sender: No OFD packet to send [15:26:29]OFD Sender: No OFD packet to send [15:26:34]OFD Sender: No OFD packet to send [15:26:39]OFD Sender: No OFD packet to send [15:26:44]OFD Sender: No OFD packet to send [15:26:49]OFD Sender: No OFD packet to send [15:26:54]OFD Sender: No OFD packet to send [15:26:59]OFD Sender: No OFD packet to send [15:27:04]OFD Sender: No OFD packet to send [15:27:09]OFD Sender: No OFD packet to send [15:27:14]OFD Sender: No OFD packet to send [15:27:19]OFD Sender: No OFD packet to send [15:27:24]OFD Sender: No OFD packet to send [15:27:29]OFD Sender: No OFD packet to send [15:27:34]OFD Sender: No OFD packet to send [15:27:39]OFD Sender: No OFD packet to send [15:27:44]OFD Sender: No OFD packet to send [15:27:49]OFD Sender: No OFD packet to send [15:27:54]OFD Sender: No OFD packet to send [15:27:59]OFD Sender: No OFD packet to send [15:28:03]accept exits with 9 [15:28:03]New connection [15:28:03]New thread 3067329892 created [15:28:03]Thread 3067473252 joined [15:28:03]Waiting for new connection... [15:28:03] Sock 9.Parse request [15:28:03]Sock 9.Check first char [15:28:03]Sock 9.First char is OK [15:28:03]request: POST /json_proto HTTP/1.0 [15:28:03]Method: POST [15:28:03]URL: /json_proto [15:28:03]Method is POST - this is cgi request [15:28:03]url: /json_proto [15:28:03]query_string will be loaded in cgi processing [15:28:03]execute_cgi json_proto POST (null) [15:28:03]execute_cgi path=json_proto method=POST [15:28:03]POST find Content-Length [15:28:03]Host: 172.17.47.135:8080 [15:28:03]Content-Length: 707 [15:28:03]Content-Type: application/json [15:28:03] [15:28:03]POST finish read [15:28:03]Found Content-Length = 707 [15:28:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130852", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 Nitro 0.45 \u0436/\u0431", "price" : 94.00, "quantity" : 1.000, "sum" : 94.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 94.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:28:03]execute_script... [15:28:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130852", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 Nitro 0.45 \u0436/\u0431", "price" : 94.00, "quantity" : 1.000, "sum" : 94.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 94.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:28:03]POST & json_proto [15:28:03]process_json_proto [15:28:03]json parsed OK: [15:28:03]protocol is kg_v1.0 [15:28:03]action value=close_receipt [15:28:03]process_action close_receipt [15:28:03]cmd_close_receipt [15:28:03]MH_GetDate [15:28:03]Write to MH i2c: F0 00 00 C2 02 B3 [15:28:03]Write i2c OK [15:28:03]MH_I2C_Read... [15:28:03]Read from MH i2c: F0 [15:28:03]MH_I2C_Read... [15:28:03]Read from MH i2c: F0 09 00 [15:28:03]MH_I2C_Read... [15:28:03]Read from MH i2c: F0 09 00 C2 02 00 85 9B B8 67 19 D8 DE 66 30 [15:28:03]GetLastDocTimeStamp 1740150416 [15:28:03]current date 1740151685 [15:28:03]FM_GetShiftState [15:28:03]SAM_PROTO_GetShiftState [15:28:03]wFMCommunicate request_size=4 [15:28:03]MH_SAM_APDU [15:28:03]CAPDU: 80 13 01 00 [15:28:03]Write to MH i2c: E2 08 00 C3 02 80 13 01 00 00 00 00 00 42 [15:28:03]Write i2c OK [15:28:03]MH_I2C_Read... [15:28:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:28:03]Read from MH i2c: E2 [15:28:03]MH_I2C_Read... [15:28:03]Read from MH i2c: E2 0E 00 [15:28:03]MH_I2C_Read... [15:28:03]Read from MH i2c: E2 0E 00 C3 02 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 A7 [15:28:03]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [15:28:03]wFMCommunicate OK [15:28:03]SAM_PROTO_GetShiftState done [15:28:03]FM_GetShiftState done [15:28:03]opened in 1740096631 [15:28:03]opened+sec_in_day 1740183031 [15:28:03]quantity*price = 9400 [15:28:03]sum+1 = 9401 [15:28:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 94.00 НСП 1% : 0.83 НДС 12% : 9.98 Наличными: 94.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 34 21.02.2025 15:28 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32646 ФПД: 151823752413144 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T152805&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32646&fm=151823752413144&tin=02508201610067®Number=0000000000146237&sum=9400 0 [15:28:04]StoreToDocumentArchive [15:28:04]shift 386 fd 32646 [15:28:04]save to /storage/0386/doc_00032646 [15:28:04]save last doc name /storage/0386/doc_00032646 to /storage/kkm_last_doc_name [15:28:04]save OK [15:28:04]Clear old archive folders... [15:28:04]ProcessDocumentItem done err = 0, tmpTLVsize=302 [15:28:04]tlvbuf is 00801640 [15:28:04]SAM_PROTO_ClearQueue [15:28:04]wFMCommunicate request_size=4 [15:28:04]MH_SAM_APDU [15:28:04]CAPDU: 80 09 00 00 [15:28:04]Write to MH i2c: E2 08 00 D0 02 80 09 00 00 00 00 00 00 44 [15:28:04]Write i2c OK [15:28:04]MH_I2C_Read... [15:28:05]Read from MH i2c: E2 [15:28:05]MH_I2C_Read... [15:28:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:28:05]Read from MH i2c: E2 03 00 [15:28:05]MH_I2C_Read... [15:28:05]Read from MH i2c: E2 03 00 D0 02 00 90 00 46 [15:28:05]RAPDU: 90 00 [15:28:05]wFMCommunicate OK [15:28:05]SAM_PROTO_ClearQueue done [15:28:05]KKMCreateOFDPacket [15:28:05]OFDProtocolAddRootSTLVToBuf [15:28:05]FM_MakeSignedData [15:28:05]FM_MakeSignedData [15:28:05]SAM_PROTO_SignData [15:28:05]wFMCommunicate request_size=4 [15:28:05]MH_SAM_APDU [15:28:05]CAPDU: 80 0D 01 02 [15:28:05]Write to MH i2c: E2 08 00 D1 02 80 0D 01 02 00 00 00 00 4C [15:28:05]Write i2c OK [15:28:05]MH_I2C_Read... [15:28:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:28:05]Read from MH i2c: E2 [15:28:05]MH_I2C_Read... [15:28:05]Read from MH i2c: E2 03 00 [15:28:05]MH_I2C_Read... [15:28:05]Read from MH i2c: E2 03 00 D1 02 00 90 00 47 [15:28:05]RAPDU: 90 00 [15:28:05]wFMCommunicate OK [15:28:05]wFMCommunicate request_size=255 [15:28:05]MH_SAM_APDU [15:28:05]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 4E 69 74 72 6F 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 B8 24 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 85 9B B8 67 0E 04 04 00 82 01 00 00 B9 04 01 00 01 0D 04 [15:28:05]Write to MH i2c: E2 02 01 D2 02 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 4E 69 74 72 6F 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 B8 24 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 85 9B B8 67 0E 04 04 00 82 01 00 00 B9 04 01 00 01 0D 04 00 00 2A [15:28:05]Write i2c OK [15:28:05]MH_I2C_Read... [15:28:05]Read from MH i2c: E2 [15:28:05]MH_I2C_Read... [15:28:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:28:05]Read from MH i2c: E2 03 00 [15:28:05]MH_I2C_Read... [15:28:05]Read from MH i2c: E2 03 00 D2 02 00 90 00 48 [15:28:05]RAPDU: 90 00 [15:28:05]wFMCommunicate OK [15:28:05]wFMCommunicate request_size=61 [15:28:05]MH_SAM_APDU [15:28:05]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 86 7F 00 00 35 04 06 00 8A 15 38 D4 BF D8 [15:28:05]Write to MH i2c: E2 40 00 D3 02 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 86 7F 00 00 35 04 06 00 8A 15 38 D4 BF D8 00 00 CC [15:28:05]Write i2c OK [15:28:05]MH_I2C_Read... [15:28:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:28:05]Read from MH i2c: E2 [15:28:05]MH_I2C_Read... [15:28:05]Read from MH i2c: E2 03 00 [15:28:05]MH_I2C_Read... [15:28:05]Read from MH i2c: E2 03 00 D3 02 00 90 00 49 [15:28:05]RAPDU: 90 00 [15:28:05]wFMCommunicate OK [15:28:05]wFMCommunicate request_size=4 [15:28:05]MH_SAM_APDU [15:28:05]CAPDU: 80 0D 03 02 [15:28:05]Write to MH i2c: E2 08 00 D4 02 80 0D 03 02 00 00 00 00 51 [15:28:05]Write i2c OK [15:28:05]MH_I2C_Read... [15:28:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:28:05]Read from MH i2c: E2 [15:28:05]MH_I2C_Read... [15:28:05]Read from MH i2c: E2 0B 00 [15:28:05]MH_I2C_Read... [15:28:05]Read from MH i2c: E2 0B 00 D4 02 00 61 C8 BD 5B 2C 5D A2 B2 90 00 70 [15:28:05]RAPDU: 61 C8 BD 5B 2C 5D A2 B2 90 00 [15:28:05]wFMCommunicate OK [15:28:05]SAM_PROTO_SignData done [15:28:05]FM_MakeSignedData done [15:28:05]CreateOFDProtocolMessage [15:28:05]wFMCommunicate request_size=4 [15:28:05]MH_SAM_APDU [15:28:05]CAPDU: 80 11 00 00 [15:28:05]Write to MH i2c: E2 08 00 D5 02 80 11 00 00 00 00 00 00 51 [15:28:05]Write i2c OK [15:28:05]MH_I2C_Read... [15:28:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:28:05]Read from MH i2c: E2 [15:28:05]MH_I2C_Read... [15:28:05]Read from MH i2c: E2 17 00 [15:28:05]MH_I2C_Read... [15:28:05]Read from MH i2c: E2 17 00 D5 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 A7 [15:28:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [15:28:05]wFMCommunicate OK [15:28:05]CreateOFDProtocolMessage done [15:28:05]OFDSenderStorePacket 32646 [15:28:05]StoreOFDPacket docnum=32646 [15:28:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 42 01 00 00 B9 74 3A 01 45 30 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 4E 69 74 72 6F 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 B8 24 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 85 9B B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 86 7F 00 00 35 04 06 00 8A 15 38 D4 BF D8 61 C8 BD 5B 2C 5D A2 B2 [15:28:05]CheckFolder [15:28:05]dirname=/storage/ofd_packets [15:28:05]CheckFolder done [15:28:05]ProducePacketName [15:28:05]name=ofd_packets/00032646 [15:28:05]NVStorageSaveData ofd_packets/00032646 [15:28:05]File name is /storage/ofd_packets/00032646 [15:28:05]Write 352 bytes [15:28:05]NVStorageSaveData done [15:28:05]OFDSenderStorePacket done [15:28:05]KKMCreateOFDPacket done [15:28:05]NVStorageSaveData kkm_last_timestamp [15:28:05]File name is /storage/kkm_last_timestamp [15:28:05]Write 4 bytes [15:28:05]NVStorageSaveData done [15:28:05]ExternCall_PrintAddStr [15:28:05]wPrintStart [15:28:05]Write to MH i2c: 01 00 00 D6 02 D8 [15:28:05]Write i2c OK [15:28:05]MH_I2C_Read... [15:28:05]Read from MH i2c: 01 [15:28:05]MH_I2C_Read... [15:28:05]Read from MH i2c: 01 07 00 [15:28:05]MH_I2C_Read... [15:28:05]Read from MH i2c: 01 07 00 D6 02 00 00 00 00 00 FF 0F ED [15:28:05]RasterBufferAndPrint [15:28:05]line Счет N : (3)130852 [15:28:05]line ИНН: 02508201610067 [15:28:05]line Контрольно-Кассовый Чек [15:28:05]line ПРОДАЖА [15:28:05]line Товар: 4700000480050 [15:28:05]line Напиток энергетический Nitro 0.45 ж/б [15:28:05]line 1.000 * 94.00 [15:28:05]line = 94.00 [15:28:05]line НДС 12% НСП 1% [15:28:05]line > о реализуемом товаре [15:28:05]line ИТОГО: 94.00 [15:28:05]line НСП 1% : 0.83 [15:28:05]line НДС 12% : 9.98 [15:28:05]line Наличными: 94.00 [15:28:05]line Безнал.: 0.00 [15:28:05]line Место: АЗС № 96 "Партнер Нефть" [15:28:05]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [15:28:05]line СНО: Общий режим [15:28:05]line Чек 34 21.02.2025 15:28 [15:28:05]line Смена: 386 ФФД: 1.0 [15:28:05]line ЗНМ: 0300000059 [15:28:05]line РНМ: 0000000000146237 [15:28:05]line Версия ККМ: v1.0 [15:28:05]line ФМ: 0000000000959282 [15:28:05]line ФД: 32646 [15:28:05]line ФПД: 151823752413144 [15:28:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T152805&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32646&fm=151823752413144&tin=02508201610067®Number=0000000000146237&sum=9400 [15:28:05]line 0 [15:28:05]OFD Sender: Processing packet 32646 [packets to send 105, broken 104] [15:28:05]ProducePacketName [15:28:05]name=ofd_packets/00032646 [15:28:05]OFD Sender: To server: pG, [15:28:05]CommunicateWithHost lk.salyk.kg:30040 [15:28:05]ConnectInit lk.salyk.kg [15:28:05]written 0, free lines is 4095 [15:28:06]Connected sock=10 [15:28: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 32 38 32 42 01 00 00 B9 74 3A 01 45 30 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 3C 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 D0 B5 D1 82 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 4E 69 74 72 6F 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 24 00 00 00 00 13 04 06 00 B8 24 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 24 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 53 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 03 00 00 00 00 07 04 06 00 B8 24 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 85 9B B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 86 7F 00 00 35 04 06 00 8A 15 38 D4 BF D8 61 C8 BD 5B 2C 5D A2 B2 [15:28:06]Write to MH i2c: 01 00 00 FF 02 01 [15:28:06]Write i2c OK [15:28:06]MH_I2C_Read... [15:28:06]Read from MH i2c: 01 [15:28:06]MH_I2C_Read... [15:28:06]Read from MH i2c: 01 07 00 [15:28:06]MH_I2C_Read... [15:28:06]Read from MH i2c: 01 07 00 FF 02 00 00 00 00 00 F5 0C 09 [15:28:06]RasterBufferAndPrint [15:28:06]line [15:28:06]line [15:28:06]line [15:28:06]line [15:28:06]line [15:28:06]written 0, free lines is 3324 [15:28:06]MH_Cut [15:28:06]Write to MH i2c: D1 01 00 06 03 01 DB [15:28:06]Write i2c OK [15:28:06]MH_I2C_Read... [15:28:06]Read from MH i2c: D1 [15:28:06]MH_I2C_Read... [15:28:06]Read from MH i2c: D1 01 00 [15:28:06]MH_I2C_Read... [15:28:06]Read from MH i2c: D1 01 00 06 03 00 DA [15:28:06]Write to MH i2c: 01 00 00 07 03 0A [15:28:06]Write i2c OK [15:28:06]MH_I2C_Read... [15:28:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 4F D8 47 00 4B 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 32 38 32 10 04 04 00 86 7F 00 00 F4 03 04 00 1B 45 B8 67 B6 04 01 00 00 36 16 CC 51 0E F3 83 5A [15:28:06]CommunicateWithHost err = 0 [15:28:06]CheckOFDResponse [15:28:06]1017 (14) - 77093643461234 [15:28:06]1041 (16) - 0000000000959282 [15:28:06]1040 (4) - 32646 [15:28:06]1012 (4) - 21.02.2025 09:19 [15:28:06]1206 (1) - 0 [15:28:06]OFD Sender: Remove packet 32646 [15:28:06]ProducePacketName [15:28:06]name=ofd_packets/00032646 [15:28:06]NVStorageDeleteData [15:28:06]OFD Sender: No OFD packet to send [15:28:06]*** Cut start [15:28:06]*** Partial cut [15:28:06]*** CUTSNS_PIN = 1 [15:28:07]*** CUTSNS_PIN = 0 [15:28:07]*** Brake cut motor [15:28:07]Read from MH i2c: 01 [15:28:07]MH_I2C_Read... [15:28:07]*** Stop cut motor [15:28:07]Read from MH i2c: 01 07 00 [15:28:07]MH_I2C_Read... [15:28:07]*** Cut end [15:28:07]Read from MH i2c: 01 07 00 07 03 00 00 00 00 00 FF 0F 1F [15:28:07]process_action close_receipt done [15:28:07]requested_data is exist [15:28:07]produce_requested_data [15:28:07]requested_item fm.sn is exist - process it [15:28:07]wFMCommunicate request_size=4 [15:28:07]MH_SAM_APDU [15:28:07]CAPDU: 80 11 00 00 [15:28:07]Write to MH i2c: E2 08 00 08 03 80 11 00 00 00 00 00 00 85 [15:28:07]Write i2c OK [15:28:07]MH_I2C_Read... [15:28:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:28:07]Read from MH i2c: E2 [15:28:07]MH_I2C_Read... [15:28:07]Read from MH i2c: E2 17 00 [15:28:07]MH_I2C_Read... [15:28:07]Read from MH i2c: E2 17 00 08 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 DB [15:28:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [15:28:07]wFMCommunicate OK [15:28:07]requested_item fd.num is exist - process it [15:28:07]SAM_PROTO_GetFieldsCounters [15:28:07]wFMCommunicate request_size=4 [15:28:07]MH_SAM_APDU [15:28:07]CAPDU: 80 13 00 00 [15:28:07]Write to MH i2c: E2 08 00 09 03 80 13 00 00 00 00 00 00 88 [15:28:07]Write i2c OK [15:28:07]MH_I2C_Read... [15:28:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:28:07]Read from MH i2c: E2 [15:28:07]MH_I2C_Read... [15:28:07]Read from MH i2c: E2 62 00 [15:28:07]MH_I2C_Read... [15:28:07]Read from MH i2c: E2 62 00 09 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 86 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 98 [15:28:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 86 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:28:07]wFMCommunicate OK [15:28:07]SAM_PROTO_GetFieldsCounters done [15:28:07]requested_item shift.num is exist - process it [15:28:07]requested_item shift.opened is exist - process it [15:28:07]req_shift_opened [15:28:07]FM_GetShiftState [15:28:07]SAM_PROTO_GetShiftState [15:28:07]wFMCommunicate request_size=4 [15:28:07]MH_SAM_APDU [15:28:07]CAPDU: 80 13 01 00 [15:28:07]Write to MH i2c: E2 08 00 0A 03 80 13 01 00 00 00 00 00 8A [15:28:07]Write i2c OK [15:28:07]MH_I2C_Read... [15:28:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:28:07]Read from MH i2c: E2 [15:28:07]MH_I2C_Read... [15:28:07]Read from MH i2c: E2 0E 00 [15:28:07]MH_I2C_Read... [15:28:07]Read from MH i2c: E2 0E 00 0A 03 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 EF [15:28:07]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [15:28:07]wFMCommunicate OK [15:28:07]SAM_PROTO_GetShiftState done [15:28:07]FM_GetShiftState done [15:28:07]req_shift_opened done [15:28:07]requested_item shift.open_date is exist - process it [15:28:07]req_shift_open_date [15:28:07]req_shift_open_date done [15:28:07]produce_requested_data done [15:28:07]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32646,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [15:28:07]process_action_free close_receipt [15:28:07]json_value_free [15:28:07]json_value_free done [15:28:07]process_json_proto returns [15:28:07]Send response to host [15:28:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32646,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [15:28:07]free response buf [15:28:07]execute_script done [15:28:07]execute_script returns [15:28:07]free content buf [15:28:07]Sock 9.Close socket [15:28:07]Sock 9.Thread stoped [15:28:11]OFD Sender: No OFD packet to send [15:28:16]OFD Sender: No OFD packet to send [15:28:21]OFD Sender: No OFD packet to send [15:28:26]OFD Sender: No OFD packet to send [15:28:31]OFD Sender: No OFD packet to send [15:28:36]OFD Sender: No OFD packet to send [15:28:41]OFD Sender: No OFD packet to send [15:28:46]OFD Sender: No OFD packet to send [15:28:51]OFD Sender: No OFD packet to send [15:28:56]OFD Sender: No OFD packet to send [15:29:02]OFD Sender: No OFD packet to send [15:29:07]OFD Sender: No OFD packet to send [15:29:12]OFD Sender: No OFD packet to send [15:29:17]OFD Sender: No OFD packet to send [15:29:22]OFD Sender: No OFD packet to send [15:29:27]OFD Sender: No OFD packet to send [15:29:32]OFD Sender: No OFD packet to send [15:29:37]OFD Sender: No OFD packet to send [15:29:42]OFD Sender: No OFD packet to send [15:29:47]OFD Sender: No OFD packet to send [15:29:52]OFD Sender: No OFD packet to send [15:29:57]OFD Sender: No OFD packet to send [15:30:02]OFD Sender: No OFD packet to send [15:30:07]OFD Sender: No OFD packet to send [15:30:12]OFD Sender: No OFD packet to send [15:30:17]OFD Sender: No OFD packet to send [15:30:22]OFD Sender: No OFD packet to send [15:30:27]OFD Sender: No OFD packet to send [15:30:32]OFD Sender: No OFD packet to send [15:30:37]OFD Sender: No OFD packet to send [15:30:42]OFD Sender: No OFD packet to send [15:30:47]OFD Sender: No OFD packet to send [15:30:52]OFD Sender: No OFD packet to send [15:30:57]OFD Sender: No OFD packet to send [15:31:02]OFD Sender: No OFD packet to send [15:31:07]OFD Sender: No OFD packet to send [15:31:12]OFD Sender: No OFD packet to send [15:31:17]OFD Sender: No OFD packet to send [15:31:22]OFD Sender: No OFD packet to send [15:31:27]OFD Sender: No OFD packet to send [15:31:32]OFD Sender: No OFD packet to send [15:31:37]OFD Sender: No OFD packet to send [15:31:42]OFD Sender: No OFD packet to send [15:31:43]accept exits with 7 [15:31:43]New connection [15:31:43]New thread 3067473252 created [15:31:43]Thread 3067329892 joined [15:31:43]Waiting for new connection... [15:31:43] Sock 7.Parse request [15:31:43]Sock 7.Check first char [15:31:43]Sock 7.First char is OK [15:31:43]request: POST /json_proto HTTP/1.0 [15:31:43]Method: POST [15:31:43]URL: /json_proto [15:31:43]Method is POST - this is cgi request [15:31:43]url: /json_proto [15:31:43]query_string will be loaded in cgi processing [15:31:43]execute_cgi json_proto POST (null) [15:31:43]execute_cgi path=json_proto method=POST [15:31:43]POST find Content-Length [15:31:43]Host: 172.17.47.135:8080 [15:31:43]Content-Length: 790 [15:31:43]Content-Type: application/json [15:31:43] [15:31:43]POST finish read [15:31:43]Found Content-Length = 790 [15:31:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6545114", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 0.00, "quantity" : 13.780, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A59701", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:31:43]execute_script... [15:31: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)6545114", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710194210", "name": "\u0414\u0422-\u041A-2", "price" : 0.00, "quantity" : 13.780, "sum" : 0.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A59701", "payments": [ { "type": 1, "sum" : 0.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:31:43]POST & json_proto [15:31:43]process_json_proto [15:31:43]json parsed OK: [15:31:43]protocol is kg_v1.0 [15:31:43]action value=close_receipt [15:31:43]process_action close_receipt [15:31:43]cmd_close_receipt [15:31:43]MH_GetDate [15:31:43]Write to MH i2c: F0 00 00 0B 03 FD [15:31:43]Write i2c OK [15:31:43]MH_I2C_Read... [15:31:43]Read from MH i2c: F0 [15:31:43]MH_I2C_Read... [15:31:43]Read from MH i2c: F0 09 00 [15:31:43]MH_I2C_Read... [15:31:43]Read from MH i2c: F0 09 00 0B 03 00 60 9C B8 67 19 D8 DE 66 56 [15:31:43]GetLastDocTimeStamp 1740151685 [15:31:43]current date 1740151904 [15:31:43]FM_GetShiftState [15:31:43]SAM_PROTO_GetShiftState [15:31:43]wFMCommunicate request_size=4 [15:31:43]MH_SAM_APDU [15:31:43]CAPDU: 80 13 01 00 [15:31:43]Write to MH i2c: E2 08 00 0C 03 80 13 01 00 00 00 00 00 8C [15:31:43]Write i2c OK [15:31:43]MH_I2C_Read... [15:31:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:31:43]Read from MH i2c: E2 [15:31:43]MH_I2C_Read... [15:31:43]Read from MH i2c: E2 0E 00 [15:31:43]MH_I2C_Read... [15:31:43]Read from MH i2c: E2 0E 00 0C 03 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 F1 [15:31:43]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [15:31:43]wFMCommunicate OK [15:31:43]SAM_PROTO_GetShiftState done [15:31:43]FM_GetShiftState done [15:31:43]opened in 1740096631 [15:31:43]opened+sec_in_day 1740183031 [15:31:43]quantity*price = 0 [15:31:43]sum+1 = 1 [15:31:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 0.00 НСП 1% : 0.00 НДС 12% : 0.00 Наличными: 0.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 35 21.02.2025 15:31 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Талоны: Топливная Карта 59701 ФМ: 0000000000959282 ФД: 32647 ФПД: 44765965380079 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T153145&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32647&fm=44765965380079&tin=02508201610067®Number=0000000000146237&sum=0 [15:31:44]StoreToDocumentArchive [15:31:44]shift 386 fd 32647 [15:31:44]save to /storage/0386/doc_00032647 [15:31:44]save last doc name /storage/0386/doc_00032647 to /storage/kkm_last_doc_name [15:31:44]save OK [15:31:44]Clear old archive folders... [15:31:44]ProcessDocumentItem done err = 0, tmpTLVsize=248 [15:31:44]tlvbuf is 0080BA70 [15:31:44]SAM_PROTO_ClearQueue [15:31:44]wFMCommunicate request_size=4 [15:31:44]MH_SAM_APDU [15:31:44]CAPDU: 80 09 00 00 [15:31:44]Write to MH i2c: E2 08 00 19 03 80 09 00 00 00 00 00 00 8E [15:31:44]Write i2c OK [15:31:44]MH_I2C_Read... [15:31:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:31:44]Read from MH i2c: E2 [15:31:44]MH_I2C_Read... [15:31:44]Read from MH i2c: E2 03 00 [15:31:44]MH_I2C_Read... [15:31:44]Read from MH i2c: E2 03 00 19 03 00 90 00 90 [15:31:44]RAPDU: 90 00 [15:31:44]wFMCommunicate OK [15:31:44]SAM_PROTO_ClearQueue done [15:31:44]KKMCreateOFDPacket [15:31:44]OFDProtocolAddRootSTLVToBuf [15:31:44]FM_MakeSignedData [15:31:44]FM_MakeSignedData [15:31:44]SAM_PROTO_SignData [15:31:44]wFMCommunicate request_size=4 [15:31:44]MH_SAM_APDU [15:31:44]CAPDU: 80 0D 01 02 [15:31:44]Write to MH i2c: E2 08 00 1A 03 80 0D 01 02 00 00 00 00 96 [15:31:44]Write i2c OK [15:31:44]MH_I2C_Read... [15:31:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:31:44]Read from MH i2c: E2 [15:31:44]MH_I2C_Read... [15:31:44]Read from MH i2c: E2 03 00 [15:31:44]MH_I2C_Read... [15:31:44]Read from MH i2c: E2 03 00 1A 03 00 90 00 91 [15:31:44]RAPDU: 90 00 [15:31:44]wFMCommunicate OK [15:31:44]wFMCommunicate request_size=255 [15:31:44]MH_SAM_APDU [15:31:44]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 32 FF 03 08 00 03 D4 35 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 61 9C B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 87 7F 00 00 35 04 06 00 28 B6 E3 76 [15:31:44]Write to MH i2c: E2 02 01 1B 03 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 32 FF 03 08 00 03 D4 35 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 61 9C B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 87 7F 00 00 35 04 06 00 28 B6 E3 76 00 00 F9 [15:31:44]Write i2c OK [15:31:44]MH_I2C_Read... [15:31:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:31:44]Read from MH i2c: E2 [15:31:44]MH_I2C_Read... [15:31:44]Read from MH i2c: E2 03 00 [15:31:44]MH_I2C_Read... [15:31:44]Read from MH i2c: E2 03 00 1B 03 00 90 00 92 [15:31:44]RAPDU: 90 00 [15:31:44]wFMCommunicate OK [15:31:44]wFMCommunicate request_size=7 [15:31:44]MH_SAM_APDU [15:31:44]CAPDU: 80 0D 02 02 02 E9 EF [15:31:44]Write to MH i2c: E2 0A 00 1C 03 80 0D 02 02 02 00 E9 EF 00 00 75 [15:31:44]Write i2c OK [15:31:44]MH_I2C_Read... [15:31:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:31:45]Read from MH i2c: E2 [15:31:45]MH_I2C_Read... [15:31:45]Read from MH i2c: E2 03 00 [15:31:45]MH_I2C_Read... [15:31:45]Read from MH i2c: E2 03 00 1C 03 00 90 00 93 [15:31:45]RAPDU: 90 00 [15:31:45]wFMCommunicate OK [15:31:45]wFMCommunicate request_size=4 [15:31:45]MH_SAM_APDU [15:31:45]CAPDU: 80 0D 03 02 [15:31:45]Write to MH i2c: E2 08 00 1D 03 80 0D 03 02 00 00 00 00 9B [15:31:45]Write i2c OK [15:31:45]MH_I2C_Read... [15:31:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:31:45]Read from MH i2c: E2 [15:31:45]MH_I2C_Read... [15:31:45]Read from MH i2c: E2 0B 00 [15:31:45]MH_I2C_Read... [15:31:45]Read from MH i2c: E2 0B 00 1D 03 00 CE 6F 0C 30 C9 FD 1B 43 90 00 39 [15:31:45]RAPDU: CE 6F 0C 30 C9 FD 1B 43 90 00 [15:31:45]wFMCommunicate OK [15:31:45]SAM_PROTO_SignData done [15:31:45]FM_MakeSignedData done [15:31:45]CreateOFDProtocolMessage [15:31:45]wFMCommunicate request_size=4 [15:31:45]MH_SAM_APDU [15:31:45]CAPDU: 80 11 00 00 [15:31:45]Write to MH i2c: E2 08 00 1E 03 80 11 00 00 00 00 00 00 9B [15:31:45]Write i2c OK [15:31:45]MH_I2C_Read... [15:31:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:31:45]Read from MH i2c: E2 [15:31:45]MH_I2C_Read... [15:31:45]Read from MH i2c: E2 17 00 [15:31:45]MH_I2C_Read... [15:31:45]Read from MH i2c: E2 17 00 1E 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 F1 [15:31:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [15:31:45]wFMCommunicate OK [15:31:45]CreateOFDProtocolMessage done [15:31:45]OFDSenderStorePacket 32647 [15:31:45]StoreOFDPacket docnum=32647 [15:31:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0C 01 00 00 21 FD 04 01 D9 95 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 32 FF 03 08 00 03 D4 35 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 61 9C B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 87 7F 00 00 35 04 06 00 28 B6 E3 76 E9 EF CE 6F 0C 30 C9 FD 1B 43 [15:31:45]CheckFolder [15:31:45]dirname=/storage/ofd_packets [15:31:45]CheckFolder done [15:31:45]ProducePacketName [15:31:45]name=ofd_packets/00032647 [15:31:45]NVStorageSaveData ofd_packets/00032647 [15:31:45]File name is /storage/ofd_packets/00032647 [15:31:45]Write 298 bytes [15:31:45]NVStorageSaveData done [15:31:45]OFDSenderStorePacket done [15:31:45]KKMCreateOFDPacket done [15:31:45]NVStorageSaveData kkm_last_timestamp [15:31:45]File name is /storage/kkm_last_timestamp [15:31:45]Write 4 bytes [15:31:45]NVStorageSaveData done [15:31:45]ExternCall_PrintAddStr [15:31:45]wPrintStart [15:31:45]Write to MH i2c: 01 00 00 1F 03 22 [15:31:45]OFD Sender: Processing packet 32647 [packets to send 105, broken 104] [15:31:45]ProducePacketName [15:31:45]name=ofd_packets/00032647 [15:31:45]OFD Sender: To server: pG, [15:31:45]CommunicateWithHost lk.salyk.kg:30040 [15:31:45]ConnectInit lk.salyk.kg [15:31:45]Write i2c OK [15:31:45]MH_I2C_Read... [15:31:45]Read from MH i2c: 01 [15:31:45]MH_I2C_Read... [15:31:45]Read from MH i2c: 01 07 00 [15:31:45]MH_I2C_Read... [15:31:45]Read from MH i2c: 01 07 00 1F 03 00 00 00 00 00 FF 0F 37 [15:31:45]RasterBufferAndPrint [15:31:45]line Счет N : (1)6545114 [15:31:45]line ИНН: 02508201610067 [15:31:45]line Контрольно-Кассовый Чек [15:31:45]line ПРОДАЖА [15:31:45]line ТРК (МРК, ГНК) : 43 [15:31:45]line Товар: 2710194210 [15:31:45]line ДТ-К-2 [15:31:45]line 13.780 * 0.00 [15:31:45]line = 0.00 [15:31:45]line НДС 12% НСП 1% [15:31:45]line > о реализуемом товаре [15:31:45]line ИТОГО: 0.00 [15:31:45]line НСП 1% : 0.00 [15:31:45]line НДС 12% : 0.00 [15:31:45]line Наличными: 0.00 [15:31:45]line Безнал.: 0.00 [15:31:45]line Место: АЗС № 96 "Партнер Нефть" [15:31:45]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [15:31:45]line СНО: Общий режим [15:31:45]line Чек 35 21.02.2025 15:31 [15:31:45]line Смена: 386 ФФД: 1.0 [15:31:45]line ЗНМ: 0300000059 [15:31:45]line РНМ: 0000000000146237 [15:31:45]line Версия ККМ: v1.0 [15:31:45]line Талоны: Топливная Карта [15:31:45]line 59701 [15:31:45]line ФМ: 0000000000959282 [15:31:45]line ФД: 32647 [15:31:45]line ФПД: 44765965380079 [15:31:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T153145&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32647&fm=44765965380079&tin=02508201610067®Number=0000000000146237&sum=0 [15:31:45]written 0, free lines is 4095 [15:31:45]Connected sock=10 [15:31: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 32 38 32 0C 01 00 00 21 FD 04 01 D9 95 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 32 FF 03 08 00 03 D4 35 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 61 9C B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 87 7F 00 00 35 04 06 00 28 B6 E3 76 E9 EF CE 6F 0C 30 C9 FD 1B 43 [15:31:45]Write to MH i2c: 01 00 00 49 03 4C [15:31:45]Write i2c OK [15:31:45]MH_I2C_Read... [15:31:45]Read from MH i2c: 01 [15:31:45]MH_I2C_Read... [15:31:45]Read from MH i2c: 01 07 00 [15:31:45]MH_I2C_Read... [15:31:45]Read from MH i2c: 01 07 00 49 03 00 00 00 00 00 06 0D 66 [15:31:45]RasterBufferAndPrint [15:31:45]line [15:31:45]line [15:31:45]line [15:31:45]line [15:31:45]line [15:31:45]written 0, free lines is 3340 [15:31:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 15 41 47 00 51 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 32 38 32 10 04 04 00 87 7F 00 00 F4 03 04 00 F6 45 B8 67 B6 04 01 00 00 E8 7C 2D 12 AA 95 5A 9D [15:31:45]CommunicateWithHost err = 0 [15:31:45]CheckOFDResponse [15:31:45]1017 (14) - 77093643461234 [15:31:45]1041 (16) - 0000000000959282 [15:31:45]1040 (4) - 32647 [15:31:45]1012 (4) - 21.02.2025 09:23 [15:31:45]1206 (1) - 0 [15:31:45]OFD Sender: Remove packet 32647 [15:31:45]ProducePacketName [15:31:45]name=ofd_packets/00032647 [15:31:45]NVStorageDeleteData [15:31:45]MH_Cut [15:31:45]Write to MH i2c: D1 01 00 50 03 01 25 [15:31:45]Write i2c OK [15:31:45]MH_I2C_Read... [15:31:45]Read from MH i2c: D1 [15:31:45]MH_I2C_Read... [15:31:45]Read from MH i2c: D1 01 00 [15:31:45]MH_I2C_Read... [15:31:45]Read from MH i2c: D1 01 00 50 03 00 24 [15:31:45]Write to MH i2c: 01 00 00 51 03 54 [15:31:45]Write i2c OK [15:31:45]MH_I2C_Read... [15:31:46]OFD Sender: No OFD packet to send [15:31:46]*** Cut start [15:31:46]*** Partial cut [15:31:46]*** CUTSNS_PIN = 1 [15:31:46]*** CUTSNS_PIN = 0 [15:31:46]*** Brake cut motor [15:31:46]Read from MH i2c: 01 [15:31:46]MH_I2C_Read... [15:31:46]*** Stop cut motor [15:31:46]*** Cut end [15:31:46]Read from MH i2c: 01 07 00 [15:31:46]MH_I2C_Read... [15:31:46]Read from MH i2c: 01 07 00 51 03 00 00 00 00 00 FF 0F 69 [15:31:46]process_action close_receipt done [15:31:46]requested_data is exist [15:31:46]produce_requested_data [15:31:46]requested_item fm.sn is exist - process it [15:31:46]wFMCommunicate request_size=4 [15:31:46]MH_SAM_APDU [15:31:46]CAPDU: 80 11 00 00 [15:31:46]Write to MH i2c: E2 08 00 52 03 80 11 00 00 00 00 00 00 CF [15:31:46]Write i2c OK [15:31:46]MH_I2C_Read... [15:31:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:31:46]Read from MH i2c: E2 [15:31:46]MH_I2C_Read... [15:31:46]Read from MH i2c: E2 17 00 [15:31:46]MH_I2C_Read... [15:31:46]Read from MH i2c: E2 17 00 52 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 25 [15:31:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [15:31:46]wFMCommunicate OK [15:31:46]requested_item fd.num is exist - process it [15:31:46]SAM_PROTO_GetFieldsCounters [15:31:46]wFMCommunicate request_size=4 [15:31:46]MH_SAM_APDU [15:31:46]CAPDU: 80 13 00 00 [15:31:46]Write to MH i2c: E2 08 00 53 03 80 13 00 00 00 00 00 00 D2 [15:31:46]Write i2c OK [15:31:46]MH_I2C_Read... [15:31:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:31:47]Read from MH i2c: E2 [15:31:47]MH_I2C_Read... [15:31:47]Read from MH i2c: E2 62 00 [15:31:47]MH_I2C_Read... [15:31:47]Read from MH i2c: E2 62 00 53 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 87 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 E6 [15:31:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 87 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:31:47]wFMCommunicate OK [15:31:47]SAM_PROTO_GetFieldsCounters done [15:31:47]requested_item shift.num is exist - process it [15:31:47]requested_item shift.opened is exist - process it [15:31:47]req_shift_opened [15:31:47]FM_GetShiftState [15:31:47]SAM_PROTO_GetShiftState [15:31:47]wFMCommunicate request_size=4 [15:31:47]MH_SAM_APDU [15:31:47]CAPDU: 80 13 01 00 [15:31:47]Write to MH i2c: E2 08 00 54 03 80 13 01 00 00 00 00 00 D4 [15:31:47]Write i2c OK [15:31:47]MH_I2C_Read... [15:31:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:31:47]Read from MH i2c: E2 [15:31:47]MH_I2C_Read... [15:31:47]Read from MH i2c: E2 0E 00 [15:31:47]MH_I2C_Read... [15:31:47]Read from MH i2c: E2 0E 00 54 03 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 39 [15:31:47]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [15:31:47]wFMCommunicate OK [15:31:47]SAM_PROTO_GetShiftState done [15:31:47]FM_GetShiftState done [15:31:47]req_shift_opened done [15:31:47]requested_item shift.open_date is exist - process it [15:31:47]req_shift_open_date [15:31:47]req_shift_open_date done [15:31:47]produce_requested_data done [15:31:47]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32647,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [15:31:47]process_action_free close_receipt [15:31:47]json_value_free [15:31:47]json_value_free done [15:31:47]process_json_proto returns [15:31:47]Send response to host [15:31:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32647,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [15:31:47]free response buf [15:31:47]execute_script done [15:31:47]execute_script returns [15:31:47]free content buf [15:31:47]Sock 7.Close socket [15:31:47]Sock 7.Thread stoped [15:31:51]OFD Sender: No OFD packet to send [15:31:56]OFD Sender: No OFD packet to send [15:32:01]OFD Sender: No OFD packet to send [15:32:06]OFD Sender: No OFD packet to send [15:32:11]OFD Sender: No OFD packet to send [15:32:16]OFD Sender: No OFD packet to send [15:32:21]OFD Sender: No OFD packet to send [15:32:26]OFD Sender: No OFD packet to send [15:32:31]OFD Sender: No OFD packet to send [15:32:36]OFD Sender: No OFD packet to send [15:32:41]OFD Sender: No OFD packet to send [15:32:46]OFD Sender: No OFD packet to send [15:32:51]OFD Sender: No OFD packet to send [15:32:56]OFD Sender: No OFD packet to send [15:33:01]OFD Sender: No OFD packet to send [15:33:06]OFD Sender: No OFD packet to send [15:33:11]OFD Sender: No OFD packet to send [15:33:16]OFD Sender: No OFD packet to send [15:33:21]OFD Sender: No OFD packet to send [15:33:26]OFD Sender: No OFD packet to send [15:33:31]OFD Sender: No OFD packet to send [15:33:36]OFD Sender: No OFD packet to send [15:33:41]OFD Sender: No OFD packet to send [15:33:46]OFD Sender: No OFD packet to send [15:33:51]OFD Sender: No OFD packet to send [15:33:56]OFD Sender: No OFD packet to send [15:34:01]OFD Sender: No OFD packet to send [15:34:06]OFD Sender: No OFD packet to send [15:34:11]OFD Sender: No OFD packet to send [15:34:16]OFD Sender: No OFD packet to send [15:34:21]OFD Sender: No OFD packet to send [15:34:26]OFD Sender: No OFD packet to send [15:34:31]OFD Sender: No OFD packet to send [15:34:36]OFD Sender: No OFD packet to send [15:34:41]OFD Sender: No OFD packet to send [15:34:46]OFD Sender: No OFD packet to send [15:34:51]OFD Sender: No OFD packet to send [15:34:56]OFD Sender: No OFD packet to send [15:35:01]OFD Sender: No OFD packet to send [15:35:06]OFD Sender: No OFD packet to send [15:35:11]OFD Sender: No OFD packet to send [15:35:16]OFD Sender: No OFD packet to send [15:35:21]OFD Sender: No OFD packet to send [15:35:26]OFD Sender: No OFD packet to send [15:35:31]OFD Sender: No OFD packet to send [15:35:36]OFD Sender: No OFD packet to send [15:35:41]OFD Sender: No OFD packet to send [15:35:46]OFD Sender: No OFD packet to send [15:35:51]OFD Sender: No OFD packet to send [15:35:56]OFD Sender: No OFD packet to send [15:36:01]OFD Sender: No OFD packet to send [15:36:06]OFD Sender: No OFD packet to send [15:36:11]OFD Sender: No OFD packet to send [15:36:16]OFD Sender: No OFD packet to send [15:36:21]OFD Sender: No OFD packet to send [15:36:26]OFD Sender: No OFD packet to send [15:36:31]OFD Sender: No OFD packet to send [15:36:36]OFD Sender: No OFD packet to send [15:36:41]OFD Sender: No OFD packet to send [15:36:46]OFD Sender: No OFD packet to send [15:36:51]OFD Sender: No OFD packet to send [15:36:56]OFD Sender: No OFD packet to send [15:37:01]OFD Sender: No OFD packet to send [15:37:06]OFD Sender: No OFD packet to send [15:37:11]OFD Sender: No OFD packet to send [15:37:16]OFD Sender: No OFD packet to send [15:37:21]OFD Sender: No OFD packet to send [15:37:26]OFD Sender: No OFD packet to send [15:37:31]OFD Sender: No OFD packet to send [15:37:36]OFD Sender: No OFD packet to send [15:37:41]OFD Sender: No OFD packet to send [15:37:46]OFD Sender: No OFD packet to send [15:37:51]OFD Sender: No OFD packet to send [15:37:56]OFD Sender: No OFD packet to send [15:38:01]OFD Sender: No OFD packet to send [15:38:06]OFD Sender: No OFD packet to send [15:38:11]OFD Sender: No OFD packet to send [15:38:16]OFD Sender: No OFD packet to send [15:38:21]OFD Sender: No OFD packet to send [15:38:26]OFD Sender: No OFD packet to send [15:38:31]OFD Sender: No OFD packet to send [15:38:36]OFD Sender: No OFD packet to send [15:38:41]OFD Sender: No OFD packet to send [15:38:46]OFD Sender: No OFD packet to send [15:38:51]OFD Sender: No OFD packet to send [15:38:56]OFD Sender: No OFD packet to send [15:39:01]OFD Sender: No OFD packet to send [15:39:06]OFD Sender: No OFD packet to send [15:39:11]OFD Sender: No OFD packet to send [15:39:16]OFD Sender: No OFD packet to send [15:39:21]OFD Sender: No OFD packet to send [15:39:26]OFD Sender: No OFD packet to send [15:39:31]OFD Sender: No OFD packet to send [15:39:36]OFD Sender: No OFD packet to send [15:39:41]OFD Sender: No OFD packet to send [15:39:46]OFD Sender: No OFD packet to send [15:39:51]OFD Sender: No OFD packet to send [15:39:56]OFD Sender: No OFD packet to send [15:40:01]OFD Sender: No OFD packet to send [15:40:06]OFD Sender: No OFD packet to send [15:40:11]OFD Sender: No OFD packet to send [15:40:16]OFD Sender: No OFD packet to send [15:40:21]OFD Sender: No OFD packet to send [15:40:26]OFD Sender: No OFD packet to send [15:40:31]OFD Sender: No OFD packet to send [15:40:36]OFD Sender: No OFD packet to send [15:40:41]OFD Sender: No OFD packet to send [15:40:46]OFD Sender: No OFD packet to send [15:40:51]OFD Sender: No OFD packet to send [15:40:56]OFD Sender: No OFD packet to send [15:41:01]OFD Sender: No OFD packet to send [15:41:06]OFD Sender: No OFD packet to send [15:41:11]OFD Sender: No OFD packet to send [15:41:16]OFD Sender: No OFD packet to send [15:41:21]OFD Sender: No OFD packet to send [15:41:26]OFD Sender: No OFD packet to send [15:41:31]OFD Sender: No OFD packet to send [15:41:36]OFD Sender: No OFD packet to send [15:41:41]OFD Sender: No OFD packet to send [15:41:46]OFD Sender: No OFD packet to send [15:41:51]OFD Sender: No OFD packet to send [15:41:56]OFD Sender: No OFD packet to send [15:42:01]OFD Sender: No OFD packet to send [15:42:06]OFD Sender: No OFD packet to send [15:42:11]OFD Sender: No OFD packet to send [15:42:16]OFD Sender: No OFD packet to send [15:42:21]OFD Sender: No OFD packet to send [15:42:26]OFD Sender: No OFD packet to send [15:42:31]OFD Sender: No OFD packet to send [15:42:36]OFD Sender: No OFD packet to send [15:42:41]OFD Sender: No OFD packet to send [15:42:46]OFD Sender: No OFD packet to send [15:42:51]OFD Sender: No OFD packet to send [15:42:56]OFD Sender: No OFD packet to send [15:43:01]OFD Sender: No OFD packet to send [15:43:06]OFD Sender: No OFD packet to send [15:43:11]OFD Sender: No OFD packet to send [15:43:16]OFD Sender: No OFD packet to send [15:43:21]OFD Sender: No OFD packet to send [15:43:26]OFD Sender: No OFD packet to send [15:43:31]OFD Sender: No OFD packet to send [15:43:36]OFD Sender: No OFD packet to send [15:43:41]OFD Sender: No OFD packet to send [15:43:46]OFD Sender: No OFD packet to send [15:43:51]OFD Sender: No OFD packet to send [15:43:56]OFD Sender: No OFD packet to send [15:44:01]OFD Sender: No OFD packet to send [15:44:06]OFD Sender: No OFD packet to send [15:44:11]OFD Sender: No OFD packet to send [15:44:16]OFD Sender: No OFD packet to send [15:44:21]OFD Sender: No OFD packet to send [15:44:26]OFD Sender: No OFD packet to send [15:44:31]OFD Sender: No OFD packet to send [15:44:36]OFD Sender: No OFD packet to send [15:44:41]OFD Sender: No OFD packet to send [15:44:46]OFD Sender: No OFD packet to send [15:44:51]OFD Sender: No OFD packet to send [15:44:56]OFD Sender: No OFD packet to send [15:45:01]OFD Sender: No OFD packet to send [15:45:06]OFD Sender: No OFD packet to send [15:45:11]OFD Sender: No OFD packet to send [15:45:16]OFD Sender: No OFD packet to send [15:45:22]OFD Sender: No OFD packet to send [15:45:27]OFD Sender: No OFD packet to send [15:45:32]OFD Sender: No OFD packet to send [15:45:37]OFD Sender: No OFD packet to send [15:45:42]OFD Sender: No OFD packet to send [15:45:47]OFD Sender: No OFD packet to send [15:45:52]OFD Sender: No OFD packet to send [15:45:57]OFD Sender: No OFD packet to send [15:46:02]OFD Sender: No OFD packet to send [15:46:07]OFD Sender: No OFD packet to send [15:46:12]OFD Sender: No OFD packet to send [15:46:17]OFD Sender: No OFD packet to send [15:46:22]OFD Sender: No OFD packet to send [15:46:27]OFD Sender: No OFD packet to send [15:46:32]OFD Sender: No OFD packet to send [15:46:37]OFD Sender: No OFD packet to send [15:46:42]OFD Sender: No OFD packet to send [15:46:47]OFD Sender: No OFD packet to send [15:46:52]OFD Sender: No OFD packet to send [15:46:57]OFD Sender: No OFD packet to send [15:47:02]OFD Sender: No OFD packet to send [15:47:07]OFD Sender: No OFD packet to send [15:47:12]OFD Sender: No OFD packet to send [15:47:17]OFD Sender: No OFD packet to send [15:47:22]OFD Sender: No OFD packet to send [15:47:27]OFD Sender: No OFD packet to send [15:47:32]OFD Sender: No OFD packet to send [15:47:37]OFD Sender: No OFD packet to send [15:47:42]OFD Sender: No OFD packet to send [15:47:47]OFD Sender: No OFD packet to send [15:47:52]OFD Sender: No OFD packet to send [15:47:57]OFD Sender: No OFD packet to send [15:48:02]OFD Sender: No OFD packet to send [15:48:07]OFD Sender: No OFD packet to send [15:48:12]OFD Sender: No OFD packet to send [15:48:17]OFD Sender: No OFD packet to send [15:48:22]OFD Sender: No OFD packet to send [15:48:27]OFD Sender: No OFD packet to send [15:48:32]OFD Sender: No OFD packet to send [15:48:37]OFD Sender: No OFD packet to send [15:48:42]OFD Sender: No OFD packet to send [15:48:47]OFD Sender: No OFD packet to send [15:48:52]OFD Sender: No OFD packet to send [15:48:57]OFD Sender: No OFD packet to send [15:49:02]OFD Sender: No OFD packet to send [15:49:07]OFD Sender: No OFD packet to send [15:49:12]OFD Sender: No OFD packet to send [15:49:17]OFD Sender: No OFD packet to send [15:49:22]OFD Sender: No OFD packet to send [15:49:27]OFD Sender: No OFD packet to send [15:49:32]OFD Sender: No OFD packet to send [15:49:37]OFD Sender: No OFD packet to send [15:49:42]OFD Sender: No OFD packet to send [15:49:47]OFD Sender: No OFD packet to send [15:49:52]OFD Sender: No OFD packet to send [15:49:57]OFD Sender: No OFD packet to send [15:50:02]OFD Sender: No OFD packet to send [15:50:07]OFD Sender: No OFD packet to send [15:50:12]OFD Sender: No OFD packet to send [15:50:17]OFD Sender: No OFD packet to send [15:50:22]OFD Sender: No OFD packet to send [15:50:27]OFD Sender: No OFD packet to send [15:50:32]OFD Sender: No OFD packet to send [15:50:37]OFD Sender: No OFD packet to send [15:50:42]OFD Sender: No OFD packet to send [15:50:47]OFD Sender: No OFD packet to send [15:50:52]OFD Sender: No OFD packet to send [15:50:57]OFD Sender: No OFD packet to send [15:51:02]OFD Sender: No OFD packet to send [15:51:07]OFD Sender: No OFD packet to send [15:51:12]OFD Sender: No OFD packet to send [15:51:17]OFD Sender: No OFD packet to send [15:51:22]OFD Sender: No OFD packet to send [15:51:27]OFD Sender: No OFD packet to send [15:51:32]OFD Sender: No OFD packet to send [15:51:37]OFD Sender: No OFD packet to send [15:51:42]OFD Sender: No OFD packet to send [15:51:47]OFD Sender: No OFD packet to send [15:51:52]OFD Sender: No OFD packet to send [15:51:57]OFD Sender: No OFD packet to send [15:52:02]OFD Sender: No OFD packet to send [15:52:07]OFD Sender: No OFD packet to send [15:52:12]OFD Sender: No OFD packet to send [15:52:17]OFD Sender: No OFD packet to send [15:52:22]OFD Sender: No OFD packet to send [15:52:27]OFD Sender: No OFD packet to send [15:52:32]OFD Sender: No OFD packet to send [15:52:37]OFD Sender: No OFD packet to send [15:52:42]OFD Sender: No OFD packet to send [15:52:57]OFD Sender: No OFD packet to send [15:53:02]OFD Sender: No OFD packet to send [15:53:07]OFD Sender: No OFD packet to send [15:53:12]OFD Sender: No OFD packet to send [15:53:17]OFD Sender: No OFD packet to send [15:53:22]OFD Sender: No OFD packet to send [15:53:27]OFD Sender: No OFD packet to send [15:53:32]OFD Sender: No OFD packet to send [15:53:37]OFD Sender: No OFD packet to send [15:53:42]OFD Sender: No OFD packet to send [15:53:47]OFD Sender: No OFD packet to send [15:53:52]OFD Sender: No OFD packet to send [15:53:57]OFD Sender: No OFD packet to send [15:54:02]OFD Sender: No OFD packet to send [15:54:07]OFD Sender: No OFD packet to send [15:54:12]OFD Sender: No OFD packet to send [15:54:17]OFD Sender: No OFD packet to send [15:54:22]OFD Sender: No OFD packet to send [15:54:27]OFD Sender: No OFD packet to send [15:54:32]OFD Sender: No OFD packet to send [15:54:37]OFD Sender: No OFD packet to send [15:54:42]OFD Sender: No OFD packet to send [15:54:47]OFD Sender: No OFD packet to send [15:54:52]OFD Sender: No OFD packet to send [15:54:57]OFD Sender: No OFD packet to send [15:55:02]OFD Sender: No OFD packet to send [15:55:04]ConnectInit Can't connect to host [15:55:07]OFD Sender: No OFD packet to send [15:55:12]OFD Sender: No OFD packet to send [15:55:17]OFD Sender: No OFD packet to send [15:55:22]OFD Sender: No OFD packet to send [15:55:27]OFD Sender: No OFD packet to send [15:55:32]OFD Sender: No OFD packet to send [15:55:37]OFD Sender: No OFD packet to send [15:55:42]OFD Sender: No OFD packet to send [15:55:47]OFD Sender: No OFD packet to send [15:55:52]OFD Sender: No OFD packet to send [15:55:57]OFD Sender: No OFD packet to send [15:56:02]OFD Sender: No OFD packet to send [15:56:07]OFD Sender: No OFD packet to send [15:56:12]OFD Sender: No OFD packet to send [15:56:17]OFD Sender: No OFD packet to send [15:56:22]OFD Sender: No OFD packet to send [15:56:27]OFD Sender: No OFD packet to send [15:56:32]OFD Sender: No OFD packet to send [15:56:37]OFD Sender: No OFD packet to send [15:56:42]OFD Sender: No OFD packet to send [15:56:47]OFD Sender: No OFD packet to send [15:56:52]OFD Sender: No OFD packet to send [15:56:57]OFD Sender: No OFD packet to send [15:57:02]OFD Sender: No OFD packet to send [15:57:07]OFD Sender: No OFD packet to send [15:57:12]OFD Sender: No OFD packet to send [15:57:17]OFD Sender: No OFD packet to send [15:57:22]OFD Sender: No OFD packet to send [15:57:27]OFD Sender: No OFD packet to send [15:57:32]OFD Sender: No OFD packet to send [15:57:37]OFD Sender: No OFD packet to send [15:57:42]OFD Sender: No OFD packet to send [15:57:47]OFD Sender: No OFD packet to send [15:57:52]OFD Sender: No OFD packet to send [15:57:57]OFD Sender: No OFD packet to send [15:58:02]OFD Sender: No OFD packet to send [15:58:07]OFD Sender: No OFD packet to send [15:58:12]OFD Sender: No OFD packet to send [15:58:17]OFD Sender: No OFD packet to send [15:58:22]OFD Sender: No OFD packet to send [15:58:27]OFD Sender: No OFD packet to send [15:58:32]OFD Sender: No OFD packet to send [15:58:37]OFD Sender: No OFD packet to send [15:58:42]OFD Sender: No OFD packet to send [15:58:47]OFD Sender: No OFD packet to send [15:58:52]OFD Sender: No OFD packet to send [15:58:57]OFD Sender: No OFD packet to send [15:59:02]OFD Sender: No OFD packet to send [15:59:07]OFD Sender: No OFD packet to send [15:59:12]OFD Sender: No OFD packet to send [15:59:17]OFD Sender: No OFD packet to send [15:59:22]OFD Sender: No OFD packet to send [15:59:27]OFD Sender: No OFD packet to send [15:59:32]OFD Sender: No OFD packet to send [15:59:37]OFD Sender: No OFD packet to send [15:59:42]OFD Sender: No OFD packet to send [15:59:47]OFD Sender: No OFD packet to send [15:59:52]OFD Sender: No OFD packet to send [15:59:57]OFD Sender: No OFD packet to send [16:00:02]OFD Sender: No OFD packet to send [16:00:07]OFD Sender: No OFD packet to send [16:00:12]OFD Sender: No OFD packet to send [16:00:17]OFD Sender: No OFD packet to send [16:00:22]OFD Sender: No OFD packet to send [16:00:27]OFD Sender: No OFD packet to send [16:00:33]OFD Sender: No OFD packet to send [16:00:38]OFD Sender: No OFD packet to send [16:00:43]OFD Sender: No OFD packet to send [16:00:48]OFD Sender: No OFD packet to send [16:00:53]OFD Sender: No OFD packet to send [16:00:58]OFD Sender: No OFD packet to send [16:01:03]OFD Sender: No OFD packet to send [16:01:08]OFD Sender: No OFD packet to send [16:01:13]OFD Sender: No OFD packet to send [16:01:18]OFD Sender: No OFD packet to send [16:01:23]OFD Sender: No OFD packet to send [16:01:28]OFD Sender: No OFD packet to send [16:01:33]OFD Sender: No OFD packet to send [16:01:38]OFD Sender: No OFD packet to send [16:01:43]OFD Sender: No OFD packet to send [16:01:48]OFD Sender: No OFD packet to send [16:01:53]OFD Sender: No OFD packet to send [16:01:58]OFD Sender: No OFD packet to send [16:02:03]OFD Sender: No OFD packet to send [16:02:08]OFD Sender: No OFD packet to send [16:02:13]OFD Sender: No OFD packet to send [16:02:18]OFD Sender: No OFD packet to send [16:02:23]OFD Sender: No OFD packet to send [16:02:28]OFD Sender: No OFD packet to send [16:02:33]OFD Sender: No OFD packet to send [16:02:38]OFD Sender: No OFD packet to send [16:02:43]OFD Sender: No OFD packet to send [16:02:48]OFD Sender: No OFD packet to send [16:02:53]OFD Sender: No OFD packet to send [16:02:58]OFD Sender: No OFD packet to send [16:03:03]OFD Sender: No OFD packet to send [16:03:08]OFD Sender: No OFD packet to send [16:03:13]OFD Sender: No OFD packet to send [16:03:18]OFD Sender: No OFD packet to send [16:03:23]OFD Sender: No OFD packet to send [16:03:28]OFD Sender: No OFD packet to send [16:03:33]OFD Sender: No OFD packet to send [16:03:38]OFD Sender: No OFD packet to send [16:03:43]OFD Sender: No OFD packet to send [16:03:48]OFD Sender: No OFD packet to send [16:03:53]OFD Sender: No OFD packet to send [16:03:58]OFD Sender: No OFD packet to send [16:04:03]OFD Sender: No OFD packet to send [16:04:08]OFD Sender: No OFD packet to send [16:04:13]OFD Sender: No OFD packet to send [16:04:18]OFD Sender: No OFD packet to send [16:04:23]OFD Sender: No OFD packet to send [16:04:28]OFD Sender: No OFD packet to send [16:04:33]OFD Sender: No OFD packet to send [16:04:38]OFD Sender: No OFD packet to send [16:04:43]OFD Sender: No OFD packet to send [16:04:48]OFD Sender: No OFD packet to send [16:04:53]OFD Sender: No OFD packet to send [16:04:58]OFD Sender: No OFD packet to send [16:05:03]OFD Sender: No OFD packet to send [16:05:08]OFD Sender: No OFD packet to send [16:05:13]OFD Sender: No OFD packet to send [16:05:18]OFD Sender: No OFD packet to send [16:05:23]OFD Sender: No OFD packet to send [16:05:28]OFD Sender: No OFD packet to send [16:05:33]OFD Sender: No OFD packet to send [16:05:38]OFD Sender: No OFD packet to send [16:05:43]OFD Sender: No OFD packet to send [16:05:48]OFD Sender: No OFD packet to send [16:05:53]OFD Sender: No OFD packet to send [16:05:58]OFD Sender: No OFD packet to send [16:06:03]OFD Sender: No OFD packet to send [16:06:08]OFD Sender: No OFD packet to send [16:06:13]OFD Sender: No OFD packet to send [16:06:18]OFD Sender: No OFD packet to send [16:06:23]OFD Sender: No OFD packet to send [16:06:28]OFD Sender: No OFD packet to send [16:06:33]OFD Sender: No OFD packet to send [16:06:38]OFD Sender: No OFD packet to send [16:06:43]OFD Sender: No OFD packet to send [16:06:48]OFD Sender: No OFD packet to send [16:06:53]OFD Sender: No OFD packet to send [16:06:58]OFD Sender: No OFD packet to send [16:07:03]OFD Sender: No OFD packet to send [16:07:08]OFD Sender: No OFD packet to send [16:07:13]OFD Sender: No OFD packet to send [16:07:18]OFD Sender: No OFD packet to send [16:07:23]OFD Sender: No OFD packet to send [16:07:28]OFD Sender: No OFD packet to send [16:07:33]OFD Sender: No OFD packet to send [16:07:38]OFD Sender: No OFD packet to send [16:07:43]OFD Sender: No OFD packet to send [16:07:48]OFD Sender: No OFD packet to send [16:07:53]OFD Sender: No OFD packet to send [16:07:58]OFD Sender: No OFD packet to send [16:08:03]OFD Sender: No OFD packet to send [16:08:08]OFD Sender: No OFD packet to send [16:08:13]OFD Sender: No OFD packet to send [16:08:18]OFD Sender: No OFD packet to send [16:08:23]OFD Sender: No OFD packet to send [16:08:28]OFD Sender: No OFD packet to send [16:08:33]OFD Sender: No OFD packet to send [16:08:38]OFD Sender: No OFD packet to send [16:08:43]OFD Sender: No OFD packet to send [16:08:48]OFD Sender: No OFD packet to send [16:08:53]OFD Sender: No OFD packet to send [16:08:58]OFD Sender: No OFD packet to send [16:09:03]OFD Sender: No OFD packet to send [16:09:08]OFD Sender: No OFD packet to send [16:09:13]OFD Sender: No OFD packet to send [16:09:18]OFD Sender: No OFD packet to send [16:09:23]OFD Sender: No OFD packet to send [16:09:28]OFD Sender: No OFD packet to send [16:09:33]OFD Sender: No OFD packet to send [16:09:38]OFD Sender: No OFD packet to send [16:09:43]OFD Sender: No OFD packet to send [16:09:48]OFD Sender: No OFD packet to send [16:09:53]OFD Sender: No OFD packet to send [16:09:58]OFD Sender: No OFD packet to send [16:10:03]OFD Sender: No OFD packet to send [16:10:08]OFD Sender: No OFD packet to send [16:10:13]OFD Sender: No OFD packet to send [16:10:18]OFD Sender: No OFD packet to send [16:10:23]OFD Sender: No OFD packet to send [16:10:28]OFD Sender: No OFD packet to send [16:10:33]OFD Sender: No OFD packet to send [16:10:38]OFD Sender: No OFD packet to send [16:10:43]OFD Sender: No OFD packet to send [16:10:48]OFD Sender: No OFD packet to send [16:10:53]OFD Sender: No OFD packet to send [16:10:58]OFD Sender: No OFD packet to send [16:11:03]OFD Sender: No OFD packet to send [16:11:08]OFD Sender: No OFD packet to send [16:11:13]OFD Sender: No OFD packet to send [16:11:18]OFD Sender: No OFD packet to send [16:11:23]OFD Sender: No OFD packet to send [16:11:28]OFD Sender: No OFD packet to send [16:11:33]OFD Sender: No OFD packet to send [16:11:38]OFD Sender: No OFD packet to send [16:11:43]OFD Sender: No OFD packet to send [16:11:48]OFD Sender: No OFD packet to send [16:11:53]OFD Sender: No OFD packet to send [16:11:58]OFD Sender: No OFD packet to send [16:12:03]OFD Sender: No OFD packet to send [16:12:08]OFD Sender: No OFD packet to send [16:12:13]OFD Sender: No OFD packet to send [16:12:18]OFD Sender: No OFD packet to send [16:12:23]OFD Sender: No OFD packet to send [16:12:28]OFD Sender: No OFD packet to send [16:12:33]OFD Sender: No OFD packet to send [16:12:38]OFD Sender: No OFD packet to send [16:12:43]OFD Sender: No OFD packet to send [16:12:48]OFD Sender: No OFD packet to send [16:12:53]OFD Sender: No OFD packet to send [16:12:55]accept exits with 9 [16:12:55]New connection [16:12:55]New thread 3067329892 created [16:12:55]Thread 3067473252 joined [16:12:55]Waiting for new connection... [16:12:55] Sock 9.Parse request [16:12:55]Sock 9.Check first char [16:12:55]Sock 9.First char is OK [16:12:55]request: POST /json_proto HTTP/1.0 [16:12:55]Method: POST [16:12:55]URL: /json_proto [16:12:55]Method is POST - this is cgi request [16:12:55]url: /json_proto [16:12:55]query_string will be loaded in cgi processing [16:12:55]execute_cgi json_proto POST (null) [16:12:55]execute_cgi path=json_proto method=POST [16:12:55]POST find Content-Length [16:12:55]Host: 172.17.47.135:8080 [16:12:55]Content-Length: 215 [16:12:55]Content-Type: application/json [16:12:55] [16:12:55]POST finish read [16:12:55]Found Content-Length = 215 [16:12:55]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" ] } } [16:12:55]execute_script... [16:12:55]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" ] } } [16:12:55]POST & json_proto [16:12:55]process_json_proto [16:12:55]json parsed OK: [16:12:55]protocol is kg_v1.0 [16:12:55]action value=get_value [16:12:55]process_action get_value [16:12:55]cmd_get_value [16:12:55]process_action get_value done [16:12:55]requested_data is exist [16:12:55]produce_requested_data [16:12:55]requested_item kkm.sn is exist - process it [16:12:55]requested_item kkm.ver is exist - process it [16:12:55]requested_item fm.sn is exist - process it [16:12:55]wFMCommunicate request_size=4 [16:12:55]MH_SAM_APDU [16:12:55]CAPDU: 80 11 00 00 [16:12:55]Write to MH i2c: E2 08 00 55 03 80 11 00 00 00 00 00 00 D2 [16:12:55]Write i2c OK [16:12:55]MH_I2C_Read... [16:12:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:12:55]Read from MH i2c: E2 [16:12:55]MH_I2C_Read... [16:12:55]Read from MH i2c: E2 17 00 [16:12:55]MH_I2C_Read... [16:12:55]Read from MH i2c: E2 17 00 55 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 28 [16:12:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [16:12:55]wFMCommunicate OK [16:12:55]requested_item fd.num is exist - process it [16:12:55]SAM_PROTO_GetFieldsCounters [16:12:55]wFMCommunicate request_size=4 [16:12:55]MH_SAM_APDU [16:12:55]CAPDU: 80 13 00 00 [16:12:55]Write to MH i2c: E2 08 00 56 03 80 13 00 00 00 00 00 00 D5 [16:12:55]Write i2c OK [16:12:55]MH_I2C_Read... [16:12:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:12:55]Read from MH i2c: E2 [16:12:55]MH_I2C_Read... [16:12:55]Read from MH i2c: E2 62 00 [16:12:55]MH_I2C_Read... [16:12:55]Read from MH i2c: E2 62 00 56 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 87 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 E9 [16:12: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 87 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:12:55]wFMCommunicate OK [16:12:55]SAM_PROTO_GetFieldsCounters done [16:12:55]requested_item shift.num is exist - process it [16:12:55]requested_item shift.opened is exist - process it [16:12:55]req_shift_opened [16:12:55]FM_GetShiftState [16:12:55]SAM_PROTO_GetShiftState [16:12:55]wFMCommunicate request_size=4 [16:12:55]MH_SAM_APDU [16:12:55]CAPDU: 80 13 01 00 [16:12:55]Write to MH i2c: E2 08 00 57 03 80 13 01 00 00 00 00 00 D7 [16:12:55]Write i2c OK [16:12:55]MH_I2C_Read... [16:12:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:12:55]Read from MH i2c: E2 [16:12:55]MH_I2C_Read... [16:12:55]Read from MH i2c: E2 0E 00 [16:12:55]MH_I2C_Read... [16:12:55]Read from MH i2c: E2 0E 00 57 03 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 3C [16:12:55]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [16:12:55]wFMCommunicate OK [16:12:55]SAM_PROTO_GetShiftState done [16:12:55]FM_GetShiftState done [16:12:55]req_shift_opened done [16:12:55]requested_item shift.open_date is exist - process it [16:12:55]req_shift_open_date [16:12:55]req_shift_open_date done [16:12:55]produce_requested_data done [16:12:55]produce_requested_data return {"kkm.sn":"0300000059","kkm.ver":"v1.0","fm.sn":"0000000000959282","fd.num":32647,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [16:12:55]process_action_free get_value [16:12:55]json_value_free [16:12:55]json_value_free done [16:12:55]process_json_proto returns [16:12:55]Send response to host [16:12:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000059","kkm.ver":"v1.0","fm.sn":"0000000000959282","fd.num":32647,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [16:12:55]free response buf [16:12:55]execute_script done [16:12:55]execute_script returns [16:12:55]free content buf [16:12:55]Sock 9.Close socket [16:12:55]Sock 9.Thread stoped [16:12:55]accept exits with 7 [16:12:55]New connection [16:12:55]New thread 3067473252 created [16:12:55]Thread 3067329892 joined [16:12:55]Waiting for new connection... [16:12:55] Sock 7.Parse request [16:12:55]Sock 7.Check first char [16:12:55]Sock 7.First char is OK [16:12:55]request: POST /json_proto HTTP/1.0 [16:12:55]Method: POST [16:12:55]URL: /json_proto [16:12:55]Method is POST - this is cgi request [16:12:55]url: /json_proto [16:12:55]query_string will be loaded in cgi processing [16:12:55]execute_cgi json_proto POST (null) [16:12:55]execute_cgi path=json_proto method=POST [16:12:55]POST find Content-Length [16:12:55]Host: 172.17.47.135:8080 [16:12:55]Content-Length: 331 [16:12:55]Content-Type: application/json [16:12:55] [16:12:55]POST finish read [16:12:55]Found Content-Length = 331 [16:12:55]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" ] } } [16:12:55]execute_script... [16:12:56]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" ] } } [16:12:56]POST & json_proto [16:12:56]process_json_proto [16:12:56]json parsed OK: [16:12:56]protocol is kg_v1.0 [16:12:56]action value=get_value [16:12:56]process_action get_value [16:12:56]cmd_get_value [16:12:56]process_action get_value done [16:12:56]requested_data is exist [16:12:56]produce_requested_data [16:12:56]requested_item fm.sale.total is exist - process it [16:12:56]SAM_PROTO_GetFMData [16:12:56]wFMCommunicate request_size=4 [16:12:56]MH_SAM_APDU [16:12:56]CAPDU: 80 13 03 00 [16:12:56]Write to MH i2c: E2 08 00 58 03 80 13 03 00 00 00 00 00 DA [16:12:56]Write i2c OK [16:12:56]MH_I2C_Read... [16:12:56]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [16:12:56]Read from MH i2c: E2 [16:12:56]MH_I2C_Read... [16:12:56]Read from MH i2c: E2 FD 00 [16:12:56]MH_I2C_Read... [16:12:56]Read from MH i2c: E2 FD 00 58 03 00 C4 04 85 04 C0 04 6E 04 04 00 82 7C 00 00 69 04 A0 00 6F 04 04 00 F6 7A 00 00 B1 04 04 00 9D 68 09 58 70 04 04 00 55 EB 22 28 72 04 04 00 48 7D E6 2F 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 3A 92 59 09 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 F6 6C C7 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8C 01 00 00 B1 04 04 00 EC D2 34 02 70 04 04 00 40 1B 16 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 56 FD 3B EF 03 09 00 90 00 88 [16:12:56]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 82 7C 00 00 69 04 A0 00 6F 04 04 00 F6 7A 00 00 B1 04 04 00 9D 68 09 58 70 04 04 00 55 EB 22 28 72 04 04 00 48 7D E6 2F 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 3A 92 59 09 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 F6 6C C7 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8C 01 00 00 B1 04 04 00 EC D2 34 02 70 04 04 00 40 1B 16 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 56 FD 3B EF 03 09 00 90 00 [16:12:56]wFMCommunicate OK [16:12:56]wFMCommunicate request_size=4 [16:12:56]MH_SAM_APDU [16:12:56]CAPDU: 80 17 00 00 [16:12:56]Write to MH i2c: E2 08 00 59 03 80 17 00 00 00 00 00 00 DC [16:12:56]Write i2c OK [16:12:56]MH_I2C_Read... [16:12:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:12:56]Read from MH i2c: E2 [16:12:56]MH_I2C_Read... [16:12:56]Read from MH i2c: E2 FD 00 [16:12:56]MH_I2C_Read... [16:12:56]Read from MH i2c: E2 FD 00 59 03 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A FF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 2F [16:12:56]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A FF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [16:12:56]wFMCommunicate OK [16:12:56]wFMCommunicate request_size=4 [16:12:56]MH_SAM_APDU [16:12:56]CAPDU: 80 17 00 00 [16:12:56]Write to MH i2c: E2 08 00 5A 03 80 17 00 00 00 00 00 00 DD [16:12:56]Write i2c OK [16:12:56]MH_I2C_Read... [16:12:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:12:57]Read from MH i2c: E2 [16:12:57]MH_I2C_Read... [16:12:57]Read from MH i2c: E2 FD 00 [16:12:57]MH_I2C_Read... [16:12:57]Read from MH i2c: E2 FD 00 5A 03 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 F2 [16:12:57]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [16:12:57]wFMCommunicate OK [16:12:57]wFMCommunicate request_size=4 [16:12:57]MH_SAM_APDU [16:12:57]CAPDU: 80 17 00 00 [16:12:57]Write to MH i2c: E2 08 00 5B 03 80 17 00 00 00 00 00 00 DE [16:12:57]Write i2c OK [16:12:57]MH_I2C_Read... [16:12:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:12:57]Read from MH i2c: E2 [16:12:57]MH_I2C_Read... [16:12:57]Read from MH i2c: E2 FD 00 [16:12:57]MH_I2C_Read... [16:12:57]Read from MH i2c: E2 FD 00 5B 03 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 56 [16:12:57]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [16:12:57]wFMCommunicate OK [16:12:57]wFMCommunicate request_size=4 [16:12:57]MH_SAM_APDU [16:12:57]CAPDU: 80 17 00 00 [16:12:57]Write to MH i2c: E2 08 00 5C 03 80 17 00 00 00 00 00 00 DF [16:12:57]Write i2c OK [16:12:57]MH_I2C_Read... [16:12:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [16:12:57]Read from MH i2c: E2 [16:12:57]MH_I2C_Read... [16:12:57]Read from MH i2c: E2 E1 00 [16:12:57]MH_I2C_Read... [16:12:57]Read from MH i2c: E2 E1 00 5C 03 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 CD [16:12:57]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [16:12:57]wFMCommunicate OK [16:12:57]SAM_PROTO_GetFMData done [16:12:57]requested_item fm.sale_refund.total is exist - process it [16:12:57]requested_item fm.buy.total is exist - process it [16:12:57]requested_item shift.sale.total is exist - process it [16:12:57]SAM_PROTO_GetShiftData [16:12:57]wFMCommunicate request_size=4 [16:12:57]MH_SAM_APDU [16:12:57]CAPDU: 80 13 02 00 [16:12:57]Write to MH i2c: E2 08 00 5D 03 80 13 02 00 00 00 00 00 DE [16:12:57]Write i2c OK [16:12:57]MH_I2C_Read... [16:12:58]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:12:58]Read from MH i2c: E2 [16:12:58]MH_I2C_Read... [16:12:58]Read from MH i2c: E2 FD 00 [16:12:58]MH_I2C_Read... [16:12:58]Read from MH i2c: E2 FD 00 5D 03 00 B8 04 AA 04 B4 04 6E 04 04 00 23 00 00 00 69 04 9B 00 6F 04 04 00 22 00 00 00 B1 04 03 00 18 C8 11 70 04 03 00 FC AE 0E 72 04 03 00 1C 19 03 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 78 E3 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 46 28 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 01 00 00 00 B1 04 03 00 A0 86 01 70 04 03 00 A0 86 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 29 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 B8 [16:12:58]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 23 00 00 00 69 04 9B 00 6F 04 04 00 22 00 00 00 B1 04 03 00 18 C8 11 70 04 03 00 FC AE 0E 72 04 03 00 1C 19 03 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 78 E3 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 46 28 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 01 00 00 00 B1 04 03 00 A0 86 01 70 04 03 00 A0 86 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 29 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [16:12:58]wFMCommunicate OK [16:12:58]wFMCommunicate request_size=4 [16:12:58]MH_SAM_APDU [16:12:58]CAPDU: 80 17 00 00 [16:12:58]Write to MH i2c: E2 08 00 5E 03 80 17 00 00 00 00 00 00 E1 [16:12:58]Write i2c OK [16:12:58]MH_I2C_Read... [16:12:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:12:58]Read from MH i2c: E2 [16:12:58]MH_I2C_Read... [16:12:58]Read from MH i2c: E2 FD 00 [16:12:58]MH_I2C_Read... [16:12:58]Read from MH i2c: E2 FD 00 5E 03 00 0B 00 F6 03 01 00 01 F7 03 02 00 75 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8A [16:12:58]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 75 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [16:12:58]wFMCommunicate OK [16:12:58]wFMCommunicate request_size=4 [16:12:58]MH_SAM_APDU [16:12:58]CAPDU: 80 17 00 00 [16:12:58]Write to MH i2c: E2 08 00 5F 03 80 17 00 00 00 00 00 00 E2 [16:12:58]Write i2c OK [16:12:58]MH_I2C_Read... [16:12:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:12:58]Read from MH i2c: E2 [16:12:58]MH_I2C_Read... [16:12:58]Read from MH i2c: E2 FD 00 [16:12:58]MH_I2C_Read... [16:12:58]Read from MH i2c: E2 FD 00 5F 03 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 84 [16:12:58]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [16:12:58]wFMCommunicate OK [16:12:58]wFMCommunicate request_size=4 [16:12:58]MH_SAM_APDU [16:12:58]CAPDU: 80 17 00 00 [16:12:58]Write to MH i2c: E2 08 00 60 03 80 17 00 00 00 00 00 00 E3 [16:12:58]Write i2c OK [16:12:58]MH_I2C_Read... [16:12:58]OFD Sender: No OFD packet to send [16:12:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:12:58]Read from MH i2c: E2 [16:12:58]MH_I2C_Read... [16:12:58]Read from MH i2c: E2 FD 00 [16:12:58]MH_I2C_Read... [16:12:58]Read from MH i2c: E2 FD 00 60 03 00 03 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 90 00 6C [16:12:58]RAPDU: 03 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 90 00 [16:12:59]wFMCommunicate OK [16:12:59]wFMCommunicate request_size=4 [16:12:59]MH_SAM_APDU [16:12:59]CAPDU: 80 17 00 00 [16:12:59]Write to MH i2c: E2 08 00 61 03 80 17 00 00 00 00 00 00 E4 [16:12:59]Write i2c OK [16:12:59]MH_I2C_Read... [16:12:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [16:12:59]Read from MH i2c: E2 [16:12:59]MH_I2C_Read... [16:12:59]Read from MH i2c: E2 D5 00 [16:12:59]MH_I2C_Read... [16:12:59]Read from MH i2c: E2 D5 00 61 03 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C5 [16:12:59]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:59]wFMCommunicate OK [16:12:59]SAM_PROTO_GetShiftData done [16:12:59]requested_item shift.sale.total_cash is exist - process it [16:12:59]requested_item shift.sale_refund.total is exist - process it [16:12:59]requested_item shift.sale_refund.total_cash is exist - process it [16:12:59]requested_item shift.buy.total is exist - process it [16:12:59]requested_item shift.buy.total_cash is exist - process it [16:12:59]produce_requested_data done [16:12:59]produce_requested_data return {"fm.sale.total":14770116.13,"fm.sale_refund.total":370163.00,"fm.buy.total":0.00,"shift.sale.total":11653.36,"shift.sale.total_cash":9623.00,"shift.sale_refund.total":1000.00,"shift.sale_refund.total_cash":1000.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [16:12:59]process_action_free get_value [16:12:59]json_value_free [16:12:59]json_value_free done [16:12:59]process_json_proto returns [16:12:59]Send response to host [16:12:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":14770116.13,"fm.sale_refund.total":370163.00,"fm.buy.total":0.00,"shift.sale.total":11653.36,"shift.sale.total_cash":9623.00,"shift.sale_refund.total":1000.00,"shift.sale_refund.total_cash":1000.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [16:12:59]free response buf [16:12:59]execute_script done [16:12:59]execute_script returns [16:12:59]free content buf [16:12:59]Sock 7.Close socket [16:12:59]Sock 7.Thread stoped [16:12:59]accept exits with 9 [16:12:59]New connection [16:12:59]New thread 3067329892 created [16:12:59]Thread 3067473252 joined [16:12:59]Waiting for new connection... [16:12:59] Sock 9.Parse request [16:12:59]Sock 9.Check first char [16:12:59]Sock 9.First char is OK [16:12:59]request: POST /json_proto HTTP/1.0 [16:12:59]Method: POST [16:12:59]URL: /json_proto [16:12:59]Method is POST - this is cgi request [16:12:59]url: /json_proto [16:12:59]query_string will be loaded in cgi processing [16:12:59]execute_cgi json_proto POST (null) [16:12:59]execute_cgi path=json_proto method=POST [16:12:59]POST find Content-Length [16:12:59]Host: 172.17.47.135:8080 [16:12:59]Content-Length: 331 [16:12:59]Content-Type: application/json [16:12:59] [16:12:59]POST finish read [16:12:59]Found Content-Length = 331 [16:12:59]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" ] } } [16:12:59]execute_script... [16:12:59]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" ] } } [16:12:59]POST & json_proto [16:12:59]process_json_proto [16:12:59]json parsed OK: [16:12:59]protocol is kg_v1.0 [16:12:59]action value=get_value [16:12:59]process_action get_value [16:12:59]cmd_get_value [16:12:59]process_action get_value done [16:12:59]requested_data is exist [16:12:59]produce_requested_data [16:12:59]requested_item fm.sale.total is exist - process it [16:12:59]SAM_PROTO_GetFMData [16:12:59]wFMCommunicate request_size=4 [16:12:59]MH_SAM_APDU [16:12:59]CAPDU: 80 13 03 00 [16:12:59]Write to MH i2c: E2 08 00 62 03 80 13 03 00 00 00 00 00 E4 [16:12:59]Write i2c OK [16:12:59]MH_I2C_Read... [16:12:59]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [16:12:59]Read from MH i2c: E2 [16:12:59]MH_I2C_Read... [16:12:59]Read from MH i2c: E2 FD 00 [16:12:59]MH_I2C_Read... [16:12:59]Read from MH i2c: E2 FD 00 62 03 00 C4 04 85 04 C0 04 6E 04 04 00 82 7C 00 00 69 04 A0 00 6F 04 04 00 F6 7A 00 00 B1 04 04 00 9D 68 09 58 70 04 04 00 55 EB 22 28 72 04 04 00 48 7D E6 2F 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 3A 92 59 09 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 F6 6C C7 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8C 01 00 00 B1 04 04 00 EC D2 34 02 70 04 04 00 40 1B 16 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 56 FD 3B EF 03 09 00 90 00 92 [16:13:00]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 82 7C 00 00 69 04 A0 00 6F 04 04 00 F6 7A 00 00 B1 04 04 00 9D 68 09 58 70 04 04 00 55 EB 22 28 72 04 04 00 48 7D E6 2F 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 3A 92 59 09 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 F6 6C C7 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8C 01 00 00 B1 04 04 00 EC D2 34 02 70 04 04 00 40 1B 16 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 56 FD 3B EF 03 09 00 90 00 [16:13:00]wFMCommunicate OK [16:13:00]wFMCommunicate request_size=4 [16:13:00]MH_SAM_APDU [16:13:00]CAPDU: 80 17 00 00 [16:13:00]Write to MH i2c: E2 08 00 63 03 80 17 00 00 00 00 00 00 E6 [16:13:00]Write i2c OK [16:13:00]MH_I2C_Read... [16:13:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:13:00]Read from MH i2c: E2 [16:13:00]MH_I2C_Read... [16:13:00]Read from MH i2c: E2 FD 00 [16:13:00]MH_I2C_Read... [16:13:00]Read from MH i2c: E2 FD 00 63 03 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A FF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 39 [16:13:00]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A FF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [16:13:00]wFMCommunicate OK [16:13:00]wFMCommunicate request_size=4 [16:13:00]MH_SAM_APDU [16:13:00]CAPDU: 80 17 00 00 [16:13:00]Write to MH i2c: E2 08 00 64 03 80 17 00 00 00 00 00 00 E7 [16:13:00]Write i2c OK [16:13:00]MH_I2C_Read... [16:13:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:13:00]Read from MH i2c: E2 [16:13:00]MH_I2C_Read... [16:13:00]Read from MH i2c: E2 FD 00 [16:13:00]MH_I2C_Read... [16:13:00]Read from MH i2c: E2 FD 00 64 03 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 FC [16:13:00]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [16:13:00]wFMCommunicate OK [16:13:00]wFMCommunicate request_size=4 [16:13:00]MH_SAM_APDU [16:13:00]CAPDU: 80 17 00 00 [16:13:00]Write to MH i2c: E2 08 00 65 03 80 17 00 00 00 00 00 00 E8 [16:13:00]Write i2c OK [16:13:00]MH_I2C_Read... [16:13:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:13:00]Read from MH i2c: E2 [16:13:00]MH_I2C_Read... [16:13:00]Read from MH i2c: E2 FD 00 [16:13:00]MH_I2C_Read... [16:13:00]Read from MH i2c: E2 FD 00 65 03 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 60 [16:13:01]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [16:13:01]wFMCommunicate OK [16:13:01]wFMCommunicate request_size=4 [16:13:01]MH_SAM_APDU [16:13:01]CAPDU: 80 17 00 00 [16:13:01]Write to MH i2c: E2 08 00 66 03 80 17 00 00 00 00 00 00 E9 [16:13:01]Write i2c OK [16:13:01]MH_I2C_Read... [16:13:01]Read from MH i2c: E2 [16:13:01]MH_I2C_Read... [16:13:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [16:13:01]Read from MH i2c: E2 E1 00 [16:13:01]MH_I2C_Read... [16:13:01]Read from MH i2c: E2 E1 00 66 03 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D7 [16:13:01]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [16:13:01]wFMCommunicate OK [16:13:01]SAM_PROTO_GetFMData done [16:13:01]requested_item fm.sale_refund.total is exist - process it [16:13:01]requested_item fm.buy.total is exist - process it [16:13:01]requested_item shift.sale.total is exist - process it [16:13:01]SAM_PROTO_GetShiftData [16:13:01]wFMCommunicate request_size=4 [16:13:01]MH_SAM_APDU [16:13:01]CAPDU: 80 13 02 00 [16:13:01]Write to MH i2c: E2 08 00 67 03 80 13 02 00 00 00 00 00 E8 [16:13:01]Write i2c OK [16:13:01]MH_I2C_Read... [16:13:01]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:13:01]Read from MH i2c: E2 [16:13:01]MH_I2C_Read... [16:13:01]Read from MH i2c: E2 FD 00 [16:13:01]MH_I2C_Read... [16:13:01]Read from MH i2c: E2 FD 00 67 03 00 B8 04 AA 04 B4 04 6E 04 04 00 23 00 00 00 69 04 9B 00 6F 04 04 00 22 00 00 00 B1 04 03 00 18 C8 11 70 04 03 00 FC AE 0E 72 04 03 00 1C 19 03 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 78 E3 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 46 28 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 01 00 00 00 B1 04 03 00 A0 86 01 70 04 03 00 A0 86 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 29 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 C2 [16:13:01]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 23 00 00 00 69 04 9B 00 6F 04 04 00 22 00 00 00 B1 04 03 00 18 C8 11 70 04 03 00 FC AE 0E 72 04 03 00 1C 19 03 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 78 E3 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 46 28 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 01 00 00 00 B1 04 03 00 A0 86 01 70 04 03 00 A0 86 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 29 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [16:13:01]wFMCommunicate OK [16:13:01]wFMCommunicate request_size=4 [16:13:01]MH_SAM_APDU [16:13:01]CAPDU: 80 17 00 00 [16:13:01]Write to MH i2c: E2 08 00 68 03 80 17 00 00 00 00 00 00 EB [16:13:01]Write i2c OK [16:13:01]MH_I2C_Read... [16:13:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:13:02]Read from MH i2c: E2 [16:13:02]MH_I2C_Read... [16:13:02]Read from MH i2c: E2 FD 00 [16:13:02]MH_I2C_Read... [16:13:02]Read from MH i2c: E2 FD 00 68 03 00 0B 00 F6 03 01 00 01 F7 03 02 00 75 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 94 [16:13:02]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 75 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [16:13:02]wFMCommunicate OK [16:13:02]wFMCommunicate request_size=4 [16:13:02]MH_SAM_APDU [16:13:02]CAPDU: 80 17 00 00 [16:13:02]Write to MH i2c: E2 08 00 69 03 80 17 00 00 00 00 00 00 EC [16:13:02]Write i2c OK [16:13:02]MH_I2C_Read... [16:13:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:13:02]Read from MH i2c: E2 [16:13:02]MH_I2C_Read... [16:13:02]Read from MH i2c: E2 FD 00 [16:13:02]MH_I2C_Read... [16:13:02]Read from MH i2c: E2 FD 00 69 03 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8E [16:13:02]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [16:13:02]wFMCommunicate OK [16:13:02]wFMCommunicate request_size=4 [16:13:02]MH_SAM_APDU [16:13:02]CAPDU: 80 17 00 00 [16:13:02]Write to MH i2c: E2 08 00 6A 03 80 17 00 00 00 00 00 00 ED [16:13:02]Write i2c OK [16:13:02]MH_I2C_Read... [16:13:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:13:03]Read from MH i2c: E2 [16:13:03]MH_I2C_Read... [16:13:03]Read from MH i2c: E2 FD 00 [16:13:03]MH_I2C_Read... [16:13:03]Read from MH i2c: E2 FD 00 6A 03 00 03 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 90 00 76 [16:13:03]RAPDU: 03 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 90 00 [16:13:03]wFMCommunicate OK [16:13:03]wFMCommunicate request_size=4 [16:13:03]MH_SAM_APDU [16:13:03]CAPDU: 80 17 00 00 [16:13:03]Write to MH i2c: E2 08 00 6B 03 80 17 00 00 00 00 00 00 EE [16:13:03]Write i2c OK [16:13:03]MH_I2C_Read... [16:13:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [16:13:03]Read from MH i2c: E2 [16:13:03]MH_I2C_Read... [16:13:03]Read from MH i2c: E2 D5 00 [16:13:03]MH_I2C_Read... [16:13:03]Read from MH i2c: E2 D5 00 6B 03 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 CF [16:13:03]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:13:03]wFMCommunicate OK [16:13:03]SAM_PROTO_GetShiftData done [16:13:03]requested_item shift.sale.total_cash is exist - process it [16:13:03]requested_item shift.sale_refund.total is exist - process it [16:13:03]requested_item shift.sale_refund.total_cash is exist - process it [16:13:03]requested_item shift.buy.total is exist - process it [16:13:03]requested_item shift.buy.total_cash is exist - process it [16:13:03]produce_requested_data done [16:13:03]produce_requested_data return {"fm.sale.total":14770116.13,"fm.sale_refund.total":370163.00,"fm.buy.total":0.00,"shift.sale.total":11653.36,"shift.sale.total_cash":9623.00,"shift.sale_refund.total":1000.00,"shift.sale_refund.total_cash":1000.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [16:13:03]process_action_free get_value [16:13:03]json_value_free [16:13:03]json_value_free done [16:13:03]process_json_proto returns [16:13:03]Send response to host [16:13:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":14770116.13,"fm.sale_refund.total":370163.00,"fm.buy.total":0.00,"shift.sale.total":11653.36,"shift.sale.total_cash":9623.00,"shift.sale_refund.total":1000.00,"shift.sale_refund.total_cash":1000.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [16:13:03]free response buf [16:13:03]execute_script done [16:13:03]execute_script returns [16:13:03]free content buf [16:13:03]Sock 9.Close socket [16:13:03]Sock 9.Thread stoped [16:13:03]accept exits with 10 [16:13:03]New connection [16:13:03]New thread 3067473252 created [16:13:03]Thread 3067329892 joined [16:13:03]Waiting for new connection... [16:13:03] Sock 10.Parse request [16:13:03]Sock 10.Check first char [16:13:03]Sock 10.First char is OK [16:13:03]request: POST /json_proto HTTP/1.0 [16:13:03]Method: POST [16:13:03]URL: /json_proto [16:13:03]Method is POST - this is cgi request [16:13:03]url: /json_proto [16:13:03]query_string will be loaded in cgi processing [16:13:03]execute_cgi json_proto POST (null) [16:13:03]execute_cgi path=json_proto method=POST [16:13:03]POST find Content-Length [16:13:03]Host: 172.17.47.135:8080 [16:13:03]Content-Length: 275 [16:13:03]Content-Type: application/json [16:13:03] [16:13:03]POST finish read [16:13:03]Found Content-Length = 275 [16:13:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0410\u0440\u0437\u044B\u0431\u0435\u043A \u0443\u0443\u043B\u0443 \u0410." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:13:03]execute_script... [16:13:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0410\u0440\u0437\u044B\u0431\u0435\u043A \u0443\u0443\u043B\u0443 \u0410." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:13:03]POST & json_proto [16:13:03]process_json_proto [16:13:03]json parsed OK: [16:13:03]protocol is kg_v1.0 [16:13:03]action value=x_report [16:13:03]process_action x_report [16:13:03]cmd_x_report [16:13:03]MH_GetDate [16:13:03]Write to MH i2c: F0 00 00 6C 03 5E [16:13:03]Write i2c OK [16:13:03]MH_I2C_Read... [16:13:03]Read from MH i2c: F0 [16:13:03]MH_I2C_Read... [16:13:03]Read from MH i2c: F0 09 00 [16:13:03]MH_I2C_Read... [16:13:03]Read from MH i2c: F0 09 00 6C 03 00 11 A6 B8 67 19 D8 DE 66 72 [16:13:03]GetLastDocTimeStamp 1740151905 [16:13:03]current date 1740154385 [16:13:03]FM_GetShiftState [16:13:03]SAM_PROTO_GetShiftState [16:13:03]wFMCommunicate request_size=4 [16:13:03]MH_SAM_APDU [16:13:03]CAPDU: 80 13 01 00 [16:13:03]Write to MH i2c: E2 08 00 6D 03 80 13 01 00 00 00 00 00 ED [16:13:03]Write i2c OK [16:13:03]MH_I2C_Read... [16:13:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:13:03]Read from MH i2c: E2 [16:13:03]MH_I2C_Read... [16:13:03]Read from MH i2c: E2 0E 00 [16:13:03]MH_I2C_Read... [16:13:03]Read from MH i2c: E2 0E 00 6D 03 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 52 [16:13:03]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [16:13:03]wFMCommunicate OK [16:13:03]SAM_PROTO_GetShiftState done [16:13:03]FM_GetShiftState done [16:13:03]KKMCreateXReportDocument [16:13:03]Load OK [16:13:03]Malloc new data [16:13:03]MH_GetDate [16:13:03]Write to MH i2c: F0 00 00 6E 03 60 [16:13:03]Write i2c OK [16:13:03]MH_I2C_Read... [16:13:03]Read from MH i2c: F0 [16:13:03]MH_I2C_Read... [16:13:03]Read from MH i2c: F0 09 00 [16:13:03]MH_I2C_Read... [16:13:03]Read from MH i2c: F0 09 00 6E 03 00 11 A6 B8 67 19 D8 DE 66 74 [16:13:03]Malloc new data [16:13:03]Malloc new data [16:13:03]wFMCommunicate request_size=4 [16:13:03]MH_SAM_APDU [16:13:03]CAPDU: 80 11 00 00 [16:13:03]Write to MH i2c: E2 08 00 6F 03 80 11 00 00 00 00 00 00 EC [16:13:03]Write i2c OK [16:13:03]MH_I2C_Read... [16:13:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:13:03]Read from MH i2c: E2 [16:13:03]MH_I2C_Read... [16:13:03]Read from MH i2c: E2 17 00 [16:13:03]MH_I2C_Read... [16:13:03]Read from MH i2c: E2 17 00 6F 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 42 [16:13:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [16:13:03]wFMCommunicate OK [16:13:03]SAM_PROTO_GetFieldsCounters [16:13:03]wFMCommunicate request_size=4 [16:13:03]MH_SAM_APDU [16:13:03]CAPDU: 80 13 00 00 [16:13:03]Write to MH i2c: E2 08 00 70 03 80 13 00 00 00 00 00 00 EF [16:13:03]Write i2c OK [16:13:03]MH_I2C_Read... [16:13:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:13:03]Read from MH i2c: E2 [16:13:03]MH_I2C_Read... [16:13:03]Read from MH i2c: E2 62 00 [16:13:03]MH_I2C_Read... [16:13:03]Read from MH i2c: E2 62 00 70 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 87 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 03 [16:13:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 OFD Sender: No OFD packet to send [16:13:04]32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 87 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:13:04]wFMCommunicate OK [16:13:04]SAM_PROTO_GetFieldsCounters done [16:13:04]Malloc new data [16:13:04]Malloc new data [16:13:04]Malloc new data [16:13:04]KKMCreateXReportDocument OK [16:13:04]KKMSetXReportData OK [16:13:04]KKMPrepareXReportFMData [16:13:04]SAM_PROTO_GetShiftData [16:13:04]wFMCommunicate request_size=4 [16:13:04]MH_SAM_APDU [16:13:04]CAPDU: 80 13 02 00 [16:13:04]Write to MH i2c: E2 08 00 71 03 80 13 02 00 00 00 00 00 F2 [16:13:04]Write i2c OK [16:13:04]MH_I2C_Read... [16:13:04]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:13:04]Read from MH i2c: E2 [16:13:04]MH_I2C_Read... [16:13:04]Read from MH i2c: E2 FD 00 [16:13:04]MH_I2C_Read... [16:13:04]Read from MH i2c: E2 FD 00 71 03 00 B8 04 AA 04 B4 04 6E 04 04 00 23 00 00 00 69 04 9B 00 6F 04 04 00 22 00 00 00 B1 04 03 00 18 C8 11 70 04 03 00 FC AE 0E 72 04 03 00 1C 19 03 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 78 E3 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 46 28 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 01 00 00 00 B1 04 03 00 A0 86 01 70 04 03 00 A0 86 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 29 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 CC [16:13:04]RAPDU: B8 04 AA 04 B4 04 6E 04 04 00 23 00 00 00 69 04 9B 00 6F 04 04 00 22 00 00 00 B1 04 03 00 18 C8 11 70 04 03 00 FC AE 0E 72 04 03 00 1C 19 03 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 78 E3 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 46 28 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 01 00 00 00 B1 04 03 00 A0 86 01 70 04 03 00 A0 86 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 80 29 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 90 00 [16:13:04]wFMCommunicate OK [16:13:04]wFMCommunicate request_size=4 [16:13:04]MH_SAM_APDU [16:13:04]CAPDU: 80 17 00 00 [16:13:04]Write to MH i2c: E2 08 00 72 03 80 17 00 00 00 00 00 00 F5 [16:13:04]Write i2c OK [16:13:04]MH_I2C_Read... [16:13:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:13:04]Read from MH i2c: E2 [16:13:04]MH_I2C_Read... [16:13:04]Read from MH i2c: E2 FD 00 [16:13:04]MH_I2C_Read... [16:13:04]Read from MH i2c: E2 FD 00 72 03 00 0B 00 F6 03 01 00 01 F7 03 02 00 75 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 9E [16:13:05]RAPDU: 0B 00 F6 03 01 00 01 F7 03 02 00 75 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [16:13:05]wFMCommunicate OK [16:13:05]wFMCommunicate request_size=4 [16:13:05]MH_SAM_APDU [16:13:05]CAPDU: 80 17 00 00 [16:13:05]Write to MH i2c: E2 08 00 73 03 80 17 00 00 00 00 00 00 F6 [16:13:05]Write i2c OK [16:13:05]MH_I2C_Read... [16:13:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:13:05]Read from MH i2c: E2 [16:13:05]MH_I2C_Read... [16:13:05]Read from MH i2c: E2 FD 00 [16:13:05]MH_I2C_Read... [16:13:05]Read from MH i2c: E2 FD 00 73 03 00 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 98 [16:13:05]RAPDU: 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [16:13:05]wFMCommunicate OK [16:13:05]wFMCommunicate request_size=4 [16:13:05]MH_SAM_APDU [16:13:05]CAPDU: 80 17 00 00 [16:13:05]Write to MH i2c: E2 08 00 74 03 80 17 00 00 00 00 00 00 F7 [16:13:05]Write i2c OK [16:13:05]MH_I2C_Read... [16:13:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:13:05]Read from MH i2c: E2 [16:13:05]MH_I2C_Read... [16:13:05]Read from MH i2c: E2 FD 00 [16:13:05]MH_I2C_Read... [16:13:05]Read from MH i2c: E2 FD 00 74 03 00 03 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 90 00 80 [16:13:05]RAPDU: 03 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 90 00 [16:13:06]wFMCommunicate OK [16:13:06]wFMCommunicate request_size=4 [16:13:06]MH_SAM_APDU [16:13:06]CAPDU: 80 17 00 00 [16:13:06]Write to MH i2c: E2 08 00 75 03 80 17 00 00 00 00 00 00 F8 [16:13:06]Write i2c OK [16:13:06]MH_I2C_Read... [16:13:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 210! [16:13:06]Read from MH i2c: E2 [16:13:06]MH_I2C_Read... [16:13:06]Read from MH i2c: E2 D5 00 [16:13:06]MH_I2C_Read... [16:13:06]Read from MH i2c: E2 D5 00 75 03 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D9 [16:13:06]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:13:06]wFMCommunicate OK [16:13:06]SAM_PROTO_GetShiftData done [16:13:06]1194 (1204) - счетчики итогов смены [16:13:06] 1134 (4) - 35 - количество чеков со всеми признаками расчетов [16:13:06] 1129 (155) - счетчики операций «приход» [16:13:06] 1135 (4) - 34 - количество чеков по признаку расчетов [16:13:06] 1201 (3) - 11653.36 - общая итоговая сумма в чеках [16:13:06] 1136 (3) - 9623.00 - итоговая сумма в чеках наличными [16:13:06] 1138 (3) - 2030.36 - итоговая сумма в чеках безналичными [16:13:06] 1024 (122) - суммы налогов [16:13:06] 1006 (9) - суммы НДС [16:13:06] 1010 (1) - 0% - код ставки НДС [16:13:06] 1011 (0) - 0.00 - сумма НДС по ставке [16:13:06] 1006 (12) - суммы НДС [16:13:06] 1010 (1) - 12% - код ставки НДС [16:13:06] 1011 (3) - 1237.68 - сумма НДС по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 0% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1007 (11) - суммы НСП [16:13:06] 1014 (1) - 1% - код ставки НСП [16:13:06] 1015 (2) - 103.10 - сумма НСП по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 2% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 3% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 5% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 0,50% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 1,50% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1130 (151) - счетчики операций «возврат прихода» [16:13:06] 1135 (4) - 1 - количество чеков по признаку расчетов [16:13:06] 1201 (3) - 1000.00 - общая итоговая сумма в чеках [16:13:06] 1136 (3) - 1000.00 - итоговая сумма в чеках наличными [16:13:06] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [16:13:06] 1024 (121) - суммы налогов [16:13:06] 1006 (9) - суммы НДС [16:13:06] 1010 (1) - 0% - код ставки НДС [16:13:06] 1011 (0) - 0.00 - сумма НДС по ставке [16:13:06] 1006 (11) - суммы НДС [16:13:06] 1010 (1) - 12% - код ставки НДС [16:13:06] 1011 (2) - 106.24 - сумма НДС по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 0% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1007 (11) - суммы НСП [16:13:06] 1014 (1) - 1% - код ставки НСП [16:13:06] 1015 (2) - 8.85 - сумма НСП по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 2% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 3% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 5% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 0,50% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 1,50% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1131 (141) - счетчики операций «расход» [16:13:06] 1135 (4) - 0 - количество чеков по признаку расчетов [16:13:06] 1201 (0) - 0.00 - общая итоговая сумма в чеках [16:13:06] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [16:13:06] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [16:13:06] 1024 (117) - суммы налогов [16:13:06] 1006 (9) - суммы НДС [16:13:06] 1010 (1) - 0% - код ставки НДС [16:13:06] 1011 (0) - 0.00 - сумма НДС по ставке [16:13:06] 1006 (9) - суммы НДС [16:13:06] 1010 (1) - 12% - код ставки НДС [16:13:06] 1011 (0) - 0.00 - сумма НДС по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 0% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 1% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 2% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 3% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 5% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 0,50% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 1,50% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1132 (141) - счетчики операций «возврат расхода» [16:13:06] 1135 (4) - 0 - количество чеков по признаку расчетов [16:13:06] 1201 (0) - 0.00 - общая итоговая сумма в чеках [16:13:06] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [16:13:06] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [16:13:06] 1024 (117) - суммы налогов [16:13:06] 1006 (9) - суммы НДС [16:13:06] 1010 (1) - 0% - код ставки НДС [16:13:06] 1011 (0) - 0.00 - сумма НДС по ставке [16:13:06] 1006 (9) - суммы НДС [16:13:06] 1010 (1) - 12% - код ставки НДС [16:13:06] 1011 (0) - 0.00 - сумма НДС по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 0% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 1% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 2% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 3% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 5% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 0,50% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1007 (9) - суммы НСП [16:13:06] 1014 (1) - 1,50% - код ставки НСП [16:13:06] 1015 (0) - 0.00 - сумма НСП по ставке [16:13:06] 1133 (588) - - счетчики коррекции - не используются [16:13:06]SetTLVBufToDocument [16:13:06]Processing tag 1194 (04AA) [16:13:06]Load OK [16:13:06]SetTLVBufToDocument [16:13:06]Processing tag 1134 (046E) [16:13:06]Malloc new data [16:13:06]Processing tag 1129 (0469) [16:13:06]Load OK [16:13:06]SetTLVBufToDocument [16:13:06]Processing tag 1135 (046F) [16:13:06]Malloc new data [16:13:06]Processing tag 1201 (04B1) [16:13:06]Malloc new data [16:13:06]Processing tag 1136 (0470) [16:13:06]Malloc new data [16:13:07]Processing tag 1138 (0472) [16:13:07]Malloc new data [16:13:07]Processing tag 1024 (0400) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1006 (03EE) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1010 (03F2) [16:13:07]Malloc new data [16:13:07]Processing tag 1011 (03F3) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1006 (03EE) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1010 (03F2) [16:13:07]Malloc new data [16:13:07]Processing tag 1011 (03F3) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]SetTLVBufToDocument err=0 [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1130 (046A) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1135 (046F) [16:13:07]Malloc new data [16:13:07]Processing tag 1201 (04B1) [16:13:07]Malloc new data [16:13:07]Processing tag 1136 (0470) [16:13:07]Malloc new data [16:13:07]Processing tag 1138 (0472) [16:13:07]Malloc new data [16:13:07]Processing tag 1024 (0400) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1006 (03EE) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1010 (03F2) [16:13:07]Malloc new data [16:13:07]Processing tag 1011 (03F3) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1006 (03EE) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1010 (03F2) [16:13:07]Malloc new data [16:13:07]Processing tag 1011 (03F3) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]SetTLVBufToDocument err=0 [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1131 (046B) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1135 (046F) [16:13:07]Malloc new data [16:13:07]Processing tag 1201 (04B1) [16:13:07]Malloc new data [16:13:07]Processing tag 1136 (0470) [16:13:07]Malloc new data [16:13:07]Processing tag 1138 (0472) [16:13:07]Malloc new data [16:13:07]Processing tag 1024 (0400) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1006 (03EE) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1010 (03F2) [16:13:07]Malloc new data [16:13:07]Processing tag 1011 (03F3) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1006 (03EE) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1010 (03F2) [16:13:07]Malloc new data [16:13:07]Processing tag 1011 (03F3) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]SetTLVBufToDocument err=0 [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1132 (046C) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1135 (046F) [16:13:07]Malloc new data [16:13:07]Processing tag 1201 (04B1) [16:13:07]Malloc new data [16:13:07]Processing tag 1136 (0470) [16:13:07]Malloc new data [16:13:07]Processing tag 1138 (0472) [16:13:07]Malloc new data [16:13:07]Processing tag 1024 (0400) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1006 (03EE) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1010 (03F2) [16:13:07]Malloc new data [16:13:07]Processing tag 1011 (03F3) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1006 (03EE) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1010 (03F2) [16:13:07]Malloc new data [16:13:07]Processing tag 1011 (03F3) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1007 (03EF) [16:13:07]Load OK [16:13:07]SetTLVBufToDocument [16:13:07]Processing tag 1014 (03F6) [16:13:07]Malloc new data [16:13:07]Processing tag 1015 (03F7) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]SetTLVBufToDocument err=0 [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Processing tag 1133 (046D) [16:13:07]Malloc new data [16:13:07]SetTLVBufToDocument err=0 [16:13:07]SetTLVBufToDocument err=0 [16:13:07]Malloc new data [16:13:07]SAM_PROTO_GetFMData [16:13:07]wFMCommunicate request_size=4 [16:13:07]MH_SAM_APDU [16:13:07]CAPDU: 80 13 03 00 [16:13:07]Write to MH i2c: E2 08 00 76 03 80 13 03 00 00 00 00 00 F8 [16:13:07]Write i2c OK [16:13:07]MH_I2C_Read... [16:13:08]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [16:13:08]Read from MH i2c: E2 [16:13:08]MH_I2C_Read... [16:13:08]Read from MH i2c: E2 FD 00 [16:13:08]MH_I2C_Read... [16:13:08]Read from MH i2c: E2 FD 00 76 03 00 C4 04 85 04 C0 04 6E 04 04 00 82 7C 00 00 69 04 A0 00 6F 04 04 00 F6 7A 00 00 B1 04 04 00 9D 68 09 58 70 04 04 00 55 EB 22 28 72 04 04 00 48 7D E6 2F 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 3A 92 59 09 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 F6 6C C7 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8C 01 00 00 B1 04 04 00 EC D2 34 02 70 04 04 00 40 1B 16 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 56 FD 3B EF 03 09 00 90 00 A6 [16:13:08]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 82 7C 00 00 69 04 A0 00 6F 04 04 00 F6 7A 00 00 B1 04 04 00 9D 68 09 58 70 04 04 00 55 EB 22 28 72 04 04 00 48 7D E6 2F 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 3A 92 59 09 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 F6 6C C7 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8C 01 00 00 B1 04 04 00 EC D2 34 02 70 04 04 00 40 1B 16 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 56 FD 3B EF 03 09 00 90 00 [16:13:08]wFMCommunicate OK [16:13:08]wFMCommunicate request_size=4 [16:13:08]MH_SAM_APDU [16:13:08]CAPDU: 80 17 00 00 [16:13:08]Write to MH i2c: E2 08 00 77 03 80 17 00 00 00 00 00 00 FA [16:13:08]Write i2c OK [16:13:08]MH_I2C_Read... [16:13:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:13:08]Read from MH i2c: E2 [16:13:08]MH_I2C_Read... [16:13:08]Read from MH i2c: E2 FD 00 [16:13:08]MH_I2C_Read... [16:13:08]Read from MH i2c: E2 FD 00 77 03 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A FF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 4D [16:13:08]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A FF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [16:13:08]wFMCommunicate OK [16:13:08]wFMCommunicate request_size=4 [16:13:08]MH_SAM_APDU [16:13:08]CAPDU: 80 17 00 00 [16:13:08]Write to MH i2c: E2 08 00 78 03 80 17 00 00 00 00 00 00 FB [16:13:08]Write i2c OK [16:13:08]MH_I2C_Read... [16:13:09]OFD Sender: No OFD packet to send [16:13:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:13:09]Read from MH i2c: E2 [16:13:09]MH_I2C_Read... [16:13:09]Read from MH i2c: E2 FD 00 [16:13:09]MH_I2C_Read... [16:13:09]Read from MH i2c: E2 FD 00 78 03 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 10 [16:13:09]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [16:13:09]wFMCommunicate OK [16:13:09]wFMCommunicate request_size=4 [16:13:09]MH_SAM_APDU [16:13:09]CAPDU: 80 17 00 00 [16:13:09]Write to MH i2c: E2 08 00 79 03 80 17 00 00 00 00 00 00 FC [16:13:09]Write i2c OK [16:13:09]MH_I2C_Read... [16:13:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:13:09]Read from MH i2c: E2 [16:13:09]MH_I2C_Read... [16:13:09]Read from MH i2c: E2 FD 00 [16:13:09]MH_I2C_Read... [16:13:09]Read from MH i2c: E2 FD 00 79 03 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 74 [16:13:09]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [16:13:09]wFMCommunicate OK [16:13:09]wFMCommunicate request_size=4 [16:13:09]MH_SAM_APDU [16:13:09]CAPDU: 80 17 00 00 [16:13:09]Write to MH i2c: E2 08 00 7A 03 80 17 00 00 00 00 00 00 FD [16:13:09]Write i2c OK [16:13:09]MH_I2C_Read... [16:13:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [16:13:10]Read from MH i2c: E2 [16:13:10]MH_I2C_Read... [16:13:10]Read from MH i2c: E2 E1 00 [16:13:10]MH_I2C_Read... [16:13:10]Read from MH i2c: E2 E1 00 7A 03 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 EB [16:13:10]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [16:13:10]wFMCommunicate OK [16:13:10]SAM_PROTO_GetFMData done [16:13:10]FM_GetFMData:85 04 C0 04 6E 04 04 00 82 7C 00 00 69 04 A0 00 6F 04 04 00 F6 7A 00 00 B1 04 04 00 9D 68 09 58 70 04 04 00 55 EB 22 28 72 04 04 00 48 7D E6 2F 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 3A 92 59 09 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 F6 6C C7 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8C 01 00 00 B1 04 04 00 EC D2 34 02 70 04 04 00 40 1B 16 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 56 FD 3B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A FF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [16:13:11]oper:6F 04 04 00 F6 7A 00 00 B1 04 04 00 9D 68 09 58 70 04 04 00 55 EB 22 28 72 04 04 00 48 7D E6 2F 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 3A 92 59 09 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 F6 6C C7 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [16:13:11]total:9D 68 09 58 [16:13:11]Malloc new data [16:13:11]oper:6F 04 04 00 8C 01 00 00 B1 04 04 00 EC D2 34 02 70 04 04 00 40 1B 16 02 72 04 03 00 AC B7 1E 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 56 FD 3B EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 9A FF 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [16:13:11]total:EC D2 34 02 [16:13:11]Malloc new data [16:13:11]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 [16:13:11]total: [16:13:11]Malloc new data [16:13:11]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 [16:13:11]total: [16:13:11]Malloc new data [16:13:11]KKMPrepareXReportFMData err=0 [16:13:11]Х отчет ИНН: 02508201610067 Кассир: Арзыбек уулу А. 21.02.2025 16:13 Смена: 266 РНМ: 0000000000146237 ЗНМ: 0300000059 СНО: Общий режим Всего чеков: 35 ИТОГИ ПРИХОД Чеков: 34 Общий итог: 11653.36 Итого наличными: 9623.00 Итого безнал.: 2030.36 НДС 0% : 0.00 НДС 12% : 1237.68 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 103.10 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 1 Общий итог: 1000.00 Итого наличными: 1000.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 106.24 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 8.85 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 8623.00 НС Приход: 14770116.13 НС Возвр.Прихода: 370163.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000959282 [16:13:11]StoreToDocumentArchive [16:13:11]MH_GetDate [16:13:11]Write to MH i2c: F0 00 00 7B 03 6D [16:13:11]Write i2c OK [16:13:11]MH_I2C_Read... [16:13:11]Read from MH i2c: F0 [16:13:11]MH_I2C_Read... [16:13:11]Read from MH i2c: F0 09 00 [16:13:11]MH_I2C_Read... [16:13:11]Read from MH i2c: F0 09 00 7B 03 00 19 A6 B8 67 19 D8 DE 66 89 [16:13:11]shift 266 fd 1740154393 [16:13:11]Create dir for shift 0266 [16:13:11]save to /storage/0266/doc_1740154393 [16:13:11]save last doc name /storage/0266/doc_1740154393 to /storage/kkm_last_doc_name [16:13:11]save OK [16:13:11]Clear old archive folders... [16:13:11]NVStorageSaveData kkm_last_timestamp [16:13:11]File name is /storage/kkm_last_timestamp [16:13:11]Write 4 bytes [16:13:11]NVStorageSaveData done [16:13:11]ExternCall_PrintAddStr [16:13:11]wPrintStart [16:13:11]Write to MH i2c: 01 00 00 7C 03 7F [16:13:11]Write i2c OK [16:13:11]MH_I2C_Read... [16:13:11]Read from MH i2c: 01 [16:13:11]MH_I2C_Read... [16:13:11]Read from MH i2c: 01 07 00 [16:13:11]MH_I2C_Read... [16:13:11]Read from MH i2c: 01 07 00 7C 03 00 00 00 00 00 FF 0F 94 [16:13:11]RasterBufferAndPrint [16:13:11]line Х отчет [16:13:11]line ИНН: 02508201610067 [16:13:11]line Кассир: Арзыбек уулу А. [16:13:11]line 21.02.2025 16:13 [16:13:11]line Смена: 266 [16:13:11]line РНМ: 0000000000146237 [16:13:11]line ЗНМ: 0300000059 [16:13:11]line СНО: Общий режим [16:13:11]line Всего чеков: 35 [16:13:11]line ИТОГИ ПРИХОД [16:13:11]line Чеков: 34 [16:13:11]line Общий итог: 11653.36 [16:13:11]line Итого наличными: 9623.00 [16:13:11]line Итого безнал.: 2030.36 [16:13:11]line НДС 0% : 0.00 [16:13:11]line НДС 12% : 1237.68 [16:13:11]line НСП 0% : 0.00 [16:13:11]line НСП 1,50% : 0.00 [16:13:11]line НСП 0,50% : 0.00 [16:13:11]line НСП 5% : 0.00 [16:13:11]line НСП 3% : 0.00 [16:13:11]line НСП 2% : 0.00 [16:13:11]line НСП 1% : 103.10 [16:13:11]line ИТОГИ ВОЗВРАТ ПРИХОДА [16:13:11]line Чеков: 1 [16:13:11]line Общий итог: 1000.00 [16:13:11]line Итого наличными: 1000.00 [16:13:11]line Итого безнал.: 0.00 [16:13:11]line НДС 0% : 0.00 [16:13:11]line НДС 12% : 106.24 [16:13:11]line НСП 0% : 0.00 [16:13:11]line НСП 1,50% : 0.00 [16:13:11]line НСП 0,50% : 0.00 [16:13:11]line НСП 5% : 0.00 [16:13:11]line НСП 3% : 0.00 [16:13:11]line НСП 2% : 0.00 [16:13:11]line НСП 1% : 8.85 [16:13:11]line ИТОГИ РАСХОД [16:13:11]line Чеков: 0 [16:13:11]line Общий итог: 0.00 [16:13:11]line Итого наличными: 0.00 [16:13:11]line Итого безнал.: 0.00 [16:13:11]line НДС 0% : 0.00 [16:13:11]line НДС 12% : 0.00 [16:13:11]line НСП 0% : 0.00 [16:13:11]line НСП 1,50% : 0.00 [16:13:11]line НСП 0,50% : 0.00 [16:13:11]line НСП 5% : 0.00 [16:13:11]line НСП 3% : 0.00 [16:13:11]line НСП 2% : 0.00 [16:13:11]line НСП 1% : 0.00 [16:13:11]line ИТОГИ ВОЗВРАТ РАСХОДА [16:13:11]line Чеков: 0 [16:13:11]line Общий итог: 0.00 [16:13:11]line Итого наличными: 0.00 [16:13:11]line Итого безнал.: 0.00 [16:13:11]line НДС 0% : 0.00 [16:13:11]line НДС 12% : 0.00 [16:13:11]line НСП 0% : 0.00 [16:13:11]line НСП 1,50% : 0.00 [16:13:11]line НСП 0,50% : 0.00 [16:13:11]line НСП 5% : 0.00 [16:13:11]line НСП 3% : 0.00 [16:13:11]line НСП 2% : 0.00 [16:13:11]line НСП 1% : 0.00 [16:13:11]line Сумма внесений: 0.00 [16:13:11]line Сумма выплат: 0.00 [16:13:11]line Нал. в кассе: 8623.00 [16:13:11]line НС Приход: 14770116.13 [16:13:11]line НС Возвр.Прихода: 370163.00 [16:13:11]line НС Расход: 0.00 [16:13:11]line НС Возвр.Расхода: 0.00 [16:13:11]line ФМ: 0000000000959282 [16:13:11]written 0, free lines is 4095 [16:13:12]Write to MH i2c: 01 00 00 C7 03 CA [16:13:12]Write i2c OK [16:13:12]MH_I2C_Read... [16:13:12]Read from MH i2c: 01 [16:13:12]MH_I2C_Read... [16:13:12]Read from MH i2c: 01 07 00 [16:13:12]MH_I2C_Read... [16:13:12]Read from MH i2c: 01 07 00 C7 03 00 00 00 00 00 1E 0B FA [16:13:12]RasterBufferAndPrint [16:13:12]line [16:13:12]line [16:13:12]line [16:13:12]line [16:13:12]line [16:13:12]written 0, free lines is 2882 [16:13:12]MH_Cut [16:13:12]Write to MH i2c: D1 01 00 CE 03 01 A3 [16:13:12]Write i2c OK [16:13:12]MH_I2C_Read... [16:13:12]Read from MH i2c: D1 [16:13:12]MH_I2C_Read... [16:13:12]Read from MH i2c: D1 01 00 [16:13:12]MH_I2C_Read... [16:13:12]Read from MH i2c: D1 01 00 CE 03 00 A2 [16:13:12]Write to MH i2c: 01 00 00 CF 03 D2 [16:13:12]Write i2c OK [16:13:12]MH_I2C_Read... [16:13:13]*** Cut start [16:13:13]*** Partial cut [16:13:13]*** CUTSNS_PIN = 1 [16:13:13]*** CUTSNS_PIN = 0 [16:13:13]*** Brake cut motor [16:13:13]Read from MH i2c: 01 [16:13:13]MH_I2C_Read... [16:13:14]*** Stop cut motor [16:13:14]*** Cut end [16:13:14]Read from MH i2c: 01 07 00 [16:13:14]MH_I2C_Read... [16:13:14]Read from MH i2c: 01 07 00 CF 03 00 00 00 00 00 FF 0F E7 [16:13:14]process_action x_report done [16:13:14]requested_data is exist [16:13:14]produce_requested_data [16:13:14]requested_item fd.num is exist - process it [16:13:14]SAM_PROTO_GetFieldsCounters [16:13:14]wFMCommunicate request_size=4 [16:13:14]MH_SAM_APDU [16:13:14]CAPDU: 80 13 00 00 [16:13:14]Write to MH i2c: E2 08 00 D0 03 80 13 00 00 00 00 00 00 4F [16:13:14]Write i2c OK [16:13:14]MH_I2C_Read... [16:13:14]OFD Sender: No OFD packet to send [16:13:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:13:14]Read from MH i2c: E2 [16:13:14]MH_I2C_Read... [16:13:14]Read from MH i2c: E2 62 00 [16:13:14]MH_I2C_Read... [16:13:14]Read from MH i2c: E2 62 00 D0 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 87 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 63 [16:13:14]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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 87 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:13:14]wFMCommunicate OK [16:13:14]SAM_PROTO_GetFieldsCounters done [16:13:14]requested_item shift.num is exist - process it [16:13:14]requested_item shift.opened is exist - process it [16:13:14]req_shift_opened [16:13:14]FM_GetShiftState [16:13:14]SAM_PROTO_GetShiftState [16:13:14]wFMCommunicate request_size=4 [16:13:14]MH_SAM_APDU [16:13:14]CAPDU: 80 13 01 00 [16:13:14]Write to MH i2c: E2 08 00 D1 03 80 13 01 00 00 00 00 00 51 [16:13:14]Write i2c OK [16:13:14]MH_I2C_Read... [16:13:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:13:14]Read from MH i2c: E2 [16:13:14]MH_I2C_Read... [16:13:14]Read from MH i2c: E2 0E 00 [16:13:14]MH_I2C_Read... [16:13:14]Read from MH i2c: E2 0E 00 D1 03 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 B6 [16:13:14]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [16:13:14]wFMCommunicate OK [16:13:14]SAM_PROTO_GetShiftState done [16:13:14]FM_GetShiftState done [16:13:14]req_shift_opened done [16:13:14]requested_item shift.open_date is exist - process it [16:13:14]req_shift_open_date [16:13:14]req_shift_open_date done [16:13:14]produce_requested_data done [16:13:14]produce_requested_data return {"fd.num":32647,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [16:13:14]process_action_free x_report [16:13:14]json_value_free [16:13:14]json_value_free done [16:13:14]process_json_proto returns [16:13:14]Send response to host [16:13:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":32647,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [16:13:14]free response buf [16:13:14]execute_script done [16:13:14]execute_script returns [16:13:14]free content buf [16:13:14]Sock 10.Close socket [16:13:14]Sock 10.Thread stoped [16:13:19]OFD Sender: No OFD packet to send [16:13:24]OFD Sender: No OFD packet to send [16:13:29]OFD Sender: No OFD packet to send [16:13:34]OFD Sender: No OFD packet to send [16:13:39]OFD Sender: No OFD packet to send [16:13:44]OFD Sender: No OFD packet to send [16:13:49]OFD Sender: No OFD packet to send [16:13:54]OFD Sender: No OFD packet to send [16:13:59]OFD Sender: No OFD packet to send [16:14:04]OFD Sender: No OFD packet to send [16:14:09]OFD Sender: No OFD packet to send [16:14:14]OFD Sender: No OFD packet to send [16:14:19]OFD Sender: No OFD packet to send [16:14:24]OFD Sender: No OFD packet to send [16:14:29]OFD Sender: No OFD packet to send [16:14:34]OFD Sender: No OFD packet to send [16:14:39]OFD Sender: No OFD packet to send [16:14:44]OFD Sender: No OFD packet to send [16:14:49]OFD Sender: No OFD packet to send [16:14:54]OFD Sender: No OFD packet to send [16:14:59]OFD Sender: No OFD packet to send [16:15:04]OFD Sender: No OFD packet to send [16:15:09]OFD Sender: No OFD packet to send [16:15:14]OFD Sender: No OFD packet to send [16:15:19]OFD Sender: No OFD packet to send [16:15:24]OFD Sender: No OFD packet to send [16:15:29]OFD Sender: No OFD packet to send [16:15:34]OFD Sender: No OFD packet to send [16:15:39]OFD Sender: No OFD packet to send [16:15:44]OFD Sender: No OFD packet to send [16:15:49]OFD Sender: No OFD packet to send [16:15:54]OFD Sender: No OFD packet to send [16:15:59]OFD Sender: No OFD packet to send [16:16:04]OFD Sender: No OFD packet to send [16:16:09]OFD Sender: No OFD packet to send [16:16:14]OFD Sender: No OFD packet to send [16:16:19]OFD Sender: No OFD packet to send [16:16:24]OFD Sender: No OFD packet to send [16:16:29]OFD Sender: No OFD packet to send [16:16:34]OFD Sender: No OFD packet to send [16:16:39]OFD Sender: No OFD packet to send [16:16:44]OFD Sender: No OFD packet to send [16:16:49]OFD Sender: No OFD packet to send [16:16:54]OFD Sender: No OFD packet to send [16:16:59]OFD Sender: No OFD packet to send [16:17:04]OFD Sender: No OFD packet to send [16:17:09]OFD Sender: No OFD packet to send [16:17:14]OFD Sender: No OFD packet to send [16:17:19]OFD Sender: No OFD packet to send [16:17:24]OFD Sender: No OFD packet to send [16:17:29]OFD Sender: No OFD packet to send [16:17:34]OFD Sender: No OFD packet to send [16:17:39]OFD Sender: No OFD packet to send [16:17:44]OFD Sender: No OFD packet to send [16:17:49]OFD Sender: No OFD packet to send [16:17:54]OFD Sender: No OFD packet to send [16:17:59]OFD Sender: No OFD packet to send [16:18:04]OFD Sender: No OFD packet to send [16:18:09]OFD Sender: No OFD packet to send [16:18:14]OFD Sender: No OFD packet to send [16:18:19]OFD Sender: No OFD packet to send [16:18:24]OFD Sender: No OFD packet to send [16:18:29]OFD Sender: No OFD packet to send [16:18:34]OFD Sender: No OFD packet to send [16:18:39]OFD Sender: No OFD packet to send [16:18:44]OFD Sender: No OFD packet to send [16:18:49]OFD Sender: No OFD packet to send [16:18:54]OFD Sender: No OFD packet to send [16:18:59]OFD Sender: No OFD packet to send [16:19:04]OFD Sender: No OFD packet to send [16:19:09]OFD Sender: No OFD packet to send [16:19:14]OFD Sender: No OFD packet to send [16:19:19]OFD Sender: No OFD packet to send [16:19:24]OFD Sender: No OFD packet to send [16:19:29]OFD Sender: No OFD packet to send [16:19:34]OFD Sender: No OFD packet to send [16:19:39]OFD Sender: No OFD packet to send [16:19:44]OFD Sender: No OFD packet to send [16:19:49]OFD Sender: No OFD packet to send [16:19:54]OFD Sender: No OFD packet to send [16:19:59]OFD Sender: No OFD packet to send [16:20:04]OFD Sender: No OFD packet to send [16:20:09]OFD Sender: No OFD packet to send [16:20:14]OFD Sender: No OFD packet to send [16:20:19]OFD Sender: No OFD packet to send [16:20:24]OFD Sender: No OFD packet to send [16:20:29]OFD Sender: No OFD packet to send [16:20:34]OFD Sender: No OFD packet to send [16:20:39]OFD Sender: No OFD packet to send [16:20:44]OFD Sender: No OFD packet to send [16:20:49]OFD Sender: No OFD packet to send [16:20:54]OFD Sender: No OFD packet to send [16:20:59]OFD Sender: No OFD packet to send [16:21:04]OFD Sender: No OFD packet to send [16:21:09]OFD Sender: No OFD packet to send [16:21:14]OFD Sender: No OFD packet to send [16:21:19]OFD Sender: No OFD packet to send [16:21:24]OFD Sender: No OFD packet to send [16:21:29]OFD Sender: No OFD packet to send [16:21:34]OFD Sender: No OFD packet to send [16:21:39]OFD Sender: No OFD packet to send [16:21:44]OFD Sender: No OFD packet to send [16:21:49]OFD Sender: No OFD packet to send [16:21:54]OFD Sender: No OFD packet to send [16:21:59]OFD Sender: No OFD packet to send [16:22:04]OFD Sender: No OFD packet to send [16:22:09]OFD Sender: No OFD packet to send [16:22:14]OFD Sender: No OFD packet to send [16:22:19]OFD Sender: No OFD packet to send [16:22:24]OFD Sender: No OFD packet to send [16:22:29]OFD Sender: No OFD packet to send [16:22:34]OFD Sender: No OFD packet to send [16:22:39]OFD Sender: No OFD packet to send [16:22:44]OFD Sender: No OFD packet to send [16:22:49]OFD Sender: No OFD packet to send [16:22:54]OFD Sender: No OFD packet to send [16:22:59]OFD Sender: No OFD packet to send [16:23:04]OFD Sender: No OFD packet to send [16:23:09]OFD Sender: No OFD packet to send [16:23:14]OFD Sender: No OFD packet to send [16:23:19]OFD Sender: No OFD packet to send [16:23:24]OFD Sender: No OFD packet to send [16:23:29]OFD Sender: No OFD packet to send [16:23:34]OFD Sender: No OFD packet to send [16:23:39]OFD Sender: No OFD packet to send [16:23:44]OFD Sender: No OFD packet to send [16:23:49]OFD Sender: No OFD packet to send [16:23:54]OFD Sender: No OFD packet to send [16:23:59]OFD Sender: No OFD packet to send [16:24:04]OFD Sender: No OFD packet to send [16:24:09]OFD Sender: No OFD packet to send [16:24:14]OFD Sender: No OFD packet to send [16:24:19]OFD Sender: No OFD packet to send [16:24:24]OFD Sender: No OFD packet to send [16:24:29]OFD Sender: No OFD packet to send [16:24:34]OFD Sender: No OFD packet to send [16:24:39]OFD Sender: No OFD packet to send [16:24:44]OFD Sender: No OFD packet to send [16:24:49]OFD Sender: No OFD packet to send [16:24:54]OFD Sender: No OFD packet to send [16:24:59]OFD Sender: No OFD packet to send [16:25:04]OFD Sender: No OFD packet to send [16:25:09]OFD Sender: No OFD packet to send [16:25:14]OFD Sender: No OFD packet to send [16:25:19]OFD Sender: No OFD packet to send [16:25:24]OFD Sender: No OFD packet to send [16:25:29]OFD Sender: No OFD packet to send [16:25:34]OFD Sender: No OFD packet to send [16:25:39]OFD Sender: No OFD packet to send [16:25:44]accept exits with 7 [16:25:44]New connection [16:25:44]New thread 3067329892 created [16:25:44]Thread 3067473252 joined [16:25:44]Waiting for new connection... [16:25:44] Sock 7.Parse request [16:25:44]Sock 7.Check first char [16:25:44]Sock 7.First char is OK [16:25:44]request: POST /json_proto HTTP/1.0 [16:25:44]Method: POST [16:25:44]URL: /json_proto [16:25:44]Method is POST - this is cgi request [16:25:44]url: /json_proto [16:25:44]query_string will be loaded in cgi processing [16:25:44]execute_cgi json_proto POST (null) [16:25:44]execute_cgi path=json_proto method=POST [16:25:44]POST find Content-Length [16:25:44]Host: 172.17.47.135:8080 [16:25:44]Content-Length: 1467 [16:25:44]Content-Type: application/json [16:25:44] [16:25:44]POST finish read [16:25:44]Found Content-Length = 1467 [16:25:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130853", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 129.00, "quantity" : 1.000, "sum" : 129.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010018", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 0,5\u043B", "price" : 54.00, "quantity" : 1.000, "sum" : 54.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5000159390729", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 \u042D\u043A\u0441\u0442\u0440\u0430 82\u0433", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 64.00, "quantity" : 1.000, "sum" : 64.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 346.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:25:44]execute_script... [16:25:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130853", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 129.00, "quantity" : 1.000, "sum" : 129.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010018", "name": "\u0427\u0430\u0439 \u0445\u043E\u043B Let`s Go! \u0437\u0435\u043B \u043B\u0438\u043C \u041F\u042D\u0422 0,5\u043B", "price" : 54.00, "quantity" : 1.000, "sum" : 54.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5000159390729", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 \u042D\u043A\u0441\u0442\u0440\u0430 82\u0433", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 64.00, "quantity" : 1.000, "sum" : 64.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 346.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:25:44]POST & json_proto [16:25:44]process_json_proto [16:25:44]json parsed OK: [16:25:44]protocol is kg_v1.0 [16:25:44]action value=close_receipt [16:25:44]process_action close_receipt [16:25:44]cmd_close_receipt [16:25:44]MH_GetDate [16:25:44]Write to MH i2c: F0 00 00 D2 03 C4 [16:25:44]Write i2c OK [16:25:44]MH_I2C_Read... [16:25:44]Read from MH i2c: F0 [16:25:44]MH_I2C_Read... [16:25:44]Read from MH i2c: F0 09 00 [16:25:44]MH_I2C_Read... [16:25:44]Read from MH i2c: F0 09 00 D2 03 00 0A A9 B8 67 19 D8 DE 66 D4 [16:25:44]GetLastDocTimeStamp 1740154385 [16:25:44]current date 1740155146 [16:25:44]FM_GetShiftState [16:25:44]SAM_PROTO_GetShiftState [16:25:44]wFMCommunicate request_size=4 [16:25:44]MH_SAM_APDU [16:25:44]CAPDU: 80 13 01 00 [16:25:44]Write to MH i2c: E2 08 00 D3 03 80 13 01 00 00 00 00 00 53 [16:25:44]Write i2c OK [16:25:44]MH_I2C_Read... [16:25:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:25:44]Read from MH i2c: E2 [16:25:44]MH_I2C_Read... [16:25:44]Read from MH i2c: E2 0E 00 [16:25:44]MH_I2C_Read... [16:25:44]Read from MH i2c: E2 0E 00 D3 03 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 B8 [16:25:44]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [16:25:44]wFMCommunicate OK [16:25:44]SAM_PROTO_GetShiftState done [16:25:44]FM_GetShiftState done [16:25:44]opened in 1740096631 [16:25:44]opened+sec_in_day 1740183031 [16:25:44]quantity*price = 12900 [16:25:44]sum+1 = 12901 [16:25:44]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700003010018 Чай хол Let`s Go! зел лим ПЭТ 0,5л 1.000 * 54.00 = 54.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5000159390729 Шок Батончик Твикс Экстра 82г 1.000 * 99.00 = 99.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870112003925 Конд ULKER-Albeni 40gr (6*24) 1.000 * 64.00 = 64.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 346.00 НСП 1% : 3.07 НДС 12% : 36.74 Наличными: 346.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 36 21.02.2025 16:25 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32648 ФПД: 49048780351968 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T162546&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32648&fm=49048780351968&tin=02508201610067®Number=0000000000146237&sum=34600 0 [16:25:45]StoreToDocumentArchive [16:25:45]shift 386 fd 32648 [16:25:45]save to /storage/0386/doc_00032648 [16:25:45]save last doc name /storage/0386/doc_00032648 to /storage/kkm_last_doc_name [16:25:45]save OK [16:25:45]Clear old archive folders... [16:25:45]Remove dir /storage/0266 [16:25:45]opendir ok [16:25:45]file . [16:25:45]file .. [16:25:45]file doc_1740154393 [16:25:45]remove file /storage/0266/doc_1740154393 [16:25:45]remove dir /storage/0266 [16:25:45]ProcessDocumentItem done err = 0, tmpTLVsize=631 [16:25:45]tlvbuf is 00806940 [16:25:45]SAM_PROTO_ClearQueue [16:25:45]wFMCommunicate request_size=4 [16:25:45]MH_SAM_APDU [16:25:45]CAPDU: 80 09 00 00 [16:25:45]Write to MH i2c: E2 08 00 E0 03 80 09 00 00 00 00 00 00 55 [16:25:45]Write i2c OK [16:25:45]MH_I2C_Read... [16:25:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:25:46]Read from MH i2c: E2 [16:25:46]MH_I2C_Read... [16:25:46]Read from MH i2c: E2 03 00 [16:25:46]MH_I2C_Read... [16:25:46]Read from MH i2c: E2 03 00 E0 03 00 90 00 57 [16:25:46]RAPDU: 90 00 [16:25:46]wFMCommunicate OK [16:25:46]SAM_PROTO_ClearQueue done [16:25:46]KKMCreateOFDPacket [16:25:46]OFDProtocolAddRootSTLVToBuf [16:25:46]FM_MakeSignedData [16:25:46]FM_MakeSignedData [16:25:46]SAM_PROTO_SignData [16:25:46]wFMCommunicate request_size=4 [16:25:46]MH_SAM_APDU [16:25:46]CAPDU: 80 0D 01 02 [16:25:46]Write to MH i2c: E2 08 00 E1 03 80 0D 01 02 00 00 00 00 5D [16:25:46]Write i2c OK [16:25:46]MH_I2C_Read... [16:25:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:25:46]Read from MH i2c: E2 [16:25:46]MH_I2C_Read... [16:25:46]Read from MH i2c: E2 03 00 [16:25:46]MH_I2C_Read... [16:25:46]Read from MH i2c: E2 03 00 E1 03 00 90 00 58 [16:25:46]RAPDU: 90 00 [16:25:46]wFMCommunicate OK [16:25:46]wFMCommunicate request_size=255 [16:25:46]MH_SAM_APDU [16:25:46]CAPDU: 80 0D 02 02 FA 03 00 77 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 35 [16:25:46]Write to MH i2c: E2 02 01 E2 03 80 0D 02 02 FA 00 03 00 77 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 35 00 00 EC [16:25:46]Write i2c OK [16:25:46]MH_I2C_Read... [16:25:46]Read from MH i2c: E2 [16:25:46]MH_I2C_Read... [16:25:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:25:46]Read from MH i2c: E2 03 00 [16:25:46]MH_I2C_Read... [16:25:46]Read from MH i2c: E2 03 00 E2 03 00 90 00 59 [16:25:46]RAPDU: 90 00 [16:25:46]wFMCommunicate OK [16:25:46]wFMCommunicate request_size=255 [16:25:46]MH_SAM_APDU [16:25:46]CAPDU: 80 0D 02 02 FA 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 00 19 00 00 00 00 13 04 06 00 00 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 87 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 01 00 [16:25:46]Write to MH i2c: E2 02 01 E3 03 80 0D 02 02 FA 00 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 00 19 00 00 00 00 13 04 06 00 00 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 87 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 01 00 00 00 11 [16:25:46]Write i2c OK [16:25:46]MH_I2C_Read... [16:25:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:25:46]Read from MH i2c: E2 [16:25:46]MH_I2C_Read... [16:25:46]Read from MH i2c: E2 03 00 [16:25:46]MH_I2C_Read... [16:25:46]Read from MH i2c: E2 03 00 E3 03 00 90 00 5A [16:25:46]RAPDU: 90 00 [16:25:46]wFMCommunicate OK [16:25:46]wFMCommunicate request_size=140 [16:25:46]MH_SAM_APDU [16:25:46]CAPDU: 80 0D 02 02 87 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 0E 00 00 00 00 07 04 06 00 28 87 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 0A A9 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 88 7F 00 00 35 04 06 00 2C 9C 0F 21 29 E0 [16:25:46]Write to MH i2c: E2 8F 00 E4 03 80 0D 02 02 87 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 0E 00 00 00 00 07 04 06 00 28 87 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 0A A9 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 88 7F 00 00 35 04 06 00 2C 9C 0F 21 29 E0 00 00 35 [16:25:46]Write i2c OK [16:25:46]MH_I2C_Read... [16:25:46]Read from MH i2c: E2 [16:25:46]MH_I2C_Read... [16:25:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:25:46]Read from MH i2c: E2 03 00 [16:25:46]MH_I2C_Read... [16:25:46]Read from MH i2c: E2 03 00 E4 03 00 90 00 5B [16:25:46]RAPDU: 90 00 [16:25:46]wFMCommunicate OK [16:25:46]wFMCommunicate request_size=4 [16:25:46]MH_SAM_APDU [16:25:46]CAPDU: 80 0D 03 02 [16:25:46]Write to MH i2c: E2 08 00 E5 03 80 0D 03 02 00 00 00 00 63 [16:25:46]Write i2c OK [16:25:46]MH_I2C_Read... [16:25:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:25:46]Read from MH i2c: E2 [16:25:46]MH_I2C_Read... [16:25:46]Read from MH i2c: E2 0B 00 [16:25:46]MH_I2C_Read... [16:25:46]Read from MH i2c: E2 0B 00 E5 03 00 76 29 2F 2B 34 6A 17 5F 90 00 71 [16:25:46]RAPDU: 76 29 2F 2B 34 6A 17 5F 90 00 [16:25:46]wFMCommunicate OK [16:25:46]SAM_PROTO_SignData done [16:25:46]FM_MakeSignedData done [16:25:46]CreateOFDProtocolMessage [16:25:46]wFMCommunicate request_size=4 [16:25:46]MH_SAM_APDU [16:25:46]CAPDU: 80 11 00 00 [16:25:46]Write to MH i2c: E2 08 00 E6 03 80 11 00 00 00 00 00 00 63 [16:25:46]Write i2c OK [16:25:46]MH_I2C_Read... [16:25:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:25:46]Read from MH i2c: E2 [16:25:46]MH_I2C_Read... [16:25:46]Read from MH i2c: E2 17 00 [16:25:46]MH_I2C_Read... [16:25:46]Read from MH i2c: E2 17 00 E6 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 B9 [16:25:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [16:25:46]wFMCommunicate OK [16:25:46]CreateOFDProtocolMessage done [16:25:46]OFDSenderStorePacket 32648 [16:25:46]StoreOFDPacket docnum=32648 [16:25:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 8B 02 00 00 C3 7C 83 02 7D 63 5A 03 01 00 03 00 77 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 00 19 00 00 00 00 13 04 06 00 00 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 87 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 0E 00 00 00 00 07 04 06 00 28 87 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 0A A9 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 88 7F 00 00 35 04 06 00 2C 9C 0F 21 29 E0 76 29 2F 2B 34 6A 17 5F [16:25:46]CheckFolder [16:25:46]dirname=/storage/ofd_packets [16:25:46]CheckFolder done [16:25:46]ProducePacketName [16:25:46]name=ofd_packets/00032648 [16:25:46]NVStorageSaveData ofd_packets/00032648 [16:25:46]File name is /storage/ofd_packets/00032648 [16:25:46]Write 681 bytes [16:25:46]NVStorageSaveData done [16:25:46]OFDSenderStorePacket done [16:25:46]KKMCreateOFDPacket done [16:25:46]NVStorageSaveData kkm_last_timestamp [16:25:46]File name is /storage/kkm_last_timestamp [16:25:46]Write 4 bytes [16:25:46]NVStorageSaveData done [16:25:46]ExternCall_PrintAddStr [16:25:46]wPrintStart [16:25:46]Write to MH i2c: 01 00 00 E7 03 EA [16:25:46]Write i2c OK [16:25:46]MH_I2C_Read... [16:25:46]Read from MH i2c: 01 [16:25:46]MH_I2C_Read... [16:25:46]Read from MH i2c: 01 07 00 [16:25:46]MH_I2C_Read... [16:25:46]Read from MH i2c: 01 07 00 E7 03 00 00 00 00 00 FF 0F FF [16:25:46]RasterBufferAndPrint [16:25:46]line Счет N : (3)130853 [16:25:46]line ИНН: 02508201610067 [16:25:46]line Контрольно-Кассовый Чек [16:25:47]line ПРОДАЖА [16:25:47]line Товар: 2000036210013 [16:25:47]line Кофе Капучино (GABB TRADE) [16:25:47]line 1.000 * 129.00 [16:25:47]line = 129.00 [16:25:47]line НДС 12% НСП 1% [16:25:47]line > о реализуемом товаре [16:25:47]line Товар: 4700003010018 [16:25:47]line Чай хол Let`s Go! зел лим ПЭТ 0,5л [16:25:47]line 1.000 * 54.00 [16:25:47]line = 54.00 [16:25:47]line НДС 12% НСП 1% [16:25:47]line > о реализуемом товаре [16:25:47]line Товар: 5000159390729 [16:25:47]line Шок Батончик Твикс Экстра 82г [16:25:47]line 1.000 * 99.00 [16:25:47]line = 99.00 [16:25:47]line НДС 12% НСП 1% [16:25:47]line > о реализуемом товаре [16:25:47]line Товар: 4870112003925 [16:25:47]line Конд ULKER-Albeni 40gr (6*24) [16:25:47]line 1.000 * 64.00 [16:25:47]line = 64.00 [16:25:47]line НДС 12% НСП 1% [16:25:47]line > о реализуемом товаре [16:25:47]line ИТОГО: 346.00 [16:25:47]line НСП 1% : 3.07 [16:25:47]line НДС 12% : 36.74 [16:25:47]line Наличными: 346.00 [16:25:47]line Безнал.: 0.00 [16:25:47]line Место: АЗС № 96 "Партнер Нефть" [16:25:47]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [16:25:47]line СНО: Общий режим [16:25:47]line Чек 36 21.02.2025 16:25 [16:25:47]line Смена: 386 ФФД: 1.0 [16:25:47]line ЗНМ: 0300000059 [16:25:47]line РНМ: 0000000000146237 [16:25:47]line Версия ККМ: v1.0 [16:25:47]line ФМ: 0000000000959282 [16:25:47]line ФД: 32648 [16:25:47]line ФПД: 49048780351968 [16:25:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T162546&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32648&fm=49048780351968&tin=02508201610067®Number=0000000000146237&sum=34600 [16:25:47]line 0 [16:25:47]OFD Sender: Processing packet 32648 [packets to send 105, broken 104] [16:25:47]ProducePacketName [16:25:47]name=ofd_packets/00032648 [16:25:47]OFD Sender: To server: pG, [16:25:47]CommunicateWithHost lk.salyk.kg:30040 [16:25:47]ConnectInit lk.salyk.kg [16:25:47]written 0, free lines is 4095 [16:25:47]Connected sock=10 [16:25: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 32 38 32 8B 02 00 00 C3 7C 83 02 7D 63 5A 03 01 00 03 00 77 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 76 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 31 38 06 04 32 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 35 30 30 30 31 35 39 33 39 30 37 32 39 06 04 34 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 D0 AD D0 BA D1 81 D1 82 D1 80 D0 B0 20 38 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 00 19 00 00 00 00 13 04 06 00 00 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 87 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 0E 00 00 00 00 07 04 06 00 28 87 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 0A A9 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 88 7F 00 00 35 04 06 00 2C 9C 0F 21 29 E0 76 29 2F 2B 34 6A 17 5F [16:25:47]Write to MH i2c: 01 00 00 23 04 27 [16:25:47]Write i2c OK [16:25:47]MH_I2C_Read... [16:25:47]Read from MH i2c: 01 [16:25:47]MH_I2C_Read... [16:25:47]Read from MH i2c: 01 07 00 [16:25:47]MH_I2C_Read... [16:25:47]Read from MH i2c: 01 07 00 23 04 00 00 00 00 00 31 0C 6B [16:25:47]RasterBufferAndPrint [16:25:47]line [16:25:47]line [16:25:47]line [16:25:47]line [16:25:47]line [16:25:47]written 0, free lines is 3130 [16:25:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 4E 1F 47 00 23 84 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 88 7F 00 00 F4 03 04 00 A1 52 B8 67 B6 04 01 00 00 C8 E0 0D 6D 82 29 6C 67 [16:25:47]CommunicateWithHost err = 0 [16:25:47]CheckOFDResponse [16:25:47]1017 (14) - 77093643461234 [16:25:47]1041 (16) - 0000000000959282 [16:25:47]1040 (4) - 32648 [16:25:47]1012 (4) - 21.02.2025 10:17 [16:25:47]1206 (1) - 0 [16:25:47]OFD Sender: Remove packet 32648 [16:25:47]ProducePacketName [16:25:47]name=ofd_packets/00032648 [16:25:47]NVStorageDeleteData [16:25:47]MH_Cut [16:25:47]Write to MH i2c: D1 01 00 2A 04 01 00 [16:25:47]Write i2c OK [16:25:47]MH_I2C_Read... [16:25:47]Read from MH i2c: D1 [16:25:47]MH_I2C_Read... [16:25:47]Read from MH i2c: D1 01 00 [16:25:47]MH_I2C_Read... [16:25:47]Read from MH i2c: D1 01 00 2A 04 00 FF [16:25:47]Write to MH i2c: 01 00 00 2B 04 2F [16:25:47]Write i2c OK [16:25:47]MH_I2C_Read... [16:25:48]OFD Sender: No OFD packet to send [16:25:48]*** Cut start [16:25:48]*** Partial cut [16:25:48]*** CUTSNS_PIN = 1 [16:25:48]*** CUTSNS_PIN = 0 [16:25:48]*** Brake cut motor [16:25:49]Read from MH i2c: 01 [16:25:49]MH_I2C_Read... [16:25:49]*** Stop cut motor [16:25:49]*** Cut end [16:25:49]Read from MH i2c: 01 07 00 [16:25:49]MH_I2C_Read... [16:25:49]Read from MH i2c: 01 07 00 2B 04 00 00 00 00 00 FF 0F 44 [16:25:49]process_action close_receipt done [16:25:49]requested_data is exist [16:25:49]produce_requested_data [16:25:49]requested_item fm.sn is exist - process it [16:25:49]wFMCommunicate request_size=4 [16:25:49]MH_SAM_APDU [16:25:49]CAPDU: 80 11 00 00 [16:25:49]Write to MH i2c: E2 08 00 2C 04 80 11 00 00 00 00 00 00 AA [16:25:49]Write i2c OK [16:25:49]MH_I2C_Read... [16:25:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:25:49]Read from MH i2c: E2 [16:25:49]MH_I2C_Read... [16:25:49]Read from MH i2c: E2 17 00 [16:25:49]MH_I2C_Read... [16:25:49]Read from MH i2c: E2 17 00 2C 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 00 [16:25:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [16:25:49]wFMCommunicate OK [16:25:49]requested_item fd.num is exist - process it [16:25:49]SAM_PROTO_GetFieldsCounters [16:25:49]wFMCommunicate request_size=4 [16:25:49]MH_SAM_APDU [16:25:49]CAPDU: 80 13 00 00 [16:25:49]Write to MH i2c: E2 08 00 2D 04 80 13 00 00 00 00 00 00 AD [16:25:49]Write i2c OK [16:25:49]MH_I2C_Read... [16:25:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:25:49]Read from MH i2c: E2 [16:25:49]MH_I2C_Read... [16:25:49]Read from MH i2c: E2 62 00 [16:25:49]MH_I2C_Read... [16:25:49]Read from MH i2c: E2 62 00 2D 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 88 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 C5 [16:25: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 88 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:25:49]wFMCommunicate OK [16:25:49]SAM_PROTO_GetFieldsCounters done [16:25:49]requested_item shift.num is exist - process it [16:25:49]requested_item shift.opened is exist - process it [16:25:49]req_shift_opened [16:25:49]FM_GetShiftState [16:25:49]SAM_PROTO_GetShiftState [16:25:49]wFMCommunicate request_size=4 [16:25:49]MH_SAM_APDU [16:25:49]CAPDU: 80 13 01 00 [16:25:49]Write to MH i2c: E2 08 00 2E 04 80 13 01 00 00 00 00 00 AF [16:25:49]Write i2c OK [16:25:49]MH_I2C_Read... [16:25:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:25:49]Read from MH i2c: E2 [16:25:49]MH_I2C_Read... [16:25:49]Read from MH i2c: E2 0E 00 [16:25:49]MH_I2C_Read... [16:25:49]Read from MH i2c: E2 0E 00 2E 04 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 14 [16:25:49]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [16:25:49]wFMCommunicate OK [16:25:49]SAM_PROTO_GetShiftState done [16:25:49]FM_GetShiftState done [16:25:49]req_shift_opened done [16:25:49]requested_item shift.open_date is exist - process it [16:25:49]req_shift_open_date [16:25:49]req_shift_open_date done [16:25:49]produce_requested_data done [16:25:49]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32648,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [16:25:49]process_action_free close_receipt [16:25:49]json_value_free [16:25:49]json_value_free done [16:25:49]process_json_proto returns [16:25:49]Send response to host [16:25:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32648,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [16:25:49]free response buf [16:25:49]execute_script done [16:25:49]execute_script returns [16:25:49]free content buf [16:25:49]Sock 7.Close socket [16:25:49]Sock 7.Thread stoped [16:25:53]OFD Sender: No OFD packet to send [16:25:58]OFD Sender: No OFD packet to send [16:26:03]OFD Sender: No OFD packet to send [16:26:08]OFD Sender: No OFD packet to send [16:26:13]OFD Sender: No OFD packet to send [16:26:18]OFD Sender: No OFD packet to send [16:26:23]OFD Sender: No OFD packet to send [16:26:28]OFD Sender: No OFD packet to send [16:26:33]OFD Sender: No OFD packet to send [16:26:38]OFD Sender: No OFD packet to send [16:26:43]OFD Sender: No OFD packet to send [16:26:48]OFD Sender: No OFD packet to send [16:26:53]OFD Sender: No OFD packet to send [16:26:58]OFD Sender: No OFD packet to send [16:27:03]OFD Sender: No OFD packet to send [16:27:08]OFD Sender: No OFD packet to send [16:27:13]OFD Sender: No OFD packet to send [16:27:18]OFD Sender: No OFD packet to send [16:27:23]OFD Sender: No OFD packet to send [16:27:28]OFD Sender: No OFD packet to send [16:27:33]OFD Sender: No OFD packet to send [16:27:34]accept exits with 9 [16:27:34]New connection [16:27:34]New thread 3067473252 created [16:27:34]Thread 3067329892 joined [16:27:34]Waiting for new connection... [16:27:34] Sock 9.Parse request [16:27:34]Sock 9.Check first char [16:27:34]Sock 9.First char is OK [16:27:34]request: POST /json_proto HTTP/1.0 [16:27:34]Method: POST [16:27:34]URL: /json_proto [16:27:34]Method is POST - this is cgi request [16:27:34]url: /json_proto [16:27:34]query_string will be loaded in cgi processing [16:27:34]execute_cgi json_proto POST (null) [16:27:34]execute_cgi path=json_proto method=POST [16:27:34]POST find Content-Length [16:27:34]Host: 172.17.47.135:8080 [16:27:34]Content-Length: 854 [16:27:34]Content-Type: application/json [16:27:34] [16:27:34]POST finish read [16:27:34]Found Content-Length = 854 [16:27:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130854", "tax_sys" : 0, "items" : [ { "code": "47803008", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 156.00, "quantity" : 1.000, "sum" : 156.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 307.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:27:34]execute_script... [16:27:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130854", "tax_sys" : 0, "items" : [ { "code": "47803008", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744119", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Xstyle Dual", "price" : 156.00, "quantity" : 1.000, "sum" : 156.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 307.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:27:34]POST & json_proto [16:27:34]process_json_proto [16:27:34]json parsed OK: [16:27:34]protocol is kg_v1.0 [16:27:34]action value=close_receipt [16:27:34]process_action close_receipt [16:27:34]cmd_close_receipt [16:27:34]MH_GetDate [16:27:34]Write to MH i2c: F0 00 00 2F 04 22 [16:27:34]Write i2c OK [16:27:34]MH_I2C_Read... [16:27:34]Read from MH i2c: F0 [16:27:34]MH_I2C_Read... [16:27:34]Read from MH i2c: F0 09 00 [16:27:34]MH_I2C_Read... [16:27:34]Read from MH i2c: F0 09 00 2F 04 00 78 A9 B8 67 19 D8 DE 66 A0 [16:27:34]GetLastDocTimeStamp 1740155146 [16:27:34]current date 1740155256 [16:27:34]FM_GetShiftState [16:27:34]SAM_PROTO_GetShiftState [16:27:34]wFMCommunicate request_size=4 [16:27:34]MH_SAM_APDU [16:27:34]CAPDU: 80 13 01 00 [16:27:34]Write to MH i2c: E2 08 00 30 04 80 13 01 00 00 00 00 00 B1 [16:27:34]Write i2c OK [16:27:34]MH_I2C_Read... [16:27:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:27:35]Read from MH i2c: E2 [16:27:35]MH_I2C_Read... [16:27:35]Read from MH i2c: E2 0E 00 [16:27:35]MH_I2C_Read... [16:27:35]Read from MH i2c: E2 0E 00 30 04 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 16 [16:27:35]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [16:27:35]wFMCommunicate OK [16:27:35]SAM_PROTO_GetShiftState done [16:27:35]FM_GetShiftState done [16:27:35]opened in 1740096631 [16:27:35]opened+sec_in_day 1740183031 [16:27:35]quantity*price = 15100 [16:27:35]sum+1 = 15101 [16:27:35]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48744119 Сигареты Winston Xstyle Dual 1.000 * 156.00 = 156.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 307.00 НСП 1% : 2.72 НДС 12% : 32.60 Наличными: 307.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 37 21.02.2025 16:27 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32649 ФПД: 106700690527309 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T162736&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32649&fm=106700690527309&tin=02508201610067®Number=0000000000146237&sum=30700 0 [16:27:36]StoreToDocumentArchive [16:27:36]shift 386 fd 32649 [16:27:36]save to /storage/0386/doc_00032649 [16:27:36]save last doc name /storage/0386/doc_00032649 to /storage/kkm_last_doc_name [16:27:36]save OK [16:27:36]Clear old archive folders... [16:27:36]ProcessDocumentItem done err = 0, tmpTLVsize=372 [16:27:36]tlvbuf is 00806BD0 [16:27:36]SAM_PROTO_ClearQueue [16:27:36]wFMCommunicate request_size=4 [16:27:36]MH_SAM_APDU [16:27:36]CAPDU: 80 09 00 00 [16:27:36]Write to MH i2c: E2 08 00 3D 04 80 09 00 00 00 00 00 00 B3 [16:27:36]Write i2c OK [16:27:36]MH_I2C_Read... [16:27:36]Read from MH i2c: E2 [16:27:36]MH_I2C_Read... [16:27:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:27:36]Read from MH i2c: E2 03 00 [16:27:36]MH_I2C_Read... [16:27:36]Read from MH i2c: E2 03 00 3D 04 00 90 00 B5 [16:27:36]RAPDU: 90 00 [16:27:36]wFMCommunicate OK [16:27:36]SAM_PROTO_ClearQueue done [16:27:36]KKMCreateOFDPacket [16:27:36]OFDProtocolAddRootSTLVToBuf [16:27:36]FM_MakeSignedData [16:27:36]FM_MakeSignedData [16:27:36]SAM_PROTO_SignData [16:27:36]wFMCommunicate request_size=4 [16:27:36]MH_SAM_APDU [16:27:36]CAPDU: 80 0D 01 02 [16:27:36]Write to MH i2c: E2 08 00 3E 04 80 0D 01 02 00 00 00 00 BB [16:27:36]Write i2c OK [16:27:36]MH_I2C_Read... [16:27:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:27:36]Read from MH i2c: E2 [16:27:36]MH_I2C_Read... [16:27:36]Read from MH i2c: E2 03 00 [16:27:36]MH_I2C_Read... [16:27:36]Read from MH i2c: E2 03 00 3E 04 00 90 00 B6 [16:27:36]RAPDU: 90 00 [16:27:36]wFMCommunicate OK [16:27:36]wFMCommunicate request_size=255 [16:27:36]MH_SAM_APDU [16:27:36]CAPDU: 80 0D 02 02 FA 03 00 74 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 EC 77 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 10 01 00 00 00 00 EE 03 0F 00 F2 03 [16:27:36]Write to MH i2c: E2 02 01 3F 04 80 0D 02 02 FA 00 03 00 74 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 EC 77 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 10 01 00 00 00 00 EE 03 0F 00 F2 03 00 00 64 [16:27:36]Write i2c OK [16:27:36]MH_I2C_Read... [16:27:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:27:36]Read from MH i2c: E2 [16:27:36]MH_I2C_Read... [16:27:36]Read from MH i2c: E2 03 00 [16:27:36]MH_I2C_Read... [16:27:36]Read from MH i2c: E2 03 00 3F 04 00 90 00 B7 [16:27:36]RAPDU: 90 00 [16:27:36]wFMCommunicate OK [16:27:36]wFMCommunicate request_size=131 [16:27:36]MH_SAM_APDU [16:27:36]CAPDU: 80 0D 02 02 7E 01 00 01 F3 03 06 00 BC 0C 00 00 00 00 07 04 06 00 EC 77 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 78 A9 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 89 7F 00 00 35 04 06 00 61 0B 30 C1 94 4D [16:27:36]Write to MH i2c: E2 86 00 40 04 80 0D 02 02 7E 00 01 00 01 F3 03 06 00 BC 0C 00 00 00 00 07 04 06 00 EC 77 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 78 A9 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 89 7F 00 00 35 04 06 00 61 0B 30 C1 94 4D 00 00 4C [16:27:36]Write i2c OK [16:27:36]MH_I2C_Read... [16:27:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:27:36]Read from MH i2c: E2 [16:27:36]MH_I2C_Read... [16:27:36]Read from MH i2c: E2 03 00 [16:27:36]MH_I2C_Read... [16:27:36]Read from MH i2c: E2 03 00 40 04 00 90 00 B8 [16:27:36]RAPDU: 90 00 [16:27:36]wFMCommunicate OK [16:27:36]wFMCommunicate request_size=4 [16:27:36]MH_SAM_APDU [16:27:36]CAPDU: 80 0D 03 02 [16:27:36]Write to MH i2c: E2 08 00 41 04 80 0D 03 02 00 00 00 00 C0 [16:27:36]Write i2c OK [16:27:36]MH_I2C_Read... [16:27:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:27:36]Read from MH i2c: E2 [16:27:36]MH_I2C_Read... [16:27:36]Read from MH i2c: E2 0B 00 [16:27:36]MH_I2C_Read... [16:27:36]Read from MH i2c: E2 0B 00 41 04 00 28 99 CE 74 1C 12 24 D3 90 00 E9 [16:27:36]RAPDU: 28 99 CE 74 1C 12 24 D3 90 00 [16:27:36]wFMCommunicate OK [16:27:36]SAM_PROTO_SignData done [16:27:36]FM_MakeSignedData done [16:27:36]CreateOFDProtocolMessage [16:27:36]wFMCommunicate request_size=4 [16:27:36]MH_SAM_APDU [16:27:36]CAPDU: 80 11 00 00 [16:27:36]Write to MH i2c: E2 08 00 42 04 80 11 00 00 00 00 00 00 C0 [16:27:36]Write i2c OK [16:27:36]MH_I2C_Read... [16:27:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:27:36]Read from MH i2c: E2 [16:27:36]MH_I2C_Read... [16:27:36]Read from MH i2c: E2 17 00 [16:27:36]MH_I2C_Read... [16:27:36]Read from MH i2c: E2 17 00 42 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 16 [16:27:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [16:27:36]wFMCommunicate OK [16:27:36]CreateOFDProtocolMessage done [16:27:36]OFDSenderStorePacket 32649 [16:27:36]StoreOFDPacket docnum=32649 [16:27:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 88 01 00 00 C0 19 80 01 D6 AC 5A 03 01 00 03 00 74 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 EC 77 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 10 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 0C 00 00 00 00 07 04 06 00 EC 77 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 78 A9 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 89 7F 00 00 35 04 06 00 61 0B 30 C1 94 4D 28 99 CE 74 1C 12 24 D3 [16:27:36]CheckFolder [16:27:36]dirname=/storage/ofd_packets [16:27:36]CheckFolder done [16:27:36]ProducePacketName [16:27:36]name=ofd_packets/00032649 [16:27:36]NVStorageSaveData ofd_packets/00032649 [16:27:36]File name is /storage/ofd_packets/00032649 [16:27:36]Write 422 bytes [16:27:36]NVStorageSaveData done [16:27:36]OFDSenderStorePacket done [16:27:36]KKMCreateOFDPacket done [16:27:36]NVStorageSaveData kkm_last_timestamp [16:27:36]File name is /storage/kkm_last_timestamp [16:27:36]Write 4 bytes [16:27:36]NVStorageSaveData done [16:27:36]ExternCall_PrintAddStr [16:27:36]wPrintStart [16:27:36]Write to MH i2c: 01 00 00 43 04 47 [16:27:36]Write i2c OK [16:27:36]MH_I2C_Read... [16:27:36]Read from MH i2c: 01 [16:27:36]MH_I2C_Read... [16:27:36]Read from MH i2c: 01 07 00 [16:27:36]MH_I2C_Read... [16:27:36]Read from MH i2c: 01 07 00 43 04 00 00 00 00 00 FF 0F 5C [16:27:36]RasterBufferAndPrint [16:27:36]line Счет N : (3)130854 [16:27:36]line ИНН: 02508201610067 [16:27:36]line Контрольно-Кассовый Чек [16:27:36]line ПРОДАЖА [16:27:36]line Товар: 47803008 [16:27:36]line Сигареты Winston XS Blue [16:27:37]line 1.000 * 151.00 [16:27:37]line = 151.00 [16:27:37]line НДС 12% НСП 1% [16:27:37]line > о реализуемом товаре [16:27:37]line Товар: 48744119 [16:27:37]line Сигареты Winston Xstyle Dual [16:27:37]line 1.000 * 156.00 [16:27:37]line = 156.00 [16:27:37]line НДС 12% НСП 1% [16:27:37]line > о реализуемом товаре [16:27:37]line ИТОГО: 307.00 [16:27:37]line НСП 1% : 2.72 [16:27:37]line НДС 12% : 32.60 [16:27:37]line Наличными: 307.00 [16:27:37]line Безнал.: 0.00 [16:27:37]line Место: АЗС № 96 "Партнер Нефть" [16:27:37]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [16:27:37]line СНО: Общий режим [16:27:37]line Чек 37 21.02.2025 16:27 [16:27:37]line Смена: 386 ФФД: 1.0 [16:27:37]line ЗНМ: 0300000059 [16:27:37]line РНМ: 0000000000146237 [16:27:37]line Версия ККМ: v1.0 [16:27:37]line ФМ: 0000000000959282 [16:27:37]line ФД: 32649 [16:27:37]line ФПД: 106700690527309 [16:27:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T162736&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32649&fm=106700690527309&tin=02508201610067®Number=0000000000146237&sum=30700 [16:27:37]line 0 [16:27:37]OFD Sender: Processing packet 32649 [packets to send 105, broken 104] [16:27:37]ProducePacketName [16:27:37]name=ofd_packets/00032649 [16:27:37]OFD Sender: To server: pG, [16:27:37]CommunicateWithHost lk.salyk.kg:30040 [16:27:37]ConnectInit lk.salyk.kg [16:27:37]written 0, free lines is 4095 [16:27:37]Connected sock=10 [16:27: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 32 38 32 88 01 00 00 C0 19 80 01 D6 AC 5A 03 01 00 03 00 74 01 1E 04 01 00 01 23 04 5F 00 8A 04 08 00 34 37 38 30 33 30 30 38 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 34 31 31 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 73 74 79 6C 65 20 44 75 61 6C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 EC 77 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 10 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 0C 00 00 00 00 07 04 06 00 EC 77 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 78 A9 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 89 7F 00 00 35 04 06 00 61 0B 30 C1 94 4D 28 99 CE 74 1C 12 24 D3 [16:27:37]Write to MH i2c: 01 00 00 71 04 75 [16:27:37]Write i2c OK [16:27:37]MH_I2C_Read... [16:27:37]Read from MH i2c: 01 [16:27:37]MH_I2C_Read... [16:27:37]Read from MH i2c: 01 07 00 [16:27:37]MH_I2C_Read... [16:27:37]Read from MH i2c: 01 07 00 71 04 00 00 00 00 00 D6 0C 5E [16:27:37]RasterBufferAndPrint [16:27:37]line [16:27:37]line [16:27:37]line [16:27:37]line [16:27:37]line [16:27:37]written 0, free lines is 3295 [16:27:37]MH_Cut [16:27:37]Write to MH i2c: D1 01 00 78 04 01 4E [16:27:37]Write i2c OK [16:27:37]MH_I2C_Read... [16:27:37]Read from MH i2c: D1 [16:27:37]MH_I2C_Read... [16:27:37]Read from MH i2c: D1 01 00 [16:27:37]MH_I2C_Read... [16:27:37]Read from MH i2c: D1 01 00 78 04 00 4D [16:27:37]Write to MH i2c: 01 00 00 79 04 7D [16:27:37]Write i2c OK [16:27:37]MH_I2C_Read... [16:27:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 62 A3 47 00 6F EF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 32 38 32 10 04 04 00 89 7F 00 00 F4 03 04 00 0E 53 B8 67 B6 04 01 00 00 6F 4B AF 84 2C 15 06 C5 [16:27:37]CommunicateWithHost err = 0 [16:27:37]CheckOFDResponse [16:27:37]1017 (14) - 77093643461234 [16:27:37]1041 (16) - 0000000000959282 [16:27:37]1040 (4) - 32649 [16:27:37]1012 (4) - 21.02.2025 10:18 [16:27:37]1206 (1) - 0 [16:27:37]OFD Sender: Remove packet 32649 [16:27:37]ProducePacketName [16:27:37]name=ofd_packets/00032649 [16:27:37]NVStorageDeleteData [16:27:38]*** Cut start [16:27:38]*** Partial cut [16:27:38]*** CUTSNS_PIN = 1 [16:27:38]OFD Sender: No OFD packet to send [16:27:38]*** CUTSNS_PIN = 0 [16:27:38]*** Brake cut motor [16:27:38]Read from MH i2c: 01 [16:27:38]MH_I2C_Read... [16:27:38]*** Stop cut motor [16:27:38]*** Cut end [16:27:38]Read from MH i2c: 01 07 00 [16:27:38]MH_I2C_Read... [16:27:38]Read from MH i2c: 01 07 00 79 04 00 00 00 00 00 FF 0F 92 [16:27:38]process_action close_receipt done [16:27:38]requested_data is exist [16:27:38]produce_requested_data [16:27:38]requested_item fm.sn is exist - process it [16:27:38]wFMCommunicate request_size=4 [16:27:38]MH_SAM_APDU [16:27:38]CAPDU: 80 11 00 00 [16:27:38]Write to MH i2c: E2 08 00 7A 04 80 11 00 00 00 00 00 00 F8 [16:27:38]Write i2c OK [16:27:38]MH_I2C_Read... [16:27:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:27:38]Read from MH i2c: E2 [16:27:38]MH_I2C_Read... [16:27:38]Read from MH i2c: E2 17 00 [16:27:38]MH_I2C_Read... [16:27:38]Read from MH i2c: E2 17 00 7A 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 4E [16:27:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [16:27:38]wFMCommunicate OK [16:27:38]requested_item fd.num is exist - process it [16:27:38]SAM_PROTO_GetFieldsCounters [16:27:38]wFMCommunicate request_size=4 [16:27:38]MH_SAM_APDU [16:27:38]CAPDU: 80 13 00 00 [16:27:38]Write to MH i2c: E2 08 00 7B 04 80 13 00 00 00 00 00 00 FB [16:27:38]Write i2c OK [16:27:38]MH_I2C_Read... [16:27:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:27:39]Read from MH i2c: E2 [16:27:39]MH_I2C_Read... [16:27:39]Read from MH i2c: E2 62 00 [16:27:39]MH_I2C_Read... [16:27:39]Read from MH i2c: E2 62 00 7B 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 89 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 17 [16:27: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 89 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:27:39]wFMCommunicate OK [16:27:39]SAM_PROTO_GetFieldsCounters done [16:27:39]requested_item shift.num is exist - process it [16:27:39]requested_item shift.opened is exist - process it [16:27:39]req_shift_opened [16:27:39]FM_GetShiftState [16:27:39]SAM_PROTO_GetShiftState [16:27:39]wFMCommunicate request_size=4 [16:27:39]MH_SAM_APDU [16:27:39]CAPDU: 80 13 01 00 [16:27:39]Write to MH i2c: E2 08 00 7C 04 80 13 01 00 00 00 00 00 FD [16:27:39]Write i2c OK [16:27:39]MH_I2C_Read... [16:27:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:27:39]Read from MH i2c: E2 [16:27:39]MH_I2C_Read... [16:27:39]Read from MH i2c: E2 0E 00 [16:27:39]MH_I2C_Read... [16:27:39]Read from MH i2c: E2 0E 00 7C 04 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 62 [16:27:39]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [16:27:39]wFMCommunicate OK [16:27:39]SAM_PROTO_GetShiftState done [16:27:39]FM_GetShiftState done [16:27:39]req_shift_opened done [16:27:39]requested_item shift.open_date is exist - process it [16:27:39]req_shift_open_date [16:27:39]req_shift_open_date done [16:27:39]produce_requested_data done [16:27:39]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32649,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [16:27:39]process_action_free close_receipt [16:27:39]json_value_free [16:27:39]json_value_free done [16:27:39]process_json_proto returns [16:27:39]Send response to host [16:27:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32649,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [16:27:39]free response buf [16:27:39]execute_script done [16:27:39]execute_script returns [16:27:39]free content buf [16:27:39]Sock 9.Close socket [16:27:39]Sock 9.Thread stoped [16:27:43]OFD Sender: No OFD packet to send [16:27:48]OFD Sender: No OFD packet to send [16:27:53]OFD Sender: No OFD packet to send [16:27:58]OFD Sender: No OFD packet to send [16:28:03]OFD Sender: No OFD packet to send [16:28:08]OFD Sender: No OFD packet to send [16:28:13]OFD Sender: No OFD packet to send [16:28:18]OFD Sender: No OFD packet to send [16:28:23]OFD Sender: No OFD packet to send [16:28:28]OFD Sender: No OFD packet to send [16:28:33]OFD Sender: No OFD packet to send [16:28:38]OFD Sender: No OFD packet to send [16:28:43]OFD Sender: No OFD packet to send [16:28:48]OFD Sender: No OFD packet to send [16:28:53]OFD Sender: No OFD packet to send [16:28:58]OFD Sender: No OFD packet to send [16:29:03]OFD Sender: No OFD packet to send [16:29:08]OFD Sender: No OFD packet to send [16:29:13]OFD Sender: No OFD packet to send [16:29:18]OFD Sender: No OFD packet to send [16:29:23]OFD Sender: No OFD packet to send [16:29:28]OFD Sender: No OFD packet to send [16:29:33]OFD Sender: No OFD packet to send [16:29:38]OFD Sender: No OFD packet to send [16:29:43]OFD Sender: No OFD packet to send [16:29:48]OFD Sender: No OFD packet to send [16:29:53]OFD Sender: No OFD packet to send [16:29:58]OFD Sender: No OFD packet to send [16:30:03]OFD Sender: No OFD packet to send [16:30:08]OFD Sender: No OFD packet to send [16:30:13]OFD Sender: No OFD packet to send [16:30:18]OFD Sender: No OFD packet to send [16:30:23]OFD Sender: No OFD packet to send [16:30:28]OFD Sender: No OFD packet to send [16:30:33]OFD Sender: No OFD packet to send [16:30:38]OFD Sender: No OFD packet to send [16:30:43]OFD Sender: No OFD packet to send [16:30:48]OFD Sender: No OFD packet to send [16:30:53]OFD Sender: No OFD packet to send [16:30:58]OFD Sender: No OFD packet to send [16:31:03]OFD Sender: No OFD packet to send [16:31:08]OFD Sender: No OFD packet to send [16:31:13]OFD Sender: No OFD packet to send [16:31:18]OFD Sender: No OFD packet to send [16:31:23]OFD Sender: No OFD packet to send [16:31:28]OFD Sender: No OFD packet to send [16:31:33]OFD Sender: No OFD packet to send [16:31:38]OFD Sender: No OFD packet to send [16:31:43]OFD Sender: No OFD packet to send [16:31:48]OFD Sender: No OFD packet to send [16:31:53]OFD Sender: No OFD packet to send [16:31:58]OFD Sender: No OFD packet to send [16:32:03]OFD Sender: No OFD packet to send [16:32:08]OFD Sender: No OFD packet to send [16:32:13]OFD Sender: No OFD packet to send [16:32:18]OFD Sender: No OFD packet to send [16:32:23]OFD Sender: No OFD packet to send [16:32:28]OFD Sender: No OFD packet to send [16:32:33]OFD Sender: No OFD packet to send [16:32:38]OFD Sender: No OFD packet to send [16:32:43]OFD Sender: No OFD packet to send [16:32:48]OFD Sender: No OFD packet to send [16:32:53]OFD Sender: No OFD packet to send [16:32:58]OFD Sender: No OFD packet to send [16:33:03]OFD Sender: No OFD packet to send [16:33:08]OFD Sender: No OFD packet to send [16:33:13]OFD Sender: No OFD packet to send [16:33:18]OFD Sender: No OFD packet to send [16:33:23]OFD Sender: No OFD packet to send [16:33:28]OFD Sender: No OFD packet to send [16:33:33]OFD Sender: No OFD packet to send [16:33:38]OFD Sender: No OFD packet to send [16:33:43]OFD Sender: No OFD packet to send [16:33:48]OFD Sender: No OFD packet to send [16:33:53]OFD Sender: No OFD packet to send [16:33:58]OFD Sender: No OFD packet to send [16:34:03]OFD Sender: No OFD packet to send [16:34:08]OFD Sender: No OFD packet to send [16:34:13]OFD Sender: No OFD packet to send [16:34:18]OFD Sender: No OFD packet to send [16:34:23]OFD Sender: No OFD packet to send [16:34:28]OFD Sender: No OFD packet to send [16:34:33]OFD Sender: No OFD packet to send [16:34:38]OFD Sender: No OFD packet to send [16:34:43]OFD Sender: No OFD packet to send [16:34:48]OFD Sender: No OFD packet to send [16:34:53]OFD Sender: No OFD packet to send [16:34:58]OFD Sender: No OFD packet to send [16:35:03]OFD Sender: No OFD packet to send [16:35:08]OFD Sender: No OFD packet to send [16:35:13]OFD Sender: No OFD packet to send [16:35:18]OFD Sender: No OFD packet to send [16:35:23]OFD Sender: No OFD packet to send [16:35:28]OFD Sender: No OFD packet to send [16:35:33]OFD Sender: No OFD packet to send [16:35:38]OFD Sender: No OFD packet to send [16:35:43]OFD Sender: No OFD packet to send [16:35:48]OFD Sender: No OFD packet to send [16:35:53]OFD Sender: No OFD packet to send [16:35:58]OFD Sender: No OFD packet to send [16:36:03]OFD Sender: No OFD packet to send [16:36:08]OFD Sender: No OFD packet to send [16:36:13]OFD Sender: No OFD packet to send [16:36:18]OFD Sender: No OFD packet to send [16:36:23]OFD Sender: No OFD packet to send [16:36:28]OFD Sender: No OFD packet to send [16:36:33]OFD Sender: No OFD packet to send [16:36:38]OFD Sender: No OFD packet to send [16:36:43]OFD Sender: No OFD packet to send [16:36:48]OFD Sender: No OFD packet to send [16:36:53]OFD Sender: No OFD packet to send [16:36:58]OFD Sender: No OFD packet to send [16:37:03]OFD Sender: No OFD packet to send [16:37:08]OFD Sender: No OFD packet to send [16:37:13]OFD Sender: No OFD packet to send [16:37:18]OFD Sender: No OFD packet to send [16:37:23]OFD Sender: No OFD packet to send [16:37:28]OFD Sender: No OFD packet to send [16:37:33]OFD Sender: No OFD packet to send [16:37:38]OFD Sender: No OFD packet to send [16:37:43]OFD Sender: No OFD packet to send [16:37:48]OFD Sender: No OFD packet to send [16:37:54]OFD Sender: No OFD packet to send [16:37:59]OFD Sender: No OFD packet to send [16:38:04]OFD Sender: No OFD packet to send [16:38:09]OFD Sender: No OFD packet to send [16:38:14]OFD Sender: No OFD packet to send [16:38:19]OFD Sender: No OFD packet to send [16:38:24]OFD Sender: No OFD packet to send [16:38:29]OFD Sender: No OFD packet to send [16:38:34]OFD Sender: No OFD packet to send [16:38:39]OFD Sender: No OFD packet to send [16:38:44]OFD Sender: No OFD packet to send [16:38:49]OFD Sender: No OFD packet to send [16:38:54]OFD Sender: No OFD packet to send [16:38:59]OFD Sender: No OFD packet to send [16:39:04]OFD Sender: No OFD packet to send [16:39:09]OFD Sender: No OFD packet to send [16:39:14]OFD Sender: No OFD packet to send [16:39:19]OFD Sender: No OFD packet to send [16:39:24]OFD Sender: No OFD packet to send [16:39:29]OFD Sender: No OFD packet to send [16:39:34]OFD Sender: No OFD packet to send [16:39:39]OFD Sender: No OFD packet to send [16:39:44]OFD Sender: No OFD packet to send [16:39:49]OFD Sender: No OFD packet to send [16:39:54]OFD Sender: No OFD packet to send [16:39:59]OFD Sender: No OFD packet to send [16:40:04]OFD Sender: No OFD packet to send [16:40:09]OFD Sender: No OFD packet to send [16:40:14]OFD Sender: No OFD packet to send [16:40:19]OFD Sender: No OFD packet to send [16:40:24]OFD Sender: No OFD packet to send [16:40:29]OFD Sender: No OFD packet to send [16:40:34]OFD Sender: No OFD packet to send [16:40:39]OFD Sender: No OFD packet to send [16:40:44]OFD Sender: No OFD packet to send [16:40:49]OFD Sender: No OFD packet to send [16:40:54]OFD Sender: No OFD packet to send [16:40:59]OFD Sender: No OFD packet to send [16:41:04]OFD Sender: No OFD packet to send [16:41:09]OFD Sender: No OFD packet to send [16:41:14]OFD Sender: No OFD packet to send [16:41:19]OFD Sender: No OFD packet to send [16:41:24]OFD Sender: No OFD packet to send [16:41:29]OFD Sender: No OFD packet to send [16:41:34]OFD Sender: No OFD packet to send [16:41:39]OFD Sender: No OFD packet to send [16:41:44]OFD Sender: No OFD packet to send [16:41:49]OFD Sender: No OFD packet to send [16:41:54]OFD Sender: No OFD packet to send [16:41:59]OFD Sender: No OFD packet to send [16:42:04]OFD Sender: No OFD packet to send [16:42:09]OFD Sender: No OFD packet to send [16:42:14]OFD Sender: No OFD packet to send [16:42:19]OFD Sender: No OFD packet to send [16:42:24]OFD Sender: No OFD packet to send [16:42:29]OFD Sender: No OFD packet to send [16:42:34]OFD Sender: No OFD packet to send [16:42:39]OFD Sender: No OFD packet to send [16:42:44]OFD Sender: No OFD packet to send [16:42:49]OFD Sender: No OFD packet to send [16:42:54]OFD Sender: No OFD packet to send [16:42:59]OFD Sender: No OFD packet to send [16:43:04]OFD Sender: No OFD packet to send [16:43:09]OFD Sender: No OFD packet to send [16:43:14]OFD Sender: No OFD packet to send [16:43:19]OFD Sender: No OFD packet to send [16:43:24]OFD Sender: No OFD packet to send [16:43:29]OFD Sender: No OFD packet to send [16:43:34]OFD Sender: No OFD packet to send [16:43:39]OFD Sender: No OFD packet to send [16:43:44]OFD Sender: No OFD packet to send [16:43:49]OFD Sender: No OFD packet to send [16:43:54]OFD Sender: No OFD packet to send [16:43:59]OFD Sender: No OFD packet to send [16:44:04]OFD Sender: No OFD packet to send [16:44:09]OFD Sender: No OFD packet to send [16:44:14]OFD Sender: No OFD packet to send [16:44:19]OFD Sender: No OFD packet to send [16:44:24]OFD Sender: No OFD packet to send [16:44:29]OFD Sender: No OFD packet to send [16:44:34]OFD Sender: No OFD packet to send [16:44:39]OFD Sender: No OFD packet to send [16:44:44]OFD Sender: No OFD packet to send [16:44:49]OFD Sender: No OFD packet to send [16:44:54]OFD Sender: No OFD packet to send [16:44:59]OFD Sender: No OFD packet to send [16:45:04]OFD Sender: No OFD packet to send [16:45:09]OFD Sender: No OFD packet to send [16:45:14]OFD Sender: No OFD packet to send [16:45:19]OFD Sender: No OFD packet to send [16:45:24]OFD Sender: No OFD packet to send [16:45:29]OFD Sender: No OFD packet to send [16:45:34]OFD Sender: No OFD packet to send [16:45:39]OFD Sender: No OFD packet to send [16:45:44]OFD Sender: No OFD packet to send [16:45:49]OFD Sender: No OFD packet to send [16:45:54]OFD Sender: No OFD packet to send [16:45:59]OFD Sender: No OFD packet to send [16:46:04]OFD Sender: No OFD packet to send [16:46:09]OFD Sender: No OFD packet to send [16:46:14]OFD Sender: No OFD packet to send [16:46:19]OFD Sender: No OFD packet to send [16:46:24]OFD Sender: No OFD packet to send [16:46:29]OFD Sender: No OFD packet to send [16:46:34]OFD Sender: No OFD packet to send [16:46:39]OFD Sender: No OFD packet to send [16:46:44]OFD Sender: No OFD packet to send [16:46:49]OFD Sender: No OFD packet to send [16:46:54]OFD Sender: No OFD packet to send [16:46:59]OFD Sender: No OFD packet to send [16:47:04]OFD Sender: No OFD packet to send [16:47:09]OFD Sender: No OFD packet to send [16:47:14]OFD Sender: No OFD packet to send [16:47:19]OFD Sender: No OFD packet to send [16:47:24]OFD Sender: No OFD packet to send [16:47:29]OFD Sender: No OFD packet to send [16:47:34]OFD Sender: No OFD packet to send [16:47:39]OFD Sender: No OFD packet to send [16:47:44]OFD Sender: No OFD packet to send [16:47:49]OFD Sender: No OFD packet to send [16:47:54]OFD Sender: No OFD packet to send [16:47:59]OFD Sender: No OFD packet to send [16:48:04]OFD Sender: No OFD packet to send [16:48:09]OFD Sender: No OFD packet to send [16:48:14]OFD Sender: No OFD packet to send [16:48:19]OFD Sender: No OFD packet to send [16:48:24]OFD Sender: No OFD packet to send [16:48:29]OFD Sender: No OFD packet to send [16:48:34]OFD Sender: No OFD packet to send [16:48:39]OFD Sender: No OFD packet to send [16:48:44]OFD Sender: No OFD packet to send [16:48:49]OFD Sender: No OFD packet to send [16:48:54]OFD Sender: No OFD packet to send [16:48:59]OFD Sender: No OFD packet to send [16:49:04]OFD Sender: No OFD packet to send [16:49:09]OFD Sender: No OFD packet to send [16:49:14]OFD Sender: No OFD packet to send [16:49:19]OFD Sender: No OFD packet to send [16:49:24]OFD Sender: No OFD packet to send [16:49:29]OFD Sender: No OFD packet to send [16:49:34]OFD Sender: No OFD packet to send [16:49:39]OFD Sender: No OFD packet to send [16:49:44]OFD Sender: No OFD packet to send [16:49:49]OFD Sender: No OFD packet to send [16:49:54]OFD Sender: No OFD packet to send [16:49:59]OFD Sender: No OFD packet to send [16:50:04]OFD Sender: No OFD packet to send [16:50:09]OFD Sender: No OFD packet to send [16:50:14]OFD Sender: No OFD packet to send [16:50:19]OFD Sender: No OFD packet to send [16:50:24]OFD Sender: No OFD packet to send [16:50:29]OFD Sender: No OFD packet to send [16:50:34]OFD Sender: No OFD packet to send [16:50:39]OFD Sender: No OFD packet to send [16:50:44]OFD Sender: No OFD packet to send [16:50:49]OFD Sender: No OFD packet to send [16:50:54]OFD Sender: No OFD packet to send [16:50:59]OFD Sender: No OFD packet to send [16:51:04]OFD Sender: No OFD packet to send [16:51:09]OFD Sender: No OFD packet to send [16:51:14]OFD Sender: No OFD packet to send [16:51:19]OFD Sender: No OFD packet to send [16:51:24]OFD Sender: No OFD packet to send [16:51:29]OFD Sender: No OFD packet to send [16:51:34]OFD Sender: No OFD packet to send [16:51:39]OFD Sender: No OFD packet to send [16:51:42]accept exits with 7 [16:51:42]New connection [16:51:42]New thread 3067329892 created [16:51:42]Thread 3067473252 joined [16:51:42]Waiting for new connection... [16:51:42] Sock 7.Parse request [16:51:42]Sock 7.Check first char [16:51:42]Sock 7.First char is OK [16:51:42]request: POST /json_proto HTTP/1.0 [16:51:42]Method: POST [16:51:42]URL: /json_proto [16:51:42]Method is POST - this is cgi request [16:51:42]url: /json_proto [16:51:42]query_string will be loaded in cgi processing [16:51:42]execute_cgi json_proto POST (null) [16:51:42]execute_cgi path=json_proto method=POST [16:51:42]POST find Content-Length [16:51:42]Host: 172.17.47.135:8080 [16:51:42]Content-Length: 644 [16:51:42]Content-Type: application/json [16:51:42] [16:51:42]POST finish read [16:51:42]Found Content-Length = 644 [16:51:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130855", "tax_sys" : 0, "items" : [ { "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 49.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:51:42]execute_script... [16:51:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130855", "tax_sys" : 0, "items" : [ { "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 49.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:51:42]POST & json_proto [16:51:42]process_json_proto [16:51:42]json parsed OK: [16:51:42]protocol is kg_v1.0 [16:51:42]action value=close_receipt [16:51:42]process_action close_receipt [16:51:42]cmd_close_receipt [16:51:42]MH_GetDate [16:51:42]Write to MH i2c: F0 00 00 7D 04 70 [16:51:42]Write i2c OK [16:51:42]MH_I2C_Read... [16:51:42]Read from MH i2c: F0 [16:51:42]MH_I2C_Read... [16:51:42]Read from MH i2c: F0 09 00 [16:51:42]MH_I2C_Read... [16:51:42]Read from MH i2c: F0 09 00 7D 04 00 20 AF B8 67 19 D8 DE 66 9C [16:51:42]GetLastDocTimeStamp 1740155256 [16:51:42]current date 1740156704 [16:51:42]FM_GetShiftState [16:51:42]SAM_PROTO_GetShiftState [16:51:42]wFMCommunicate request_size=4 [16:51:42]MH_SAM_APDU [16:51:42]CAPDU: 80 13 01 00 [16:51:42]Write to MH i2c: E2 08 00 7E 04 80 13 01 00 00 00 00 00 FF [16:51:42]Write i2c OK [16:51:42]MH_I2C_Read... [16:51:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:51:42]Read from MH i2c: E2 [16:51:42]MH_I2C_Read... [16:51:42]Read from MH i2c: E2 0E 00 [16:51:42]MH_I2C_Read... [16:51:42]Read from MH i2c: E2 0E 00 7E 04 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 64 [16:51:42]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [16:51:42]wFMCommunicate OK [16:51:42]SAM_PROTO_GetShiftState done [16:51:42]FM_GetShiftState done [16:51:42]opened in 1740096631 [16:51:42]opened+sec_in_day 1740183031 [16:51:42]quantity*price = 4900 [16:51:42]sum+1 = 4901 [16:51:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 49.00 НСП 1% : 0.43 НДС 12% : 5.20 Наличными: 49.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 38 21.02.2025 16:51 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32650 ФПД: 48553460633681 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T165144&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32650&fm=48553460633681&tin=02508201610067®Number=0000000000146237&sum=4900 0 [16:51:43]StoreToDocumentArchive [16:51:43]shift 386 fd 32650 [16:51:43]save to /storage/0386/doc_00032650 [16:51:43]save last doc name /storage/0386/doc_00032650 to /storage/kkm_last_doc_name [16:51:43]save OK [16:51:43]Clear old archive folders... [16:51:43]ProcessDocumentItem done err = 0, tmpTLVsize=275 [16:51:43]tlvbuf is 00801500 [16:51:43]SAM_PROTO_ClearQueue [16:51:43]wFMCommunicate request_size=4 [16:51:43]MH_SAM_APDU [16:51:43]CAPDU: 80 09 00 00 [16:51:43]Write to MH i2c: E2 08 00 8B 04 80 09 00 00 00 00 00 00 01 [16:51:43]Write i2c OK [16:51:43]MH_I2C_Read... [16:51:44]Read from MH i2c: E2 [16:51:44]MH_I2C_Read... [16:51:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:51:44]Read from MH i2c: E2 03 00 [16:51:44]MH_I2C_Read... [16:51:44]Read from MH i2c: E2 03 00 8B 04 00 90 00 03 [16:51:44]RAPDU: 90 00 [16:51:44]wFMCommunicate OK [16:51:44]SAM_PROTO_ClearQueue done [16:51:44]KKMCreateOFDPacket [16:51:44]OFDProtocolAddRootSTLVToBuf [16:51:44]FM_MakeSignedData [16:51:44]FM_MakeSignedData [16:51:44]SAM_PROTO_SignData [16:51:44]wFMCommunicate request_size=4 [16:51:44]MH_SAM_APDU [16:51:44]CAPDU: 80 0D 01 02 [16:51:44]Write to MH i2c: E2 08 00 8C 04 80 0D 01 02 00 00 00 00 09 [16:51:44]Write i2c OK [16:51:44]MH_I2C_Read... [16:51:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:51:44]Read from MH i2c: E2 [16:51:44]MH_I2C_Read... [16:51:44]Read from MH i2c: E2 03 00 [16:51:44]MH_I2C_Read... [16:51:44]Read from MH i2c: E2 03 00 8C 04 00 90 00 04 [16:51:44]RAPDU: 90 00 [16:51:44]wFMCommunicate OK [16:51:44]wFMCommunicate request_size=255 [16:51:44]MH_SAM_APDU [16:51:44]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 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 26 00 00 00 F4 03 04 00 20 AF B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 [16:51:44]Write to MH i2c: E2 02 01 8D 04 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 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 26 00 00 00 F4 03 04 00 20 AF B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 00 00 1F [16:51:44]Write i2c OK [16:51:44]MH_I2C_Read... [16:51:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:51:44]Read from MH i2c: E2 [16:51:44]MH_I2C_Read... [16:51:44]Read from MH i2c: E2 03 00 [16:51:44]MH_I2C_Read... [16:51:44]Read from MH i2c: E2 03 00 8D 04 00 90 00 05 [16:51:44]RAPDU: 90 00 [16:51:44]wFMCommunicate OK [16:51:44]wFMCommunicate request_size=34 [16:51:44]MH_SAM_APDU [16:51:44]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8A 7F 00 00 35 04 06 00 2C 28 BB C6 10 51 [16:51:44]Write to MH i2c: E2 25 00 8E 04 80 0D 02 02 1D 00 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8A 7F 00 00 35 04 06 00 2C 28 BB C6 10 51 00 00 0F [16:51:44]Write i2c OK [16:51:44]MH_I2C_Read... [16:51:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:51:44]Read from MH i2c: E2 [16:51:44]MH_I2C_Read... [16:51:44]Read from MH i2c: E2 03 00 [16:51:44]MH_I2C_Read... [16:51:44]Read from MH i2c: E2 03 00 8E 04 00 90 00 06 [16:51:44]RAPDU: 90 00 [16:51:44]wFMCommunicate OK [16:51:44]wFMCommunicate request_size=4 [16:51:44]MH_SAM_APDU [16:51:44]CAPDU: 80 0D 03 02 [16:51:44]Write to MH i2c: E2 08 00 8F 04 80 0D 03 02 00 00 00 00 0E [16:51:44]Write i2c OK [16:51:44]MH_I2C_Read... [16:51:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:51:44]Read from MH i2c: E2 [16:51:44]MH_I2C_Read... [16:51:44]Read from MH i2c: E2 0B 00 [16:51:44]MH_I2C_Read... [16:51:44]Read from MH i2c: E2 0B 00 8F 04 00 67 8A 18 24 12 68 F9 38 90 00 E7 [16:51:44]RAPDU: 67 8A 18 24 12 68 F9 38 90 00 [16:51:44]wFMCommunicate OK [16:51:44]SAM_PROTO_SignData done [16:51:44]FM_MakeSignedData done [16:51:44]CreateOFDProtocolMessage [16:51:44]wFMCommunicate request_size=4 [16:51:44]MH_SAM_APDU [16:51:44]CAPDU: 80 11 00 00 [16:51:44]Write to MH i2c: E2 08 00 90 04 80 11 00 00 00 00 00 00 0E [16:51:44]Write i2c OK [16:51:44]MH_I2C_Read... [16:51:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:51:44]Read from MH i2c: E2 [16:51:44]MH_I2C_Read... [16:51:44]Read from MH i2c: E2 17 00 [16:51:44]MH_I2C_Read... [16:51:44]Read from MH i2c: E2 17 00 90 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 64 [16:51:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [16:51:44]wFMCommunicate OK [16:51:44]CreateOFDProtocolMessage done [16:51:44]OFDSenderStorePacket 32650 [16:51:44]StoreOFDPacket docnum=32650 [16:51:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 27 01 00 00 14 8C 1F 01 76 E1 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 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 26 00 00 00 F4 03 04 00 20 AF B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8A 7F 00 00 35 04 06 00 2C 28 BB C6 10 51 67 8A 18 24 12 68 F9 38 [16:51:44]CheckFolder [16:51:44]dirname=/storage/ofd_packets [16:51:44]CheckFolder done [16:51:44]ProducePacketName [16:51:44]name=ofd_packets/00032650 [16:51:44]NVStorageSaveData ofd_packets/00032650 [16:51:44]File name is /storage/ofd_packets/00032650 [16:51:44]Write 325 bytes [16:51:44]NVStorageSaveData done [16:51:44]OFDSenderStorePacket done [16:51:44]KKMCreateOFDPacket done [16:51:44]NVStorageSaveData kkm_last_timestamp [16:51:44]File name is /storage/kkm_last_timestamp [16:51:44]Write 4 bytes [16:51:44]NVStorageSaveData done [16:51:44]ExternCall_PrintAddStr [16:51:44]wPrintStart [16:51:44]Write to MH i2c: 01 00 00 91 04 95 [16:51:44]OFD Sender: Processing packet 32650 [packets to send 105, broken 104] [16:51:44]ProducePacketName [16:51:44]name=ofd_packets/00032650 [16:51:44]OFD Sender: To server: pG, [16:51:44]CommunicateWithHost lk.salyk.kg:30040 [16:51:44]ConnectInit lk.salyk.kg [16:51:44]Write i2c OK [16:51:44]MH_I2C_Read... [16:51:44]Read from MH i2c: 01 [16:51:44]MH_I2C_Read... [16:51:44]Read from MH i2c: 01 07 00 [16:51:44]MH_I2C_Read... [16:51:44]Read from MH i2c: 01 07 00 91 04 00 00 00 00 00 FF 0F AA [16:51:44]RasterBufferAndPrint [16:51:44]line Счет N : (3)130855 [16:51:44]line ИНН: 02508201610067 [16:51:44]line Контрольно-Кассовый Чек [16:51:44]line ПРОДАЖА [16:51:44]line Товар: 4700000310326 [16:51:44]line Вода Адыгене 1л б/г [16:51:44]line 1.000 * 49.00 [16:51:44]line = 49.00 [16:51:44]line НДС 12% НСП 1% [16:51:44]line > о реализуемом товаре [16:51:44]line ИТОГО: 49.00 [16:51:44]line НСП 1% : 0.43 [16:51:44]line НДС 12% : 5.20 [16:51:44]line Наличными: 49.00 [16:51:44]line Безнал.: 0.00 [16:51:44]line Место: АЗС № 96 "Партнер Нефть" [16:51:44]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [16:51:44]line СНО: Общий режим [16:51:44]line Чек 38 21.02.2025 16:51 [16:51:44]line Смена: 386 ФФД: 1.0 [16:51:44]line ЗНМ: 0300000059 [16:51:44]line РНМ: 0000000000146237 [16:51:44]line Версия ККМ: v1.0 [16:51:44]line ФМ: 0000000000959282 [16:51:44]line ФД: 32650 [16:51:44]line ФПД: 48553460633681 [16:51:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T165144&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32650&fm=48553460633681&tin=02508201610067®Number=0000000000146237&sum=4900 [16:51:44]line 0 [16:51:44]written 0, free lines is 4095 [16:51:44]Connected sock=9 [16:51:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 27 01 00 00 14 8C 1F 01 76 E1 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 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 26 00 00 00 F4 03 04 00 20 AF B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8A 7F 00 00 35 04 06 00 2C 28 BB C6 10 51 67 8A 18 24 12 68 F9 38 [16:51:44]Write to MH i2c: 01 00 00 B9 04 BD [16:51:44]Write i2c OK [16:51:44]MH_I2C_Read... [16:51:44]Read from MH i2c: 01 [16:51:44]MH_I2C_Read... [16:51:44]Read from MH i2c: 01 07 00 [16:51:44]MH_I2C_Read... [16:51:44]Read from MH i2c: 01 07 00 B9 04 00 00 00 00 00 17 0D E8 [16:51:44]RasterBufferAndPrint [16:51:44]line [16:51:44]line [16:51:44]line [16:51:44]line [16:51:44]line [16:51:44]written 0, free lines is 3358 [16:51:44]MH_Cut [16:51:44]Write to MH i2c: D1 01 00 C0 04 01 96 [16:51:44]Write i2c OK [16:51:44]MH_I2C_Read... [16:51:44]Read from MH i2c: D1 [16:51:44]MH_I2C_Read... [16:51:44]Read from MH i2c: D1 01 00 [16:51:44]MH_I2C_Read... [16:51:44]Read from MH i2c: D1 01 00 C0 04 00 95 [16:51:45]Write to MH i2c: 01 00 00 C1 04 C5 [16:51:45]Write i2c OK [16:51:45]MH_I2C_Read... [16:51:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 7F 5F 47 00 8E 7B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 32 38 32 10 04 04 00 8A 7F 00 00 F4 03 04 00 B6 58 B8 67 B6 04 01 00 00 E3 8B 8E 26 30 17 6A F6 [16:51:45]CommunicateWithHost err = 0 [16:51:45]CheckOFDResponse [16:51:45]1017 (14) - 77093643461234 [16:51:45]1041 (16) - 0000000000959282 [16:51:45]1040 (4) - 32650 [16:51:45]1012 (4) - 21.02.2025 10:43 [16:51:45]1206 (1) - 0 [16:51:45]OFD Sender: Remove packet 32650 [16:51:45]ProducePacketName [16:51:45]name=ofd_packets/00032650 [16:51:45]NVStorageDeleteData [16:51:45]*** Cut start [16:51:45]*** Partial cut [16:51:45]*** CUTSNS_PIN = 1 [16:51:45]*** CUTSNS_PIN = 0 [16:51:45]OFD Sender: No OFD packet to send [16:51:45]*** Brake cut motor [16:51:46]Read from MH i2c: 01 [16:51:46]MH_I2C_Read... [16:51:46]*** Stop cut motor [16:51:46]*** Cut end [16:51:46]Read from MH i2c: 01 07 00 [16:51:46]MH_I2C_Read... [16:51:46]Read from MH i2c: 01 07 00 C1 04 00 00 00 00 00 FF 0F DA [16:51:46]process_action close_receipt done [16:51:46]requested_data is exist [16:51:46]produce_requested_data [16:51:46]requested_item fm.sn is exist - process it [16:51:46]wFMCommunicate request_size=4 [16:51:46]MH_SAM_APDU [16:51:46]CAPDU: 80 11 00 00 [16:51:46]Write to MH i2c: E2 08 00 C2 04 80 11 00 00 00 00 00 00 40 [16:51:46]Write i2c OK [16:51:46]MH_I2C_Read... [16:51:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:51:46]Read from MH i2c: E2 [16:51:46]MH_I2C_Read... [16:51:46]Read from MH i2c: E2 17 00 [16:51:46]MH_I2C_Read... [16:51:46]Read from MH i2c: E2 17 00 C2 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 96 [16:51:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [16:51:46]wFMCommunicate OK [16:51:46]requested_item fd.num is exist - process it [16:51:46]SAM_PROTO_GetFieldsCounters [16:51:46]wFMCommunicate request_size=4 [16:51:46]MH_SAM_APDU [16:51:46]CAPDU: 80 13 00 00 [16:51:46]Write to MH i2c: E2 08 00 C3 04 80 13 00 00 00 00 00 00 43 [16:51:46]Write i2c OK [16:51:46]MH_I2C_Read... [16:51:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:51:46]Read from MH i2c: E2 [16:51:46]MH_I2C_Read... [16:51:46]Read from MH i2c: E2 62 00 [16:51:46]MH_I2C_Read... [16:51:46]Read from MH i2c: E2 62 00 C3 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 8A 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 63 [16:51: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 8A 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:51:46]wFMCommunicate OK [16:51:46]SAM_PROTO_GetFieldsCounters done [16:51:46]requested_item shift.num is exist - process it [16:51:46]requested_item shift.opened is exist - process it [16:51:46]req_shift_opened [16:51:46]FM_GetShiftState [16:51:46]SAM_PROTO_GetShiftState [16:51:46]wFMCommunicate request_size=4 [16:51:46]MH_SAM_APDU [16:51:46]CAPDU: 80 13 01 00 [16:51:46]Write to MH i2c: E2 08 00 C4 04 80 13 01 00 00 00 00 00 45 [16:51:46]Write i2c OK [16:51:46]MH_I2C_Read... [16:51:46]Read from MH i2c: E2 [16:51:46]MH_I2C_Read... [16:51:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:51:46]Read from MH i2c: E2 0E 00 [16:51:46]MH_I2C_Read... [16:51:46]Read from MH i2c: E2 0E 00 C4 04 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 AA [16:51:46]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [16:51:46]wFMCommunicate OK [16:51:46]SAM_PROTO_GetShiftState done [16:51:46]FM_GetShiftState done [16:51:46]req_shift_opened done [16:51:46]requested_item shift.open_date is exist - process it [16:51:46]req_shift_open_date [16:51:46]req_shift_open_date done [16:51:46]produce_requested_data done [16:51:46]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32650,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [16:51:46]process_action_free close_receipt [16:51:46]json_value_free [16:51:46]json_value_free done [16:51:46]process_json_proto returns [16:51:46]Send response to host [16:51:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32650,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [16:51:46]free response buf [16:51:46]execute_script done [16:51:46]execute_script returns [16:51:46]free content buf [16:51:46]Sock 7.Close socket [16:51:46]Sock 7.Thread stoped [16:51:50]OFD Sender: No OFD packet to send [16:51:55]OFD Sender: No OFD packet to send [16:52:00]OFD Sender: No OFD packet to send [16:52:05]OFD Sender: No OFD packet to send [16:52:10]OFD Sender: No OFD packet to send [16:52:15]OFD Sender: No OFD packet to send [16:52:20]OFD Sender: No OFD packet to send [16:52:25]OFD Sender: No OFD packet to send [16:52:30]OFD Sender: No OFD packet to send [16:52:35]OFD Sender: No OFD packet to send [16:52:40]OFD Sender: No OFD packet to send [16:52:45]OFD Sender: No OFD packet to send [16:52:50]OFD Sender: No OFD packet to send [16:52:55]OFD Sender: No OFD packet to send [16:53:00]OFD Sender: No OFD packet to send [16:53:05]OFD Sender: No OFD packet to send [16:53:10]OFD Sender: No OFD packet to send [16:53:15]OFD Sender: No OFD packet to send [16:53:20]OFD Sender: No OFD packet to send [16:53:25]OFD Sender: No OFD packet to send [16:53:30]OFD Sender: No OFD packet to send [16:53:35]OFD Sender: No OFD packet to send [16:53:40]OFD Sender: No OFD packet to send [16:53:45]OFD Sender: No OFD packet to send [16:53:50]OFD Sender: No OFD packet to send [16:53:55]OFD Sender: No OFD packet to send [16:54:00]OFD Sender: No OFD packet to send [16:54:05]OFD Sender: No OFD packet to send [16:54:10]OFD Sender: No OFD packet to send [16:54:15]OFD Sender: No OFD packet to send [16:54:20]OFD Sender: No OFD packet to send [16:54:25]OFD Sender: No OFD packet to send [16:54:30]OFD Sender: No OFD packet to send [16:54:35]OFD Sender: No OFD packet to send [16:54:40]OFD Sender: No OFD packet to send [16:54:45]OFD Sender: No OFD packet to send [16:54:50]OFD Sender: No OFD packet to send [16:54:55]OFD Sender: No OFD packet to send [16:55:00]OFD Sender: No OFD packet to send [16:55:05]OFD Sender: No OFD packet to send [16:55:10]OFD Sender: No OFD packet to send [16:55:15]OFD Sender: No OFD packet to send [16:55:20]OFD Sender: No OFD packet to send [16:55:25]OFD Sender: No OFD packet to send [16:55:30]OFD Sender: No OFD packet to send [16:55:35]OFD Sender: No OFD packet to send [16:55:40]OFD Sender: No OFD packet to send [16:55:45]OFD Sender: No OFD packet to send [16:55:51]OFD Sender: No OFD packet to send [16:55:56]OFD Sender: No OFD packet to send [16:56:01]OFD Sender: No OFD packet to send [16:56:06]OFD Sender: No OFD packet to send [16:56:11]OFD Sender: No OFD packet to send [16:56:16]OFD Sender: No OFD packet to send [16:56:21]OFD Sender: No OFD packet to send [16:56:26]OFD Sender: No OFD packet to send [16:56:31]OFD Sender: No OFD packet to send [16:56:36]OFD Sender: No OFD packet to send [16:56:41]OFD Sender: No OFD packet to send [16:56:46]OFD Sender: No OFD packet to send [16:56:51]OFD Sender: No OFD packet to send [16:56:56]OFD Sender: No OFD packet to send [16:57:01]OFD Sender: No OFD packet to send [16:57:06]OFD Sender: No OFD packet to send [16:57:11]OFD Sender: No OFD packet to send [16:57:16]OFD Sender: No OFD packet to send [16:57:21]OFD Sender: No OFD packet to send [16:57:26]OFD Sender: No OFD packet to send [16:57:31]OFD Sender: No OFD packet to send [16:57:36]OFD Sender: No OFD packet to send [16:57:41]OFD Sender: No OFD packet to send [16:57:46]OFD Sender: No OFD packet to send [16:57:51]OFD Sender: No OFD packet to send [16:57:56]OFD Sender: No OFD packet to send [16:58:01]OFD Sender: No OFD packet to send [16:58:06]OFD Sender: No OFD packet to send [16:58:11]OFD Sender: No OFD packet to send [16:58:16]OFD Sender: No OFD packet to send [16:58:21]OFD Sender: No OFD packet to send [16:58:26]OFD Sender: No OFD packet to send [16:58:31]OFD Sender: No OFD packet to send [16:58:36]OFD Sender: No OFD packet to send [16:58:41]OFD Sender: No OFD packet to send [16:58:46]OFD Sender: No OFD packet to send [16:58:51]OFD Sender: No OFD packet to send [16:58:56]OFD Sender: No OFD packet to send [16:59:01]OFD Sender: No OFD packet to send [16:59:06]OFD Sender: No OFD packet to send [16:59:11]OFD Sender: No OFD packet to send [16:59:16]OFD Sender: No OFD packet to send [16:59:21]OFD Sender: No OFD packet to send [16:59:26]OFD Sender: No OFD packet to send [16:59:31]OFD Sender: No OFD packet to send [16:59:36]OFD Sender: No OFD packet to send [16:59:41]OFD Sender: No OFD packet to send [16:59:46]OFD Sender: No OFD packet to send [16:59:51]OFD Sender: No OFD packet to send [16:59:56]OFD Sender: No OFD packet to send [17:00:01]OFD Sender: No OFD packet to send [17:00:06]OFD Sender: No OFD packet to send [17:00:11]OFD Sender: No OFD packet to send [17:00:16]OFD Sender: No OFD packet to send [17:00:21]OFD Sender: No OFD packet to send [17:00:26]OFD Sender: No OFD packet to send [17:00:31]OFD Sender: No OFD packet to send [17:00:36]OFD Sender: No OFD packet to send [17:00:41]OFD Sender: No OFD packet to send [17:00:46]OFD Sender: No OFD packet to send [17:00:51]OFD Sender: No OFD packet to send [17:00:56]OFD Sender: No OFD packet to send [17:01:01]OFD Sender: No OFD packet to send [17:01:06]OFD Sender: No OFD packet to send [17:01:11]OFD Sender: No OFD packet to send [17:01:16]OFD Sender: No OFD packet to send [17:01:21]OFD Sender: No OFD packet to send [17:01:26]OFD Sender: No OFD packet to send [17:01:31]OFD Sender: No OFD packet to send [17:01:36]OFD Sender: No OFD packet to send [17:01:41]OFD Sender: No OFD packet to send [17:01:46]OFD Sender: No OFD packet to send [17:01:51]OFD Sender: No OFD packet to send [17:01:56]OFD Sender: No OFD packet to send [17:02:01]OFD Sender: No OFD packet to send [17:02:06]OFD Sender: No OFD packet to send [17:02:11]OFD Sender: No OFD packet to send [17:02:16]OFD Sender: No OFD packet to send [17:02:21]OFD Sender: No OFD packet to send [17:02:26]OFD Sender: No OFD packet to send [17:02:31]OFD Sender: No OFD packet to send [17:02:36]OFD Sender: No OFD packet to send [17:02:41]OFD Sender: No OFD packet to send [17:02:46]OFD Sender: No OFD packet to send [17:02:51]OFD Sender: No OFD packet to send [17:02:56]OFD Sender: No OFD packet to send [17:03:01]OFD Sender: No OFD packet to send [17:03:06]OFD Sender: No OFD packet to send [17:03:11]OFD Sender: No OFD packet to send [17:03:16]OFD Sender: No OFD packet to send [17:03:21]OFD Sender: No OFD packet to send [17:03:26]OFD Sender: No OFD packet to send [17:03:31]OFD Sender: No OFD packet to send [17:03:36]OFD Sender: No OFD packet to send [17:03:41]OFD Sender: No OFD packet to send [17:03:46]OFD Sender: No OFD packet to send [17:03:51]OFD Sender: No OFD packet to send [17:03:56]OFD Sender: No OFD packet to send [17:04:01]OFD Sender: No OFD packet to send [17:04:06]OFD Sender: No OFD packet to send [17:04:11]OFD Sender: No OFD packet to send [17:04:16]OFD Sender: No OFD packet to send [17:04:21]OFD Sender: No OFD packet to send [17:04:26]OFD Sender: No OFD packet to send [17:04:31]OFD Sender: No OFD packet to send [17:04:36]OFD Sender: No OFD packet to send [17:04:41]OFD Sender: No OFD packet to send [17:04:46]OFD Sender: No OFD packet to send [17:04:51]OFD Sender: No OFD packet to send [17:04:56]OFD Sender: No OFD packet to send [17:05:01]OFD Sender: No OFD packet to send [17:05:06]OFD Sender: No OFD packet to send [17:05:11]OFD Sender: No OFD packet to send [17:05:16]OFD Sender: No OFD packet to send [17:05:21]OFD Sender: No OFD packet to send [17:05:26]OFD Sender: No OFD packet to send [17:05:31]OFD Sender: No OFD packet to send [17:05:36]OFD Sender: No OFD packet to send [17:05:41]OFD Sender: No OFD packet to send [17:05:46]OFD Sender: No OFD packet to send [17:05:51]OFD Sender: No OFD packet to send [17:05:56]OFD Sender: No OFD packet to send [17:06:01]OFD Sender: No OFD packet to send [17:06:06]OFD Sender: No OFD packet to send [17:06:11]OFD Sender: No OFD packet to send [17:06:16]OFD Sender: No OFD packet to send [17:06:21]OFD Sender: No OFD packet to send [17:06:26]OFD Sender: No OFD packet to send [17:06:31]OFD Sender: No OFD packet to send [17:06:36]OFD Sender: No OFD packet to send [17:06:41]OFD Sender: No OFD packet to send [17:06:46]OFD Sender: No OFD packet to send [17:06:51]OFD Sender: No OFD packet to send [17:06:56]OFD Sender: No OFD packet to send [17:07:01]OFD Sender: No OFD packet to send [17:07:06]OFD Sender: No OFD packet to send [17:07:11]OFD Sender: No OFD packet to send [17:07:16]OFD Sender: No OFD packet to send [17:07:21]OFD Sender: No OFD packet to send [17:07:26]OFD Sender: No OFD packet to send [17:07:31]OFD Sender: No OFD packet to send [17:07:36]OFD Sender: No OFD packet to send [17:07:41]OFD Sender: No OFD packet to send [17:07:46]OFD Sender: No OFD packet to send [17:07:51]OFD Sender: No OFD packet to send [17:07:56]OFD Sender: No OFD packet to send [17:08:01]OFD Sender: No OFD packet to send [17:08:06]OFD Sender: No OFD packet to send [17:08:11]OFD Sender: No OFD packet to send [17:08:12]accept exits with 10 [17:08:12]New connection [17:08:12]New thread 3067473252 created [17:08:12]Thread 3067329892 joined [17:08:12]Waiting for new connection... [17:08:12] Sock 10.Parse request [17:08:12]Sock 10.Check first char [17:08:12]Sock 10.First char is OK [17:08:12]request: POST /json_proto HTTP/1.0 [17:08:12]Method: POST [17:08:12]URL: /json_proto [17:08:12]Method is POST - this is cgi request [17:08:12]url: /json_proto [17:08:12]query_string will be loaded in cgi processing [17:08:12]execute_cgi json_proto POST (null) [17:08:12]execute_cgi path=json_proto method=POST [17:08:12]POST find Content-Length [17:08:12]Host: 172.17.47.135:8080 [17:08:12]Content-Length: 626 [17:08:12]Content-Type: application/json [17:08:12] [17:08:12]POST finish read [17:08:12]Found Content-Length = 626 [17:08:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130856", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 169.00, "quantity" : 1.000, "sum" : 169.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 169.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:08:12]execute_script... [17:08:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130856", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "price" : 169.00, "quantity" : 1.000, "sum" : 169.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 169.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:08:12]POST & json_proto [17:08:12]process_json_proto [17:08:12]json parsed OK: [17:08:12]protocol is kg_v1.0 [17:08:12]action value=close_receipt [17:08:12]process_action close_receipt [17:08:12]cmd_close_receipt [17:08:12]MH_GetDate [17:08:12]Write to MH i2c: F0 00 00 C5 04 B8 [17:08:12]Write i2c OK [17:08:12]MH_I2C_Read... [17:08:12]Read from MH i2c: F0 [17:08:12]MH_I2C_Read... [17:08:12]Read from MH i2c: F0 09 00 [17:08:12]MH_I2C_Read... [17:08:12]Read from MH i2c: F0 09 00 C5 04 00 FE B2 B8 67 19 D8 DE 66 C5 [17:08:12]GetLastDocTimeStamp 1740156704 [17:08:12]current date 1740157694 [17:08:12]FM_GetShiftState [17:08:12]SAM_PROTO_GetShiftState [17:08:12]wFMCommunicate request_size=4 [17:08:12]MH_SAM_APDU [17:08:12]CAPDU: 80 13 01 00 [17:08:12]Write to MH i2c: E2 08 00 C6 04 80 13 01 00 00 00 00 00 47 [17:08:12]Write i2c OK [17:08:12]MH_I2C_Read... [17:08:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:08:12]Read from MH i2c: E2 [17:08:12]MH_I2C_Read... [17:08:12]Read from MH i2c: E2 0E 00 [17:08:12]MH_I2C_Read... [17:08:12]Read from MH i2c: E2 0E 00 C6 04 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 AC [17:08:12]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [17:08:12]wFMCommunicate OK [17:08:12]SAM_PROTO_GetShiftState done [17:08:12]FM_GetShiftState done [17:08:12]opened in 1740096631 [17:08:12]opened+sec_in_day 1740183031 [17:08:12]quantity*price = 16900 [17:08:12]sum+1 = 16901 [17:08:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 169.00 НСП 1% : 1.50 НДС 12% : 17.95 Наличными: 169.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 39 21.02.2025 17:08 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32651 ФПД: 104088975911794 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T170814&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32651&fm=104088975911794&tin=02508201610067®Number=0000000000146237&sum=16900 0 [17:08:14]StoreToDocumentArchive [17:08:14]shift 386 fd 32651 [17:08:14]save to /storage/0386/doc_00032651 [17:08:14]save last doc name /storage/0386/doc_00032651 to /storage/kkm_last_doc_name [17:08:14]save OK [17:08:14]Clear old archive folders... [17:08:14]ProcessDocumentItem done err = 0, tmpTLVsize=278 [17:08:14]tlvbuf is 00802750 [17:08:14]SAM_PROTO_ClearQueue [17:08:14]wFMCommunicate request_size=4 [17:08:14]MH_SAM_APDU [17:08:14]CAPDU: 80 09 00 00 [17:08:14]Write to MH i2c: E2 08 00 D3 04 80 09 00 00 00 00 00 00 49 [17:08:14]Write i2c OK [17:08:14]MH_I2C_Read... [17:08:14]Read from MH i2c: E2 [17:08:14]MH_I2C_Read... [17:08:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:08:14]Read from MH i2c: E2 03 00 [17:08:14]MH_I2C_Read... [17:08:14]Read from MH i2c: E2 03 00 D3 04 00 90 00 4B [17:08:14]RAPDU: 90 00 [17:08:14]wFMCommunicate OK [17:08:14]SAM_PROTO_ClearQueue done [17:08:14]KKMCreateOFDPacket [17:08:14]OFDProtocolAddRootSTLVToBuf [17:08:14]FM_MakeSignedData [17:08:14]FM_MakeSignedData [17:08:14]SAM_PROTO_SignData [17:08:14]wFMCommunicate request_size=4 [17:08:14]MH_SAM_APDU [17:08:14]CAPDU: 80 0D 01 02 [17:08:14]Write to MH i2c: E2 08 00 D4 04 80 0D 01 02 00 00 00 00 51 [17:08:14]Write i2c OK [17:08:14]MH_I2C_Read... [17:08:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:08:14]Read from MH i2c: E2 [17:08:14]MH_I2C_Read... [17:08:14]Read from MH i2c: E2 03 00 [17:08:14]MH_I2C_Read... [17:08:14]Read from MH i2c: E2 03 00 D4 04 00 90 00 4C [17:08:14]RAPDU: 90 00 [17:08:14]wFMCommunicate OK [17:08:14]wFMCommunicate request_size=255 [17:08:14]MH_SAM_APDU [17:08:14]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 42 00 00 00 00 13 04 06 00 04 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 07 00 00 00 00 07 04 06 00 04 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 FE B2 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 [17:08:14]Write to MH i2c: E2 02 01 D5 04 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 42 00 00 00 00 13 04 06 00 04 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 07 00 00 00 00 07 04 06 00 04 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 FE B2 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 00 00 99 [17:08:14]Write i2c OK [17:08:14]MH_I2C_Read... [17:08:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:08:14]Read from MH i2c: E2 [17:08:14]MH_I2C_Read... [17:08:14]Read from MH i2c: E2 03 00 [17:08:14]MH_I2C_Read... [17:08:14]Read from MH i2c: E2 03 00 D5 04 00 90 00 4D [17:08:14]RAPDU: 90 00 [17:08:14]wFMCommunicate OK [17:08:14]wFMCommunicate request_size=37 [17:08:14]MH_SAM_APDU [17:08:14]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8B 7F 00 00 35 04 06 00 5E AB 1A 6F 2B 72 [17:08:14]Write to MH i2c: E2 28 00 D6 04 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8B 7F 00 00 35 04 06 00 5E AB 1A 6F 2B 72 00 00 E7 [17:08:14]Write i2c OK [17:08:14]MH_I2C_Read... [17:08:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:08:14]Read from MH i2c: E2 [17:08:14]MH_I2C_Read... [17:08:14]Read from MH i2c: E2 03 00 [17:08:14]MH_I2C_Read... [17:08:14]Read from MH i2c: E2 03 00 D6 04 00 90 00 4E [17:08:14]RAPDU: 90 00 [17:08:14]wFMCommunicate OK [17:08:14]wFMCommunicate request_size=4 [17:08:14]MH_SAM_APDU [17:08:14]CAPDU: 80 0D 03 02 [17:08:14]Write to MH i2c: E2 08 00 D7 04 80 0D 03 02 00 00 00 00 56 [17:08:14]Write i2c OK [17:08:14]MH_I2C_Read... [17:08:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:08:14]Read from MH i2c: E2 [17:08:14]MH_I2C_Read... [17:08:14]Read from MH i2c: E2 0B 00 [17:08:14]MH_I2C_Read... [17:08:14]Read from MH i2c: E2 0B 00 D7 04 00 08 A0 82 D5 1E A3 26 A7 90 00 E4 [17:08:14]RAPDU: 08 A0 82 D5 1E A3 26 A7 90 00 [17:08:14]wFMCommunicate OK [17:08:14]SAM_PROTO_SignData done [17:08:14]FM_MakeSignedData done [17:08:14]CreateOFDProtocolMessage [17:08:14]wFMCommunicate request_size=4 [17:08:14]MH_SAM_APDU [17:08:14]CAPDU: 80 11 00 00 [17:08:14]Write to MH i2c: E2 08 00 D8 04 80 11 00 00 00 00 00 00 56 [17:08:14]Write i2c OK [17:08:14]MH_I2C_Read... [17:08:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:08:14]Read from MH i2c: E2 [17:08:14]MH_I2C_Read... [17:08:14]Read from MH i2c: E2 17 00 [17:08:14]MH_I2C_Read... [17:08:14]Read from MH i2c: E2 17 00 D8 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 AC [17:08:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:08:14]wFMCommunicate OK [17:08:14]CreateOFDProtocolMessage done [17:08:14]OFDSenderStorePacket 32651 [17:08:14]StoreOFDPacket docnum=32651 [17:08:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2A 01 00 00 4C DA 22 01 0D 75 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 42 00 00 00 00 13 04 06 00 04 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 07 00 00 00 00 07 04 06 00 04 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 FE B2 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8B 7F 00 00 35 04 06 00 5E AB 1A 6F 2B 72 08 A0 82 D5 1E A3 26 A7 [17:08:14]CheckFolder [17:08:14]dirname=/storage/ofd_packets [17:08:14]CheckFolder done [17:08:14]ProducePacketName [17:08:14]name=ofd_packets/00032651 [17:08:14]NVStorageSaveData ofd_packets/00032651 [17:08:14]File name is /storage/ofd_packets/00032651 [17:08:14]Write 328 bytes [17:08:14]NVStorageSaveData done [17:08:14]OFDSenderStorePacket done [17:08:14]KKMCreateOFDPacket done [17:08:14]NVStorageSaveData kkm_last_timestamp [17:08:14]File name is /storage/kkm_last_timestamp [17:08:14]Write 4 bytes [17:08:14]NVStorageSaveData done [17:08:14]ExternCall_PrintAddStr [17:08:14]wPrintStart [17:08:14]Write to MH i2c: 01 00 00 D9 04 DD [17:08:14]Write i2c OK [17:08:14]MH_I2C_Read... [17:08:14]Read from MH i2c: 01 [17:08:14]MH_I2C_Read... [17:08:14]Read from MH i2c: 01 07 00 [17:08:14]MH_I2C_Read... [17:08:14]Read from MH i2c: 01 07 00 D9 04 00 00 00 00 00 FF 0F F2 [17:08:14]RasterBufferAndPrint [17:08:14]line Счет N : (3)130856 [17:08:14]line ИНН: 02508201610067 [17:08:14]line Контрольно-Кассовый Чек [17:08:14]line ПРОДАЖА [17:08:14]line Товар: 4640030092499 [17:08:14]line Сигареты ESSE SENSE Himalaya [17:08:14]line 1.000 * 169.00 [17:08:14]line = 169.00 [17:08:14]line НДС 12% НСП 1% [17:08:14]line > о реализуемом товаре [17:08:14]line ИТОГО: 169.00 [17:08:14]line НСП 1% : 1.50 [17:08:14]line НДС 12% : 17.95 [17:08:14]line Наличными: 169.00 [17:08:14]line Безнал.: 0.00 [17:08:14]line Место: АЗС № 96 "Партнер Нефть" [17:08:14]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [17:08:14]line СНО: Общий режим [17:08:14]line Чек 39 21.02.2025 17:08 [17:08:14]line Смена: 386 ФФД: 1.0 [17:08:14]line ЗНМ: 0300000059 [17:08:14]line РНМ: 0000000000146237 [17:08:14]line Версия ККМ: v1.0 [17:08:14]line ФМ: 0000000000959282 [17:08:14]line ФД: 32651 [17:08:14]line ФПД: 104088975911794 [17:08:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T170814&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32651&fm=104088975911794&tin=02508201610067®Number=0000000000146237&sum=16900 [17:08:14]line 0 [17:08:14]OFD Sender: Processing packet 32651 [packets to send 105, broken 104] [17:08:14]ProducePacketName [17:08:14]name=ofd_packets/00032651 [17:08:14]OFD Sender: To server: pG, [17:08:14]CommunicateWithHost lk.salyk.kg:30040 [17:08:14]ConnectInit lk.salyk.kg [17:08:14]written 0, free lines is 4095 [17:08:15]Write to MH i2c: 01 00 00 02 05 07 [17:08:15]Write i2c OK [17:08:15]MH_I2C_Read... [17:08:15]Read from MH i2c: 01 [17:08:15]MH_I2C_Read... [17:08:15]Read from MH i2c: 01 07 00 [17:08:15]MH_I2C_Read... [17:08:15]Read from MH i2c: 01 07 00 02 05 00 00 00 00 00 F6 0C 10 [17:08:15]RasterBufferAndPrint [17:08:15]line [17:08:15]line [17:08:15]line [17:08:15]line [17:08:15]line [17:08:15]written 0, free lines is 3325 [17:08:15]MH_Cut [17:08:15]Write to MH i2c: D1 01 00 09 05 01 E0 [17:08:15]Write i2c OK [17:08:15]MH_I2C_Read... [17:08:15]Read from MH i2c: D1 [17:08:15]MH_I2C_Read... [17:08:15]Read from MH i2c: D1 01 00 [17:08:15]MH_I2C_Read... [17:08:15]Read from MH i2c: D1 01 00 09 05 00 DF [17:08:15]Write to MH i2c: 01 00 00 0A 05 0F [17:08:15]Write i2c OK [17:08:15]MH_I2C_Read... [17:08:16]*** Cut start [17:08:16]*** Partial cut [17:08:16]*** CUTSNS_PIN = 1 [17:08:16]*** CUTSNS_PIN = 0 [17:08:16]*** Brake cut motor [17:08:16]Read from MH i2c: 01 [17:08:16]MH_I2C_Read... [17:08:16]*** Stop cut motor [17:08:16]*** Cut end [17:08:16]Read from MH i2c: 01 07 00 [17:08:16]MH_I2C_Read... [17:08:16]Read from MH i2c: 01 07 00 0A 05 00 00 00 00 00 FF 0F 24 [17:08:16]process_action close_receipt done [17:08:16]requested_data is exist [17:08:16]produce_requested_data [17:08:16]requested_item fm.sn is exist - process it [17:08:16]wFMCommunicate request_size=4 [17:08:16]MH_SAM_APDU [17:08:16]CAPDU: 80 11 00 00 [17:08:16]Write to MH i2c: E2 08 00 0B 05 80 11 00 00 00 00 00 00 8A [17:08:16]Write i2c OK [17:08:16]MH_I2C_Read... [17:08:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:08:16]Read from MH i2c: E2 [17:08:16]MH_I2C_Read... [17:08:16]Read from MH i2c: E2 17 00 [17:08:16]MH_I2C_Read... [17:08:16]Read from MH i2c: E2 17 00 0B 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 E0 [17:08:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:08:16]wFMCommunicate OK [17:08:16]requested_item fd.num is exist - process it [17:08:16]SAM_PROTO_GetFieldsCounters [17:08:16]wFMCommunicate request_size=4 [17:08:16]MH_SAM_APDU [17:08:16]CAPDU: 80 13 00 00 [17:08:16]Write to MH i2c: E2 08 00 0C 05 80 13 00 00 00 00 00 00 8D [17:08:16]Write i2c OK [17:08:16]MH_I2C_Read... [17:08:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:08:16]Read from MH i2c: E2 [17:08:16]MH_I2C_Read... [17:08:16]Read from MH i2c: E2 62 00 [17:08:16]MH_I2C_Read... [17:08:16]Read from MH i2c: E2 62 00 0C 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 8B 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 B1 [17:08:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 8B 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:08:16]wFMCommunicate OK [17:08:16]SAM_PROTO_GetFieldsCounters done [17:08:16]requested_item shift.num is exist - process it [17:08:16]requested_item shift.opened is exist - process it [17:08:16]req_shift_opened [17:08:16]FM_GetShiftState [17:08:16]SAM_PROTO_GetShiftState [17:08:16]wFMCommunicate request_size=4 [17:08:16]MH_SAM_APDU [17:08:16]CAPDU: 80 13 01 00 [17:08:16]Write to MH i2c: E2 08 00 0D 05 80 13 01 00 00 00 00 00 8F [17:08:16]Write i2c OK [17:08:16]MH_I2C_Read... [17:08:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:08:16]Read from MH i2c: E2 [17:08:16]MH_I2C_Read... [17:08:16]Read from MH i2c: E2 0E 00 [17:08:16]MH_I2C_Read... [17:08:16]Read from MH i2c: E2 0E 00 0D 05 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 F4 [17:08:16]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [17:08:16]wFMCommunicate OK [17:08:16]SAM_PROTO_GetShiftState done [17:08:16]FM_GetShiftState done [17:08:16]req_shift_opened done [17:08:16]requested_item shift.open_date is exist - process it [17:08:16]req_shift_open_date [17:08:16]req_shift_open_date done [17:08:16]produce_requested_data done [17:08:16]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32651,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [17:08:16]process_action_free close_receipt [17:08:16]json_value_free [17:08:16]json_value_free done [17:08:16]process_json_proto returns [17:08:16]Send response to host [17:08:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32651,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [17:08:16]free response buf [17:08:16]execute_script done [17:08:16]execute_script returns [17:08:16]free content buf [17:08:16]Sock 10.Close socket [17:08:16]Sock 10.Thread stoped [17:08:45]accept exits with 7 [17:08:45]New connection [17:08:45]New thread 3067329892 created [17:08:45]Thread 3067473252 joined [17:08:45]Waiting for new connection... [17:08:45] Sock 7.Parse request [17:08:45]Sock 7.Check first char [17:08:45]Sock 7.First char is OK [17:08:45]request: POST /json_proto HTTP/1.0 [17:08:45]Method: POST [17:08:45]URL: /json_proto [17:08:45]Method is POST - this is cgi request [17:08:45]url: /json_proto [17:08:45]query_string will be loaded in cgi processing [17:08:45]execute_cgi json_proto POST (null) [17:08:45]execute_cgi path=json_proto method=POST [17:08:45]POST find Content-Length [17:08:45]Host: 172.17.47.135:8080 [17:08:45]Content-Length: 728 [17:08:45]Content-Type: application/json [17:08:45] [17:08:45]POST finish read [17:08:45]Found Content-Length = 728 [17:08:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130857", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:08:45]execute_script... [17:08:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130857", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:08:45]POST & json_proto [17:08:45]process_json_proto [17:08:45]json parsed OK: [17:08:45]protocol is kg_v1.0 [17:08:45]action value=close_receipt [17:08:45]process_action close_receipt [17:08:45]cmd_close_receipt [17:08:45]MH_GetDate [17:08:45]Write to MH i2c: F0 00 00 0E 05 02 [17:08:45]Write i2c OK [17:08:45]MH_I2C_Read... [17:08:45]Read from MH i2c: F0 [17:08:45]MH_I2C_Read... [17:08:45]Read from MH i2c: F0 09 00 [17:08:45]MH_I2C_Read... [17:08:45]Read from MH i2c: F0 09 00 0E 05 00 1F B3 B8 67 19 D8 DE 66 31 [17:08:45]GetLastDocTimeStamp 1740157694 [17:08:45]current date 1740157727 [17:08:45]FM_GetShiftState [17:08:45]SAM_PROTO_GetShiftState [17:08:45]wFMCommunicate request_size=4 [17:08:45]MH_SAM_APDU [17:08:45]CAPDU: 80 13 01 00 [17:08:45]Write to MH i2c: E2 08 00 0F 05 80 13 01 00 00 00 00 00 91 [17:08:45]Write i2c OK [17:08:45]MH_I2C_Read... [17:08:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:08:45]Read from MH i2c: E2 [17:08:45]MH_I2C_Read... [17:08:45]Read from MH i2c: E2 0E 00 [17:08:45]MH_I2C_Read... [17:08:45]Read from MH i2c: E2 0E 00 0F 05 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 F6 [17:08:45]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [17:08:45]wFMCommunicate OK [17:08:45]SAM_PROTO_GetShiftState done [17:08:45]FM_GetShiftState done [17:08:45]opened in 1740096631 [17:08:45]opened+sec_in_day 1740183031 [17:08:45]quantity*price = 12000 [17:08:45]sum+1 = 12001 [17:08:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 40 21.02.2025 17:08 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32652 ФПД: 26408965166821 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T170847&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32652&fm=26408965166821&tin=02508201610067®Number=0000000000146237&sum=12000 0 [17:08:46]StoreToDocumentArchive [17:08:46]shift 386 fd 32652 [17:08:47]save to /storage/0386/doc_00032652 [17:08:47]save last doc name /storage/0386/doc_00032652 to /storage/kkm_last_doc_name [17:08:47]save OK [17:08:47]Clear old archive folders... [17:08:47]ProcessDocumentItem done err = 0, tmpTLVsize=308 [17:08:47]tlvbuf is 0080F190 [17:08:47]SAM_PROTO_ClearQueue [17:08:47]wFMCommunicate request_size=4 [17:08:47]MH_SAM_APDU [17:08:47]CAPDU: 80 09 00 00 [17:08:47]Write to MH i2c: E2 08 00 1C 05 80 09 00 00 00 00 00 00 93 [17:08:47]Write i2c OK [17:08:47]MH_I2C_Read... [17:08:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:08:47]Read from MH i2c: E2 [17:08:47]MH_I2C_Read... [17:08:47]Read from MH i2c: E2 03 00 [17:08:47]MH_I2C_Read... [17:08:47]Read from MH i2c: E2 03 00 1C 05 00 90 00 95 [17:08:47]RAPDU: 90 00 [17:08:47]wFMCommunicate OK [17:08:47]SAM_PROTO_ClearQueue done [17:08:47]KKMCreateOFDPacket [17:08:47]OFDProtocolAddRootSTLVToBuf [17:08:47]FM_MakeSignedData [17:08:47]FM_MakeSignedData [17:08:47]SAM_PROTO_SignData [17:08:47]wFMCommunicate request_size=4 [17:08:47]MH_SAM_APDU [17:08:47]CAPDU: 80 0D 01 02 [17:08:47]Write to MH i2c: E2 08 00 1D 05 80 0D 01 02 00 00 00 00 9B [17:08:47]Write i2c OK [17:08:47]MH_I2C_Read... [17:08:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:08:47]Read from MH i2c: E2 [17:08:47]MH_I2C_Read... [17:08:47]Read from MH i2c: E2 03 00 [17:08:47]MH_I2C_Read... [17:08:47]Read from MH i2c: E2 03 00 1D 05 00 90 00 96 [17:08:47]RAPDU: 90 00 [17:08:47]wFMCommunicate OK [17:08:47]wFMCommunicate request_size=255 [17:08:47]MH_SAM_APDU [17:08:47]CAPDU: 80 0D 02 02 FA 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 1F B3 B8 67 0E 04 04 00 82 01 00 00 B9 [17:08:47]Write to MH i2c: E2 02 01 1E 05 80 0D 02 02 FA 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 1F B3 B8 67 0E 04 04 00 82 01 00 00 B9 00 00 67 [17:08:47]Write i2c OK [17:08:47]MH_I2C_Read... [17:08:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:08:47]Read from MH i2c: E2 [17:08:47]MH_I2C_Read... [17:08:47]Read from MH i2c: E2 03 00 [17:08:47]MH_I2C_Read... [17:08:47]Read from MH i2c: E2 03 00 1E 05 00 90 00 97 [17:08:47]RAPDU: 90 00 [17:08:47]wFMCommunicate OK [17:08:47]wFMCommunicate request_size=67 [17:08:47]MH_SAM_APDU [17:08:47]CAPDU: 80 0D 02 02 3E 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8C 7F 00 00 35 04 06 00 18 04 D0 FC D6 E5 [17:08:47]Write to MH i2c: E2 46 00 1F 05 80 0D 02 02 3E 00 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8C 7F 00 00 35 04 06 00 18 04 D0 FC D6 E5 00 00 A5 [17:08:47]Write i2c OK [17:08:47]MH_I2C_Read... [17:08:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:08:47]Read from MH i2c: E2 [17:08:47]MH_I2C_Read... [17:08:47]Read from MH i2c: E2 03 00 [17:08:47]MH_I2C_Read... [17:08:47]Read from MH i2c: E2 03 00 1F 05 00 90 00 98 [17:08:47]RAPDU: 90 00 [17:08:47]wFMCommunicate OK [17:08:47]wFMCommunicate request_size=4 [17:08:47]MH_SAM_APDU [17:08:47]CAPDU: 80 0D 03 02 [17:08:47]Write to MH i2c: E2 08 00 20 05 80 0D 03 02 00 00 00 00 A0 [17:08:47]Write i2c OK [17:08:47]MH_I2C_Read... [17:08:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:08:47]Read from MH i2c: E2 [17:08:47]MH_I2C_Read... [17:08:47]Read from MH i2c: E2 0B 00 [17:08:47]MH_I2C_Read... [17:08:47]Read from MH i2c: E2 0B 00 20 05 00 5A 15 5F F6 B4 1C EA 21 90 00 40 [17:08:47]RAPDU: 5A 15 5F F6 B4 1C EA 21 90 00 [17:08:47]wFMCommunicate OK [17:08:47]SAM_PROTO_SignData done [17:08:47]FM_MakeSignedData done [17:08:47]CreateOFDProtocolMessage [17:08:47]wFMCommunicate request_size=4 [17:08:47]MH_SAM_APDU [17:08:47]CAPDU: 80 11 00 00 [17:08:47]Write to MH i2c: E2 08 00 21 05 80 11 00 00 00 00 00 00 A0 [17:08:47]Write i2c OK [17:08:47]MH_I2C_Read... [17:08:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:08:47]Read from MH i2c: E2 [17:08:47]MH_I2C_Read... [17:08:47]Read from MH i2c: E2 17 00 [17:08:47]MH_I2C_Read... [17:08:47]Read from MH i2c: E2 17 00 21 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 F6 [17:08:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:08:47]wFMCommunicate OK [17:08:47]CreateOFDProtocolMessage done [17:08:47]OFDSenderStorePacket 32652 [17:08:47]StoreOFDPacket docnum=32652 [17:08:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 48 01 00 00 D0 1B 40 01 21 1A 5A 03 01 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 1F B3 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8C 7F 00 00 35 04 06 00 18 04 D0 FC D6 E5 5A 15 5F F6 B4 1C EA 21 [17:08:47]CheckFolder [17:08:47]dirname=/storage/ofd_packets [17:08:47]CheckFolder done [17:08:47]ProducePacketName [17:08:47]name=ofd_packets/00032652 [17:08:47]NVStorageSaveData ofd_packets/00032652 [17:08:47]File name is /storage/ofd_packets/00032652 [17:08:47]Write 358 bytes [17:08:47]NVStorageSaveData done [17:08:47]OFDSenderStorePacket done [17:08:47]KKMCreateOFDPacket done [17:08:47]NVStorageSaveData kkm_last_timestamp [17:08:47]File name is /storage/kkm_last_timestamp [17:08:47]Write 4 bytes [17:08:47]NVStorageSaveData done [17:08:47]ExternCall_PrintAddStr [17:08:47]wPrintStart [17:08:47]Write to MH i2c: 01 00 00 22 05 27 [17:08:47]Write i2c OK [17:08:47]MH_I2C_Read... [17:08:47]Read from MH i2c: 01 [17:08:47]MH_I2C_Read... [17:08:47]Read from MH i2c: 01 07 00 [17:08:47]MH_I2C_Read... [17:08:47]Read from MH i2c: 01 07 00 22 05 00 00 00 00 00 FF 0F 3C [17:08:47]RasterBufferAndPrint [17:08:47]line Счет N : (3)130857 [17:08:47]line ИНН: 02508201610067 [17:08:47]line Контрольно-Кассовый Чек [17:08:47]line ПРОДАЖА [17:08:47]line Товар: 5449000027474 [17:08:47]line Напиток FuzeTea зел чай манго,ромашка 1л [17:08:47]line 1.000 * 120.00 [17:08:47]line = 120.00 [17:08:47]line НДС 12% НСП 1% [17:08:47]line > о реализуемом товаре [17:08:47]line ИТОГО: 120.00 [17:08:47]line НСП 1% : 1.06 [17:08:47]line НДС 12% : 12.74 [17:08:47]line Наличными: 120.00 [17:08:47]line Безнал.: 0.00 [17:08:47]line Место: АЗС № 96 "Партнер Нефть" [17:08:47]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [17:08:47]line СНО: Общий режим [17:08:47]line Чек 40 21.02.2025 17:08 [17:08:47]line Смена: 386 ФФД: 1.0 [17:08:47]line ЗНМ: 0300000059 [17:08:47]line РНМ: 0000000000146237 [17:08:47]line Версия ККМ: v1.0 [17:08:47]line ФМ: 0000000000959282 [17:08:47]line ФД: 32652 [17:08:47]line ФПД: 26408965166821 [17:08:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T170847&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32652&fm=26408965166821&tin=02508201610067®Number=0000000000146237&sum=12000 [17:08:47]line 0 [17:08:47]written 0, free lines is 4095 [17:08:48]Write to MH i2c: 01 00 00 4B 05 50 [17:08:48]Write i2c OK [17:08:48]MH_I2C_Read... [17:08:48]Read from MH i2c: 01 [17:08:48]MH_I2C_Read... [17:08:48]Read from MH i2c: 01 07 00 [17:08:48]MH_I2C_Read... [17:08:48]Read from MH i2c: 01 07 00 4B 05 00 00 00 00 00 FB 0C 5E [17:08:48]RasterBufferAndPrint [17:08:48]line [17:08:48]line [17:08:48]line [17:08:48]line [17:08:48]line [17:08:48]written 0, free lines is 3330 [17:08:48]MH_Cut [17:08:48]Write to MH i2c: D1 01 00 52 05 01 29 [17:08:48]Write i2c OK [17:08:48]MH_I2C_Read... [17:08:48]Read from MH i2c: D1 [17:08:48]MH_I2C_Read... [17:08:48]Read from MH i2c: D1 01 00 [17:08:48]MH_I2C_Read... [17:08:48]Read from MH i2c: D1 01 00 52 05 00 28 [17:08:48]Write to MH i2c: 01 00 00 53 05 58 [17:08:48]Write i2c OK [17:08:48]MH_I2C_Read... [17:08:48]*** Cut start [17:08:48]*** Partial cut [17:08:48]*** CUTSNS_PIN = 1 [17:08:49]*** CUTSNS_PIN = 0 [17:08:49]*** Brake cut motor [17:08:49]Read from MH i2c: 01 [17:08:49]MH_I2C_Read... [17:08:49]*** Stop cut motor [17:08:49]*** Cut end [17:08:49]Read from MH i2c: 01 07 00 [17:08:49]MH_I2C_Read... [17:08:49]Read from MH i2c: 01 07 00 53 05 00 00 00 00 00 FF 0F 6D [17:08:49]process_action close_receipt done [17:08:49]requested_data is exist [17:08:49]produce_requested_data [17:08:49]requested_item fm.sn is exist - process it [17:08:49]wFMCommunicate request_size=4 [17:08:49]MH_SAM_APDU [17:08:49]CAPDU: 80 11 00 00 [17:08:49]Write to MH i2c: E2 08 00 54 05 80 11 00 00 00 00 00 00 D3 [17:08:49]Write i2c OK [17:08:49]MH_I2C_Read... [17:08:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:08:49]Read from MH i2c: E2 [17:08:49]MH_I2C_Read... [17:08:49]Read from MH i2c: E2 17 00 [17:08:49]MH_I2C_Read... [17:08:49]Read from MH i2c: E2 17 00 54 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 29 [17:08:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:08:49]wFMCommunicate OK [17:08:49]requested_item fd.num is exist - process it [17:08:49]SAM_PROTO_GetFieldsCounters [17:08:49]wFMCommunicate request_size=4 [17:08:49]MH_SAM_APDU [17:08:49]CAPDU: 80 13 00 00 [17:08:49]Write to MH i2c: E2 08 00 55 05 80 13 00 00 00 00 00 00 D6 [17:08:49]Write i2c OK [17:08:49]MH_I2C_Read... [17:08:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:08:49]Read from MH i2c: E2 [17:08:49]MH_I2C_Read... [17:08:49]Read from MH i2c: E2 62 00 [17:08:49]MH_I2C_Read... [17:08:49]Read from MH i2c: E2 62 00 55 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 8C 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 FE [17:08: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 8C 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:08:49]wFMCommunicate OK [17:08:49]SAM_PROTO_GetFieldsCounters done [17:08:49]requested_item shift.num is exist - process it [17:08:49]requested_item shift.opened is exist - process it [17:08:49]req_shift_opened [17:08:49]FM_GetShiftState [17:08:49]SAM_PROTO_GetShiftState [17:08:49]wFMCommunicate request_size=4 [17:08:49]MH_SAM_APDU [17:08:49]CAPDU: 80 13 01 00 [17:08:49]Write to MH i2c: E2 08 00 56 05 80 13 01 00 00 00 00 00 D8 [17:08:49]Write i2c OK [17:08:49]MH_I2C_Read... [17:08:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:08:49]Read from MH i2c: E2 [17:08:49]MH_I2C_Read... [17:08:49]Read from MH i2c: E2 0E 00 [17:08:49]MH_I2C_Read... [17:08:49]Read from MH i2c: E2 0E 00 56 05 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 3D [17:08:49]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [17:08:49]wFMCommunicate OK [17:08:49]SAM_PROTO_GetShiftState done [17:08:49]FM_GetShiftState done [17:08:49]req_shift_opened done [17:08:49]requested_item shift.open_date is exist - process it [17:08:49]req_shift_open_date [17:08:49]req_shift_open_date done [17:08:49]produce_requested_data done [17:08:49]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32652,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [17:08:49]process_action_free close_receipt [17:08:49]json_value_free [17:08:49]json_value_free done [17:08:49]process_json_proto returns [17:08:49]Send response to host [17:08:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32652,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [17:08:49]free response buf [17:08:49]execute_script done [17:08:49]execute_script returns [17:08:49]free content buf [17:08:49]Sock 7.Close socket [17:08:49]Sock 7.Thread stoped [17:10:25]ConnectInit Can't connect to host [17:10:25]CommunicateWithHost connect error [17:10:25]CommunicateWithHost err = -1 [17:10:25]OFD Sender: Server communicate error [17:10:25]OFD Sender: Processing packet 32651 [packets to send 106, broken 104] [17:10:25]ProducePacketName [17:10:25]name=ofd_packets/00032651 [17:10:25]OFD Sender: To server: pG, [17:10:25]CommunicateWithHost lk.salyk.kg:30040 [17:10:25]ConnectInit lk.salyk.kg [17:10:25]Connected sock=7 [17:10: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 32 38 32 2A 01 00 00 4C DA 22 01 0D 75 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 42 00 00 00 00 13 04 06 00 04 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 03 07 00 00 00 00 07 04 06 00 04 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 FE B2 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8B 7F 00 00 35 04 06 00 5E AB 1A 6F 2B 72 08 A0 82 D5 1E A3 26 A7 [17:10:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 82 9B 47 00 85 53 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8B 7F 00 00 F4 03 04 00 17 5D B8 67 B6 04 01 00 00 CB EC 06 79 D3 C6 2A 03 [17:10:25]CommunicateWithHost err = 0 [17:10:25]CheckOFDResponse [17:10:25]1017 (14) - 77093643461234 [17:10:25]1041 (16) - 0000000000959282 [17:10:25]1040 (4) - 32651 [17:10:25]1012 (4) - 21.02.2025 11:01 [17:10:25]1206 (1) - 0 [17:10:25]OFD Sender: Remove packet 32651 [17:10:25]ProducePacketName [17:10:25]name=ofd_packets/00032651 [17:10:25]NVStorageDeleteData [17:10:26]OFD Sender: Processing packet 32652 [packets to send 105, broken 104] [17:10:26]ProducePacketName [17:10:26]name=ofd_packets/00032652 [17:10:26]OFD Sender: To server: pG, [17:10:26]CommunicateWithHost lk.salyk.kg:30040 [17:10:26]ConnectInit lk.salyk.kg [17:10:26]Connected sock=7 [17:10: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 32 38 32 48 01 00 00 D0 1B 40 01 21 1A 5A 03 01 00 03 00 34 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 1F B3 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8C 7F 00 00 35 04 06 00 18 04 D0 FC D6 E5 5A 15 5F F6 B4 1C EA 21 [17:10:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 E0 65 47 00 9F 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 32 38 32 10 04 04 00 8C 7F 00 00 F4 03 04 00 18 5D B8 67 B6 04 01 00 00 FC 12 CA EC 15 8E F6 29 [17:10:26]CommunicateWithHost err = 0 [17:10:26]CheckOFDResponse [17:10:26]1017 (14) - 77093643461234 [17:10:26]1041 (16) - 0000000000959282 [17:10:26]1040 (4) - 32652 [17:10:26]1012 (4) - 21.02.2025 11:01 [17:10:26]1206 (1) - 0 [17:10:26]OFD Sender: Remove packet 32652 [17:10:26]ProducePacketName [17:10:26]name=ofd_packets/00032652 [17:10:26]NVStorageDeleteData [17:10:27]OFD Sender: No OFD packet to send [17:10:32]OFD Sender: No OFD packet to send [17:10:37]OFD Sender: No OFD packet to send [17:10:42]OFD Sender: No OFD packet to send [17:10:47]OFD Sender: No OFD packet to send [17:10:52]OFD Sender: No OFD packet to send [17:10:57]OFD Sender: No OFD packet to send [17:11:02]OFD Sender: No OFD packet to send [17:11:07]OFD Sender: No OFD packet to send [17:11:12]OFD Sender: No OFD packet to send [17:11:17]OFD Sender: No OFD packet to send [17:11:22]OFD Sender: No OFD packet to send [17:11:27]OFD Sender: No OFD packet to send [17:11:32]OFD Sender: No OFD packet to send [17:11:37]OFD Sender: No OFD packet to send [17:11:42]OFD Sender: No OFD packet to send [17:11:47]OFD Sender: No OFD packet to send [17:11:52]OFD Sender: No OFD packet to send [17:11:57]OFD Sender: No OFD packet to send [17:12:02]OFD Sender: No OFD packet to send [17:12:07]OFD Sender: No OFD packet to send [17:12:12]OFD Sender: No OFD packet to send [17:12:17]OFD Sender: No OFD packet to send [17:12:22]OFD Sender: No OFD packet to send [17:12:27]OFD Sender: No OFD packet to send [17:12:32]OFD Sender: No OFD packet to send [17:12:37]OFD Sender: No OFD packet to send [17:12:42]OFD Sender: No OFD packet to send [17:12:47]OFD Sender: No OFD packet to send [17:12:52]OFD Sender: No OFD packet to send [17:12:57]OFD Sender: No OFD packet to send [17:13:02]OFD Sender: No OFD packet to send [17:13:07]OFD Sender: No OFD packet to send [17:13:12]OFD Sender: No OFD packet to send [17:13:17]OFD Sender: No OFD packet to send [17:13:22]OFD Sender: No OFD packet to send [17:13:27]OFD Sender: No OFD packet to send [17:13:32]OFD Sender: No OFD packet to send [17:13:37]OFD Sender: No OFD packet to send [17:13:42]OFD Sender: No OFD packet to send [17:13:47]OFD Sender: No OFD packet to send [17:13:52]OFD Sender: No OFD packet to send [17:13:57]OFD Sender: No OFD packet to send [17:14:02]OFD Sender: No OFD packet to send [17:14:07]OFD Sender: No OFD packet to send [17:14:12]OFD Sender: No OFD packet to send [17:14:17]OFD Sender: No OFD packet to send [17:14:22]OFD Sender: No OFD packet to send [17:14:27]OFD Sender: No OFD packet to send [17:14:32]OFD Sender: No OFD packet to send [17:14:37]OFD Sender: No OFD packet to send [17:14:42]OFD Sender: No OFD packet to send [17:14:47]OFD Sender: No OFD packet to send [17:14:52]OFD Sender: No OFD packet to send [17:14:57]OFD Sender: No OFD packet to send [17:15:02]OFD Sender: No OFD packet to send [17:15:07]OFD Sender: No OFD packet to send [17:15:12]OFD Sender: No OFD packet to send [17:15:17]OFD Sender: No OFD packet to send [17:15:22]OFD Sender: No OFD packet to send [17:15:27]OFD Sender: No OFD packet to send [17:15:32]OFD Sender: No OFD packet to send [17:15:37]OFD Sender: No OFD packet to send [17:15:42]OFD Sender: No OFD packet to send [17:15:47]OFD Sender: No OFD packet to send [17:15:52]OFD Sender: No OFD packet to send [17:15:57]OFD Sender: No OFD packet to send [17:16:02]OFD Sender: No OFD packet to send [17:16:07]OFD Sender: No OFD packet to send [17:16:12]OFD Sender: No OFD packet to send [17:16:17]OFD Sender: No OFD packet to send [17:16:22]OFD Sender: No OFD packet to send [17:16:27]OFD Sender: No OFD packet to send [17:16:32]OFD Sender: No OFD packet to send [17:16:37]OFD Sender: No OFD packet to send [17:16:42]OFD Sender: No OFD packet to send [17:16:47]OFD Sender: No OFD packet to send [17:16:52]OFD Sender: No OFD packet to send [17:16:57]OFD Sender: No OFD packet to send [17:17:02]OFD Sender: No OFD packet to send [17:17:07]OFD Sender: No OFD packet to send [17:17:12]OFD Sender: No OFD packet to send [17:17:17]OFD Sender: No OFD packet to send [17:17:22]OFD Sender: No OFD packet to send [17:17:27]OFD Sender: No OFD packet to send [17:17:32]OFD Sender: No OFD packet to send [17:17:37]OFD Sender: No OFD packet to send [17:17:42]OFD Sender: No OFD packet to send [17:17:47]OFD Sender: No OFD packet to send [17:17:52]OFD Sender: No OFD packet to send [17:17:57]OFD Sender: No OFD packet to send [17:18:02]OFD Sender: No OFD packet to send [17:18:07]OFD Sender: No OFD packet to send [17:18:12]OFD Sender: No OFD packet to send [17:18:17]OFD Sender: No OFD packet to send [17:18:18]accept exits with 10 [17:18:18]New connection [17:18:18]New thread 3067473252 created [17:18:18]Thread 3067329892 joined [17:18:18]Waiting for new connection... [17:18:18] Sock 10.Parse request [17:18:18]Sock 10.Check first char [17:18:18]Sock 10.First char is OK [17:18:18]request: POST /json_proto HTTP/1.0 [17:18:18]Method: POST [17:18:18]URL: /json_proto [17:18:18]Method is POST - this is cgi request [17:18:18]url: /json_proto [17:18:18]query_string will be loaded in cgi processing [17:18:18]execute_cgi json_proto POST (null) [17:18:18]execute_cgi path=json_proto method=POST [17:18:18]POST find Content-Length [17:18:18]Host: 172.17.47.135:8080 [17:18:18]Content-Length: 644 [17:18:18]Content-Type: application/json [17:18:18] [17:18:18]POST finish read [17:18:18]Found Content-Length = 644 [17:18:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130858", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 129.00, "quantity" : 1.000, "sum" : 129.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 129.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:18:18]execute_script... [17:18: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)130858", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 129.00, "quantity" : 1.000, "sum" : 129.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 129.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:18:18]POST & json_proto [17:18:18]process_json_proto [17:18:18]json parsed OK: [17:18:18]protocol is kg_v1.0 [17:18:18]action value=close_receipt [17:18:18]process_action close_receipt [17:18:18]cmd_close_receipt [17:18:18]MH_GetDate [17:18:18]Write to MH i2c: F0 00 00 57 05 4B [17:18:18]Write i2c OK [17:18:18]MH_I2C_Read... [17:18:18]Read from MH i2c: F0 [17:18:18]MH_I2C_Read... [17:18:18]Read from MH i2c: F0 09 00 [17:18:18]MH_I2C_Read... [17:18:18]Read from MH i2c: F0 09 00 57 05 00 5C B5 B8 67 19 D8 DE 66 B9 [17:18:18]GetLastDocTimeStamp 1740157727 [17:18:18]current date 1740158300 [17:18:18]FM_GetShiftState [17:18:18]SAM_PROTO_GetShiftState [17:18:18]wFMCommunicate request_size=4 [17:18:18]MH_SAM_APDU [17:18:18]CAPDU: 80 13 01 00 [17:18:18]Write to MH i2c: E2 08 00 58 05 80 13 01 00 00 00 00 00 DA [17:18:18]Write i2c OK [17:18:18]MH_I2C_Read... [17:18:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:18:18]Read from MH i2c: E2 [17:18:18]MH_I2C_Read... [17:18:18]Read from MH i2c: E2 0E 00 [17:18:18]MH_I2C_Read... [17:18:18]Read from MH i2c: E2 0E 00 58 05 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 3F [17:18:18]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [17:18:18]wFMCommunicate OK [17:18:18]SAM_PROTO_GetShiftState done [17:18:18]FM_GetShiftState done [17:18:18]opened in 1740096631 [17:18:18]opened+sec_in_day 1740183031 [17:18:18]quantity*price = 12900 [17:18:18]sum+1 = 12901 [17:18:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 129.00 НСП 1% : 1.14 НДС 12% : 13.70 Наличными: 129.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 41 21.02.2025 17:18 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32653 ФПД: 51628672105333 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T171820&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32653&fm=51628672105333&tin=02508201610067®Number=0000000000146237&sum=12900 0 [17:18:20]StoreToDocumentArchive [17:18:20]shift 386 fd 32653 [17:18:20]save to /storage/0386/doc_00032653 [17:18:20]save last doc name /storage/0386/doc_00032653 to /storage/kkm_last_doc_name [17:18:20]save OK [17:18:20]Clear old archive folders... [17:18:20]ProcessDocumentItem done err = 0, tmpTLVsize=280 [17:18:20]tlvbuf is 008023B0 [17:18:20]SAM_PROTO_ClearQueue [17:18:20]wFMCommunicate request_size=4 [17:18:20]MH_SAM_APDU [17:18:20]CAPDU: 80 09 00 00 [17:18:20]Write to MH i2c: E2 08 00 65 05 80 09 00 00 00 00 00 00 DC [17:18:20]Write i2c OK [17:18:20]MH_I2C_Read... [17:18:20]Read from MH i2c: E2 [17:18:20]MH_I2C_Read... [17:18:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:18:20]Read from MH i2c: E2 03 00 [17:18:20]MH_I2C_Read... [17:18:20]Read from MH i2c: E2 03 00 65 05 00 90 00 DE [17:18:20]RAPDU: 90 00 [17:18:20]wFMCommunicate OK [17:18:20]SAM_PROTO_ClearQueue done [17:18:20]KKMCreateOFDPacket [17:18:20]OFDProtocolAddRootSTLVToBuf [17:18:20]FM_MakeSignedData [17:18:20]FM_MakeSignedData [17:18:20]SAM_PROTO_SignData [17:18:20]wFMCommunicate request_size=4 [17:18:20]MH_SAM_APDU [17:18:20]CAPDU: 80 0D 01 02 [17:18:20]Write to MH i2c: E2 08 00 66 05 80 0D 01 02 00 00 00 00 E4 [17:18:20]Write i2c OK [17:18:20]MH_I2C_Read... [17:18:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:18:20]Read from MH i2c: E2 [17:18:20]MH_I2C_Read... [17:18:20]Read from MH i2c: E2 03 00 [17:18:20]MH_I2C_Read... [17:18:20]Read from MH i2c: E2 03 00 66 05 00 90 00 DF [17:18:20]RAPDU: 90 00 [17:18:20]wFMCommunicate OK [17:18:20]wFMCommunicate request_size=255 [17:18:20]MH_SAM_APDU [17:18:20]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 5C B5 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 [17:18:20]Write to MH i2c: E2 02 01 67 05 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 5C B5 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 00 00 98 [17:18:20]Write i2c OK [17:18:20]MH_I2C_Read... [17:18:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:18:20]Read from MH i2c: E2 [17:18:20]MH_I2C_Read... [17:18:20]Read from MH i2c: E2 03 00 [17:18:20]MH_I2C_Read... [17:18:20]Read from MH i2c: E2 03 00 67 05 00 90 00 E0 [17:18:20]RAPDU: 90 00 [17:18:20]wFMCommunicate OK [17:18:20]wFMCommunicate request_size=39 [17:18:20]MH_SAM_APDU [17:18:20]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8D 7F 00 00 35 04 06 00 2E F4 BC A9 3B 75 [17:18:20]Write to MH i2c: E2 2A 00 68 05 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8D 7F 00 00 35 04 06 00 2E F4 BC A9 3B 75 00 00 E8 [17:18:20]Write i2c OK [17:18:20]MH_I2C_Read... [17:18:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:18:20]Read from MH i2c: E2 [17:18:20]MH_I2C_Read... [17:18:20]Read from MH i2c: E2 03 00 [17:18:20]MH_I2C_Read... [17:18:20]Read from MH i2c: E2 03 00 68 05 00 90 00 E1 [17:18:20]RAPDU: 90 00 [17:18:20]wFMCommunicate OK [17:18:20]wFMCommunicate request_size=4 [17:18:20]MH_SAM_APDU [17:18:20]CAPDU: 80 0D 03 02 [17:18:20]Write to MH i2c: E2 08 00 69 05 80 0D 03 02 00 00 00 00 E9 [17:18:20]Write i2c OK [17:18:20]MH_I2C_Read... [17:18:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:18:20]Read from MH i2c: E2 [17:18:20]MH_I2C_Read... [17:18:20]Read from MH i2c: E2 0B 00 [17:18:20]MH_I2C_Read... [17:18:20]Read from MH i2c: E2 0B 00 69 05 00 FD C3 D8 60 32 EE 21 4C 90 00 6F [17:18:20]RAPDU: FD C3 D8 60 32 EE 21 4C 90 00 [17:18:20]wFMCommunicate OK [17:18:20]SAM_PROTO_SignData done [17:18:20]FM_MakeSignedData done [17:18:20]CreateOFDProtocolMessage [17:18:20]wFMCommunicate request_size=4 [17:18:20]MH_SAM_APDU [17:18:20]CAPDU: 80 11 00 00 [17:18:20]Write to MH i2c: E2 08 00 6A 05 80 11 00 00 00 00 00 00 E9 [17:18:20]Write i2c OK [17:18:20]MH_I2C_Read... [17:18:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:18:20]Read from MH i2c: E2 [17:18:20]MH_I2C_Read... [17:18:20]Read from MH i2c: E2 17 00 [17:18:20]MH_I2C_Read... [17:18:20]Read from MH i2c: E2 17 00 6A 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 3F [17:18:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:18:20]wFMCommunicate OK [17:18:20]CreateOFDProtocolMessage done [17:18:20]OFDSenderStorePacket 32653 [17:18:20]StoreOFDPacket docnum=32653 [17:18:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 2C 01 00 00 5B 76 24 01 74 62 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 5C B5 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8D 7F 00 00 35 04 06 00 2E F4 BC A9 3B 75 FD C3 D8 60 32 EE 21 4C [17:18:20]CheckFolder [17:18:20]dirname=/storage/ofd_packets [17:18:20]CheckFolder done [17:18:20]ProducePacketName [17:18:20]name=ofd_packets/00032653 [17:18:20]NVStorageSaveData ofd_packets/00032653 [17:18:20]File name is /storage/ofd_packets/00032653 [17:18:20]Write 330 bytes [17:18:20]NVStorageSaveData done [17:18:20]OFDSenderStorePacket done [17:18:20]KKMCreateOFDPacket done [17:18:20]NVStorageSaveData kkm_last_timestamp [17:18:20]File name is /storage/kkm_last_timestamp [17:18:20]Write 4 bytes [17:18:20]NVStorageSaveData done [17:18:20]ExternCall_PrintAddStr [17:18:20]wPrintStart [17:18:20]Write to MH i2c: 01 00 00 6B 05 70 [17:18:20]Write i2c OK [17:18:20]MH_I2C_Read... [17:18:20]Read from MH i2c: 01 [17:18:20]MH_I2C_Read... [17:18:20]Read from MH i2c: 01 07 00 [17:18:20]MH_I2C_Read... [17:18:20]Read from MH i2c: 01 07 00 6B 05 00 00 00 00 00 FF 0F 85 [17:18:20]RasterBufferAndPrint [17:18:20]line Счет N : (3)130858 [17:18:20]line ИНН: 02508201610067 [17:18:20]line Контрольно-Кассовый Чек [17:18:20]line ПРОДАЖА [17:18:20]line Товар: 2000036210013 [17:18:20]line Кофе Капучино (GABB TRADE) [17:18:20]line 1.000 * 129.00 [17:18:20]line = 129.00 [17:18:20]line НДС 12% НСП 1% [17:18:20]line > о реализуемом товаре [17:18:20]line ИТОГО: 129.00 [17:18:20]line НСП 1% : 1.14 [17:18:20]line НДС 12% : 13.70 [17:18:20]line Наличными: 129.00 [17:18:20]line Безнал.: 0.00 [17:18:20]line Место: АЗС № 96 "Партнер Нефть" [17:18:20]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [17:18:20]line СНО: Общий режим [17:18:20]line Чек 41 21.02.2025 17:18 [17:18:20]line Смена: 386 ФФД: 1.0 [17:18:20]line ЗНМ: 0300000059 [17:18:20]line РНМ: 0000000000146237 [17:18:20]line Версия ККМ: v1.0 [17:18:20]line ФМ: 0000000000959282 [17:18:20]line ФД: 32653 [17:18:20]line ФПД: 51628672105333 [17:18:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T171820&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32653&fm=51628672105333&tin=02508201610067®Number=0000000000146237&sum=12900 [17:18:20]line 0 [17:18:20]OFD Sender: Processing packet 32653 [packets to send 105, broken 104] [17:18:20]ProducePacketName [17:18:20]name=ofd_packets/00032653 [17:18:20]OFD Sender: To server: pG, [17:18:20]CommunicateWithHost lk.salyk.kg:30040 [17:18:20]ConnectInit lk.salyk.kg [17:18:20]written 0, free lines is 4095 [17:18:21]Connected sock=9 [17:18: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 32 38 32 2C 01 00 00 5B 76 24 01 74 62 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 32 30 30 30 30 33 36 32 31 30 30 31 33 06 04 26 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 5C B5 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8D 7F 00 00 35 04 06 00 2E F4 BC A9 3B 75 FD C3 D8 60 32 EE 21 4C [17:18:21]Write to MH i2c: 01 00 00 93 05 98 [17:18:21]Write i2c OK [17:18:21]MH_I2C_Read... [17:18:21]Read from MH i2c: 01 [17:18:21]MH_I2C_Read... [17:18:21]Read from MH i2c: 01 07 00 [17:18:21]MH_I2C_Read... [17:18:21]Read from MH i2c: 01 07 00 93 05 00 00 00 00 00 2B 0D D7 [17:18:21]RasterBufferAndPrint [17:18:21]line [17:18:21]line [17:18:21]line [17:18:21]line [17:18:21]line [17:18:21]written 0, free lines is 3378 [17:18:21]MH_Cut [17:18:21]Write to MH i2c: D1 01 00 9A 05 01 71 [17:18:21]Write i2c OK [17:18:21]MH_I2C_Read... [17:18:21]Read from MH i2c: D1 [17:18:21]MH_I2C_Read... [17:18:21]Read from MH i2c: D1 01 00 [17:18:21]MH_I2C_Read... [17:18:21]Read from MH i2c: D1 01 00 9A 05 00 70 [17:18:21]Write to MH i2c: 01 00 00 9B 05 A0 [17:18:21]Write i2c OK [17:18:21]MH_I2C_Read... [17:18:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 0E 65 47 00 7E FC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8D 7F 00 00 F4 03 04 00 F2 5E B8 67 B6 04 01 00 00 45 75 EF 01 06 03 04 C3 [17:18:21]CommunicateWithHost err = 0 [17:18:21]CheckOFDResponse [17:18:21]1017 (14) - 77093643461234 [17:18:21]1041 (16) - 0000000000959282 [17:18:21]1040 (4) - 32653 [17:18:21]1012 (4) - 21.02.2025 11:09 [17:18:21]1206 (1) - 0 [17:18:21]OFD Sender: Remove packet 32653 [17:18:21]ProducePacketName [17:18:21]name=ofd_packets/00032653 [17:18:21]NVStorageDeleteData [17:18:21]*** Cut start [17:18:21]*** Partial cut [17:18:21]*** CUTSNS_PIN = 1 [17:18:22]*** CUTSNS_PIN = 0 [17:18:22]OFD Sender: No OFD packet to send [17:18:22]*** Brake cut motor [17:18:22]Read from MH i2c: 01 [17:18:22]MH_I2C_Read... [17:18:22]*** Stop cut motor [17:18:22]*** Cut end [17:18:22]Read from MH i2c: 01 07 00 [17:18:22]MH_I2C_Read... [17:18:22]Read from MH i2c: 01 07 00 9B 05 00 00 00 00 00 FF 0F B5 [17:18:22]process_action close_receipt done [17:18:22]requested_data is exist [17:18:22]produce_requested_data [17:18:22]requested_item fm.sn is exist - process it [17:18:22]wFMCommunicate request_size=4 [17:18:22]MH_SAM_APDU [17:18:22]CAPDU: 80 11 00 00 [17:18:22]Write to MH i2c: E2 08 00 9C 05 80 11 00 00 00 00 00 00 1B [17:18:22]Write i2c OK [17:18:22]MH_I2C_Read... [17:18:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:18:22]Read from MH i2c: E2 [17:18:22]MH_I2C_Read... [17:18:22]Read from MH i2c: E2 17 00 [17:18:22]MH_I2C_Read... [17:18:22]Read from MH i2c: E2 17 00 9C 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 71 [17:18:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:18:22]wFMCommunicate OK [17:18:22]requested_item fd.num is exist - process it [17:18:22]SAM_PROTO_GetFieldsCounters [17:18:22]wFMCommunicate request_size=4 [17:18:22]MH_SAM_APDU [17:18:22]CAPDU: 80 13 00 00 [17:18:22]Write to MH i2c: E2 08 00 9D 05 80 13 00 00 00 00 00 00 1E [17:18:22]Write i2c OK [17:18:22]MH_I2C_Read... [17:18:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:18:22]Read from MH i2c: E2 [17:18:22]MH_I2C_Read... [17:18:22]Read from MH i2c: E2 62 00 [17:18:22]MH_I2C_Read... [17:18:22]Read from MH i2c: E2 62 00 9D 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 8D 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 4A [17:18: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 8D 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:18:22]wFMCommunicate OK [17:18:22]SAM_PROTO_GetFieldsCounters done [17:18:22]requested_item shift.num is exist - process it [17:18:22]requested_item shift.opened is exist - process it [17:18:22]req_shift_opened [17:18:22]FM_GetShiftState [17:18:22]SAM_PROTO_GetShiftState [17:18:22]wFMCommunicate request_size=4 [17:18:22]MH_SAM_APDU [17:18:22]CAPDU: 80 13 01 00 [17:18:22]Write to MH i2c: E2 08 00 9E 05 80 13 01 00 00 00 00 00 20 [17:18:22]Write i2c OK [17:18:22]MH_I2C_Read... [17:18:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:18:22]Read from MH i2c: E2 [17:18:22]MH_I2C_Read... [17:18:22]Read from MH i2c: E2 0E 00 [17:18:22]MH_I2C_Read... [17:18:22]Read from MH i2c: E2 0E 00 9E 05 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 85 [17:18:22]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [17:18:22]wFMCommunicate OK [17:18:22]SAM_PROTO_GetShiftState done [17:18:22]FM_GetShiftState done [17:18:22]req_shift_opened done [17:18:22]requested_item shift.open_date is exist - process it [17:18:22]req_shift_open_date [17:18:22]req_shift_open_date done [17:18:22]produce_requested_data done [17:18:22]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32653,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [17:18:22]process_action_free close_receipt [17:18:22]json_value_free [17:18:22]json_value_free done [17:18:22]process_json_proto returns [17:18:22]Send response to host [17:18:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32653,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [17:18:22]free response buf [17:18:22]execute_script done [17:18:22]execute_script returns [17:18:22]free content buf [17:18:22]Sock 10.Close socket [17:18:22]Sock 10.Thread stoped [17:18:27]OFD Sender: No OFD packet to send [17:18:32]OFD Sender: No OFD packet to send [17:18:37]OFD Sender: No OFD packet to send [17:18:42]OFD Sender: No OFD packet to send [17:18:47]OFD Sender: No OFD packet to send [17:18:52]OFD Sender: No OFD packet to send [17:18:57]OFD Sender: No OFD packet to send [17:19:02]OFD Sender: No OFD packet to send [17:19:07]OFD Sender: No OFD packet to send [17:19:12]OFD Sender: No OFD packet to send [17:19:17]OFD Sender: No OFD packet to send [17:19:21]accept exits with 7 [17:19:21]New connection [17:19:21]New thread 3067329892 created [17:19:21]Thread 3067473252 joined [17:19:21]Waiting for new connection... [17:19:21] Sock 7.Parse request [17:19:21]Sock 7.Check first char [17:19:21]Sock 7.First char is OK [17:19:21]request: POST /json_proto HTTP/1.0 [17:19:21]Method: POST [17:19:21]URL: /json_proto [17:19:21]Method is POST - this is cgi request [17:19:21]url: /json_proto [17:19:21]query_string will be loaded in cgi processing [17:19:21]execute_cgi json_proto POST (null) [17:19:21]execute_cgi path=json_proto method=POST [17:19:21]POST find Content-Length [17:19:21]Host: 172.17.47.135:8080 [17:19:21]Content-Length: 627 [17:19:21]Content-Type: application/json [17:19:21] [17:19:21]POST finish read [17:19:21]Found Content-Length = 627 [17:19:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130859", "tax_sys" : 0, "items" : [ { "code": "2000039440011", "name": "\u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 200 \u043C\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:19:21]execute_script... [17:19: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)130859", "tax_sys" : 0, "items" : [ { "code": "2000039440011", "name": "\u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 200 \u043C\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:19:21]POST & json_proto [17:19:21]process_json_proto [17:19:21]json parsed OK: [17:19:21]protocol is kg_v1.0 [17:19:21]action value=close_receipt [17:19:21]process_action close_receipt [17:19:21]cmd_close_receipt [17:19:21]MH_GetDate [17:19:21]Write to MH i2c: F0 00 00 9F 05 93 [17:19:21]Write i2c OK [17:19:21]MH_I2C_Read... [17:19:21]Read from MH i2c: F0 [17:19:21]MH_I2C_Read... [17:19:21]Read from MH i2c: F0 09 00 [17:19:21]MH_I2C_Read... [17:19:21]Read from MH i2c: F0 09 00 9F 05 00 9B B5 B8 67 19 D8 DE 66 40 [17:19:21]GetLastDocTimeStamp 1740158300 [17:19:21]current date 1740158363 [17:19:21]FM_GetShiftState [17:19:21]SAM_PROTO_GetShiftState [17:19:21]wFMCommunicate request_size=4 [17:19:21]MH_SAM_APDU [17:19:21]CAPDU: 80 13 01 00 [17:19:21]Write to MH i2c: E2 08 00 A0 05 80 13 01 00 00 00 00 00 22 [17:19:21]Write i2c OK [17:19:21]MH_I2C_Read... [17:19:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:19:21]Read from MH i2c: E2 [17:19:21]MH_I2C_Read... [17:19:21]Read from MH i2c: E2 0E 00 [17:19:21]MH_I2C_Read... [17:19:21]Read from MH i2c: E2 0E 00 A0 05 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 87 [17:19:21]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [17:19:21]wFMCommunicate OK [17:19:21]SAM_PROTO_GetShiftState done [17:19:21]FM_GetShiftState done [17:19:21]opened in 1740096631 [17:19:21]opened+sec_in_day 1740183031 [17:19:21]quantity*price = 4000 [17:19:21]sum+1 = 4001 [17:19:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 42 21.02.2025 17:19 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32654 ФПД: 99242842143628 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T171923&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32654&fm=99242842143628&tin=02508201610067®Number=0000000000146237&sum=4000 0 [17:19:23]StoreToDocumentArchive [17:19:23]shift 386 fd 32654 [17:19:23]save to /storage/0386/doc_00032654 [17:19:23]save last doc name /storage/0386/doc_00032654 to /storage/kkm_last_doc_name [17:19:23]save OK [17:19:23]Clear old archive folders... [17:19:23]ProcessDocumentItem done err = 0, tmpTLVsize=270 [17:19:23]tlvbuf is 007EA0B0 [17:19:23]SAM_PROTO_ClearQueue [17:19:23]wFMCommunicate request_size=4 [17:19:23]MH_SAM_APDU [17:19:23]CAPDU: 80 09 00 00 [17:19:23]Write to MH i2c: E2 08 00 AD 05 80 09 00 00 00 00 00 00 24 [17:19:23]Write i2c OK [17:19:23]MH_I2C_Read... [17:19:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:19:23]Read from MH i2c: E2 [17:19:23]MH_I2C_Read... [17:19:23]Read from MH i2c: E2 03 00 [17:19:23]MH_I2C_Read... [17:19:23]Read from MH i2c: E2 03 00 AD 05 00 90 00 26 [17:19:23]RAPDU: 90 00 [17:19:23]wFMCommunicate OK [17:19:23]SAM_PROTO_ClearQueue done [17:19:23]KKMCreateOFDPacket [17:19:23]OFDProtocolAddRootSTLVToBuf [17:19:23]FM_MakeSignedData [17:19:23]FM_MakeSignedData [17:19:23]SAM_PROTO_SignData [17:19:23]wFMCommunicate request_size=4 [17:19:23]MH_SAM_APDU [17:19:23]CAPDU: 80 0D 01 02 [17:19:23]Write to MH i2c: E2 08 00 AE 05 80 0D 01 02 00 00 00 00 2C [17:19:23]Write i2c OK [17:19:23]MH_I2C_Read... [17:19:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:19:23]Read from MH i2c: E2 [17:19:23]MH_I2C_Read... [17:19:23]Read from MH i2c: E2 03 00 [17:19:23]MH_I2C_Read... [17:19:23]Read from MH i2c: E2 03 00 AE 05 00 90 00 27 [17:19:23]RAPDU: 90 00 [17:19:23]wFMCommunicate OK [17:19:23]wFMCommunicate request_size=255 [17:19:23]MH_SAM_APDU [17:19:23]CAPDU: 80 0D 02 02 FA 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 9B B5 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 [17:19:23]Write to MH i2c: E2 02 01 AF 05 80 0D 02 02 FA 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 9B B5 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 AA [17:19:23]Write i2c OK [17:19:23]MH_I2C_Read... [17:19:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:19:23]Read from MH i2c: E2 [17:19:23]MH_I2C_Read... [17:19:23]Read from MH i2c: E2 03 00 [17:19:23]MH_I2C_Read... [17:19:23]Read from MH i2c: E2 03 00 AF 05 00 90 00 28 [17:19:23]RAPDU: 90 00 [17:19:23]wFMCommunicate OK [17:19:23]wFMCommunicate request_size=29 [17:19:23]MH_SAM_APDU [17:19:23]CAPDU: 80 0D 02 02 18 39 35 39 32 38 32 10 04 04 00 8E 7F 00 00 35 04 06 00 5A 42 C6 5A 3B 8C [17:19:23]Write to MH i2c: E2 20 00 B0 05 80 0D 02 02 18 00 39 35 39 32 38 32 10 04 04 00 8E 7F 00 00 35 04 06 00 5A 42 C6 5A 3B 8C 00 00 89 [17:19:23]Write i2c OK [17:19:23]MH_I2C_Read... [17:19:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:19:23]Read from MH i2c: E2 [17:19:23]MH_I2C_Read... [17:19:23]Read from MH i2c: E2 03 00 [17:19:23]MH_I2C_Read... [17:19:23]Read from MH i2c: E2 03 00 B0 05 00 90 00 29 [17:19:23]RAPDU: 90 00 [17:19:23]wFMCommunicate OK [17:19:23]wFMCommunicate request_size=4 [17:19:23]MH_SAM_APDU [17:19:23]CAPDU: 80 0D 03 02 [17:19:23]Write to MH i2c: E2 08 00 B1 05 80 0D 03 02 00 00 00 00 31 [17:19:23]Write i2c OK [17:19:23]MH_I2C_Read... [17:19:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:19:23]Read from MH i2c: E2 [17:19:23]MH_I2C_Read... [17:19:23]Read from MH i2c: E2 0B 00 [17:19:23]MH_I2C_Read... [17:19:23]Read from MH i2c: E2 0B 00 B1 05 00 B6 01 B8 9B 4B 7A 20 4C 90 00 6D [17:19:23]RAPDU: B6 01 B8 9B 4B 7A 20 4C 90 00 [17:19:23]wFMCommunicate OK [17:19:23]SAM_PROTO_SignData done [17:19:23]FM_MakeSignedData done [17:19:23]CreateOFDProtocolMessage [17:19:23]wFMCommunicate request_size=4 [17:19:23]MH_SAM_APDU [17:19:23]CAPDU: 80 11 00 00 [17:19:23]Write to MH i2c: E2 08 00 B2 05 80 11 00 00 00 00 00 00 31 [17:19:23]Write i2c OK [17:19:23]MH_I2C_Read... [17:19:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:19:23]Read from MH i2c: E2 [17:19:23]MH_I2C_Read... [17:19:23]Read from MH i2c: E2 17 00 [17:19:23]MH_I2C_Read... [17:19:23]Read from MH i2c: E2 17 00 B2 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 87 [17:19:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:19:23]wFMCommunicate OK [17:19:23]CreateOFDProtocolMessage done [17:19:23]OFDSenderStorePacket 32654 [17:19:23]StoreOFDPacket docnum=32654 [17:19:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 22 01 00 00 7D 26 1A 01 BF 2E 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 9B B5 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8E 7F 00 00 35 04 06 00 5A 42 C6 5A 3B 8C B6 01 B8 9B 4B 7A 20 4C [17:19:23]CheckFolder [17:19:23]dirname=/storage/ofd_packets [17:19:23]CheckFolder done [17:19:23]ProducePacketName [17:19:23]name=ofd_packets/00032654 [17:19:23]NVStorageSaveData ofd_packets/00032654 [17:19:23]File name is /storage/ofd_packets/00032654 [17:19:23]Write 320 bytes [17:19:23]NVStorageSaveData done [17:19:23]OFDSenderStorePacket done [17:19:23]KKMCreateOFDPacket done [17:19:23]NVStorageSaveData kkm_last_timestamp [17:19:23]File name is /storage/kkm_last_timestamp [17:19:23]Write 4 bytes [17:19:23]NVStorageSaveData done [17:19:23]OFD Sender: Processing packet 32654 [packets to send 105, broken 104] [17:19:23]ProducePacketName [17:19:23]name=ofd_packets/00032654 [17:19:23]OFD Sender: To server: pG, [17:19:23]CommunicateWithHost lk.salyk.kg:30040 [17:19:23]ConnectInit lk.salyk.kg [17:19:23]ExternCall_PrintAddStr [17:19:23]wPrintStart [17:19:23]Write to MH i2c: 01 00 00 B3 05 B8 [17:19:23]Write i2c OK [17:19:23]MH_I2C_Read... [17:19:23]Read from MH i2c: 01 [17:19:23]MH_I2C_Read... [17:19:23]Read from MH i2c: 01 07 00 [17:19:23]MH_I2C_Read... [17:19:23]Read from MH i2c: 01 07 00 B3 05 00 00 00 00 00 FF 0F CD [17:19:23]RasterBufferAndPrint [17:19:23]line Счет N : (3)130859 [17:19:23]line ИНН: 02508201610067 [17:19:23]line Контрольно-Кассовый Чек [17:19:23]line ПРОДАЖА [17:19:23]line Товар: 2000039440011 [17:19:23]line Чай черный 200 мл [17:19:23]line 1.000 * 40.00 [17:19:23]line = 40.00 [17:19:23]line НДС 12% НСП 1% [17:19:23]line > о реализуемом товаре [17:19:23]line ИТОГО: 40.00 [17:19:23]line НСП 1% : 0.35 [17:19:23]line НДС 12% : 4.25 [17:19:23]line Наличными: 40.00 [17:19:23]line Безнал.: 0.00 [17:19:23]line Место: АЗС № 96 "Партнер Нефть" [17:19:23]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [17:19:23]line СНО: Общий режим [17:19:23]line Чек 42 21.02.2025 17:19 [17:19:23]line Смена: 386 ФФД: 1.0 [17:19:23]line ЗНМ: 0300000059 [17:19:23]line РНМ: 0000000000146237 [17:19:23]line Версия ККМ: v1.0 [17:19:23]line ФМ: 0000000000959282 [17:19:23]line ФД: 32654 [17:19:23]line ФПД: 99242842143628 [17:19:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T171923&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32654&fm=99242842143628&tin=02508201610067®Number=0000000000146237&sum=4000 [17:19:23]line 0 [17:19:23]written 0, free lines is 4095 [17:19:24]Write to MH i2c: 01 00 00 DB 05 E0 [17:19:24]Write i2c OK [17:19:24]MH_I2C_Read... [17:19:24]Read from MH i2c: 01 [17:19:24]MH_I2C_Read... [17:19:24]Read from MH i2c: 01 07 00 [17:19:24]MH_I2C_Read... [17:19:24]Read from MH i2c: 01 07 00 DB 05 00 00 00 00 00 09 0D FD [17:19:24]RasterBufferAndPrint [17:19:24]line [17:19:24]line [17:19:24]line [17:19:24]line [17:19:24]line [17:19:24]written 0, free lines is 3341 [17:19:24]MH_Cut [17:19:24]Write to MH i2c: D1 01 00 E2 05 01 B9 [17:19:24]Write i2c OK [17:19:24]MH_I2C_Read... [17:19:24]Read from MH i2c: D1 [17:19:24]MH_I2C_Read... [17:19:24]Read from MH i2c: D1 01 00 [17:19:24]MH_I2C_Read... [17:19:24]Read from MH i2c: D1 01 00 E2 05 00 B8 [17:19:24]Write to MH i2c: 01 00 00 E3 05 E8 [17:19:24]Write i2c OK [17:19:24]MH_I2C_Read... [17:19:24]*** Cut start [17:19:24]*** Partial cut [17:19:24]*** CUTSNS_PIN = 1 [17:19:25]*** CUTSNS_PIN = 0 [17:19:25]*** Brake cut motor [17:19:25]Read from MH i2c: 01 [17:19:25]MH_I2C_Read... [17:19:25]*** Stop cut motor [17:19:25]*** Cut end [17:19:25]Read from MH i2c: 01 07 00 [17:19:25]MH_I2C_Read... [17:19:25]Read from MH i2c: 01 07 00 E3 05 00 00 00 00 00 FF 0F FD [17:19:25]process_action close_receipt done [17:19:25]requested_data is exist [17:19:25]produce_requested_data [17:19:25]requested_item fm.sn is exist - process it [17:19:25]wFMCommunicate request_size=4 [17:19:25]MH_SAM_APDU [17:19:25]CAPDU: 80 11 00 00 [17:19:25]Write to MH i2c: E2 08 00 E4 05 80 11 00 00 00 00 00 00 63 [17:19:25]Write i2c OK [17:19:25]MH_I2C_Read... [17:19:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:19:25]Read from MH i2c: E2 [17:19:25]MH_I2C_Read... [17:19:25]Read from MH i2c: E2 17 00 [17:19:25]MH_I2C_Read... [17:19:25]Read from MH i2c: E2 17 00 E4 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 B9 [17:19:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:19:25]wFMCommunicate OK [17:19:25]requested_item fd.num is exist - process it [17:19:25]SAM_PROTO_GetFieldsCounters [17:19:25]wFMCommunicate request_size=4 [17:19:25]MH_SAM_APDU [17:19:25]CAPDU: 80 13 00 00 [17:19:25]Write to MH i2c: E2 08 00 E5 05 80 13 00 00 00 00 00 00 66 [17:19:25]Write i2c OK [17:19:25]MH_I2C_Read... [17:19:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:19:25]Read from MH i2c: E2 [17:19:25]MH_I2C_Read... [17:19:25]Read from MH i2c: E2 62 00 [17:19:25]MH_I2C_Read... [17:19:25]Read from MH i2c: E2 62 00 E5 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 8E 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 96 [17:19: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 8E 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:19:25]wFMCommunicate OK [17:19:25]SAM_PROTO_GetFieldsCounters done [17:19:25]requested_item shift.num is exist - process it [17:19:25]requested_item shift.opened is exist - process it [17:19:25]req_shift_opened [17:19:25]FM_GetShiftState [17:19:25]SAM_PROTO_GetShiftState [17:19:25]wFMCommunicate request_size=4 [17:19:25]MH_SAM_APDU [17:19:25]CAPDU: 80 13 01 00 [17:19:25]Write to MH i2c: E2 08 00 E6 05 80 13 01 00 00 00 00 00 68 [17:19:25]Write i2c OK [17:19:25]MH_I2C_Read... [17:19:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:19:25]Read from MH i2c: E2 [17:19:25]MH_I2C_Read... [17:19:25]Read from MH i2c: E2 0E 00 [17:19:25]MH_I2C_Read... [17:19:25]Read from MH i2c: E2 0E 00 E6 05 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 CD [17:19:25]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [17:19:25]wFMCommunicate OK [17:19:25]SAM_PROTO_GetShiftState done [17:19:25]FM_GetShiftState done [17:19:25]req_shift_opened done [17:19:25]requested_item shift.open_date is exist - process it [17:19:25]req_shift_open_date [17:19:25]req_shift_open_date done [17:19:25]produce_requested_data done [17:19:25]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32654,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [17:19:25]process_action_free close_receipt [17:19:25]json_value_free [17:19:25]json_value_free done [17:19:25]process_json_proto returns [17:19:25]Send response to host [17:19:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32654,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [17:19:25]free response buf [17:19:25]execute_script done [17:19:25]execute_script returns [17:19:25]free content buf [17:19:25]Sock 7.Close socket [17:19:25]Sock 7.Thread stoped [17:21:35]ConnectInit Can't connect to host [17:21:35]CommunicateWithHost connect error [17:21:35]CommunicateWithHost err = -1 [17:21:35]OFD Sender: Server communicate error [17:21:40]OFD Sender: Processing packet 32654 [packets to send 105, broken 104] [17:21:40]ProducePacketName [17:21:40]name=ofd_packets/00032654 [17:21:40]OFD Sender: To server: pG, [17:21:40]CommunicateWithHost lk.salyk.kg:30040 [17:21:40]ConnectInit lk.salyk.kg [17:21:41]Connected sock=10 [17:21: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 32 38 32 22 01 00 00 7D 26 1A 01 BF 2E 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 32 30 30 30 30 33 39 34 34 30 30 31 31 06 04 1C 00 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 9B B5 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8E 7F 00 00 35 04 06 00 5A 42 C6 5A 3B 8C B6 01 B8 9B 4B 7A 20 4C [17:21:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 22 73 47 00 EF 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 32 38 32 10 04 04 00 8E 7F 00 00 F4 03 04 00 BA 5F B8 67 B6 04 01 00 00 58 FF CD FB 25 E8 A1 D1 [17:21:41]CommunicateWithHost err = 0 [17:21:41]CheckOFDResponse [17:21:41]1017 (14) - 77093643461234 [17:21:41]1041 (16) - 0000000000959282 [17:21:41]1040 (4) - 32654 [17:21:41]1012 (4) - 21.02.2025 11:12 [17:21:41]1206 (1) - 0 [17:21:41]OFD Sender: Remove packet 32654 [17:21:41]ProducePacketName [17:21:41]name=ofd_packets/00032654 [17:21:41]NVStorageDeleteData [17:21:42]OFD Sender: No OFD packet to send [17:21:47]OFD Sender: No OFD packet to send [17:21:52]OFD Sender: No OFD packet to send [17:21:57]OFD Sender: No OFD packet to send [17:22:02]OFD Sender: No OFD packet to send [17:22:07]OFD Sender: No OFD packet to send [17:22:12]OFD Sender: No OFD packet to send [17:22:17]OFD Sender: No OFD packet to send [17:22:22]OFD Sender: No OFD packet to send [17:22:27]OFD Sender: No OFD packet to send [17:22:32]OFD Sender: No OFD packet to send [17:22:37]OFD Sender: No OFD packet to send [17:22:42]OFD Sender: No OFD packet to send [17:22:47]OFD Sender: No OFD packet to send [17:22:52]OFD Sender: No OFD packet to send [17:22:57]OFD Sender: No OFD packet to send [17:23:02]OFD Sender: No OFD packet to send [17:23:07]OFD Sender: No OFD packet to send [17:23:12]OFD Sender: No OFD packet to send [17:23:17]OFD Sender: No OFD packet to send [17:23:22]OFD Sender: No OFD packet to send [17:23:27]OFD Sender: No OFD packet to send [17:23:32]OFD Sender: No OFD packet to send [17:23:37]OFD Sender: No OFD packet to send [17:23:42]OFD Sender: No OFD packet to send [17:23:47]OFD Sender: No OFD packet to send [17:23:52]OFD Sender: No OFD packet to send [17:23:57]OFD Sender: No OFD packet to send [17:23:59]accept exits with 9 [17:23:59]New connection [17:23:59]New thread 3067473252 created [17:23:59]Thread 3067329892 joined [17:23:59]Waiting for new connection... [17:23:59] Sock 9.Parse request [17:23:59]Sock 9.Check first char [17:23:59]Sock 9.First char is OK [17:23:59]request: POST /json_proto HTTP/1.0 [17:23:59]Method: POST [17:23:59]URL: /json_proto [17:23:59]Method is POST - this is cgi request [17:23:59]url: /json_proto [17:23:59]query_string will be loaded in cgi processing [17:23:59]execute_cgi json_proto POST (null) [17:23:59]execute_cgi path=json_proto method=POST [17:23:59]POST find Content-Length [17:23:59]Host: 172.17.47.135:8080 [17:23:59]Content-Length: 679 [17:23:59]Content-Type: application/json [17:23:59] [17:23:59]POST finish read [17:23:59]Found Content-Length = 679 [17:23:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6545160", "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" : 64.20, "quantity" : 10.910, "sum" : 700.42, "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" ] } } [17:23:59]execute_script... [17:23:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6545160", "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" : 64.20, "quantity" : 10.910, "sum" : 700.42, "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" ] } } [17:23:59]POST & json_proto [17:23:59]process_json_proto [17:23:59]json parsed OK: [17:23:59]protocol is kg_v1.0 [17:23:59]action value=close_receipt [17:23:59]process_action close_receipt [17:23:59]cmd_close_receipt [17:23:59]MH_GetDate [17:23:59]Write to MH i2c: F0 00 00 E7 05 DB [17:23:59]Write i2c OK [17:23:59]MH_I2C_Read... [17:23:59]Read from MH i2c: F0 [17:23:59]MH_I2C_Read... [17:23:59]Read from MH i2c: F0 09 00 [17:23:59]MH_I2C_Read... [17:23:59]Read from MH i2c: F0 09 00 E7 05 00 B0 B6 B8 67 19 D8 DE 66 9E [17:23:59]GetLastDocTimeStamp 1740158363 [17:23:59]current date 1740158640 [17:23:59]FM_GetShiftState [17:23:59]SAM_PROTO_GetShiftState [17:23:59]wFMCommunicate request_size=4 [17:23:59]MH_SAM_APDU [17:23:59]CAPDU: 80 13 01 00 [17:23:59]Write to MH i2c: E2 08 00 E8 05 80 13 01 00 00 00 00 00 6A [17:23:59]Write i2c OK [17:23:59]MH_I2C_Read... [17:23:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:23:59]Read from MH i2c: E2 [17:23:59]MH_I2C_Read... [17:23:59]Read from MH i2c: E2 0E 00 [17:23:59]MH_I2C_Read... [17:23:59]Read from MH i2c: E2 0E 00 E8 05 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 CF [17:23:59]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [17:23:59]wFMCommunicate OK [17:23:59]SAM_PROTO_GetShiftState done [17:23:59]FM_GetShiftState done [17:23:59]opened in 1740096631 [17:23:59]opened+sec_in_day 1740183031 [17:23:59]quantity*price = 70042 [17:23:59]sum+1 = 70043 [17:23:59]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.42 ИТОГО: 700.00 Внесено: 700.00 СДАЧА: 0.00 НСП 1% : 6.20 НДС 12% : 74.38 Наличными: 700.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 43 21.02.2025 17:24 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32655 ФПД: 196881653809375 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T172401&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32655&fm=196881653809375&tin=02508201610067®Number=0000000000146237&sum=70000 [17:24:00]StoreToDocumentArchive [17:24:00]shift 386 fd 32655 [17:24:00]save to /storage/0386/doc_00032655 [17:24:00]save last doc name /storage/0386/doc_00032655 to /storage/kkm_last_doc_name [17:24:00]save OK [17:24:00]Clear old archive folders... [17:24:00]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:24:00]tlvbuf is 00817C50 [17:24:00]SAM_PROTO_ClearQueue [17:24:00]wFMCommunicate request_size=4 [17:24:00]MH_SAM_APDU [17:24:00]CAPDU: 80 09 00 00 [17:24:00]Write to MH i2c: E2 08 00 F5 05 80 09 00 00 00 00 00 00 6C [17:24:00]Write i2c OK [17:24:00]MH_I2C_Read... [17:24:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:24:00]Read from MH i2c: E2 [17:24:00]MH_I2C_Read... [17:24:00]Read from MH i2c: E2 03 00 [17:24:00]MH_I2C_Read... [17:24:00]Read from MH i2c: E2 03 00 F5 05 00 90 00 6E [17:24:00]RAPDU: 90 00 [17:24:00]wFMCommunicate OK [17:24:00]SAM_PROTO_ClearQueue done [17:24:00]KKMCreateOFDPacket [17:24:00]OFDProtocolAddRootSTLVToBuf [17:24:00]FM_MakeSignedData [17:24:00]FM_MakeSignedData [17:24:00]SAM_PROTO_SignData [17:24:00]wFMCommunicate request_size=4 [17:24:00]MH_SAM_APDU [17:24:00]CAPDU: 80 0D 01 02 [17:24:00]Write to MH i2c: E2 08 00 F6 05 80 0D 01 02 00 00 00 00 74 [17:24:00]Write i2c OK [17:24:00]MH_I2C_Read... [17:24:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:24:00]Read from MH i2c: E2 [17:24:00]MH_I2C_Read... [17:24:00]Read from MH i2c: E2 03 00 [17:24:00]MH_I2C_Read... [17:24:00]Read from MH i2c: E2 03 00 F6 05 00 90 00 6F [17:24:00]RAPDU: 90 00 [17:24:00]wFMCommunicate OK [17:24:00]wFMCommunicate request_size=255 [17:24:00]MH_SAM_APDU [17:24:00]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 9E 2A 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 9A 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 2B 00 00 00 F4 03 04 00 B1 B6 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8F 7F 00 00 35 04 06 00 B3 [17:24:00]Write to MH i2c: E2 02 01 F7 05 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 2A 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 9A 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 2B 00 00 00 F4 03 04 00 B1 B6 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8F 7F 00 00 35 04 06 00 B3 00 00 B2 [17:24:00]Write i2c OK [17:24:00]MH_I2C_Read... [17:24:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:24:00]Read from MH i2c: E2 [17:24:00]MH_I2C_Read... [17:24:00]Read from MH i2c: E2 03 00 [17:24:00]MH_I2C_Read... [17:24:00]Read from MH i2c: E2 03 00 F7 05 00 90 00 70 [17:24:00]RAPDU: 90 00 [17:24:00]wFMCommunicate OK [17:24:00]wFMCommunicate request_size=10 [17:24:00]MH_SAM_APDU [17:24:00]CAPDU: 80 0D 02 02 05 10 15 09 C0 DF [17:24:00]Write to MH i2c: E2 0D 00 F8 05 80 0D 02 02 05 00 10 15 09 C0 DF 00 00 4E [17:24:00]Write i2c OK [17:24:00]MH_I2C_Read... [17:24:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:24:00]Read from MH i2c: E2 [17:24:00]MH_I2C_Read... [17:24:00]Read from MH i2c: E2 03 00 [17:24:00]MH_I2C_Read... [17:24:00]Read from MH i2c: E2 03 00 F8 05 00 90 00 71 [17:24:00]RAPDU: 90 00 [17:24:00]wFMCommunicate OK [17:24:00]wFMCommunicate request_size=4 [17:24:00]MH_SAM_APDU [17:24:00]CAPDU: 80 0D 03 02 [17:24:00]Write to MH i2c: E2 08 00 F9 05 80 0D 03 02 00 00 00 00 79 [17:24:00]Write i2c OK [17:24:00]MH_I2C_Read... [17:24:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:24:00]Read from MH i2c: E2 [17:24:00]MH_I2C_Read... [17:24:00]Read from MH i2c: E2 0B 00 [17:24:00]MH_I2C_Read... [17:24:00]Read from MH i2c: E2 0B 00 F9 05 00 1D 20 20 3D 1A 41 C0 11 90 00 40 [17:24:00]RAPDU: 1D 20 20 3D 1A 41 C0 11 90 00 [17:24:00]wFMCommunicate OK [17:24:00]SAM_PROTO_SignData done [17:24:00]FM_MakeSignedData done [17:24:00]CreateOFDProtocolMessage [17:24:00]wFMCommunicate request_size=4 [17:24:00]MH_SAM_APDU [17:24:00]CAPDU: 80 11 00 00 [17:24:00]Write to MH i2c: E2 08 00 FA 05 80 11 00 00 00 00 00 00 79 [17:24:00]Write i2c OK [17:24:00]MH_I2C_Read... [17:24:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:24:00]Read from MH i2c: E2 [17:24:00]MH_I2C_Read... [17:24:00]Read from MH i2c: E2 17 00 [17:24:00]MH_I2C_Read... [17:24:00]Read from MH i2c: E2 17 00 FA 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 CF [17:24:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:24:00]wFMCommunicate OK [17:24:00]CreateOFDProtocolMessage done [17:24:00]OFDSenderStorePacket 32655 [17:24:00]StoreOFDPacket docnum=32655 [17:24:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 22 AB 07 01 20 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 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 2A 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 9A 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 2B 00 00 00 F4 03 04 00 B1 B6 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8F 7F 00 00 35 04 06 00 B3 10 15 09 C0 DF 1D 20 20 3D 1A 41 C0 11 [17:24:00]CheckFolder [17:24:00]dirname=/storage/ofd_packets [17:24:00]CheckFolder done [17:24:00]ProducePacketName [17:24:00]name=ofd_packets/00032655 [17:24:00]NVStorageSaveData ofd_packets/00032655 [17:24:00]File name is /storage/ofd_packets/00032655 [17:24:00]Write 301 bytes [17:24:00]NVStorageSaveData done [17:24:00]OFDSenderStorePacket done [17:24:00]KKMCreateOFDPacket done [17:24:00]NVStorageSaveData kkm_last_timestamp [17:24:00]File name is /storage/kkm_last_timestamp [17:24:00]Write 4 bytes [17:24:00]NVStorageSaveData done [17:24:00]ExternCall_PrintAddStr [17:24:00]wPrintStart [17:24:00]Write to MH i2c: 01 00 00 FB 05 00 [17:24:00]Write i2c OK [17:24:00]MH_I2C_Read... [17:24:00]Read from MH i2c: 01 [17:24:00]MH_I2C_Read... [17:24:00]Read from MH i2c: 01 07 00 [17:24:00]MH_I2C_Read... [17:24:00]Read from MH i2c: 01 07 00 FB 05 00 00 00 00 00 FF 0F 15 [17:24:00]RasterBufferAndPrint [17:24:00]line Счет N : (1)6545160 [17:24:00]line ИНН: 02508201610067 [17:24:00]line Контрольно-Кассовый Чек [17:24:00]line ПРОДАЖА [17:24:00]line ТРК (МРК, ГНК) : 22 [17:24:00]line Товар: 2710124130 [17:24:00]line Аи-92-К-5 [17:24:00]line 10.910 * 64.20 [17:24:00]line = 700.42 [17:24:00]line НДС 12% НСП 1% [17:24:00]line > о реализуемом товаре [17:24:00]line ОКРУГЛЕНИЕ: -0.42 [17:24:00]line ИТОГО: 700.00 [17:24:00]line Внесено: 700.00 [17:24:00]line СДАЧА: 0.00 [17:24:00]line НСП 1% : 6.20 [17:24:00]line НДС 12% : 74.38 [17:24:00]line Наличными: 700.00 [17:24:00]line Безнал.: 0.00 [17:24:00]line Место: АЗС № 96 "Партнер Нефть" [17:24:00]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [17:24:00]line СНО: Общий режим [17:24:00]line Чек 43 21.02.2025 17:24 [17:24:00]line Смена: 386 ФФД: 1.0 [17:24:00]line ЗНМ: 0300000059 [17:24:00]line РНМ: 0000000000146237 [17:24:00]line Версия ККМ: v1.0 [17:24:00]line ФМ: 0000000000959282 [17:24:00]line ФД: 32655 [17:24:00]line ФПД: 196881653809375 [17:24:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T172401&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32655&fm=196881653809375&tin=02508201610067®Number=0000000000146237&sum=70000 [17:24:00]OFD Sender: Processing packet 32655 [packets to send 105, broken 104] [17:24:00]ProducePacketName [17:24:00]name=ofd_packets/00032655 [17:24:00]OFD Sender: To server: pG, [17:24:00]CommunicateWithHost lk.salyk.kg:30040 [17:24:00]ConnectInit lk.salyk.kg [17:24:01]written 0, free lines is 4095 [17:24:01]Connected sock=11 [17:24: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 32 38 32 0F 01 00 00 22 AB 07 01 20 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 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 2A 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 9A 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 2B 00 00 00 F4 03 04 00 B1 B6 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 8F 7F 00 00 35 04 06 00 B3 10 15 09 C0 DF 1D 20 20 3D 1A 41 C0 11 [17:24:01]Write to MH i2c: 01 00 00 26 06 2C [17:24:01]Write i2c OK [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: 01 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: 01 07 00 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: 01 07 00 26 06 00 00 00 00 00 FC 0C 3B [17:24:01]RasterBufferAndPrint [17:24:01]line [17:24:01]line [17:24:01]line [17:24:01]line [17:24:01]line [17:24:01]written 0, free lines is 3330 [17:24:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 8C FC 47 00 93 2E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 32 38 32 10 04 04 00 8F 7F 00 00 F4 03 04 00 46 60 B8 67 B6 04 01 00 00 C1 B4 43 82 07 CB E3 78 [17:24:01]CommunicateWithHost err = 0 [17:24:01]CheckOFDResponse [17:24:01]1017 (14) - 77093643461234 [17:24:01]1041 (16) - 0000000000959282 [17:24:01]1040 (4) - 32655 [17:24:01]1012 (4) - 21.02.2025 11:15 [17:24:01]1206 (1) - 0 [17:24:01]OFD Sender: Remove packet 32655 [17:24:01]ProducePacketName [17:24:01]name=ofd_packets/00032655 [17:24:01]NVStorageDeleteData [17:24:01]MH_Cut [17:24:01]Write to MH i2c: D1 01 00 2D 06 01 05 [17:24:01]Write i2c OK [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: D1 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: D1 01 00 [17:24:01]MH_I2C_Read... [17:24:01]Read from MH i2c: D1 01 00 2D 06 00 04 [17:24:01]Write to MH i2c: 01 00 00 2E 06 34 [17:24:01]Write i2c OK [17:24:01]MH_I2C_Read... [17:24:02]OFD Sender: No OFD packet to send [17:24:02]*** Cut start [17:24:02]*** Partial cut [17:24:02]*** CUTSNS_PIN = 1 [17:24:02]*** CUTSNS_PIN = 0 [17:24:02]*** Brake cut motor [17:24:02]Read from MH i2c: 01 [17:24:02]MH_I2C_Read... [17:24:02]*** Stop cut motor [17:24:02]*** Cut end [17:24:02]Read from MH i2c: 01 07 00 [17:24:02]MH_I2C_Read... [17:24:02]Read from MH i2c: 01 07 00 2E 06 00 00 00 00 00 FF 0F 49 [17:24:02]process_action close_receipt done [17:24:02]requested_data is exist [17:24:02]produce_requested_data [17:24:02]requested_item fm.sn is exist - process it [17:24:02]wFMCommunicate request_size=4 [17:24:02]MH_SAM_APDU [17:24:02]CAPDU: 80 11 00 00 [17:24:02]Write to MH i2c: E2 08 00 2F 06 80 11 00 00 00 00 00 00 AF [17:24:02]Write i2c OK [17:24:02]MH_I2C_Read... [17:24:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:24:02]Read from MH i2c: E2 [17:24:02]MH_I2C_Read... [17:24:02]Read from MH i2c: E2 17 00 [17:24:02]MH_I2C_Read... [17:24:02]Read from MH i2c: E2 17 00 2F 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 05 [17:24:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:24:02]wFMCommunicate OK [17:24:02]requested_item fd.num is exist - process it [17:24:02]SAM_PROTO_GetFieldsCounters [17:24:02]wFMCommunicate request_size=4 [17:24:02]MH_SAM_APDU [17:24:02]CAPDU: 80 13 00 00 [17:24:02]Write to MH i2c: E2 08 00 30 06 80 13 00 00 00 00 00 00 B2 [17:24:02]Write i2c OK [17:24:02]MH_I2C_Read... [17:24:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:24:03]Read from MH i2c: E2 [17:24:03]MH_I2C_Read... [17:24:03]Read from MH i2c: E2 62 00 [17:24:03]MH_I2C_Read... [17:24:03]Read from MH i2c: E2 62 00 30 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 8F 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 E6 [17:24: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 8F 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:24:03]wFMCommunicate OK [17:24:03]SAM_PROTO_GetFieldsCounters done [17:24:03]requested_item shift.num is exist - process it [17:24:03]requested_item shift.opened is exist - process it [17:24:03]req_shift_opened [17:24:03]FM_GetShiftState [17:24:03]SAM_PROTO_GetShiftState [17:24:03]wFMCommunicate request_size=4 [17:24:03]MH_SAM_APDU [17:24:03]CAPDU: 80 13 01 00 [17:24:03]Write to MH i2c: E2 08 00 31 06 80 13 01 00 00 00 00 00 B4 [17:24:03]Write i2c OK [17:24:03]MH_I2C_Read... [17:24:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:24:03]Read from MH i2c: E2 [17:24:03]MH_I2C_Read... [17:24:03]Read from MH i2c: E2 0E 00 [17:24:03]MH_I2C_Read... [17:24:03]Read from MH i2c: E2 0E 00 31 06 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 19 [17:24:03]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [17:24:03]wFMCommunicate OK [17:24:03]SAM_PROTO_GetShiftState done [17:24:03]FM_GetShiftState done [17:24:03]req_shift_opened done [17:24:03]requested_item shift.open_date is exist - process it [17:24:03]req_shift_open_date [17:24:03]req_shift_open_date done [17:24:03]produce_requested_data done [17:24:03]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32655,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [17:24:03]process_action_free close_receipt [17:24:03]json_value_free [17:24:03]json_value_free done [17:24:03]process_json_proto returns [17:24:03]Send response to host [17:24:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32655,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [17:24:03]free response buf [17:24:03]execute_script done [17:24:03]execute_script returns [17:24:03]free content buf [17:24:03]Sock 9.Close socket [17:24:03]Sock 9.Thread stoped [17:24:07]OFD Sender: No OFD packet to send [17:24:12]OFD Sender: No OFD packet to send [17:24:17]OFD Sender: No OFD packet to send [17:24:22]OFD Sender: No OFD packet to send [17:24:27]OFD Sender: No OFD packet to send [17:24:32]OFD Sender: No OFD packet to send [17:24:37]OFD Sender: No OFD packet to send [17:24:42]OFD Sender: No OFD packet to send [17:24:47]OFD Sender: No OFD packet to send [17:24:52]OFD Sender: No OFD packet to send [17:24:57]OFD Sender: No OFD packet to send [17:25:02]OFD Sender: No OFD packet to send [17:25:07]OFD Sender: No OFD packet to send [17:25:12]OFD Sender: No OFD packet to send [17:25:17]OFD Sender: No OFD packet to send [17:25:22]OFD Sender: No OFD packet to send [17:25:27]OFD Sender: No OFD packet to send [17:25:32]OFD Sender: No OFD packet to send [17:25:37]OFD Sender: No OFD packet to send [17:25:42]OFD Sender: No OFD packet to send [17:25:47]OFD Sender: No OFD packet to send [17:25:52]OFD Sender: No OFD packet to send [17:25:57]OFD Sender: No OFD packet to send [17:26:02]OFD Sender: No OFD packet to send [17:26:07]OFD Sender: No OFD packet to send [17:26:12]OFD Sender: No OFD packet to send [17:26:17]OFD Sender: No OFD packet to send [17:26:22]OFD Sender: No OFD packet to send [17:26:27]OFD Sender: No OFD packet to send [17:26:32]OFD Sender: No OFD packet to send [17:26:37]OFD Sender: No OFD packet to send [17:26:42]OFD Sender: No OFD packet to send [17:26:47]OFD Sender: No OFD packet to send [17:26:52]OFD Sender: No OFD packet to send [17:26:57]OFD Sender: No OFD packet to send [17:27:02]OFD Sender: No OFD packet to send [17:27:07]OFD Sender: No OFD packet to send [17:27:08]accept exits with 7 [17:27:08]New connection [17:27:08]New thread 3067329892 created [17:27:08]Thread 3067473252 joined [17:27:08]Waiting for new connection... [17:27:08] Sock 7.Parse request [17:27:08]Sock 7.Check first char [17:27:08]Sock 7.First char is OK [17:27:08]request: POST /json_proto HTTP/1.0 [17:27:08]Method: POST [17:27:08]URL: /json_proto [17:27:08]Method is POST - this is cgi request [17:27:08]url: /json_proto [17:27:08]query_string will be loaded in cgi processing [17:27:08]execute_cgi json_proto POST (null) [17:27:08]execute_cgi path=json_proto method=POST [17:27:08]POST find Content-Length [17:27:08]Host: 172.17.47.135:8080 [17:27:08]Content-Length: 678 [17:27:08]Content-Type: application/json [17:27:08] [17:27:08]POST finish read [17:27:08]Found Content-Length = 678 [17:27:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6545162", "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" : 64.20, "quantity" : 4.210, "sum" : 270.28, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 270.00, "total" : 270.00, "payments": [ { "type": 0, "sum" : 270.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:27:08]execute_script... [17:27:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6545162", "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" : 64.20, "quantity" : 4.210, "sum" : 270.28, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 270.00, "total" : 270.00, "payments": [ { "type": 0, "sum" : 270.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:27:08]POST & json_proto [17:27:08]process_json_proto [17:27:08]json parsed OK: [17:27:08]protocol is kg_v1.0 [17:27:08]action value=close_receipt [17:27:08]process_action close_receipt [17:27:08]cmd_close_receipt [17:27:08]MH_GetDate [17:27:08]Write to MH i2c: F0 00 00 32 06 27 [17:27:08]Write i2c OK [17:27:08]MH_I2C_Read... [17:27:08]Read from MH i2c: F0 [17:27:08]MH_I2C_Read... [17:27:08]Read from MH i2c: F0 09 00 [17:27:08]MH_I2C_Read... [17:27:08]Read from MH i2c: F0 09 00 32 06 00 6E B7 B8 67 19 D8 DE 66 A9 [17:27:08]GetLastDocTimeStamp 1740158641 [17:27:08]current date 1740158830 [17:27:08]FM_GetShiftState [17:27:08]SAM_PROTO_GetShiftState [17:27:08]wFMCommunicate request_size=4 [17:27:08]MH_SAM_APDU [17:27:08]CAPDU: 80 13 01 00 [17:27:08]Write to MH i2c: E2 08 00 33 06 80 13 01 00 00 00 00 00 B6 [17:27:08]Write i2c OK [17:27:08]MH_I2C_Read... [17:27:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:27:08]Read from MH i2c: E2 [17:27:08]MH_I2C_Read... [17:27:08]Read from MH i2c: E2 0E 00 [17:27:08]MH_I2C_Read... [17:27:08]Read from MH i2c: E2 0E 00 33 06 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 1B [17:27:08]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [17:27:08]wFMCommunicate OK [17:27:08]SAM_PROTO_GetShiftState done [17:27:08]FM_GetShiftState done [17:27:08]opened in 1740096631 [17:27:08]opened+sec_in_day 1740183031 [17:27:08]quantity*price = 27028 [17:27:08]sum+1 = 27029 [17:27:08]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.28 ИТОГО: 270.00 Внесено: 270.00 СДАЧА: 0.00 НСП 1% : 2.39 НДС 12% : 28.70 Наличными: 270.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 44 21.02.2025 17:27 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32656 ФПД: 102224228240889 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T172710&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32656&fm=102224228240889&tin=02508201610067®Number=0000000000146237&sum=27000 [17:27:09]StoreToDocumentArchive [17:27:09]shift 386 fd 32656 [17:27:09]save to /storage/0386/doc_00032656 [17:27:09]save last doc name /storage/0386/doc_00032656 to /storage/kkm_last_doc_name [17:27:09]save OK [17:27:09]Clear old archive folders... [17:27:09]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:27:09]tlvbuf is 007F3C90 [17:27:09]SAM_PROTO_ClearQueue [17:27:09]wFMCommunicate request_size=4 [17:27:09]MH_SAM_APDU [17:27:09]CAPDU: 80 09 00 00 [17:27:09]Write to MH i2c: E2 08 00 40 06 80 09 00 00 00 00 00 00 B8 [17:27:09]Write i2c OK [17:27:09]MH_I2C_Read... [17:27:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:27:09]Read from MH i2c: E2 [17:27:09]MH_I2C_Read... [17:27:09]Read from MH i2c: E2 03 00 [17:27:09]MH_I2C_Read... [17:27:09]Read from MH i2c: E2 03 00 40 06 00 90 00 BA [17:27:09]RAPDU: 90 00 [17:27:09]wFMCommunicate OK [17:27:09]SAM_PROTO_ClearQueue done [17:27:09]KKMCreateOFDPacket [17:27:09]OFDProtocolAddRootSTLVToBuf [17:27:09]FM_MakeSignedData [17:27:09]FM_MakeSignedData [17:27:09]SAM_PROTO_SignData [17:27:09]wFMCommunicate request_size=4 [17:27:09]MH_SAM_APDU [17:27:09]CAPDU: 80 0D 01 02 [17:27:09]Write to MH i2c: E2 08 00 41 06 80 0D 01 02 00 00 00 00 C0 [17:27:09]Write i2c OK [17:27:09]MH_I2C_Read... [17:27:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:27:09]Read from MH i2c: E2 [17:27:09]MH_I2C_Read... [17:27:09]Read from MH i2c: E2 03 00 [17:27:09]MH_I2C_Read... [17:27:09]Read from MH i2c: E2 03 00 41 06 00 90 00 BB [17:27:09]RAPDU: 90 00 [17:27:09]wFMCommunicate OK [17:27:09]wFMCommunicate request_size=255 [17:27:09]MH_SAM_APDU [17:27:09]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 72 10 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 94 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 36 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 2C 00 00 00 F4 03 04 00 6E B7 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 90 7F 00 00 35 04 06 00 5C [17:27:09]Write to MH i2c: E2 02 01 42 06 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 72 10 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 94 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 36 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 2C 00 00 00 F4 03 04 00 6E B7 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 90 7F 00 00 35 04 06 00 5C 00 00 C7 [17:27:09]Write i2c OK [17:27:09]MH_I2C_Read... [17:27:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:27:10]Read from MH i2c: E2 [17:27:10]MH_I2C_Read... [17:27:10]Read from MH i2c: E2 03 00 [17:27:10]MH_I2C_Read... [17:27:10]Read from MH i2c: E2 03 00 42 06 00 90 00 BC [17:27:10]RAPDU: 90 00 [17:27:10]wFMCommunicate OK [17:27:10]wFMCommunicate request_size=10 [17:27:10]MH_SAM_APDU [17:27:10]CAPDU: 80 0D 02 02 05 F8 EE CF CD F9 [17:27:10]Write to MH i2c: E2 0D 00 43 06 80 0D 02 02 05 00 F8 EE CF CD F9 00 00 48 [17:27:10]Write i2c OK [17:27:10]MH_I2C_Read... [17:27:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:27:10]Read from MH i2c: E2 [17:27:10]MH_I2C_Read... [17:27:10]Read from MH i2c: E2 03 00 [17:27:10]MH_I2C_Read... [17:27:10]Read from MH i2c: E2 03 00 43 06 00 90 00 BD [17:27:10]RAPDU: 90 00 [17:27:10]wFMCommunicate OK [17:27:10]wFMCommunicate request_size=4 [17:27:10]MH_SAM_APDU [17:27:10]CAPDU: 80 0D 03 02 [17:27:10]Write to MH i2c: E2 08 00 44 06 80 0D 03 02 00 00 00 00 C5 [17:27:10]Write i2c OK [17:27:10]MH_I2C_Read... [17:27:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:27:10]Read from MH i2c: E2 [17:27:10]MH_I2C_Read... [17:27:10]Read from MH i2c: E2 0B 00 [17:27:10]MH_I2C_Read... [17:27:10]Read from MH i2c: E2 0B 00 44 06 00 7F B8 DE 49 95 76 A1 5C 90 00 2C [17:27:10]RAPDU: 7F B8 DE 49 95 76 A1 5C 90 00 [17:27:10]wFMCommunicate OK [17:27:10]SAM_PROTO_SignData done [17:27:10]FM_MakeSignedData done [17:27:10]CreateOFDProtocolMessage [17:27:10]wFMCommunicate request_size=4 [17:27:10]MH_SAM_APDU [17:27:10]CAPDU: 80 11 00 00 [17:27:10]Write to MH i2c: E2 08 00 45 06 80 11 00 00 00 00 00 00 C5 [17:27:10]Write i2c OK [17:27:10]MH_I2C_Read... [17:27:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:27:10]Read from MH i2c: E2 [17:27:10]MH_I2C_Read... [17:27:10]Read from MH i2c: E2 17 00 [17:27:10]MH_I2C_Read... [17:27:10]Read from MH i2c: E2 17 00 45 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 1B [17:27:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:27:10]wFMCommunicate OK [17:27:10]CreateOFDProtocolMessage done [17:27:10]OFDSenderStorePacket 32656 [17:27:10]StoreOFDPacket docnum=32656 [17:27:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 E2 3D 07 01 C1 C3 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 72 10 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 94 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 36 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 2C 00 00 00 F4 03 04 00 6E B7 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 90 7F 00 00 35 04 06 00 5C F8 EE CF CD F9 7F B8 DE 49 95 76 A1 5C [17:27:10]CheckFolder [17:27:10]dirname=/storage/ofd_packets [17:27:10]CheckFolder done [17:27:10]ProducePacketName [17:27:10]name=ofd_packets/00032656 [17:27:10]NVStorageSaveData ofd_packets/00032656 [17:27:10]File name is /storage/ofd_packets/00032656 [17:27:10]Write 301 bytes [17:27:10]NVStorageSaveData done [17:27:10]OFDSenderStorePacket done [17:27:10]KKMCreateOFDPacket done [17:27:10]NVStorageSaveData kkm_last_timestamp [17:27:10]File name is /storage/kkm_last_timestamp [17:27:10]Write 4 bytes [17:27:10]NVStorageSaveData done [17:27:10]ExternCall_PrintAddStr [17:27:10]wPrintStart [17:27:10]Write to MH i2c: 01 00 00 46 06 4C [17:27:10]Write i2c OK [17:27:10]MH_I2C_Read... [17:27:10]Read from MH i2c: 01 [17:27:10]MH_I2C_Read... [17:27:10]Read from MH i2c: 01 07 00 [17:27:10]MH_I2C_Read... [17:27:10]Read from MH i2c: 01 07 00 46 06 00 00 00 00 00 FF 0F 61 [17:27:10]RasterBufferAndPrint [17:27:10]line Счет N : (1)6545162 [17:27:10]line ИНН: 02508201610067 [17:27:10]line Контрольно-Кассовый Чек [17:27:10]line ПРОДАЖА [17:27:10]line ТРК (МРК, ГНК) : 22 [17:27:10]line Товар: 2710124130 [17:27:10]line Аи-92-К-5 [17:27:10]line 4.210 * 64.20 [17:27:10]line = 270.28 [17:27:10]line НДС 12% НСП 1% [17:27:10]line > о реализуемом товаре [17:27:10]line ОКРУГЛЕНИЕ: -0.28 [17:27:10]line ИТОГО: 270.00 [17:27:10]line Внесено: 270.00 [17:27:10]line СДАЧА: 0.00 [17:27:10]line НСП 1% : 2.39 [17:27:10]line НДС 12% : 28.70 [17:27:10]line Наличными: 270.00 [17:27:10]line Безнал.: 0.00 [17:27:10]line Место: АЗС № 96 "Партнер Нефть" [17:27:10]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [17:27:10]line СНО: Общий режим [17:27:10]line Чек 44 21.02.2025 17:27 [17:27:10]line Смена: 386 ФФД: 1.0 [17:27:10]line ЗНМ: 0300000059 [17:27:10]line РНМ: 0000000000146237 [17:27:10]line Версия ККМ: v1.0 [17:27:10]line ФМ: 0000000000959282 [17:27:10]line ФД: 32656 [17:27:10]line ФПД: 102224228240889 [17:27:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T172710&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32656&fm=102224228240889&tin=02508201610067®Number=0000000000146237&sum=27000 [17:27:10]written 0, free lines is 4095 [17:27:10]OFD Sender: Processing packet 32656 [packets to send 105, broken 104] [17:27:10]ProducePacketName [17:27:10]name=ofd_packets/00032656 [17:27:10]OFD Sender: To server: pG, [17:27:10]CommunicateWithHost lk.salyk.kg:30040 [17:27:10]ConnectInit lk.salyk.kg [17:27:10]Connected sock=10 [17:27:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 E2 3D 07 01 C1 C3 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 72 10 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 94 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 36 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 2C 00 00 00 F4 03 04 00 6E B7 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 90 7F 00 00 35 04 06 00 5C F8 EE CF CD F9 7F B8 DE 49 95 76 A1 5C [17:27:10]Write to MH i2c: 01 00 00 71 06 77 [17:27:10]Write i2c OK [17:27:10]MH_I2C_Read... [17:27:10]Read from MH i2c: 01 [17:27:10]MH_I2C_Read... [17:27:10]Read from MH i2c: 01 07 00 [17:27:10]MH_I2C_Read... [17:27:10]Read from MH i2c: 01 07 00 71 06 00 00 00 00 00 EF 0C 79 [17:27:10]RasterBufferAndPrint [17:27:10]line [17:27:10]line [17:27:10]line [17:27:10]line [17:27:10]line [17:27:10]written 0, free lines is 3317 [17:27:10]MH_Cut [17:27:10]Write to MH i2c: D1 01 00 78 06 01 50 [17:27:10]Write i2c OK [17:27:10]MH_I2C_Read... [17:27:10]Read from MH i2c: D1 [17:27:10]MH_I2C_Read... [17:27:10]Read from MH i2c: D1 01 00 [17:27:10]MH_I2C_Read... [17:27:10]Read from MH i2c: D1 01 00 78 06 00 4F [17:27:10]Write to MH i2c: 01 00 00 79 06 7F [17:27:10]Write i2c OK [17:27:10]MH_I2C_Read... [17:27:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 4F 88 47 00 B9 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 32 38 32 10 04 04 00 90 7F 00 00 F4 03 04 00 04 61 B8 67 B6 04 01 00 00 34 A0 C3 A9 82 C4 E6 CA [17:27:11]CommunicateWithHost err = 0 [17:27:11]CheckOFDResponse [17:27:11]1017 (14) - 77093643461234 [17:27:11]1041 (16) - 0000000000959282 [17:27:11]1040 (4) - 32656 [17:27:11]1012 (4) - 21.02.2025 11:18 [17:27:11]1206 (1) - 0 [17:27:11]OFD Sender: Remove packet 32656 [17:27:11]ProducePacketName [17:27:11]name=ofd_packets/00032656 [17:27:11]NVStorageDeleteData [17:27:11]OFD Sender: No OFD packet to send [17:27:11]*** Cut start [17:27:11]*** Partial cut [17:27:11]*** CUTSNS_PIN = 1 [17:27:11]*** CUTSNS_PIN = 0 [17:27:11]*** Brake cut motor [17:27:12]Read from MH i2c: 01 [17:27:12]MH_I2C_Read... [17:27:12]*** Stop cut motor [17:27:12]*** Cut end [17:27:12]Read from MH i2c: 01 07 00 [17:27:12]MH_I2C_Read... [17:27:12]Read from MH i2c: 01 07 00 79 06 00 00 00 00 00 FF 0F 94 [17:27:12]process_action close_receipt done [17:27:12]requested_data is exist [17:27:12]produce_requested_data [17:27:12]requested_item fm.sn is exist - process it [17:27:12]wFMCommunicate request_size=4 [17:27:12]MH_SAM_APDU [17:27:12]CAPDU: 80 11 00 00 [17:27:12]Write to MH i2c: E2 08 00 7A 06 80 11 00 00 00 00 00 00 FA [17:27:12]Write i2c OK [17:27:12]MH_I2C_Read... [17:27:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:27:12]Read from MH i2c: E2 [17:27:12]MH_I2C_Read... [17:27:12]Read from MH i2c: E2 17 00 [17:27:12]MH_I2C_Read... [17:27:12]Read from MH i2c: E2 17 00 7A 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 50 [17:27:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:27:12]wFMCommunicate OK [17:27:12]requested_item fd.num is exist - process it [17:27:12]SAM_PROTO_GetFieldsCounters [17:27:12]wFMCommunicate request_size=4 [17:27:12]MH_SAM_APDU [17:27:12]CAPDU: 80 13 00 00 [17:27:12]Write to MH i2c: E2 08 00 7B 06 80 13 00 00 00 00 00 00 FD [17:27:12]Write i2c OK [17:27:12]MH_I2C_Read... [17:27:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:27:12]Read from MH i2c: E2 [17:27:12]MH_I2C_Read... [17:27:12]Read from MH i2c: E2 62 00 [17:27:12]MH_I2C_Read... [17:27:12]Read from MH i2c: E2 62 00 7B 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 90 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 35 [17:27: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 90 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:27:12]wFMCommunicate OK [17:27:12]SAM_PROTO_GetFieldsCounters done [17:27:12]requested_item shift.num is exist - process it [17:27:12]requested_item shift.opened is exist - process it [17:27:12]req_shift_opened [17:27:12]FM_GetShiftState [17:27:12]SAM_PROTO_GetShiftState [17:27:12]wFMCommunicate request_size=4 [17:27:12]MH_SAM_APDU [17:27:12]CAPDU: 80 13 01 00 [17:27:12]Write to MH i2c: E2 08 00 7C 06 80 13 01 00 00 00 00 00 FF [17:27:12]Write i2c OK [17:27:12]MH_I2C_Read... [17:27:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:27:12]Read from MH i2c: E2 [17:27:12]MH_I2C_Read... [17:27:12]Read from MH i2c: E2 0E 00 [17:27:12]MH_I2C_Read... [17:27:12]Read from MH i2c: E2 0E 00 7C 06 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 64 [17:27:12]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [17:27:12]wFMCommunicate OK [17:27:12]SAM_PROTO_GetShiftState done [17:27:12]FM_GetShiftState done [17:27:12]req_shift_opened done [17:27:12]requested_item shift.open_date is exist - process it [17:27:12]req_shift_open_date [17:27:12]req_shift_open_date done [17:27:12]produce_requested_data done [17:27:12]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32656,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [17:27:12]process_action_free close_receipt [17:27:12]json_value_free [17:27:12]json_value_free done [17:27:12]process_json_proto returns [17:27:12]Send response to host [17:27:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32656,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [17:27:12]free response buf [17:27:12]execute_script done [17:27:12]execute_script returns [17:27:12]free content buf [17:27:12]Sock 7.Close socket [17:27:12]Sock 7.Thread stoped [17:27:16]OFD Sender: No OFD packet to send [17:27:21]OFD Sender: No OFD packet to send [17:27:26]OFD Sender: No OFD packet to send [17:27:31]OFD Sender: No OFD packet to send [17:27:36]OFD Sender: No OFD packet to send [17:27:41]OFD Sender: No OFD packet to send [17:27:46]OFD Sender: No OFD packet to send [17:27:51]OFD Sender: No OFD packet to send [17:27:56]OFD Sender: No OFD packet to send [17:28:01]OFD Sender: No OFD packet to send [17:28:06]OFD Sender: No OFD packet to send [17:28:11]OFD Sender: No OFD packet to send [17:28:16]OFD Sender: No OFD packet to send [17:28:21]OFD Sender: No OFD packet to send [17:28:26]OFD Sender: No OFD packet to send [17:28:31]OFD Sender: No OFD packet to send [17:28:36]OFD Sender: No OFD packet to send [17:28:41]OFD Sender: No OFD packet to send [17:28:46]OFD Sender: No OFD packet to send [17:28:51]OFD Sender: No OFD packet to send [17:28:56]OFD Sender: No OFD packet to send [17:29:01]OFD Sender: No OFD packet to send [17:29:05]accept exits with 9 [17:29:05]New connection [17:29:05]New thread 3067473252 created [17:29:05]Thread 3067329892 joined [17:29:05]Waiting for new connection... [17:29:05] Sock 9.Parse request [17:29:05]Sock 9.Check first char [17:29:05]Sock 9.First char is OK [17:29:05]request: POST /json_proto HTTP/1.0 [17:29:05]Method: POST [17:29:05]URL: /json_proto [17:29:05]Method is POST - this is cgi request [17:29:05]url: /json_proto [17:29:05]query_string will be loaded in cgi processing [17:29:05]execute_cgi json_proto POST (null) [17:29:05]execute_cgi path=json_proto method=POST [17:29:05]POST find Content-Length [17:29:05]Host: 172.17.47.135:8080 [17:29:05]Content-Length: 678 [17:29:05]Content-Type: application/json [17:29:05] [17:29:05]POST finish read [17:29:05]Found Content-Length = 678 [17:29:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6545163", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 9.350, "sum" : 600.27, "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" ] } } [17:29:05]execute_script... [17:29:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6545163", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 42", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 9.350, "sum" : 600.27, "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" ] } } [17:29:05]POST & json_proto [17:29:05]process_json_proto [17:29:05]json parsed OK: [17:29:05]protocol is kg_v1.0 [17:29:05]action value=close_receipt [17:29:05]process_action close_receipt [17:29:05]cmd_close_receipt [17:29:05]MH_GetDate [17:29:05]Write to MH i2c: F0 00 00 7D 06 72 [17:29:05]Write i2c OK [17:29:05]MH_I2C_Read... [17:29:05]Read from MH i2c: F0 [17:29:05]MH_I2C_Read... [17:29:05]Read from MH i2c: F0 09 00 [17:29:05]MH_I2C_Read... [17:29:05]Read from MH i2c: F0 09 00 7D 06 00 E3 B7 B8 67 19 D8 DE 66 69 [17:29:05]GetLastDocTimeStamp 1740158830 [17:29:05]current date 1740158947 [17:29:05]FM_GetShiftState [17:29:05]SAM_PROTO_GetShiftState [17:29:05]wFMCommunicate request_size=4 [17:29:05]MH_SAM_APDU [17:29:05]CAPDU: 80 13 01 00 [17:29:05]Write to MH i2c: E2 08 00 7E 06 80 13 01 00 00 00 00 00 01 [17:29:05]Write i2c OK [17:29:05]MH_I2C_Read... [17:29:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:29:05]Read from MH i2c: E2 [17:29:05]MH_I2C_Read... [17:29:05]Read from MH i2c: E2 0E 00 [17:29:05]MH_I2C_Read... [17:29:05]Read from MH i2c: E2 0E 00 7E 06 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 66 [17:29:05]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [17:29:05]wFMCommunicate OK [17:29:05]SAM_PROTO_GetShiftState done [17:29:05]FM_GetShiftState done [17:29:05]opened in 1740096631 [17:29:05]opened+sec_in_day 1740183031 [17:29:05]quantity*price = 60027 [17:29:05]sum+1 = 60028 [17:29:05]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.27 ИТОГО: 600.00 Внесено: 600.00 СДАЧА: 0.00 НСП 1% : 5.31 НДС 12% : 63.74 Наличными: 600.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 45 21.02.2025 17:29 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32657 ФПД: 199112121098507 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T172907&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32657&fm=199112121098507&tin=02508201610067®Number=0000000000146237&sum=60000 [17:29:06]StoreToDocumentArchive [17:29:06]shift 386 fd 32657 [17:29:06]save to /storage/0386/doc_00032657 [17:29:06]save last doc name /storage/0386/doc_00032657 to /storage/kkm_last_doc_name [17:29:06]save OK [17:29:06]Clear old archive folders... [17:29:06]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:29:06]tlvbuf is 00801790 [17:29:06]SAM_PROTO_ClearQueue [17:29:06]wFMCommunicate request_size=4 [17:29:06]MH_SAM_APDU [17:29:06]CAPDU: 80 09 00 00 [17:29:06]Write to MH i2c: E2 08 00 8B 06 80 09 00 00 00 00 00 00 03 [17:29:06]Write i2c OK [17:29:06]MH_I2C_Read... [17:29:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:29:06]Read from MH i2c: E2 [17:29:06]MH_I2C_Read... [17:29:06]Read from MH i2c: E2 03 00 [17:29:06]MH_I2C_Read... [17:29:06]Read from MH i2c: E2 03 00 8B 06 00 90 00 05 [17:29:06]RAPDU: 90 00 [17:29:06]wFMCommunicate OK [17:29:06]SAM_PROTO_ClearQueue done [17:29:06]KKMCreateOFDPacket [17:29:06]OFDProtocolAddRootSTLVToBuf [17:29:06]FM_MakeSignedData [17:29:06]FM_MakeSignedData [17:29:06]SAM_PROTO_SignData [17:29:06]wFMCommunicate request_size=4 [17:29:06]MH_SAM_APDU [17:29:06]CAPDU: 80 0D 01 02 [17:29:06]Write to MH i2c: E2 08 00 8C 06 80 0D 01 02 00 00 00 00 0B [17:29:06]Write i2c OK [17:29:06]MH_I2C_Read... [17:29:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:29:06]Read from MH i2c: E2 [17:29:06]MH_I2C_Read... [17:29:06]Read from MH i2c: E2 03 00 [17:29:06]MH_I2C_Read... [17:29:06]Read from MH i2c: E2 03 00 8C 06 00 90 00 06 [17:29:06]RAPDU: 90 00 [17:29:06]wFMCommunicate OK [17:29:06]wFMCommunicate request_size=255 [17:29:06]MH_SAM_APDU [17:29:06]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 86 24 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 7B 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 E6 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 2D 00 00 00 F4 03 04 00 E3 B7 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 91 7F 00 00 35 04 06 00 B5 [17:29:06]Write to MH i2c: E2 02 01 8D 06 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 86 24 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 7B 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 E6 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 2D 00 00 00 F4 03 04 00 E3 B7 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 91 7F 00 00 35 04 06 00 B5 00 00 27 [17:29:06]Write i2c OK [17:29:06]MH_I2C_Read... [17:29:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:29:07]Read from MH i2c: E2 [17:29:07]MH_I2C_Read... [17:29:07]Read from MH i2c: E2 03 00 [17:29:07]MH_I2C_Read... [17:29:07]Read from MH i2c: E2 03 00 8D 06 00 90 00 07 [17:29:07]RAPDU: 90 00 [17:29:07]wFMCommunicate OK [17:29:07]wFMCommunicate request_size=10 [17:29:07]MH_SAM_APDU [17:29:07]CAPDU: 80 0D 02 02 05 17 67 3F A1 0B [17:29:07]Write to MH i2c: E2 0D 00 8E 06 80 0D 02 02 05 00 17 67 3F A1 0B 00 00 81 [17:29:07]Write i2c OK [17:29:07]MH_I2C_Read... [17:29:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:29:07]Read from MH i2c: E2 [17:29:07]MH_I2C_Read... [17:29:07]Read from MH i2c: E2 03 00 [17:29:07]MH_I2C_Read... [17:29:07]Read from MH i2c: E2 03 00 8E 06 00 90 00 08 [17:29:07]RAPDU: 90 00 [17:29:07]wFMCommunicate OK [17:29:07]wFMCommunicate request_size=4 [17:29:07]MH_SAM_APDU [17:29:07]CAPDU: 80 0D 03 02 [17:29:07]Write to MH i2c: E2 08 00 8F 06 80 0D 03 02 00 00 00 00 10 [17:29:07]Write i2c OK [17:29:07]MH_I2C_Read... [17:29:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:29:07]Read from MH i2c: E2 [17:29:07]MH_I2C_Read... [17:29:07]Read from MH i2c: E2 0B 00 [17:29:07]MH_I2C_Read... [17:29:07]Read from MH i2c: E2 0B 00 8F 06 00 68 06 78 C5 ED 3E C2 64 90 00 0D [17:29:07]RAPDU: 68 06 78 C5 ED 3E C2 64 90 00 [17:29:07]wFMCommunicate OK [17:29:07]SAM_PROTO_SignData done [17:29:07]FM_MakeSignedData done [17:29:07]CreateOFDProtocolMessage [17:29:07]wFMCommunicate request_size=4 [17:29:07]MH_SAM_APDU [17:29:07]CAPDU: 80 11 00 00 [17:29:07]Write to MH i2c: E2 08 00 90 06 80 11 00 00 00 00 00 00 10 [17:29:07]Write i2c OK [17:29:07]MH_I2C_Read... [17:29:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:29:07]Read from MH i2c: E2 [17:29:07]MH_I2C_Read... [17:29:07]Read from MH i2c: E2 17 00 [17:29:07]MH_I2C_Read... [17:29:07]Read from MH i2c: E2 17 00 90 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 66 [17:29:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:29:07]wFMCommunicate OK [17:29:07]CreateOFDProtocolMessage done [17:29:07]OFDSenderStorePacket 32657 [17:29:07]StoreOFDPacket docnum=32657 [17:29:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 36 97 07 01 0A 14 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 86 24 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 7B 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 E6 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 2D 00 00 00 F4 03 04 00 E3 B7 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 91 7F 00 00 35 04 06 00 B5 17 67 3F A1 0B 68 06 78 C5 ED 3E C2 64 [17:29:07]CheckFolder [17:29:07]dirname=/storage/ofd_packets [17:29:07]CheckFolder done [17:29:07]ProducePacketName [17:29:07]name=ofd_packets/00032657 [17:29:07]NVStorageSaveData ofd_packets/00032657 [17:29:07]File name is /storage/ofd_packets/00032657 [17:29:07]Write 301 bytes [17:29:07]NVStorageSaveData done [17:29:07]OFDSenderStorePacket done [17:29:07]KKMCreateOFDPacket done [17:29:07]NVStorageSaveData kkm_last_timestamp [17:29:07]File name is /storage/kkm_last_timestamp [17:29:07]Write 4 bytes [17:29:07]NVStorageSaveData done [17:29:07]ExternCall_PrintAddStr [17:29:07]wPrintStart [17:29:07]Write to MH i2c: 01 00 00 91 06 97 [17:29:07]Write i2c OK [17:29:07]MH_I2C_Read... [17:29:07]Read from MH i2c: 01 [17:29:07]MH_I2C_Read... [17:29:07]Read from MH i2c: 01 07 00 [17:29:07]MH_I2C_Read... [17:29:07]Read from MH i2c: 01 07 00 91 06 00 00 00 00 00 FF 0F AC [17:29:07]RasterBufferAndPrint [17:29:07]line Счет N : (1)6545163 [17:29:07]line ИНН: 02508201610067 [17:29:07]line Контрольно-Кассовый Чек [17:29:07]line ПРОДАЖА [17:29:07]line ТРК (МРК, ГНК) : 42 [17:29:07]line Товар: 2710124130 [17:29:07]line Аи-92-К-5 [17:29:07]line 9.350 * 64.20 [17:29:07]line = 600.27 [17:29:07]line НДС 12% НСП 1% [17:29:07]line > о реализуемом товаре [17:29:07]line ОКРУГЛЕНИЕ: -0.27 [17:29:07]line ИТОГО: 600.00 [17:29:07]line Внесено: 600.00 [17:29:07]line СДАЧА: 0.00 [17:29:07]line НСП 1% : 5.31 [17:29:07]line НДС 12% : 63.74 [17:29:07]line Наличными: 600.00 [17:29:07]line Безнал.: 0.00 [17:29:07]line Место: АЗС № 96 "Партнер Нефть" [17:29:07]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [17:29:07]line СНО: Общий режим [17:29:07]line Чек 45 21.02.2025 17:29 [17:29:07]line Смена: 386 ФФД: 1.0 [17:29:07]line ЗНМ: 0300000059 [17:29:07]line РНМ: 0000000000146237 [17:29:07]line Версия ККМ: v1.0 [17:29:07]line ФМ: 0000000000959282 [17:29:07]line ФД: 32657 [17:29:07]line ФПД: 199112121098507 [17:29:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T172907&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32657&fm=199112121098507&tin=02508201610067®Number=0000000000146237&sum=60000 [17:29:07]OFD Sender: Processing packet 32657 [packets to send 105, broken 104] [17:29:07]ProducePacketName [17:29:07]name=ofd_packets/00032657 [17:29:07]OFD Sender: To server: pG, [17:29:07]CommunicateWithHost lk.salyk.kg:30040 [17:29:07]ConnectInit lk.salyk.kg [17:29:07]written 0, free lines is 4095 [17:29:07]Connected sock=10 [17:29:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 36 97 07 01 0A 14 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 86 24 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 7B 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 E6 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 2D 00 00 00 F4 03 04 00 E3 B7 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 91 7F 00 00 35 04 06 00 B5 17 67 3F A1 0B 68 06 78 C5 ED 3E C2 64 [17:29:08]Write to MH i2c: 01 00 00 BC 06 C2 [17:29:08]Write i2c OK [17:29:08]MH_I2C_Read... [17:29:08]Read from MH i2c: 01 [17:29:08]MH_I2C_Read... [17:29:08]Read from MH i2c: 01 07 00 [17:29:08]MH_I2C_Read... [17:29:08]Read from MH i2c: 01 07 00 BC 06 00 00 00 00 00 FC 0C D1 [17:29:08]RasterBufferAndPrint [17:29:08]line [17:29:08]line [17:29:08]line [17:29:08]line [17:29:08]line [17:29:08]written 0, free lines is 3330 [17:29:08]MH_Cut [17:29:08]Write to MH i2c: D1 01 00 C3 06 01 9B [17:29:08]Write i2c OK [17:29:08]MH_I2C_Read... [17:29:08]Read from MH i2c: D1 [17:29:08]MH_I2C_Read... [17:29:08]Read from MH i2c: D1 01 00 [17:29:08]MH_I2C_Read... [17:29:08]Read from MH i2c: D1 01 00 C3 06 00 9A [17:29:08]Write to MH i2c: 01 00 00 C4 06 CA [17:29:08]Write i2c OK [17:29:08]MH_I2C_Read... [17:29:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 73 56 47 00 3B 84 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 91 7F 00 00 F4 03 04 00 79 61 B8 67 B6 04 01 00 00 11 DB C8 77 E5 BE EB BC [17:29:08]CommunicateWithHost err = 0 [17:29:08]CheckOFDResponse [17:29:08]1017 (14) - 77093643461234 [17:29:08]1041 (16) - 0000000000959282 [17:29:08]1040 (4) - 32657 [17:29:08]1012 (4) - 21.02.2025 11:20 [17:29:08]1206 (1) - 0 [17:29:08]OFD Sender: Remove packet 32657 [17:29:08]ProducePacketName [17:29:08]name=ofd_packets/00032657 [17:29:08]NVStorageDeleteData [17:29:08]OFD Sender: No OFD packet to send [17:29:08]*** Cut start [17:29:08]*** Partial cut [17:29:08]*** CUTSNS_PIN = 1 [17:29:08]*** CUTSNS_PIN = 0 [17:29:09]*** Brake cut motor [17:29:09]Read from MH i2c: 01 [17:29:09]MH_I2C_Read... [17:29:09]*** Stop cut motor [17:29:09]*** Cut end [17:29:09]Read from MH i2c: 01 07 00 [17:29:09]MH_I2C_Read... [17:29:09]Read from MH i2c: 01 07 00 C4 06 00 00 00 00 00 FF 0F DF [17:29:09]process_action close_receipt done [17:29:09]requested_data is exist [17:29:09]produce_requested_data [17:29:09]requested_item fm.sn is exist - process it [17:29:09]wFMCommunicate request_size=4 [17:29:09]MH_SAM_APDU [17:29:09]CAPDU: 80 11 00 00 [17:29:09]Write to MH i2c: E2 08 00 C5 06 80 11 00 00 00 00 00 00 45 [17:29:09]Write i2c OK [17:29:09]MH_I2C_Read... [17:29:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:29:09]Read from MH i2c: E2 [17:29:09]MH_I2C_Read... [17:29:09]Read from MH i2c: E2 17 00 [17:29:09]MH_I2C_Read... [17:29:09]Read from MH i2c: E2 17 00 C5 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 9B [17:29:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:29:09]wFMCommunicate OK [17:29:09]requested_item fd.num is exist - process it [17:29:09]SAM_PROTO_GetFieldsCounters [17:29:09]wFMCommunicate request_size=4 [17:29:09]MH_SAM_APDU [17:29:09]CAPDU: 80 13 00 00 [17:29:09]Write to MH i2c: E2 08 00 C6 06 80 13 00 00 00 00 00 00 48 [17:29:09]Write i2c OK [17:29:09]MH_I2C_Read... [17:29:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:29:09]Read from MH i2c: E2 [17:29:09]MH_I2C_Read... [17:29:09]Read from MH i2c: E2 62 00 [17:29:09]MH_I2C_Read... [17:29:09]Read from MH i2c: E2 62 00 C6 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 91 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 84 [17:29:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 91 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:29:09]wFMCommunicate OK [17:29:09]SAM_PROTO_GetFieldsCounters done [17:29:09]requested_item shift.num is exist - process it [17:29:09]requested_item shift.opened is exist - process it [17:29:09]req_shift_opened [17:29:09]FM_GetShiftState [17:29:09]SAM_PROTO_GetShiftState [17:29:09]wFMCommunicate request_size=4 [17:29:09]MH_SAM_APDU [17:29:09]CAPDU: 80 13 01 00 [17:29:09]Write to MH i2c: E2 08 00 C7 06 80 13 01 00 00 00 00 00 4A [17:29:09]Write i2c OK [17:29:09]MH_I2C_Read... [17:29:09]Read from MH i2c: E2 [17:29:09]MH_I2C_Read... [17:29:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:29:09]Read from MH i2c: E2 0E 00 [17:29:09]MH_I2C_Read... [17:29:09]Read from MH i2c: E2 0E 00 C7 06 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 AF [17:29:09]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [17:29:09]wFMCommunicate OK [17:29:09]SAM_PROTO_GetShiftState done [17:29:09]FM_GetShiftState done [17:29:09]req_shift_opened done [17:29:09]requested_item shift.open_date is exist - process it [17:29:09]req_shift_open_date [17:29:09]req_shift_open_date done [17:29:09]produce_requested_data done [17:29:09]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32657,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [17:29:09]process_action_free close_receipt [17:29:09]json_value_free [17:29:09]json_value_free done [17:29:09]process_json_proto returns [17:29:09]Send response to host [17:29:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32657,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [17:29:09]free response buf [17:29:09]execute_script done [17:29:09]execute_script returns [17:29:09]free content buf [17:29:09]Sock 9.Close socket [17:29:09]Sock 9.Thread stoped [17:29:13]OFD Sender: No OFD packet to send [17:29:18]OFD Sender: No OFD packet to send [17:29:23]OFD Sender: No OFD packet to send [17:29:28]OFD Sender: No OFD packet to send [17:29:33]OFD Sender: No OFD packet to send [17:29:38]OFD Sender: No OFD packet to send [17:29:43]OFD Sender: No OFD packet to send [17:29:48]OFD Sender: No OFD packet to send [17:29:53]OFD Sender: No OFD packet to send [17:29:58]OFD Sender: No OFD packet to send [17:30:03]OFD Sender: No OFD packet to send [17:30:08]OFD Sender: No OFD packet to send [17:30:13]OFD Sender: No OFD packet to send [17:30:18]OFD Sender: No OFD packet to send [17:30:23]OFD Sender: No OFD packet to send [17:30:28]OFD Sender: No OFD packet to send [17:30:33]OFD Sender: No OFD packet to send [17:30:38]OFD Sender: No OFD packet to send [17:30:43]OFD Sender: No OFD packet to send [17:30:48]OFD Sender: No OFD packet to send [17:30:53]OFD Sender: No OFD packet to send [17:30:58]OFD Sender: No OFD packet to send [17:31:03]OFD Sender: No OFD packet to send [17:31:08]OFD Sender: No OFD packet to send [17:31:13]OFD Sender: No OFD packet to send [17:31:18]OFD Sender: No OFD packet to send [17:31:23]OFD Sender: No OFD packet to send [17:31:28]OFD Sender: No OFD packet to send [17:31:33]OFD Sender: No OFD packet to send [17:31:38]OFD Sender: No OFD packet to send [17:31:43]OFD Sender: No OFD packet to send [17:31:48]accept exits with 7 [17:31:48]New connection [17:31:48]New thread 3067329892 created [17:31:48]Thread 3067473252 joined [17:31:48]Waiting for new connection... [17:31:48] Sock 7.Parse request [17:31:48]Sock 7.Check first char [17:31:48]Sock 7.First char is OK [17:31:48]request: POST /json_proto HTTP/1.0 [17:31:48]Method: POST [17:31:48]URL: /json_proto [17:31:48]Method is POST - this is cgi request [17:31:48]url: /json_proto [17:31:48]query_string will be loaded in cgi processing [17:31:48]execute_cgi json_proto POST (null) [17:31:48]execute_cgi path=json_proto method=POST [17:31:48]POST find Content-Length [17:31:48]Host: 172.17.47.135:8080 [17:31:48]Content-Length: 639 [17:31:48]Content-Type: application/json [17:31:48] [17:31:48]POST finish read [17:31:48]Found Content-Length = 639 [17:31:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130860", "tax_sys" : 0, "items" : [ { "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 124.00, "quantity" : 1.000, "sum" : 124.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 124.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:31:48]execute_script... [17:31:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)130860", "tax_sys" : 0, "items" : [ { "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 124.00, "quantity" : 1.000, "sum" : 124.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 124.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:31:48]POST & json_proto [17:31:48]process_json_proto [17:31:48]json parsed OK: [17:31:48]protocol is kg_v1.0 [17:31:48]action value=close_receipt [17:31:48]process_action close_receipt [17:31:48]cmd_close_receipt [17:31:48]MH_GetDate [17:31:48]Write to MH i2c: F0 00 00 C8 06 BD [17:31:48]Write i2c OK [17:31:48]MH_I2C_Read... [17:31:48]Read from MH i2c: F0 [17:31:48]MH_I2C_Read... [17:31:48]Read from MH i2c: F0 09 00 [17:31:48]MH_I2C_Read... [17:31:48]Read from MH i2c: F0 09 00 C8 06 00 86 B8 B8 67 19 D8 DE 66 58 [17:31:48]GetLastDocTimeStamp 1740158947 [17:31:48]current date 1740159110 [17:31:48]FM_GetShiftState [17:31:48]SAM_PROTO_GetShiftState [17:31:48]wFMCommunicate request_size=4 [17:31:48]MH_SAM_APDU [17:31:48]CAPDU: 80 13 01 00 [17:31:48]Write to MH i2c: E2 08 00 C9 06 80 13 01 00 00 00 00 00 4C [17:31:48]Write i2c OK [17:31:48]MH_I2C_Read... [17:31:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:31:48]Read from MH i2c: E2 [17:31:48]MH_I2C_Read... [17:31:48]Read from MH i2c: E2 0E 00 [17:31:48]MH_I2C_Read... [17:31:48]Read from MH i2c: E2 0E 00 C9 06 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 B1 [17:31:48]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [17:31:48]wFMCommunicate OK [17:31:48]SAM_PROTO_GetShiftState done [17:31:48]FM_GetShiftState done [17:31:48]opened in 1740096631 [17:31:48]opened+sec_in_day 1740183031 [17:31:48]quantity*price = 12400 [17:31:48]sum+1 = 12401 [17:31:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 124.00 НСП 1% : 1.10 НДС 12% : 13.17 Наличными: 124.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 46 21.02.2025 17:31 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32658 ФПД: 12133186293012 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T173150&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32658&fm=12133186293012&tin=02508201610067®Number=0000000000146237&sum=12400 0 [17:31:49]StoreToDocumentArchive [17:31:49]shift 386 fd 32658 [17:31:49]save to /storage/0386/doc_00032658 [17:31:49]save last doc name /storage/0386/doc_00032658 to /storage/kkm_last_doc_name [17:31:49]save OK [17:31:49]Clear old archive folders... [17:31:49]ProcessDocumentItem done err = 0, tmpTLVsize=271 [17:31:49]tlvbuf is 007F5310 [17:31:49]SAM_PROTO_ClearQueue [17:31:49]wFMCommunicate request_size=4 [17:31:49]MH_SAM_APDU [17:31:49]CAPDU: 80 09 00 00 [17:31:49]Write to MH i2c: E2 08 00 D6 06 80 09 00 00 00 00 00 00 4E [17:31:49]Write i2c OK [17:31:49]MH_I2C_Read... [17:31:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:31:49]Read from MH i2c: E2 [17:31:49]MH_I2C_Read... [17:31:49]Read from MH i2c: E2 03 00 [17:31:49]MH_I2C_Read... [17:31:49]Read from MH i2c: E2 03 00 D6 06 00 90 00 50 [17:31:49]RAPDU: 90 00 [17:31:49]wFMCommunicate OK [17:31:49]SAM_PROTO_ClearQueue done [17:31:49]KKMCreateOFDPacket [17:31:49]OFDProtocolAddRootSTLVToBuf [17:31:49]FM_MakeSignedData [17:31:49]FM_MakeSignedData [17:31:49]SAM_PROTO_SignData [17:31:49]wFMCommunicate request_size=4 [17:31:49]MH_SAM_APDU [17:31:49]CAPDU: 80 0D 01 02 [17:31:49]Write to MH i2c: E2 08 00 D7 06 80 0D 01 02 00 00 00 00 56 [17:31:49]Write i2c OK [17:31:49]MH_I2C_Read... [17:31:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:31:50]Read from MH i2c: E2 [17:31:50]MH_I2C_Read... [17:31:50]Read from MH i2c: E2 03 00 [17:31:50]MH_I2C_Read... [17:31:50]Read from MH i2c: E2 03 00 D7 06 00 90 00 51 [17:31:50]RAPDU: 90 00 [17:31:50]wFMCommunicate OK [17:31:50]wFMCommunicate request_size=255 [17:31:50]MH_SAM_APDU [17:31:50]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 30 00 00 00 00 13 04 06 00 70 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 05 00 00 00 00 07 04 06 00 70 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 86 B8 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 [17:31:50]Write to MH i2c: E2 02 01 D8 06 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 30 00 00 00 00 13 04 06 00 70 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 05 00 00 00 00 07 04 06 00 70 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 86 B8 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 CC [17:31:50]Write i2c OK [17:31:50]MH_I2C_Read... [17:31:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:31:50]Read from MH i2c: E2 [17:31:50]MH_I2C_Read... [17:31:50]Read from MH i2c: E2 03 00 [17:31:50]MH_I2C_Read... [17:31:50]Read from MH i2c: E2 03 00 D8 06 00 90 00 52 [17:31:50]RAPDU: 90 00 [17:31:50]wFMCommunicate OK [17:31:50]wFMCommunicate request_size=30 [17:31:50]MH_SAM_APDU [17:31:50]CAPDU: 80 0D 02 02 19 30 39 35 39 32 38 32 10 04 04 00 92 7F 00 00 35 04 06 00 0B 08 FA 42 4D 14 [17:31:50]Write to MH i2c: E2 21 00 D9 06 80 0D 02 02 19 00 30 39 35 39 32 38 32 10 04 04 00 92 7F 00 00 35 04 06 00 0B 08 FA 42 4D 14 00 00 16 [17:31:50]Write i2c OK [17:31:50]MH_I2C_Read... [17:31:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:31:50]Read from MH i2c: E2 [17:31:50]MH_I2C_Read... [17:31:50]Read from MH i2c: E2 03 00 [17:31:50]MH_I2C_Read... [17:31:50]Read from MH i2c: E2 03 00 D9 06 00 90 00 53 [17:31:50]RAPDU: 90 00 [17:31:50]wFMCommunicate OK [17:31:50]wFMCommunicate request_size=4 [17:31:50]MH_SAM_APDU [17:31:50]CAPDU: 80 0D 03 02 [17:31:50]Write to MH i2c: E2 08 00 DA 06 80 0D 03 02 00 00 00 00 5B [17:31:50]Write i2c OK [17:31:50]MH_I2C_Read... [17:31:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:31:50]Read from MH i2c: E2 [17:31:50]MH_I2C_Read... [17:31:50]Read from MH i2c: E2 0B 00 [17:31:50]MH_I2C_Read... [17:31:50]Read from MH i2c: E2 0B 00 DA 06 00 2D ED 36 5E E4 2B B6 F9 90 00 C8 [17:31:50]RAPDU: 2D ED 36 5E E4 2B B6 F9 90 00 [17:31:50]wFMCommunicate OK [17:31:50]SAM_PROTO_SignData done [17:31:50]FM_MakeSignedData done [17:31:50]CreateOFDProtocolMessage [17:31:50]wFMCommunicate request_size=4 [17:31:50]MH_SAM_APDU [17:31:50]CAPDU: 80 11 00 00 [17:31:50]Write to MH i2c: E2 08 00 DB 06 80 11 00 00 00 00 00 00 5B [17:31:50]Write i2c OK [17:31:50]MH_I2C_Read... [17:31:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:31:50]Read from MH i2c: E2 [17:31:50]MH_I2C_Read... [17:31:50]Read from MH i2c: E2 17 00 [17:31:50]MH_I2C_Read... [17:31:50]Read from MH i2c: E2 17 00 DB 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 B1 [17:31:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:31:50]wFMCommunicate OK [17:31:50]CreateOFDProtocolMessage done [17:31:50]OFDSenderStorePacket 32658 [17:31:50]StoreOFDPacket docnum=32658 [17:31:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 23 01 00 00 40 DC 1B 01 F8 0D 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 30 00 00 00 00 13 04 06 00 70 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 05 00 00 00 00 07 04 06 00 70 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 86 B8 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 92 7F 00 00 35 04 06 00 0B 08 FA 42 4D 14 2D ED 36 5E E4 2B B6 F9 [17:31:50]CheckFolder [17:31:50]dirname=/storage/ofd_packets [17:31:50]CheckFolder done [17:31:50]ProducePacketName [17:31:50]name=ofd_packets/00032658 [17:31:50]NVStorageSaveData ofd_packets/00032658 [17:31:50]File name is /storage/ofd_packets/00032658 [17:31:50]Write 321 bytes [17:31:50]NVStorageSaveData done [17:31:50]OFDSenderStorePacket done [17:31:50]KKMCreateOFDPacket done [17:31:50]NVStorageSaveData kkm_last_timestamp [17:31:50]File name is /storage/kkm_last_timestamp [17:31:50]Write 4 bytes [17:31:50]NVStorageSaveData done [17:31:50]OFD Sender: Processing packet 32658 [packets to send 105, broken 104] [17:31:50]ProducePacketName [17:31:50]name=ofd_packets/00032658 [17:31:50]OFD Sender: To server: pG, [17:31:50]CommunicateWithHost lk.salyk.kg:30040 [17:31:50]ConnectInit lk.salyk.kg [17:31:50]ExternCall_PrintAddStr [17:31:50]wPrintStart [17:31:50]Write to MH i2c: 01 00 00 DC 06 E2 [17:31:50]Write i2c OK [17:31:50]MH_I2C_Read... [17:31:50]Read from MH i2c: 01 [17:31:50]MH_I2C_Read... [17:31:50]Read from MH i2c: 01 07 00 [17:31:50]MH_I2C_Read... [17:31:50]Read from MH i2c: 01 07 00 DC 06 00 00 00 00 00 FF 0F F7 [17:31:50]RasterBufferAndPrint [17:31:50]line Счет N : (3)130860 [17:31:50]line ИНН: 02508201610067 [17:31:50]line Контрольно-Кассовый Чек [17:31:50]line ПРОДАЖА [17:31:50]line Товар: 5449000006271 [17:31:50]line Напиток Фанта 1л [17:31:50]line 1.000 * 124.00 [17:31:50]line = 124.00 [17:31:50]line НДС 12% НСП 1% [17:31:50]line > о реализуемом товаре [17:31:50]line ИТОГО: 124.00 [17:31:50]line НСП 1% : 1.10 [17:31:50]line НДС 12% : 13.17 [17:31:50]line Наличными: 124.00 [17:31:50]line Безнал.: 0.00 [17:31:50]line Место: АЗС № 96 "Партнер Нефть" [17:31:50]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [17:31:50]line СНО: Общий режим [17:31:50]line Чек 46 21.02.2025 17:31 [17:31:50]line Смена: 386 ФФД: 1.0 [17:31:50]line ЗНМ: 0300000059 [17:31:50]line РНМ: 0000000000146237 [17:31:50]line Версия ККМ: v1.0 [17:31:50]line ФМ: 0000000000959282 [17:31:50]line ФД: 32658 [17:31:50]line ФПД: 12133186293012 [17:31:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T173150&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32658&fm=12133186293012&tin=02508201610067®Number=0000000000146237&sum=12400 [17:31:50]line 0 [17:31:50]Connected sock=11 [17:31: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 32 38 32 23 01 00 00 40 DC 1B 01 F8 0D 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 30 00 00 00 00 13 04 06 00 70 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 25 05 00 00 00 00 07 04 06 00 70 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 86 B8 B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 92 7F 00 00 35 04 06 00 0B 08 FA 42 4D 14 2D ED 36 5E E4 2B B6 F9 [17:31:50]written 0, free lines is 4095 [17:31:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 7E B3 47 00 2D 75 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 32 38 32 10 04 04 00 92 7F 00 00 F4 03 04 00 1C 62 B8 67 B6 04 01 00 00 C9 E4 DF 2B CF 1F 43 05 [17:31:51]CommunicateWithHost err = 0 [17:31:51]CheckOFDResponse [17:31:51]1017 (14) - 77093643461234 [17:31:51]1041 (16) - 0000000000959282 [17:31:51]1040 (4) - 32658 [17:31:51]1012 (4) - 21.02.2025 11:23 [17:31:51]1206 (1) - 0 [17:31:51]OFD Sender: Remove packet 32658 [17:31:51]ProducePacketName [17:31:51]name=ofd_packets/00032658 [17:31:51]NVStorageDeleteData [17:31:51]Write to MH i2c: 01 00 00 04 07 0B [17:31:51]Write i2c OK [17:31:51]MH_I2C_Read... [17:31:51]Read from MH i2c: 01 [17:31:51]MH_I2C_Read... [17:31:51]Read from MH i2c: 01 07 00 [17:31:51]MH_I2C_Read... [17:31:51]Read from MH i2c: 01 07 00 04 07 00 00 00 00 00 14 0D 33 [17:31:51]RasterBufferAndPrint [17:31:51]line [17:31:51]line [17:31:51]line [17:31:51]line [17:31:51]line [17:31:51]written 0, free lines is 3354 [17:31:51]MH_Cut [17:31:51]Write to MH i2c: D1 01 00 0B 07 01 E4 [17:31:51]Write i2c OK [17:31:51]MH_I2C_Read... [17:31:51]Read from MH i2c: D1 [17:31:51]MH_I2C_Read... [17:31:51]Read from MH i2c: D1 01 00 [17:31:51]MH_I2C_Read... [17:31:51]Read from MH i2c: D1 01 00 0B 07 00 E3 [17:31:51]Write to MH i2c: 01 00 00 0C 07 13 [17:31:51]Write i2c OK [17:31:51]MH_I2C_Read... [17:31:51]OFD Sender: No OFD packet to send [17:31:51]*** Cut start [17:31:51]*** Partial cut [17:31:51]*** CUTSNS_PIN = 1 [17:31:51]*** CUTSNS_PIN = 0 [17:31:52]*** Brake cut motor [17:31:52]Read from MH i2c: 01 [17:31:52]MH_I2C_Read... [17:31:52]*** Stop cut motor [17:31:52]*** Cut end [17:31:52]Read from MH i2c: 01 07 00 [17:31:52]MH_I2C_Read... [17:31:52]Read from MH i2c: 01 07 00 0C 07 00 00 00 00 00 FF 0F 28 [17:31:52]process_action close_receipt done [17:31:52]requested_data is exist [17:31:52]produce_requested_data [17:31:52]requested_item fm.sn is exist - process it [17:31:52]wFMCommunicate request_size=4 [17:31:52]MH_SAM_APDU [17:31:52]CAPDU: 80 11 00 00 [17:31:52]Write to MH i2c: E2 08 00 0D 07 80 11 00 00 00 00 00 00 8E [17:31:52]Write i2c OK [17:31:52]MH_I2C_Read... [17:31:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:31:52]Read from MH i2c: E2 [17:31:52]MH_I2C_Read... [17:31:52]Read from MH i2c: E2 17 00 [17:31:52]MH_I2C_Read... [17:31:52]Read from MH i2c: E2 17 00 0D 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 E4 [17:31:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:31:52]wFMCommunicate OK [17:31:52]requested_item fd.num is exist - process it [17:31:52]SAM_PROTO_GetFieldsCounters [17:31:52]wFMCommunicate request_size=4 [17:31:52]MH_SAM_APDU [17:31:52]CAPDU: 80 13 00 00 [17:31:52]Write to MH i2c: E2 08 00 0E 07 80 13 00 00 00 00 00 00 91 [17:31:52]Write i2c OK [17:31:52]MH_I2C_Read... [17:31:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:31:52]Read from MH i2c: E2 [17:31:52]MH_I2C_Read... [17:31:52]Read from MH i2c: E2 62 00 [17:31:52]MH_I2C_Read... [17:31:52]Read from MH i2c: E2 62 00 0E 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 92 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 D1 [17:31: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 92 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:31:52]wFMCommunicate OK [17:31:52]SAM_PROTO_GetFieldsCounters done [17:31:52]requested_item shift.num is exist - process it [17:31:52]requested_item shift.opened is exist - process it [17:31:52]req_shift_opened [17:31:52]FM_GetShiftState [17:31:52]SAM_PROTO_GetShiftState [17:31:52]wFMCommunicate request_size=4 [17:31:52]MH_SAM_APDU [17:31:52]CAPDU: 80 13 01 00 [17:31:52]Write to MH i2c: E2 08 00 0F 07 80 13 01 00 00 00 00 00 93 [17:31:52]Write i2c OK [17:31:52]MH_I2C_Read... [17:31:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:31:52]Read from MH i2c: E2 [17:31:52]MH_I2C_Read... [17:31:52]Read from MH i2c: E2 0E 00 [17:31:52]MH_I2C_Read... [17:31:52]Read from MH i2c: E2 0E 00 0F 07 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 F8 [17:31:52]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [17:31:52]wFMCommunicate OK [17:31:52]SAM_PROTO_GetShiftState done [17:31:52]FM_GetShiftState done [17:31:52]req_shift_opened done [17:31:52]requested_item shift.open_date is exist - process it [17:31:52]req_shift_open_date [17:31:52]req_shift_open_date done [17:31:52]produce_requested_data done [17:31:52]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32658,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [17:31:52]process_action_free close_receipt [17:31:52]json_value_free [17:31:52]json_value_free done [17:31:52]process_json_proto returns [17:31:52]Send response to host [17:31:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32658,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [17:31:52]free response buf [17:31:52]execute_script done [17:31:52]execute_script returns [17:31:52]free content buf [17:31:52]Sock 7.Close socket [17:31:52]Sock 7.Thread stoped [17:31:56]OFD Sender: No OFD packet to send [17:32:01]OFD Sender: No OFD packet to send [17:32:06]OFD Sender: No OFD packet to send [17:32:11]OFD Sender: No OFD packet to send [17:32:16]OFD Sender: No OFD packet to send [17:32:21]OFD Sender: No OFD packet to send [17:32:26]OFD Sender: No OFD packet to send [17:32:31]OFD Sender: No OFD packet to send [17:32:36]OFD Sender: No OFD packet to send [17:32:41]OFD Sender: No OFD packet to send [17:32:46]OFD Sender: No OFD packet to send [17:32:51]OFD Sender: No OFD packet to send [17:32:56]OFD Sender: No OFD packet to send [17:33:01]OFD Sender: No OFD packet to send [17:33:06]OFD Sender: No OFD packet to send [17:33:11]OFD Sender: No OFD packet to send [17:33:16]OFD Sender: No OFD packet to send [17:33:21]OFD Sender: No OFD packet to send [17:33:26]OFD Sender: No OFD packet to send [17:33:31]OFD Sender: No OFD packet to send [17:33:36]OFD Sender: No OFD packet to send [17:33:41]OFD Sender: No OFD packet to send [17:33:46]OFD Sender: No OFD packet to send [17:33:51]OFD Sender: No OFD packet to send [17:33:56]OFD Sender: No OFD packet to send [17:34:01]OFD Sender: No OFD packet to send [17:34:06]OFD Sender: No OFD packet to send [17:34:11]OFD Sender: No OFD packet to send [17:34:16]OFD Sender: No OFD packet to send [17:34:21]OFD Sender: No OFD packet to send [17:34:26]OFD Sender: No OFD packet to send [17:34:31]OFD Sender: No OFD packet to send [17:34:36]OFD Sender: No OFD packet to send [17:34:41]OFD Sender: No OFD packet to send [17:34:46]OFD Sender: No OFD packet to send [17:34:51]OFD Sender: No OFD packet to send [17:34:56]OFD Sender: No OFD packet to send [17:35:01]OFD Sender: No OFD packet to send [17:35:06]OFD Sender: No OFD packet to send [17:35:11]OFD Sender: No OFD packet to send [17:35:16]OFD Sender: No OFD packet to send [17:35:21]OFD Sender: No OFD packet to send [17:35:26]OFD Sender: No OFD packet to send [17:35:31]OFD Sender: No OFD packet to send [17:35:37]OFD Sender: No OFD packet to send [17:35:42]OFD Sender: No OFD packet to send [17:35:47]OFD Sender: No OFD packet to send [17:35:52]OFD Sender: No OFD packet to send [17:35:57]OFD Sender: No OFD packet to send [17:36:02]OFD Sender: No OFD packet to send [17:36:07]OFD Sender: No OFD packet to send [17:36:12]OFD Sender: No OFD packet to send [17:36:17]OFD Sender: No OFD packet to send [17:36:22]OFD Sender: No OFD packet to send [17:36:27]OFD Sender: No OFD packet to send [17:36:32]OFD Sender: No OFD packet to send [17:36:37]OFD Sender: No OFD packet to send [17:36:42]OFD Sender: No OFD packet to send [17:36:47]OFD Sender: No OFD packet to send [17:36:52]OFD Sender: No OFD packet to send [17:36:57]OFD Sender: No OFD packet to send [17:37:02]OFD Sender: No OFD packet to send [17:37:07]OFD Sender: No OFD packet to send [17:37:12]OFD Sender: No OFD packet to send [17:37:17]OFD Sender: No OFD packet to send [17:37:22]OFD Sender: No OFD packet to send [17:37:27]OFD Sender: No OFD packet to send [17:37:32]OFD Sender: No OFD packet to send [17:37:37]OFD Sender: No OFD packet to send [17:37:42]OFD Sender: No OFD packet to send [17:37:47]OFD Sender: No OFD packet to send [17:38:02]OFD Sender: No OFD packet to send [17:38:07]OFD Sender: No OFD packet to send [17:38:12]OFD Sender: No OFD packet to send [17:38:17]OFD Sender: No OFD packet to send [17:38:22]OFD Sender: No OFD packet to send [17:38:27]OFD Sender: No OFD packet to send [17:38:32]OFD Sender: No OFD packet to send [17:38:37]OFD Sender: No OFD packet to send [17:38:42]OFD Sender: No OFD packet to send [17:38:47]OFD Sender: No OFD packet to send [17:38:52]OFD Sender: No OFD packet to send [17:38:57]OFD Sender: No OFD packet to send [17:39:02]OFD Sender: No OFD packet to send [17:39:07]OFD Sender: No OFD packet to send [17:39:12]OFD Sender: No OFD packet to send [17:39:17]OFD Sender: No OFD packet to send [17:39:22]OFD Sender: No OFD packet to send [17:39:27]OFD Sender: No OFD packet to send [17:39:32]OFD Sender: No OFD packet to send [17:39:37]OFD Sender: No OFD packet to send [17:39:42]OFD Sender: No OFD packet to send [17:39:47]OFD Sender: No OFD packet to send [17:39:52]OFD Sender: No OFD packet to send [17:39:57]OFD Sender: No OFD packet to send [17:40:02]OFD Sender: No OFD packet to send [17:40:06]ConnectInit Can't connect to host [17:40:07]OFD Sender: No OFD packet to send [17:40:12]OFD Sender: No OFD packet to send [17:40:17]OFD Sender: No OFD packet to send [17:40:18]accept exits with 10 [17:40:18]New connection [17:40:18]New thread 3067473252 created [17:40:18]Thread 3067329892 joined [17:40:18]Waiting for new connection... [17:40:18] Sock 10.Parse request [17:40:18]Sock 10.Check first char [17:40:18]Sock 10.First char is OK [17:40:18]request: POST /json_proto HTTP/1.0 [17:40:18]Method: POST [17:40:18]URL: /json_proto [17:40:18]Method is POST - this is cgi request [17:40:18]url: /json_proto [17:40:18]query_string will be loaded in cgi processing [17:40:18]execute_cgi json_proto POST (null) [17:40:18]execute_cgi path=json_proto method=POST [17:40:18]POST find Content-Length [17:40:18]Host: 172.17.47.135:8080 [17:40:18]Content-Length: 817 [17:40:18]Content-Type: application/json [17:40:18] [17:40:18]POST finish read [17:40:18]Found Content-Length = 817 [17:40:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6545169", "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" : 64.20, "quantity" : 4.680, "sum" : 300.46, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 300.46 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:40:18]execute_script... [17:40: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)6545169", "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" : 64.20, "quantity" : 4.680, "sum" : 300.46, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 300.46 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:40:18]POST & json_proto [17:40:18]process_json_proto [17:40:18]json parsed OK: [17:40:18]protocol is kg_v1.0 [17:40:18]action value=close_receipt [17:40:18]process_action close_receipt [17:40:18]cmd_close_receipt [17:40:18]MH_GetDate [17:40:18]Write to MH i2c: F0 00 00 10 07 06 [17:40:18]Write i2c OK [17:40:18]MH_I2C_Read... [17:40:18]Read from MH i2c: F0 [17:40:18]MH_I2C_Read... [17:40:18]Read from MH i2c: F0 09 00 [17:40:18]MH_I2C_Read... [17:40:18]Read from MH i2c: F0 09 00 10 07 00 84 BA B8 67 19 D8 DE 66 A1 [17:40:18]GetLastDocTimeStamp 1740159110 [17:40:18]current date 1740159620 [17:40:18]FM_GetShiftState [17:40:18]SAM_PROTO_GetShiftState [17:40:18]wFMCommunicate request_size=4 [17:40:18]MH_SAM_APDU [17:40:18]CAPDU: 80 13 01 00 [17:40:18]Write to MH i2c: E2 08 00 11 07 80 13 01 00 00 00 00 00 95 [17:40:18]Write i2c OK [17:40:18]MH_I2C_Read... [17:40:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:40:18]Read from MH i2c: E2 [17:40:18]MH_I2C_Read... [17:40:18]Read from MH i2c: E2 0E 00 [17:40:18]MH_I2C_Read... [17:40:18]Read from MH i2c: E2 0E 00 11 07 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 FA [17:40:18]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [17:40:18]wFMCommunicate OK [17:40:18]SAM_PROTO_GetShiftState done [17:40:18]FM_GetShiftState done [17:40:18]opened in 1740096631 [17:40:18]opened+sec_in_day 1740183031 [17:40:18]quantity*price = 30045 [17:40:18]sum+1 = 30047 [17:40:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 300.46 НСП 1% : 2.66 НДС 12% : 31.91 Наличными: 0.00 Безнал.: 300.46 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 47 21.02.2025 17:40 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 Платежная система: Бакай Банк ФМ: 0000000000959282 ФД: 32659 ФПД: 275310652010123 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T174020&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32659&fm=275310652010123&tin=02508201610067®Number=0000000000146237&sum=30046 [17:40:19]StoreToDocumentArchive [17:40:19]shift 386 fd 32659 [17:40:19]save to /storage/0386/doc_00032659 [17:40:19]save last doc name /storage/0386/doc_00032659 to /storage/kkm_last_doc_name [17:40:19]save OK [17:40:19]Clear old archive folders... [17:40:19]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:40:19]tlvbuf is 00810B80 [17:40:19]SAM_PROTO_ClearQueue [17:40:19]wFMCommunicate request_size=4 [17:40:19]MH_SAM_APDU [17:40:19]CAPDU: 80 09 00 00 [17:40:19]Write to MH i2c: E2 08 00 1E 07 80 09 00 00 00 00 00 00 97 [17:40:19]Write i2c OK [17:40:19]MH_I2C_Read... [17:40:19]Read from MH i2c: E2 [17:40:19]MH_I2C_Read... [17:40:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:40:19]Read from MH i2c: E2 03 00 [17:40:19]MH_I2C_Read... [17:40:19]Read from MH i2c: E2 03 00 1E 07 00 90 00 99 [17:40:19]RAPDU: 90 00 [17:40:19]wFMCommunicate OK [17:40:19]SAM_PROTO_ClearQueue done [17:40:19]KKMCreateOFDPacket [17:40:19]OFDProtocolAddRootSTLVToBuf [17:40:19]FM_MakeSignedData [17:40:19]FM_MakeSignedData [17:40:19]SAM_PROTO_SignData [17:40:19]wFMCommunicate request_size=4 [17:40:19]MH_SAM_APDU [17:40:19]CAPDU: 80 0D 01 02 [17:40:19]Write to MH i2c: E2 08 00 1F 07 80 0D 01 02 00 00 00 00 9F [17:40:19]Write i2c OK [17:40:19]MH_I2C_Read... [17:40:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:40:19]Read from MH i2c: E2 [17:40:19]MH_I2C_Read... [17:40:19]Read from MH i2c: E2 03 00 [17:40:19]MH_I2C_Read... [17:40:19]Read from MH i2c: E2 03 00 1F 07 00 90 00 9A [17:40:19]RAPDU: 90 00 [17:40:19]wFMCommunicate OK [17:40:19]wFMCommunicate request_size=255 [17:40:19]MH_SAM_APDU [17:40:19]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 12 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5E 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5E 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 77 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5E 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 84 BA B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 93 7F 00 00 35 04 06 00 FA [17:40:19]Write to MH i2c: E2 02 01 20 07 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 12 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5E 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5E 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 77 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5E 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 84 BA B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 93 7F 00 00 35 04 06 00 FA 00 00 53 [17:40:19]Write i2c OK [17:40:19]MH_I2C_Read... [17:40:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:40:19]Read from MH i2c: E2 [17:40:19]MH_I2C_Read... [17:40:19]Read from MH i2c: E2 03 00 [17:40:19]MH_I2C_Read... [17:40:19]Read from MH i2c: E2 03 00 20 07 00 90 00 9B [17:40:19]RAPDU: 90 00 [17:40:19]wFMCommunicate OK [17:40:19]wFMCommunicate request_size=10 [17:40:19]MH_SAM_APDU [17:40:19]CAPDU: 80 0D 02 02 05 64 C1 9D AE 8B [17:40:19]Write to MH i2c: E2 0D 00 21 07 80 0D 02 02 05 00 64 C1 9D AE 8B 00 00 A7 [17:40:19]Write i2c OK [17:40:19]MH_I2C_Read... [17:40:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:40:19]Read from MH i2c: E2 [17:40:19]MH_I2C_Read... [17:40:19]Read from MH i2c: E2 03 00 [17:40:19]MH_I2C_Read... [17:40:19]Read from MH i2c: E2 03 00 21 07 00 90 00 9C [17:40:19]RAPDU: 90 00 [17:40:19]wFMCommunicate OK [17:40:19]wFMCommunicate request_size=4 [17:40:19]MH_SAM_APDU [17:40:19]CAPDU: 80 0D 03 02 [17:40:19]Write to MH i2c: E2 08 00 22 07 80 0D 03 02 00 00 00 00 A4 [17:40:19]Write i2c OK [17:40:19]MH_I2C_Read... [17:40:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:40:19]Read from MH i2c: E2 [17:40:19]MH_I2C_Read... [17:40:19]Read from MH i2c: E2 0B 00 [17:40:19]MH_I2C_Read... [17:40:19]Read from MH i2c: E2 0B 00 22 07 00 CD 40 71 92 05 48 7D 5B 90 00 DA [17:40:19]RAPDU: CD 40 71 92 05 48 7D 5B 90 00 [17:40:19]wFMCommunicate OK [17:40:19]SAM_PROTO_SignData done [17:40:19]FM_MakeSignedData done [17:40:19]CreateOFDProtocolMessage [17:40:19]wFMCommunicate request_size=4 [17:40:19]MH_SAM_APDU [17:40:19]CAPDU: 80 11 00 00 [17:40:19]Write to MH i2c: E2 08 00 23 07 80 11 00 00 00 00 00 00 A4 [17:40:19]Write i2c OK [17:40:19]MH_I2C_Read... [17:40:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:40:19]Read from MH i2c: E2 [17:40:19]MH_I2C_Read... [17:40:19]Read from MH i2c: E2 17 00 [17:40:19]MH_I2C_Read... [17:40:19]Read from MH i2c: E2 17 00 23 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 FA [17:40:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:40:19]wFMCommunicate OK [17:40:19]CreateOFDProtocolMessage done [17:40:19]OFDSenderStorePacket 32659 [17:40:19]StoreOFDPacket docnum=32659 [17:40:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 DD CE 07 01 5B 7F 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 12 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5E 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5E 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 77 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5E 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 84 BA B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 93 7F 00 00 35 04 06 00 FA 64 C1 9D AE 8B CD 40 71 92 05 48 7D 5B [17:40:19]CheckFolder [17:40:19]dirname=/storage/ofd_packets [17:40:19]CheckFolder done [17:40:19]ProducePacketName [17:40:19]name=ofd_packets/00032659 [17:40:19]NVStorageSaveData ofd_packets/00032659 [17:40:19]File name is /storage/ofd_packets/00032659 [17:40:19]Write 301 bytes [17:40:19]NVStorageSaveData done [17:40:19]OFDSenderStorePacket done [17:40:19]KKMCreateOFDPacket done [17:40:19]NVStorageSaveData kkm_last_timestamp [17:40:19]File name is /storage/kkm_last_timestamp [17:40:19]Write 4 bytes [17:40:19]NVStorageSaveData done [17:40:19]ExternCall_PrintAddStr [17:40:19]wPrintStart [17:40:19]Write to MH i2c: 01 00 00 24 07 2B [17:40:19]Write i2c OK [17:40:19]MH_I2C_Read... [17:40:19]Read from MH i2c: 01 [17:40:19]MH_I2C_Read... [17:40:19]Read from MH i2c: 01 07 00 [17:40:19]MH_I2C_Read... [17:40:19]Read from MH i2c: 01 07 00 24 07 00 00 00 00 00 FF 0F 40 [17:40:19]RasterBufferAndPrint [17:40:19]line Счет N : (1)6545169 [17:40:19]line ИНН: 02508201610067 [17:40:19]line Контрольно-Кассовый Чек [17:40:19]line ПРОДАЖА [17:40:19]line ТРК (МРК, ГНК) : 12 [17:40:19]line Товар: 2710124130 [17:40:19]line Аи-92-К-5 [17:40:19]line 4.680 * 64.20 [17:40:19]line = 300.46 [17:40:19]line НДС 12% НСП 1% [17:40:19]line > о реализуемом товаре [17:40:19]line ИТОГО: 300.46 [17:40:19]line НСП 1% : 2.66 [17:40:19]line НДС 12% : 31.91 [17:40:19]line Наличными: 0.00 [17:40:19]line Безнал.: 300.46 [17:40:19]line Место: АЗС № 96 "Партнер Нефть" [17:40:19]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [17:40:19]line СНО: Общий режим [17:40:19]line Чек 47 21.02.2025 17:40 [17:40:19]line Смена: 386 ФФД: 1.0 [17:40:19]line ЗНМ: 0300000059 [17:40:19]line РНМ: 0000000000146237 [17:40:19]line Версия ККМ: v1.0 [17:40:19]line Платежная система: Бакай Банк [17:40:19]line ФМ: 0000000000959282 [17:40:19]line ФД: 32659 [17:40:19]line ФПД: 275310652010123 [17:40:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T174020&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32659&fm=275310652010123&tin=02508201610067®Number=0000000000146237&sum=30046 [17:40:20]OFD Sender: Processing packet 32659 [packets to send 105, broken 104] [17:40:20]ProducePacketName [17:40:20]name=ofd_packets/00032659 [17:40:20]OFD Sender: To server: pG, [17:40:20]CommunicateWithHost lk.salyk.kg:30040 [17:40:20]ConnectInit lk.salyk.kg [17:40:20]written 0, free lines is 4095 [17:40:20]Write to MH i2c: 01 00 00 4E 07 55 [17:40:20]Write i2c OK [17:40:20]MH_I2C_Read... [17:40:20]Read from MH i2c: 01 [17:40:20]MH_I2C_Read... [17:40:20]Read from MH i2c: 01 07 00 [17:40:20]MH_I2C_Read... [17:40:20]Read from MH i2c: 01 07 00 4E 07 00 00 00 00 00 FE 0C 66 [17:40:20]RasterBufferAndPrint [17:40:20]line [17:40:20]line [17:40:20]line [17:40:20]line [17:40:20]line [17:40:20]written 0, free lines is 3332 [17:40:20]MH_Cut [17:40:20]Write to MH i2c: D1 01 00 55 07 01 2E [17:40:20]Write i2c OK [17:40:20]MH_I2C_Read... [17:40:20]Read from MH i2c: D1 [17:40:20]MH_I2C_Read... [17:40:20]Read from MH i2c: D1 01 00 [17:40:20]MH_I2C_Read... [17:40:20]Read from MH i2c: D1 01 00 55 07 00 2D [17:40:20]Write to MH i2c: 01 00 00 56 07 5D [17:40:20]Write i2c OK [17:40:20]MH_I2C_Read... [17:40:21]*** Cut start [17:40:21]*** Partial cut [17:40:21]*** CUTSNS_PIN = 1 [17:40:21]*** CUTSNS_PIN = 0 [17:40:21]*** Brake cut motor [17:40:21]Read from MH i2c: 01 [17:40:21]MH_I2C_Read... [17:40:21]*** Stop cut motor [17:40:21]*** Cut end [17:40:21]Read from MH i2c: 01 07 00 [17:40:21]MH_I2C_Read... [17:40:21]Read from MH i2c: 01 07 00 56 07 00 00 00 00 00 FF 0F 72 [17:40:21]process_action close_receipt done [17:40:21]requested_data is exist [17:40:21]produce_requested_data [17:40:21]requested_item fm.sn is exist - process it [17:40:21]wFMCommunicate request_size=4 [17:40:21]MH_SAM_APDU [17:40:21]CAPDU: 80 11 00 00 [17:40:21]Write to MH i2c: E2 08 00 57 07 80 11 00 00 00 00 00 00 D8 [17:40:21]Write i2c OK [17:40:21]MH_I2C_Read... [17:40:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:40:22]Read from MH i2c: E2 [17:40:22]MH_I2C_Read... [17:40:22]Read from MH i2c: E2 17 00 [17:40:22]MH_I2C_Read... [17:40:22]Read from MH i2c: E2 17 00 57 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 2E [17:40:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:40:22]wFMCommunicate OK [17:40:22]requested_item fd.num is exist - process it [17:40:22]SAM_PROTO_GetFieldsCounters [17:40:22]wFMCommunicate request_size=4 [17:40:22]MH_SAM_APDU [17:40:22]CAPDU: 80 13 00 00 [17:40:22]Write to MH i2c: E2 08 00 58 07 80 13 00 00 00 00 00 00 DB [17:40:22]Write i2c OK [17:40:22]MH_I2C_Read... [17:40:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:40:22]Read from MH i2c: E2 [17:40:22]MH_I2C_Read... [17:40:22]Read from MH i2c: E2 62 00 [17:40:22]MH_I2C_Read... [17:40:22]Read from MH i2c: E2 62 00 58 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 93 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 1F [17:40: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 93 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:40:22]wFMCommunicate OK [17:40:22]SAM_PROTO_GetFieldsCounters done [17:40:22]requested_item shift.num is exist - process it [17:40:22]requested_item shift.opened is exist - process it [17:40:22]req_shift_opened [17:40:22]FM_GetShiftState [17:40:22]SAM_PROTO_GetShiftState [17:40:22]wFMCommunicate request_size=4 [17:40:22]MH_SAM_APDU [17:40:22]CAPDU: 80 13 01 00 [17:40:22]Write to MH i2c: E2 08 00 59 07 80 13 01 00 00 00 00 00 DD [17:40:22]Write i2c OK [17:40:22]MH_I2C_Read... [17:40:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:40:22]Read from MH i2c: E2 [17:40:22]MH_I2C_Read... [17:40:22]Read from MH i2c: E2 0E 00 [17:40:22]MH_I2C_Read... [17:40:22]Read from MH i2c: E2 0E 00 59 07 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 42 [17:40:22]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [17:40:22]wFMCommunicate OK [17:40:22]SAM_PROTO_GetShiftState done [17:40:22]FM_GetShiftState done [17:40:22]req_shift_opened done [17:40:22]requested_item shift.open_date is exist - process it [17:40:22]req_shift_open_date [17:40:22]req_shift_open_date done [17:40:22]produce_requested_data done [17:40:22]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32659,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [17:40:22]process_action_free close_receipt [17:40:22]json_value_free [17:40:22]json_value_free done [17:40:22]process_json_proto returns [17:40:22]Send response to host [17:40:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32659,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [17:40:22]free response buf [17:40:22]execute_script done [17:40:22]execute_script returns [17:40:22]free content buf [17:40:22]Sock 10.Close socket [17:40:22]Sock 10.Thread stoped [17:40:25]ConnectInit Can't take IP for lk.salyk.kg [17:40:25]CommunicateWithHost connect error [17:40:25]CommunicateWithHost err = -1 [17:40:25]OFD Sender: Server communicate error [17:40:30]OFD Sender: Processing packet 32659 [packets to send 105, broken 104] [17:40:30]ProducePacketName [17:40:30]name=ofd_packets/00032659 [17:40:30]OFD Sender: To server: pG, [17:40:30]CommunicateWithHost lk.salyk.kg:30040 [17:40:30]ConnectInit lk.salyk.kg [17:40:32]Connected sock=10 [17:40: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 32 38 32 0F 01 00 00 DD CE 07 01 5B 7F 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 12 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5E 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5E 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 77 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5E 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 84 BA B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 93 7F 00 00 35 04 06 00 FA 64 C1 9D AE 8B CD 40 71 92 05 48 7D 5B [17:40:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 8E FE 47 00 96 BB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 32 38 32 10 04 04 00 93 7F 00 00 F4 03 04 00 26 64 B8 67 B6 04 01 00 00 9D 4C A6 FE DA F8 4D A0 [17:40:33]CommunicateWithHost err = 0 [17:40:33]CheckOFDResponse [17:40:33]1017 (14) - 77093643461234 [17:40:33]1041 (16) - 0000000000959282 [17:40:33]1040 (4) - 32659 [17:40:33]1012 (4) - 21.02.2025 11:31 [17:40:33]1206 (1) - 0 [17:40:33]OFD Sender: Remove packet 32659 [17:40:33]ProducePacketName [17:40:33]name=ofd_packets/00032659 [17:40:33]NVStorageDeleteData [17:40:33]OFD Sender: No OFD packet to send [17:40:38]OFD Sender: No OFD packet to send [17:40:43]OFD Sender: No OFD packet to send [17:40:48]OFD Sender: No OFD packet to send [17:40:53]OFD Sender: No OFD packet to send [17:40:58]OFD Sender: No OFD packet to send [17:41:03]OFD Sender: No OFD packet to send [17:41:08]OFD Sender: No OFD packet to send [17:41:13]OFD Sender: No OFD packet to send [17:41:18]OFD Sender: No OFD packet to send [17:41:23]OFD Sender: No OFD packet to send [17:41:28]OFD Sender: No OFD packet to send [17:41:33]OFD Sender: No OFD packet to send [17:41:38]OFD Sender: No OFD packet to send [17:41:43]OFD Sender: No OFD packet to send [17:41:48]OFD Sender: No OFD packet to send [17:41:53]OFD Sender: No OFD packet to send [17:41:58]OFD Sender: No OFD packet to send [17:42:03]OFD Sender: No OFD packet to send [17:42:08]OFD Sender: No OFD packet to send [17:42:13]OFD Sender: No OFD packet to send [17:42:18]OFD Sender: No OFD packet to send [17:42:23]OFD Sender: No OFD packet to send [17:42:28]OFD Sender: No OFD packet to send [17:42:33]OFD Sender: No OFD packet to send [17:42:38]OFD Sender: No OFD packet to send [17:42:43]OFD Sender: No OFD packet to send [17:42:48]OFD Sender: No OFD packet to send [17:42:53]OFD Sender: No OFD packet to send [17:42:58]OFD Sender: No OFD packet to send [17:43:03]OFD Sender: No OFD packet to send [17:43:08]OFD Sender: No OFD packet to send [17:43:13]OFD Sender: No OFD packet to send [17:43:18]OFD Sender: No OFD packet to send [17:43:23]OFD Sender: No OFD packet to send [17:43:38]OFD Sender: No OFD packet to send [17:43:43]OFD Sender: No OFD packet to send [17:43:48]OFD Sender: No OFD packet to send [17:43:53]OFD Sender: No OFD packet to send [17:43:58]OFD Sender: No OFD packet to send [17:44:03]OFD Sender: No OFD packet to send [17:44:08]OFD Sender: No OFD packet to send [17:44:13]OFD Sender: No OFD packet to send [17:44:19]OFD Sender: No OFD packet to send [17:44:24]OFD Sender: No OFD packet to send [17:44:29]OFD Sender: No OFD packet to send [17:44:34]OFD Sender: No OFD packet to send [17:44:39]OFD Sender: No OFD packet to send [17:44:44]OFD Sender: No OFD packet to send [17:44:49]OFD Sender: No OFD packet to send [17:44:54]OFD Sender: No OFD packet to send [17:44:59]OFD Sender: No OFD packet to send [17:45:04]OFD Sender: No OFD packet to send [17:45:09]OFD Sender: No OFD packet to send [17:45:14]OFD Sender: No OFD packet to send [17:45:19]OFD Sender: No OFD packet to send [17:45:24]OFD Sender: No OFD packet to send [17:45:29]OFD Sender: No OFD packet to send [17:45:34]OFD Sender: No OFD packet to send [17:45:39]OFD Sender: No OFD packet to send [17:45:44]OFD Sender: No OFD packet to send [17:45:44]ConnectInit Can't connect to host [17:45:49]OFD Sender: No OFD packet to send [17:45:54]OFD Sender: No OFD packet to send [17:45:59]OFD Sender: No OFD packet to send [17:46:04]OFD Sender: No OFD packet to send [17:46:09]OFD Sender: No OFD packet to send [17:46:14]OFD Sender: No OFD packet to send [17:46:19]OFD Sender: No OFD packet to send [17:46:24]OFD Sender: No OFD packet to send [17:46:29]OFD Sender: No OFD packet to send [17:46:34]OFD Sender: No OFD packet to send [17:46:39]OFD Sender: No OFD packet to send [17:46:44]OFD Sender: No OFD packet to send [17:46:49]OFD Sender: No OFD packet to send [17:46:54]OFD Sender: No OFD packet to send [17:46:59]OFD Sender: No OFD packet to send [17:47:04]OFD Sender: No OFD packet to send [17:47:09]OFD Sender: No OFD packet to send [17:47:14]OFD Sender: No OFD packet to send [17:47:19]OFD Sender: No OFD packet to send [17:47:24]OFD Sender: No OFD packet to send [17:47:29]OFD Sender: No OFD packet to send [17:47:34]OFD Sender: No OFD packet to send [17:47:39]OFD Sender: No OFD packet to send [17:47:44]OFD Sender: No OFD packet to send [17:47:49]OFD Sender: No OFD packet to send [17:47:54]OFD Sender: No OFD packet to send [17:47:59]OFD Sender: No OFD packet to send [17:48:04]OFD Sender: No OFD packet to send [17:48:09]OFD Sender: No OFD packet to send [17:48:14]OFD Sender: No OFD packet to send [17:48:19]OFD Sender: No OFD packet to send [17:48:24]OFD Sender: No OFD packet to send [17:48:29]OFD Sender: No OFD packet to send [17:48:34]OFD Sender: No OFD packet to send [17:48:39]OFD Sender: No OFD packet to send [17:48:44]OFD Sender: No OFD packet to send [17:48:49]OFD Sender: No OFD packet to send [17:48:54]OFD Sender: No OFD packet to send [17:48:59]OFD Sender: No OFD packet to send [17:49:04]OFD Sender: No OFD packet to send [17:49:09]OFD Sender: No OFD packet to send [17:49:14]OFD Sender: No OFD packet to send [17:49:19]OFD Sender: No OFD packet to send [17:49:24]OFD Sender: No OFD packet to send [17:49:29]OFD Sender: No OFD packet to send [17:49:34]OFD Sender: No OFD packet to send [17:49:39]OFD Sender: No OFD packet to send [17:49:39]accept exits with 9 [17:49:39]New connection [17:49:39]New thread 3067329892 created [17:49:39]Thread 3067473252 joined [17:49:39]Waiting for new connection... [17:49:39] Sock 9.Parse request [17:49:39]Sock 9.Check first char [17:49:39]Sock 9.First char is OK [17:49:39]request: POST /json_proto HTTP/1.0 [17:49:39]Method: POST [17:49:39]URL: /json_proto [17:49:39]Method is POST - this is cgi request [17:49:39]url: /json_proto [17:49:39]query_string will be loaded in cgi processing [17:49:39]execute_cgi json_proto POST (null) [17:49:39]execute_cgi path=json_proto method=POST [17:49:39]POST find Content-Length [17:49:39]Host: 172.17.47.135:8080 [17:49:39]Content-Length: 678 [17:49:39]Content-Type: application/json [17:49:39] [17:49:39]POST finish read [17:49:39]Found Content-Length = 678 [17:49:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)6545172", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 4.680, "sum" : 300.46, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:49:39]execute_script... [17:49: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)6545172", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.20, "quantity" : 4.680, "sum" : 300.46, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:49:39]POST & json_proto [17:49:39]process_json_proto [17:49:39]json parsed OK: [17:49:39]protocol is kg_v1.0 [17:49:39]action value=close_receipt [17:49:39]process_action close_receipt [17:49:39]cmd_close_receipt [17:49:39]MH_GetDate [17:49:39]Write to MH i2c: F0 00 00 5A 07 50 [17:49:39]Write i2c OK [17:49:39]MH_I2C_Read... [17:49:39]Read from MH i2c: F0 [17:49:39]MH_I2C_Read... [17:49:39]Read from MH i2c: F0 09 00 [17:49:39]MH_I2C_Read... [17:49:39]Read from MH i2c: F0 09 00 5A 07 00 B5 BC B8 67 19 D8 DE 66 1E [17:49:39]GetLastDocTimeStamp 1740159620 [17:49:39]current date 1740160181 [17:49:39]FM_GetShiftState [17:49:39]SAM_PROTO_GetShiftState [17:49:39]wFMCommunicate request_size=4 [17:49:39]MH_SAM_APDU [17:49:39]CAPDU: 80 13 01 00 [17:49:39]Write to MH i2c: E2 08 00 5B 07 80 13 01 00 00 00 00 00 DF [17:49:39]Write i2c OK [17:49:39]MH_I2C_Read... [17:49:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:49:39]Read from MH i2c: E2 [17:49:39]MH_I2C_Read... [17:49:39]Read from MH i2c: E2 0E 00 [17:49:39]MH_I2C_Read... [17:49:39]Read from MH i2c: E2 0E 00 5B 07 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 44 [17:49:39]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [17:49:39]wFMCommunicate OK [17:49:39]SAM_PROTO_GetShiftState done [17:49:39]FM_GetShiftState done [17:49:39]opened in 1740096631 [17:49:39]opened+sec_in_day 1740183031 [17:49:39]quantity*price = 30045 [17:49:39]sum+1 = 30047 [17:49:39]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.46 ИТОГО: 300.00 Внесено: 300.00 СДАЧА: 0.00 НСП 1% : 2.66 НДС 12% : 31.91 Наличными: 300.00 Безнал.: 0.00 Место: АЗС № 96 "Партнер Нефть" Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 СНО: Общий режим Чек 48 21.02.2025 17:49 Смена: 386 ФФД: 1.0 ЗНМ: 0300000059 РНМ: 0000000000146237 Версия ККМ: v1.0 ФМ: 0000000000959282 ФД: 32660 ФПД: 93500154940586 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T174941&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32660&fm=93500154940586&tin=02508201610067®Number=0000000000146237&sum=30000 [17:49:40]StoreToDocumentArchive [17:49:40]shift 386 fd 32660 [17:49:40]save to /storage/0386/doc_00032660 [17:49:40]save last doc name /storage/0386/doc_00032660 to /storage/kkm_last_doc_name [17:49:40]save OK [17:49:40]Clear old archive folders... [17:49:40]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:49:40]tlvbuf is 007EA100 [17:49:40]SAM_PROTO_ClearQueue [17:49:40]wFMCommunicate request_size=4 [17:49:40]MH_SAM_APDU [17:49:40]CAPDU: 80 09 00 00 [17:49:40]Write to MH i2c: E2 08 00 68 07 80 09 00 00 00 00 00 00 E1 [17:49:40]Write i2c OK [17:49:40]MH_I2C_Read... [17:49:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:49:40]Read from MH i2c: E2 [17:49:40]MH_I2C_Read... [17:49:40]Read from MH i2c: E2 03 00 [17:49:40]MH_I2C_Read... [17:49:40]Read from MH i2c: E2 03 00 68 07 00 90 00 E3 [17:49:40]RAPDU: 90 00 [17:49:40]wFMCommunicate OK [17:49:40]SAM_PROTO_ClearQueue done [17:49:40]KKMCreateOFDPacket [17:49:40]OFDProtocolAddRootSTLVToBuf [17:49:40]FM_MakeSignedData [17:49:40]FM_MakeSignedData [17:49:40]SAM_PROTO_SignData [17:49:40]wFMCommunicate request_size=4 [17:49:40]MH_SAM_APDU [17:49:40]CAPDU: 80 0D 01 02 [17:49:40]Write to MH i2c: E2 08 00 69 07 80 0D 01 02 00 00 00 00 E9 [17:49:40]Write i2c OK [17:49:40]MH_I2C_Read... [17:49:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:49:40]Read from MH i2c: E2 [17:49:40]MH_I2C_Read... [17:49:40]Read from MH i2c: E2 03 00 [17:49:40]MH_I2C_Read... [17:49:40]Read from MH i2c: E2 03 00 69 07 00 90 00 E4 [17:49:40]RAPDU: 90 00 [17:49:40]wFMCommunicate OK [17:49:40]wFMCommunicate request_size=255 [17:49:40]MH_SAM_APDU [17:49: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 48 12 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5E 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 77 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 30 00 00 00 F4 03 04 00 B5 BC B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 94 7F 00 00 35 04 06 00 55 [17:49:40]Write to MH i2c: E2 02 01 6A 07 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 12 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5E 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 77 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 30 00 00 00 F4 03 04 00 B5 BC B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 94 7F 00 00 35 04 06 00 55 00 00 D1 [17:49:40]Write i2c OK [17:49:40]MH_I2C_Read... [17:49:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:49:41]Read from MH i2c: E2 [17:49:41]MH_I2C_Read... [17:49:41]Read from MH i2c: E2 03 00 [17:49:41]MH_I2C_Read... [17:49:41]Read from MH i2c: E2 03 00 6A 07 00 90 00 E5 [17:49:41]RAPDU: 90 00 [17:49:41]wFMCommunicate OK [17:49:41]wFMCommunicate request_size=10 [17:49:41]MH_SAM_APDU [17:49:41]CAPDU: 80 0D 02 02 05 09 B3 85 8C AA [17:49:41]Write to MH i2c: E2 0D 00 6B 07 80 0D 02 02 05 00 09 B3 85 8C AA 00 00 6D [17:49:41]Write i2c OK [17:49:41]MH_I2C_Read... [17:49:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:49:41]Read from MH i2c: E2 [17:49:41]MH_I2C_Read... [17:49:41]Read from MH i2c: E2 03 00 [17:49:41]MH_I2C_Read... [17:49:41]Read from MH i2c: E2 03 00 6B 07 00 90 00 E6 [17:49:41]RAPDU: 90 00 [17:49:41]wFMCommunicate OK [17:49:41]wFMCommunicate request_size=4 [17:49:41]MH_SAM_APDU [17:49:41]CAPDU: 80 0D 03 02 [17:49:41]Write to MH i2c: E2 08 00 6C 07 80 0D 03 02 00 00 00 00 EE [17:49:41]Write i2c OK [17:49:41]MH_I2C_Read... [17:49:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:49:41]Read from MH i2c: E2 [17:49:41]MH_I2C_Read... [17:49:41]Read from MH i2c: E2 0B 00 [17:49:41]MH_I2C_Read... [17:49:41]Read from MH i2c: E2 0B 00 6C 07 00 F4 27 FE BB CB D5 DA 24 90 00 61 [17:49:41]RAPDU: F4 27 FE BB CB D5 DA 24 90 00 [17:49:41]wFMCommunicate OK [17:49:41]SAM_PROTO_SignData done [17:49:41]FM_MakeSignedData done [17:49:41]CreateOFDProtocolMessage [17:49:41]wFMCommunicate request_size=4 [17:49:41]MH_SAM_APDU [17:49:41]CAPDU: 80 11 00 00 [17:49:41]Write to MH i2c: E2 08 00 6D 07 80 11 00 00 00 00 00 00 EE [17:49:41]Write i2c OK [17:49:41]MH_I2C_Read... [17:49:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:49:41]Read from MH i2c: E2 [17:49:41]MH_I2C_Read... [17:49:41]Read from MH i2c: E2 17 00 [17:49:41]MH_I2C_Read... [17:49:41]Read from MH i2c: E2 17 00 6D 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 44 [17:49:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:49:41]wFMCommunicate OK [17:49:41]CreateOFDProtocolMessage done [17:49:41]OFDSenderStorePacket 32660 [17:49:41]StoreOFDPacket docnum=32660 [17:49:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0F 01 00 00 99 07 07 01 7C 55 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 12 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5E 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 77 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 30 00 00 00 F4 03 04 00 B5 BC B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 94 7F 00 00 35 04 06 00 55 09 B3 85 8C AA F4 27 FE BB CB D5 DA 24 [17:49:41]CheckFolder [17:49:41]dirname=/storage/ofd_packets [17:49:41]CheckFolder done [17:49:41]ProducePacketName [17:49:41]name=ofd_packets/00032660 [17:49:41]NVStorageSaveData ofd_packets/00032660 [17:49:41]File name is /storage/ofd_packets/00032660 [17:49:41]Write 301 bytes [17:49:41]NVStorageSaveData done [17:49:41]OFDSenderStorePacket done [17:49:41]KKMCreateOFDPacket done [17:49:41]NVStorageSaveData kkm_last_timestamp [17:49:41]File name is /storage/kkm_last_timestamp [17:49:41]Write 4 bytes [17:49:41]NVStorageSaveData done [17:49:41]ExternCall_PrintAddStr [17:49:41]wPrintStart [17:49:41]Write to MH i2c: 01 00 00 6E 07 75 [17:49:41]Write i2c OK [17:49:41]MH_I2C_Read... [17:49:41]Read from MH i2c: 01 [17:49:41]MH_I2C_Read... [17:49:41]Read from MH i2c: 01 07 00 [17:49:41]MH_I2C_Read... [17:49:41]Read from MH i2c: 01 07 00 6E 07 00 00 00 00 00 FF 0F 8A [17:49:41]RasterBufferAndPrint [17:49:41]line Счет N : (1)6545172 [17:49:41]line ИНН: 02508201610067 [17:49:41]line Контрольно-Кассовый Чек [17:49:41]line ПРОДАЖА [17:49:41]line ТРК (МРК, ГНК) : 32 [17:49:41]line Товар: 2710124130 [17:49:41]line Аи-92-К-5 [17:49:41]line 4.680 * 64.20 [17:49:41]line = 300.46 [17:49:41]line НДС 12% НСП 1% [17:49:41]line > о реализуемом товаре [17:49:41]line ОКРУГЛЕНИЕ: -0.46 [17:49:41]line ИТОГО: 300.00 [17:49:41]line Внесено: 300.00 [17:49:41]line СДАЧА: 0.00 [17:49:41]line НСП 1% : 2.66 [17:49:41]line НДС 12% : 31.91 [17:49:41]line Наличными: 300.00 [17:49:41]line Безнал.: 0.00 [17:49:41]line Место: АЗС № 96 "Партнер Нефть" [17:49:41]line Адрес: 720001, г. Ош, ул. Кокум-Бий 67/3 , 40.516330,72.731771 [17:49:41]line СНО: Общий режим [17:49:41]line Чек 48 21.02.2025 17:49 [17:49:41]line Смена: 386 ФФД: 1.0 [17:49:41]line ЗНМ: 0300000059 [17:49:41]line РНМ: 0000000000146237 [17:49:41]line Версия ККМ: v1.0 [17:49:41]line ФМ: 0000000000959282 [17:49:41]line ФД: 32660 [17:49:41]line ФПД: 93500154940586 [17:49:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20250221T174941&type=1&operation_type=1&fn_number=0000000000959282&fd_number=32660&fm=93500154940586&tin=02508201610067®Number=0000000000146237&sum=30000 [17:49:41]written 0, free lines is 4095 [17:49:41]OFD Sender: Processing packet 32660 [packets to send 105, broken 104] [17:49:41]ProducePacketName [17:49:41]name=ofd_packets/00032660 [17:49:41]OFD Sender: To server: pG, [17:49:41]CommunicateWithHost lk.salyk.kg:30040 [17:49:41]ConnectInit lk.salyk.kg [17:49:41]Write to MH i2c: 01 00 00 99 07 A0 [17:49:41]Write i2c OK [17:49:41]MH_I2C_Read... [17:49:41]Read from MH i2c: 01 [17:49:41]MH_I2C_Read... [17:49:41]Read from MH i2c: 01 07 00 [17:49:41]MH_I2C_Read... [17:49:41]Read from MH i2c: 01 07 00 99 07 00 00 00 00 00 ED 0C A0 [17:49:41]RasterBufferAndPrint [17:49:41]line [17:49:41]line [17:49:41]line [17:49:41]line [17:49:41]line [17:49:41]written 0, free lines is 3315 [17:49:41]MH_Cut [17:49:41]Write to MH i2c: D1 01 00 A0 07 01 79 [17:49:41]Write i2c OK [17:49:41]MH_I2C_Read... [17:49:41]Read from MH i2c: D1 [17:49:41]MH_I2C_Read... [17:49:41]Read from MH i2c: D1 01 00 [17:49:41]MH_I2C_Read... [17:49:41]Read from MH i2c: D1 01 00 A0 07 00 78 [17:49:41]Write to MH i2c: 01 00 00 A1 07 A8 [17:49:41]Write i2c OK [17:49:41]MH_I2C_Read... [17:49:42]Connected sock=10 [17:49: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 32 38 32 0F 01 00 00 99 07 07 01 7C 55 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 48 12 00 00 00 00 00 37 04 06 00 14 19 00 00 00 00 13 04 06 00 5E 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 77 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 30 00 00 00 F4 03 04 00 B5 BC B8 67 0E 04 04 00 82 01 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 33 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 10 04 04 00 94 7F 00 00 35 04 06 00 55 09 B3 85 8C AA F4 27 FE BB CB D5 DA 24 [17:49:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 4F 00 00 00 8C F0 47 00 AB 43 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 32 38 32 10 04 04 00 94 7F 00 00 F4 03 04 00 4B 66 B8 67 B6 04 01 00 00 61 CE 5A 7B 0B 68 32 3D [17:49:42]CommunicateWithHost err = 0 [17:49:42]CheckOFDResponse [17:49:42]1017 (14) - 77093643461234 [17:49:42]1041 (16) - 0000000000959282 [17:49:42]1040 (4) - 32660 [17:49:42]1012 (4) - 21.02.2025 11:40 [17:49:42]1206 (1) - 0 [17:49:42]OFD Sender: Remove packet 32660 [17:49:42]ProducePacketName [17:49:42]name=ofd_packets/00032660 [17:49:42]NVStorageDeleteData [17:49:42]*** Cut start [17:49:42]*** Partial cut [17:49:42]*** CUTSNS_PIN = 1 [17:49:42]*** CUTSNS_PIN = 0 [17:49:42]OFD Sender: No OFD packet to send [17:49:42]*** Brake cut motor [17:49:43]Read from MH i2c: 01 [17:49:43]MH_I2C_Read... [17:49:43]*** Stop cut motor [17:49:43]*** Cut end [17:49:43]Read from MH i2c: 01 07 00 [17:49:43]MH_I2C_Read... [17:49:43]Read from MH i2c: 01 07 00 A1 07 00 00 00 00 00 FF 0F BD [17:49:43]process_action close_receipt done [17:49:43]requested_data is exist [17:49:43]produce_requested_data [17:49:43]requested_item fm.sn is exist - process it [17:49:43]wFMCommunicate request_size=4 [17:49:43]MH_SAM_APDU [17:49:43]CAPDU: 80 11 00 00 [17:49:43]Write to MH i2c: E2 08 00 A2 07 80 11 00 00 00 00 00 00 23 [17:49:43]Write i2c OK [17:49:43]MH_I2C_Read... [17:49:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:49:43]Read from MH i2c: E2 [17:49:43]MH_I2C_Read... [17:49:43]Read from MH i2c: E2 17 00 [17:49:43]MH_I2C_Read... [17:49:43]Read from MH i2c: E2 17 00 A2 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 79 [17:49:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 90 00 [17:49:43]wFMCommunicate OK [17:49:43]requested_item fd.num is exist - process it [17:49:43]SAM_PROTO_GetFieldsCounters [17:49:43]wFMCommunicate request_size=4 [17:49:43]MH_SAM_APDU [17:49:43]CAPDU: 80 13 00 00 [17:49:43]Write to MH i2c: E2 08 00 A3 07 80 13 00 00 00 00 00 00 26 [17:49:43]Write i2c OK [17:49:43]MH_I2C_Read... [17:49:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:49:43]Read from MH i2c: E2 [17:49:43]MH_I2C_Read... [17:49:43]Read from MH i2c: E2 62 00 [17:49:43]MH_I2C_Read... [17:49:43]Read from MH i2c: E2 62 00 A3 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 35 39 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 94 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 6E [17:49: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 32 38 32 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 34 36 32 33 37 10 04 04 00 94 7F 00 00 0E 04 04 00 82 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:49:43]wFMCommunicate OK [17:49:43]SAM_PROTO_GetFieldsCounters done [17:49:43]requested_item shift.num is exist - process it [17:49:43]requested_item shift.opened is exist - process it [17:49:43]req_shift_opened [17:49:43]FM_GetShiftState [17:49:43]SAM_PROTO_GetShiftState [17:49:43]wFMCommunicate request_size=4 [17:49:43]MH_SAM_APDU [17:49:43]CAPDU: 80 13 01 00 [17:49:43]Write to MH i2c: E2 08 00 A4 07 80 13 01 00 00 00 00 00 28 [17:49:43]Write i2c OK [17:49:43]MH_I2C_Read... [17:49:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:49:43]Read from MH i2c: E2 [17:49:43]MH_I2C_Read... [17:49:43]Read from MH i2c: E2 0E 00 [17:49:43]MH_I2C_Read... [17:49:43]Read from MH i2c: E2 0E 00 A4 07 00 09 00 01 77 C4 B7 67 00 00 00 00 90 00 8D [17:49:43]RAPDU: 09 00 01 77 C4 B7 67 00 00 00 00 90 00 [17:49:43]wFMCommunicate OK [17:49:43]SAM_PROTO_GetShiftState done [17:49:43]FM_GetShiftState done [17:49:43]req_shift_opened done [17:49:43]requested_item shift.open_date is exist - process it [17:49:43]req_shift_open_date [17:49:43]req_shift_open_date done [17:49:43]produce_requested_data done [17:49:43]produce_requested_data return {"fm.sn":"0000000000959282","fd.num":32660,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631} [17:49:43]process_action_free close_receipt [17:49:43]json_value_free [17:49:43]json_value_free done [17:49:43]process_json_proto returns [17:49:43]Send response to host [17:49:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000959282","fd.num":32660,"shift.num":386,"shift.opened":1,"shift.open_date":1740096631}}} [17:49:43]free response buf [17:49:43]execute_script done [17:49:43]execute_script returns [17:49:43]free content buf [17:49:43]Sock 9.Close socket [17:49:43]Sock 9.Thread stoped [17:49:47]OFD Sender: No OFD packet to send [17:49:52]OFD Sender: No OFD packet to send [17:49:57]OFD Sender: No OFD packet to send [17:50:02]OFD Sender: No OFD packet to send [17:50:07]OFD Sender: No OFD packet to send [17:50:12]OFD Sender: No OFD packet to send [17:50:17]OFD Sender: No OFD packet to send [17:50:22]OFD Sender: No OFD packet to send [17:50:27]OFD Sender: No OFD packet to send [17:50:32]OFD Sender: No OFD packet to send [17:50:37]OFD Sender: No OFD packet to send [17:50:42]OFD Sender: No OFD packet to send [17:50:47]OFD Sender: No OFD packet to send [17:50:52]OFD Sender: No OFD packet to send [17:50:57]OFD Sender: No OFD packet to send [17:51:02]OFD Sender: No OFD packet to send [17:51:07]OFD Sender: No OFD packet to send [17:51:12]OFD Sender: No OFD packet to send [17:51:17]OFD Sender: No OFD packet to send [17:51:22]OFD Sender: No OFD packet to send [17:51:27]OFD Sender: No OFD packet to send [17:51:32]OFD Sender: No OFD packet to send [17:51:37]OFD Sender: No OFD packet to send [17:51:43]OFD Sender: No OFD packet to send [17:51:48]OFD Sender: No OFD packet to send [17:51:53]OFD Sender: No OFD packet to send [17:51:58]OFD Sender: No OFD packet to send [17:52:03]OFD Sender: No OFD packet to send [17:52:08]OFD Sender: No OFD packet to send [17:52:13]OFD Sender: No OFD packet to send [17:52:18]OFD Sender: No OFD packet to send [17:52:23]OFD Sender: No OFD packet to send [17:52:28]OFD Sender: No OFD packet to send [17:52:33]OFD Sender: No OFD packet to send [17:52:38]OFD Sender: No OFD packet to send [17:52:43]OFD Sender: No OFD packet to send [17:52:48]OFD Sender: No OFD packet to send [17:52:53]OFD Sender: No OFD packet to send [17:52:58]OFD Sender: No OFD packet to send [17:53:03]OFD Sender: No OFD packet to send [17:53:08]OFD Sender: No OFD packet to send [17:53:13]OFD Sender: No OFD packet to send [17:53:18]OFD Sender: No OFD packet to send [17:53:23]OFD Sender: No OFD packet to send [17:53:28]OFD Sender: No OFD packet to send [17:53:33]OFD Sender: No OFD packet to send [17:53:38]OFD Sender: No OFD packet to send