[03:12:59]OFD Sender: No OFD packet to send [03:13:04]OFD Sender: No OFD packet to send [03:13:09]OFD Sender: No OFD packet to send [03:13:14]OFD Sender: No OFD packet to send [03:13:19]OFD Sender: No OFD packet to send [03:13:24]OFD Sender: No OFD packet to send [03:13:29]OFD Sender: No OFD packet to send [03:13:34]OFD Sender: No OFD packet to send [03:13:39]OFD Sender: No OFD packet to send [03:13:44]OFD Sender: No OFD packet to send [03:13:49]OFD Sender: No OFD packet to send [03:13:54]OFD Sender: No OFD packet to send [03:13:59]OFD Sender: No OFD packet to send [03:14:04]OFD Sender: No OFD packet to send [03:14:09]OFD Sender: No OFD packet to send [03:14:14]OFD Sender: No OFD packet to send [03:14:19]OFD Sender: No OFD packet to send [03:14:24]OFD Sender: No OFD packet to send [03:14:29]OFD Sender: No OFD packet to send [03:14:34]OFD Sender: No OFD packet to send [03:14:39]OFD Sender: No OFD packet to send [03:14:44]OFD Sender: No OFD packet to send [03:14:49]OFD Sender: No OFD packet to send [03:14:54]OFD Sender: No OFD packet to send [03:14:59]OFD Sender: No OFD packet to send [03:15:04]OFD Sender: No OFD packet to send [03:15:09]OFD Sender: No OFD packet to send [03:15:14]OFD Sender: No OFD packet to send [03:15:19]OFD Sender: No OFD packet to send [03:15:24]OFD Sender: No OFD packet to send [03:15:29]OFD Sender: No OFD packet to send [03:15:34]OFD Sender: No OFD packet to send [03:15:39]OFD Sender: No OFD packet to send [03:15:44]OFD Sender: No OFD packet to send [03:15:49]OFD Sender: No OFD packet to send [03:15:54]OFD Sender: No OFD packet to send [03:15:59]OFD Sender: No OFD packet to send [03:16:04]OFD Sender: No OFD packet to send [03:16:09]OFD Sender: No OFD packet to send [03:16:14]OFD Sender: No OFD packet to send [03:16:19]OFD Sender: No OFD packet to send [03:16:24]OFD Sender: No OFD packet to send [03:16:29]OFD Sender: No OFD packet to send [03:16:34]OFD Sender: No OFD packet to send [03:16:39]OFD Sender: No OFD packet to send [03:16:44]OFD Sender: No OFD packet to send [03:16:49]OFD Sender: No OFD packet to send [03:16:54]OFD Sender: No OFD packet to send [03:16:59]OFD Sender: No OFD packet to send [03:17:04]OFD Sender: No OFD packet to send [03:17:09]OFD Sender: No OFD packet to send [03:17:14]OFD Sender: No OFD packet to send [03:17:19]OFD Sender: No OFD packet to send [03:17:24]OFD Sender: No OFD packet to send [03:17:30]OFD Sender: No OFD packet to send [03:17:35]OFD Sender: No OFD packet to send [03:17:40]OFD Sender: No OFD packet to send [03:17:45]OFD Sender: No OFD packet to send [03:17:50]OFD Sender: No OFD packet to send [03:17:55]OFD Sender: No OFD packet to send [03:18:00]OFD Sender: No OFD packet to send [03:18:05]OFD Sender: No OFD packet to send [03:18:10]OFD Sender: No OFD packet to send [03:18:15]OFD Sender: No OFD packet to send [03:18:20]OFD Sender: No OFD packet to send [03:18:25]OFD Sender: No OFD packet to send [03:18:30]OFD Sender: No OFD packet to send [03:18:35]OFD Sender: No OFD packet to send [03:18:40]OFD Sender: No OFD packet to send [03:18:45]OFD Sender: No OFD packet to send [03:18:50]OFD Sender: No OFD packet to send [03:18:55]OFD Sender: No OFD packet to send [03:19:00]OFD Sender: No OFD packet to send [03:19:05]OFD Sender: No OFD packet to send [03:19:10]OFD Sender: No OFD packet to send [03:19:15]OFD Sender: No OFD packet to send [03:19:20]OFD Sender: No OFD packet to send [03:19:25]OFD Sender: No OFD packet to send [03:19:30]OFD Sender: No OFD packet to send [03:19:35]OFD Sender: No OFD packet to send [03:19:40]OFD Sender: No OFD packet to send [03:19:45]OFD Sender: No OFD packet to send [03:19:50]OFD Sender: No OFD packet to send [03:19:55]OFD Sender: No OFD packet to send [03:20:00]OFD Sender: No OFD packet to send [03:20:05]OFD Sender: No OFD packet to send [03:20:10]OFD Sender: No OFD packet to send [03:20:15]OFD Sender: No OFD packet to send [03:20:20]OFD Sender: No OFD packet to send [03:20:25]OFD Sender: No OFD packet to send [03:20:30]OFD Sender: No OFD packet to send [03:20:35]OFD Sender: No OFD packet to send [03:20:40]OFD Sender: No OFD packet to send [03:20:45]OFD Sender: No OFD packet to send [03:20:50]OFD Sender: No OFD packet to send [03:20:55]OFD Sender: No OFD packet to send [03:21:00]OFD Sender: No OFD packet to send [03:21:05]OFD Sender: No OFD packet to send [03:21:10]OFD Sender: No OFD packet to send [03:21:15]OFD Sender: No OFD packet to send [03:21:20]OFD Sender: No OFD packet to send [03:21:25]OFD Sender: No OFD packet to send [03:21:30]OFD Sender: No OFD packet to send [03:21:35]OFD Sender: No OFD packet to send [03:21:40]OFD Sender: No OFD packet to send [03:21:45]OFD Sender: No OFD packet to send [03:21:50]OFD Sender: No OFD packet to send [03:21:55]OFD Sender: No OFD packet to send [03:22:00]OFD Sender: No OFD packet to send [03:22:05]OFD Sender: No OFD packet to send [03:22:10]OFD Sender: No OFD packet to send [03:22:15]OFD Sender: No OFD packet to send [03:22:20]OFD Sender: No OFD packet to send [03:22:25]OFD Sender: No OFD packet to send [03:22:30]OFD Sender: No OFD packet to send [03:22:35]OFD Sender: No OFD packet to send [03:22:40]OFD Sender: No OFD packet to send [03:22:45]OFD Sender: No OFD packet to send [03:22:50]OFD Sender: No OFD packet to send [03:22:55]OFD Sender: No OFD packet to send [03:23:00]OFD Sender: No OFD packet to send [03:23:05]OFD Sender: No OFD packet to send [03:23:10]OFD Sender: No OFD packet to send [03:23:15]OFD Sender: No OFD packet to send [03:23:20]OFD Sender: No OFD packet to send [03:23:25]OFD Sender: No OFD packet to send [03:23:30]OFD Sender: No OFD packet to send [03:23:35]OFD Sender: No OFD packet to send [03:23:40]OFD Sender: No OFD packet to send [03:23:45]OFD Sender: No OFD packet to send [03:23:50]OFD Sender: No OFD packet to send [03:23:55]OFD Sender: No OFD packet to send [03:24:00]OFD Sender: No OFD packet to send [03:24:05]OFD Sender: No OFD packet to send [03:24:10]OFD Sender: No OFD packet to send [03:24:15]OFD Sender: No OFD packet to send [03:24:20]OFD Sender: No OFD packet to send [03:24:25]OFD Sender: No OFD packet to send [03:24:30]OFD Sender: No OFD packet to send [03:24:35]OFD Sender: No OFD packet to send [03:24:40]OFD Sender: No OFD packet to send [03:24:45]OFD Sender: No OFD packet to send [03:24:50]OFD Sender: No OFD packet to send [03:24:55]OFD Sender: No OFD packet to send [03:25:00]OFD Sender: No OFD packet to send [03:25:05]OFD Sender: No OFD packet to send [03:25:10]OFD Sender: No OFD packet to send [03:25:15]OFD Sender: No OFD packet to send [03:25:20]OFD Sender: No OFD packet to send [03:25:25]OFD Sender: No OFD packet to send [03:25:30]OFD Sender: No OFD packet to send [03:25:35]OFD Sender: No OFD packet to send [03:25:40]OFD Sender: No OFD packet to send [03:25:45]OFD Sender: No OFD packet to send [03:25:50]OFD Sender: No OFD packet to send [03:25:55]OFD Sender: No OFD packet to send [03:26:00]OFD Sender: No OFD packet to send [03:26:05]OFD Sender: No OFD packet to send [03:26:10]OFD Sender: No OFD packet to send [03:26:15]OFD Sender: No OFD packet to send [03:26:20]OFD Sender: No OFD packet to send [03:26:25]OFD Sender: No OFD packet to send [03:26:30]OFD Sender: No OFD packet to send [03:26:35]OFD Sender: No OFD packet to send [03:26:40]OFD Sender: No OFD packet to send [03:26:45]OFD Sender: No OFD packet to send [03:26:50]OFD Sender: No OFD packet to send [03:26:55]OFD Sender: No OFD packet to send [03:27:00]OFD Sender: No OFD packet to send [03:27:05]OFD Sender: No OFD packet to send [03:27:10]OFD Sender: No OFD packet to send [03:27:15]OFD Sender: No OFD packet to send [03:27:20]OFD Sender: No OFD packet to send [03:27:25]OFD Sender: No OFD packet to send [03:27:30]OFD Sender: No OFD packet to send [03:27:35]OFD Sender: No OFD packet to send [03:27:40]OFD Sender: No OFD packet to send [03:27:45]OFD Sender: No OFD packet to send [03:27:50]OFD Sender: No OFD packet to send [03:27:55]OFD Sender: No OFD packet to send [03:28:00]OFD Sender: No OFD packet to send [03:28:05]OFD Sender: No OFD packet to send [03:28:10]OFD Sender: No OFD packet to send [03:28:15]OFD Sender: No OFD packet to send [03:28:20]OFD Sender: No OFD packet to send [03:28:25]OFD Sender: No OFD packet to send [03:28:30]OFD Sender: No OFD packet to send [03:28:35]OFD Sender: No OFD packet to send [03:28:40]OFD Sender: No OFD packet to send [03:28:45]OFD Sender: No OFD packet to send [03:28:50]OFD Sender: No OFD packet to send [03:28:55]OFD Sender: No OFD packet to send [03:29:00]OFD Sender: No OFD packet to send [03:29:05]OFD Sender: No OFD packet to send [03:29:10]OFD Sender: No OFD packet to send [03:29:15]OFD Sender: No OFD packet to send [03:29:20]OFD Sender: No OFD packet to send [03:29:25]OFD Sender: No OFD packet to send [03:29:30]OFD Sender: No OFD packet to send [03:29:35]OFD Sender: No OFD packet to send [03:29:40]OFD Sender: No OFD packet to send [03:29:45]OFD Sender: No OFD packet to send [03:29:50]OFD Sender: No OFD packet to send [03:29:55]OFD Sender: No OFD packet to send [03:30:00]OFD Sender: No OFD packet to send [03:30:05]OFD Sender: No OFD packet to send [03:30:10]OFD Sender: No OFD packet to send [03:30:15]OFD Sender: No OFD packet to send [03:30:20]OFD Sender: No OFD packet to send [03:30:25]OFD Sender: No OFD packet to send [03:30:30]OFD Sender: No OFD packet to send [03:30:35]OFD Sender: No OFD packet to send [03:30:40]OFD Sender: No OFD packet to send [03:30:45]OFD Sender: No OFD packet to send [03:30:50]OFD Sender: No OFD packet to send [03:30:55]OFD Sender: No OFD packet to send [03:31:00]OFD Sender: No OFD packet to send [03:31:05]OFD Sender: No OFD packet to send [03:31:10]OFD Sender: No OFD packet to send [03:31:15]OFD Sender: No OFD packet to send [03:31:20]OFD Sender: No OFD packet to send [03:31:25]OFD Sender: No OFD packet to send [03:31:30]OFD Sender: No OFD packet to send [03:31:35]OFD Sender: No OFD packet to send [03:31:40]OFD Sender: No OFD packet to send [03:31:45]OFD Sender: No OFD packet to send [03:31:50]OFD Sender: No OFD packet to send [03:31:55]OFD Sender: No OFD packet to send [03:32:00]OFD Sender: No OFD packet to send [03:32:05]OFD Sender: No OFD packet to send [03:32:10]OFD Sender: No OFD packet to send [03:32:15]OFD Sender: No OFD packet to send [03:32:20]OFD Sender: No OFD packet to send [03:32:25]OFD Sender: No OFD packet to send [03:32:30]OFD Sender: No OFD packet to send [03:32:35]OFD Sender: No OFD packet to send [03:32:40]OFD Sender: No OFD packet to send [03:32:45]OFD Sender: No OFD packet to send [03:32:50]OFD Sender: No OFD packet to send [03:32:55]OFD Sender: No OFD packet to send [03:33:00]OFD Sender: No OFD packet to send [03:33:05]OFD Sender: No OFD packet to send [03:33:10]OFD Sender: No OFD packet to send [03:33:15]OFD Sender: No OFD packet to send [03:33:20]OFD Sender: No OFD packet to send [03:33:25]OFD Sender: No OFD packet to send [03:33:30]OFD Sender: No OFD packet to send [03:33:35]OFD Sender: No OFD packet to send [03:33:40]OFD Sender: No OFD packet to send [03:33:45]OFD Sender: No OFD packet to send [03:33:50]OFD Sender: No OFD packet to send [03:33:55]OFD Sender: No OFD packet to send [03:34:00]OFD Sender: No OFD packet to send [03:34:05]OFD Sender: No OFD packet to send [03:34:10]OFD Sender: No OFD packet to send [03:34:15]OFD Sender: No OFD packet to send [03:34:20]OFD Sender: No OFD packet to send [03:34:25]OFD Sender: No OFD packet to send [03:34:30]OFD Sender: No OFD packet to send [03:34:35]OFD Sender: No OFD packet to send [03:34:40]OFD Sender: No OFD packet to send [03:34:45]OFD Sender: No OFD packet to send [03:34:50]OFD Sender: No OFD packet to send [03:34:55]OFD Sender: No OFD packet to send [03:35:00]OFD Sender: No OFD packet to send [03:35:05]OFD Sender: No OFD packet to send [03:35:10]OFD Sender: No OFD packet to send [03:35:15]OFD Sender: No OFD packet to send [03:35:20]OFD Sender: No OFD packet to send [03:35:25]OFD Sender: No OFD packet to send [03:35:30]OFD Sender: No OFD packet to send [03:35:35]OFD Sender: No OFD packet to send [03:35:40]OFD Sender: No OFD packet to send [03:35:45]OFD Sender: No OFD packet to send [03:35:50]OFD Sender: No OFD packet to send [03:35:55]OFD Sender: No OFD packet to send [03:36:00]OFD Sender: No OFD packet to send [03:36:05]OFD Sender: No OFD packet to send [03:36:10]OFD Sender: No OFD packet to send [03:36:15]OFD Sender: No OFD packet to send [03:36:20]OFD Sender: No OFD packet to send [03:36:25]OFD Sender: No OFD packet to send [03:36:30]OFD Sender: No OFD packet to send [03:36:35]OFD Sender: No OFD packet to send [03:36:40]OFD Sender: No OFD packet to send [03:36:45]OFD Sender: No OFD packet to send [03:36:50]OFD Sender: No OFD packet to send [03:36:55]OFD Sender: No OFD packet to send [03:37:00]OFD Sender: No OFD packet to send [03:37:05]OFD Sender: No OFD packet to send [03:37:10]OFD Sender: No OFD packet to send [03:37:15]OFD Sender: No OFD packet to send [03:37:20]OFD Sender: No OFD packet to send [03:37:25]OFD Sender: No OFD packet to send [03:37:30]OFD Sender: No OFD packet to send [03:37:35]OFD Sender: No OFD packet to send [03:37:40]OFD Sender: No OFD packet to send [03:37:45]OFD Sender: No OFD packet to send [03:37:50]OFD Sender: No OFD packet to send [03:37:55]OFD Sender: No OFD packet to send [03:38:00]OFD Sender: No OFD packet to send [03:38:05]OFD Sender: No OFD packet to send [03:38:10]OFD Sender: No OFD packet to send [03:38:15]OFD Sender: No OFD packet to send [03:38:20]OFD Sender: No OFD packet to send [03:38:25]OFD Sender: No OFD packet to send [03:38:30]OFD Sender: No OFD packet to send [03:38:35]OFD Sender: No OFD packet to send [03:38:41]OFD Sender: No OFD packet to send [03:38:46]OFD Sender: No OFD packet to send [03:38:51]OFD Sender: No OFD packet to send [03:38:56]OFD Sender: No OFD packet to send [03:39:01]OFD Sender: No OFD packet to send [03:39:06]OFD Sender: No OFD packet to send [03:39:11]OFD Sender: No OFD packet to send [03:39:16]OFD Sender: No OFD packet to send [03:39:21]OFD Sender: No OFD packet to send [03:39:26]OFD Sender: No OFD packet to send [03:39:31]OFD Sender: No OFD packet to send [03:39:36]OFD Sender: No OFD packet to send [03:39:41]OFD Sender: No OFD packet to send [03:39:46]OFD Sender: No OFD packet to send [03:39:51]OFD Sender: No OFD packet to send [03:39:56]OFD Sender: No OFD packet to send [03:40:01]OFD Sender: No OFD packet to send [03:40:06]OFD Sender: No OFD packet to send [03:40:11]OFD Sender: No OFD packet to send [03:40:16]OFD Sender: No OFD packet to send [03:40:21]OFD Sender: No OFD packet to send [03:40:26]OFD Sender: No OFD packet to send [03:40:31]OFD Sender: No OFD packet to send [03:40:36]OFD Sender: No OFD packet to send [03:40:41]OFD Sender: No OFD packet to send [03:40:46]OFD Sender: No OFD packet to send [03:40:51]OFD Sender: No OFD packet to send [03:40:56]OFD Sender: No OFD packet to send [03:41:01]OFD Sender: No OFD packet to send [03:41:06]OFD Sender: No OFD packet to send [03:41:11]OFD Sender: No OFD packet to send [03:41:16]OFD Sender: No OFD packet to send [03:41:21]OFD Sender: No OFD packet to send [03:41:26]OFD Sender: No OFD packet to send [03:41:31]OFD Sender: No OFD packet to send [03:41:36]OFD Sender: No OFD packet to send [03:41:41]OFD Sender: No OFD packet to send [03:41:46]OFD Sender: No OFD packet to send [03:41:51]OFD Sender: No OFD packet to send [03:41:56]OFD Sender: No OFD packet to send [03:42:01]OFD Sender: No OFD packet to send [03:42:06]OFD Sender: No OFD packet to send [03:42:11]OFD Sender: No OFD packet to send [03:42:16]OFD Sender: No OFD packet to send [03:42:21]OFD Sender: No OFD packet to send [03:42:26]OFD Sender: No OFD packet to send [03:42:31]OFD Sender: No OFD packet to send [03:42:36]OFD Sender: No OFD packet to send [03:42:41]OFD Sender: No OFD packet to send [03:42:46]OFD Sender: No OFD packet to send [03:42:51]OFD Sender: No OFD packet to send [03:42:56]OFD Sender: No OFD packet to send [03:43:01]OFD Sender: No OFD packet to send [03:43:06]OFD Sender: No OFD packet to send [03:43:11]OFD Sender: No OFD packet to send [03:43:16]OFD Sender: No OFD packet to send [03:43:21]OFD Sender: No OFD packet to send [03:43:26]OFD Sender: No OFD packet to send [03:43:31]OFD Sender: No OFD packet to send [03:43:36]OFD Sender: No OFD packet to send [03:43:41]OFD Sender: No OFD packet to send [03:43:46]OFD Sender: No OFD packet to send [03:43:51]OFD Sender: No OFD packet to send [03:43:56]OFD Sender: No OFD packet to send [03:44:01]OFD Sender: No OFD packet to send [03:44:06]OFD Sender: No OFD packet to send [03:44:11]OFD Sender: No OFD packet to send [03:44:16]OFD Sender: No OFD packet to send [03:44:21]OFD Sender: No OFD packet to send [03:44:26]OFD Sender: No OFD packet to send [03:44:31]OFD Sender: No OFD packet to send [03:44:36]OFD Sender: No OFD packet to send [03:44:41]OFD Sender: No OFD packet to send [03:44:46]OFD Sender: No OFD packet to send [03:44:51]OFD Sender: No OFD packet to send [03:44:56]OFD Sender: No OFD packet to send [03:45:01]OFD Sender: No OFD packet to send [03:45:06]OFD Sender: No OFD packet to send [03:45:11]OFD Sender: No OFD packet to send [03:45:16]OFD Sender: No OFD packet to send [03:45:21]OFD Sender: No OFD packet to send [03:45:26]OFD Sender: No OFD packet to send [03:45:31]OFD Sender: No OFD packet to send [03:45:36]OFD Sender: No OFD packet to send [03:45:41]OFD Sender: No OFD packet to send [03:45:46]OFD Sender: No OFD packet to send [03:45:51]OFD Sender: No OFD packet to send [03:45:56]OFD Sender: No OFD packet to send [03:46:01]OFD Sender: No OFD packet to send [03:46:06]OFD Sender: No OFD packet to send [03:46:11]OFD Sender: No OFD packet to send [03:46:16]OFD Sender: No OFD packet to send [03:46:21]OFD Sender: No OFD packet to send [03:46:26]OFD Sender: No OFD packet to send [03:46:31]OFD Sender: No OFD packet to send [03:46:36]OFD Sender: No OFD packet to send [03:46:41]OFD Sender: No OFD packet to send [03:46:46]OFD Sender: No OFD packet to send [03:46:51]OFD Sender: No OFD packet to send [03:46:56]OFD Sender: No OFD packet to send [03:47:01]OFD Sender: No OFD packet to send [03:47:06]OFD Sender: No OFD packet to send [03:47:11]OFD Sender: No OFD packet to send [03:47:16]OFD Sender: No OFD packet to send [03:47:21]OFD Sender: No OFD packet to send [03:47:26]OFD Sender: No OFD packet to send [03:47:31]OFD Sender: No OFD packet to send [03:47:36]OFD Sender: No OFD packet to send [03:47:41]OFD Sender: No OFD packet to send [03:47:46]OFD Sender: No OFD packet to send [03:47:51]OFD Sender: No OFD packet to send [03:47:56]OFD Sender: No OFD packet to send [03:48:01]OFD Sender: No OFD packet to send [03:48:06]OFD Sender: No OFD packet to send [03:48:11]OFD Sender: No OFD packet to send [03:48:16]OFD Sender: No OFD packet to send [03:48:21]OFD Sender: No OFD packet to send [03:48:26]OFD Sender: No OFD packet to send [03:48:31]OFD Sender: No OFD packet to send [03:48:36]OFD Sender: No OFD packet to send [03:48:41]OFD Sender: No OFD packet to send [03:48:46]OFD Sender: No OFD packet to send [03:48:51]OFD Sender: No OFD packet to send [03:48:56]OFD Sender: No OFD packet to send [03:49:01]OFD Sender: No OFD packet to send [03:49:06]OFD Sender: No OFD packet to send [03:49:11]OFD Sender: No OFD packet to send [03:49:16]OFD Sender: No OFD packet to send [03:49:21]OFD Sender: No OFD packet to send [03:49:26]OFD Sender: No OFD packet to send [03:49:31]OFD Sender: No OFD packet to send [03:49:36]OFD Sender: No OFD packet to send [03:49:41]OFD Sender: No OFD packet to send [03:49:46]OFD Sender: No OFD packet to send [03:49:51]OFD Sender: No OFD packet to send [03:49:56]OFD Sender: No OFD packet to send [03:50:01]OFD Sender: No OFD packet to send [03:50:06]OFD Sender: No OFD packet to send [03:50:11]OFD Sender: No OFD packet to send [03:50:16]OFD Sender: No OFD packet to send [03:50:21]OFD Sender: No OFD packet to send [03:50:26]OFD Sender: No OFD packet to send [03:50:31]OFD Sender: No OFD packet to send [03:50:36]OFD Sender: No OFD packet to send [03:50:41]OFD Sender: No OFD packet to send [03:50:46]OFD Sender: No OFD packet to send [03:50:51]OFD Sender: No OFD packet to send [03:50:56]OFD Sender: No OFD packet to send [03:51:01]OFD Sender: No OFD packet to send [03:51:06]OFD Sender: No OFD packet to send [03:51:11]OFD Sender: No OFD packet to send [03:51:16]OFD Sender: No OFD packet to send [03:51:21]OFD Sender: No OFD packet to send [03:51:26]OFD Sender: No OFD packet to send [03:51:31]OFD Sender: No OFD packet to send [03:51:36]OFD Sender: No OFD packet to send [03:51:41]OFD Sender: No OFD packet to send [03:51:46]OFD Sender: No OFD packet to send [03:51:51]OFD Sender: No OFD packet to send [03:51:56]OFD Sender: No OFD packet to send [03:52:01]OFD Sender: No OFD packet to send [03:52:06]OFD Sender: No OFD packet to send [03:52:11]OFD Sender: No OFD packet to send [03:52:16]OFD Sender: No OFD packet to send [03:52:21]OFD Sender: No OFD packet to send [03:52:26]OFD Sender: No OFD packet to send [03:52:31]OFD Sender: No OFD packet to send [03:52:36]OFD Sender: No OFD packet to send [03:52:41]OFD Sender: No OFD packet to send [03:52:46]OFD Sender: No OFD packet to send [03:52:51]OFD Sender: No OFD packet to send [03:52:56]OFD Sender: No OFD packet to send [03:53:01]OFD Sender: No OFD packet to send [03:53:06]OFD Sender: No OFD packet to send [03:53:11]OFD Sender: No OFD packet to send [03:53:16]OFD Sender: No OFD packet to send [03:53:21]OFD Sender: No OFD packet to send [03:53:26]OFD Sender: No OFD packet to send [03:53:31]OFD Sender: No OFD packet to send [03:53:36]OFD Sender: No OFD packet to send [03:53:41]OFD Sender: No OFD packet to send [03:53:46]OFD Sender: No OFD packet to send [03:53:51]OFD Sender: No OFD packet to send [03:53:56]OFD Sender: No OFD packet to send [03:54:01]OFD Sender: No OFD packet to send [03:54:06]OFD Sender: No OFD packet to send [03:54:11]OFD Sender: No OFD packet to send [03:54:16]OFD Sender: No OFD packet to send [03:54:21]OFD Sender: No OFD packet to send [03:54:26]OFD Sender: No OFD packet to send [03:54:31]OFD Sender: No OFD packet to send [03:54:36]OFD Sender: No OFD packet to send [03:54:41]OFD Sender: No OFD packet to send [03:54:46]OFD Sender: No OFD packet to send [03:54:51]OFD Sender: No OFD packet to send [03:54:56]OFD Sender: No OFD packet to send [03:55:01]OFD Sender: No OFD packet to send [03:55:06]OFD Sender: No OFD packet to send [03:55:11]OFD Sender: No OFD packet to send [03:55:16]OFD Sender: No OFD packet to send [03:55:21]OFD Sender: No OFD packet to send [03:55:26]OFD Sender: No OFD packet to send [03:55:31]OFD Sender: No OFD packet to send [03:55:36]OFD Sender: No OFD packet to send [03:55:41]OFD Sender: No OFD packet to send [03:55:46]OFD Sender: No OFD packet to send [03:55:51]OFD Sender: No OFD packet to send [03:55:56]OFD Sender: No OFD packet to send [03:56:01]OFD Sender: No OFD packet to send [03:56:06]OFD Sender: No OFD packet to send [03:56:11]OFD Sender: No OFD packet to send [03:56:16]OFD Sender: No OFD packet to send [03:56:21]OFD Sender: No OFD packet to send [03:56:26]OFD Sender: No OFD packet to send [03:56:31]OFD Sender: No OFD packet to send [03:56:36]OFD Sender: No OFD packet to send [03:56:41]OFD Sender: No OFD packet to send [03:56:46]OFD Sender: No OFD packet to send [03:56:51]OFD Sender: No OFD packet to send [03:56:56]OFD Sender: No OFD packet to send [03:57:01]OFD Sender: No OFD packet to send [03:57:06]OFD Sender: No OFD packet to send [03:57:11]OFD Sender: No OFD packet to send [03:57:16]OFD Sender: No OFD packet to send [03:57:21]OFD Sender: No OFD packet to send [03:57:26]OFD Sender: No OFD packet to send [03:57:31]OFD Sender: No OFD packet to send [03:57:36]OFD Sender: No OFD packet to send [03:57:41]OFD Sender: No OFD packet to send [03:57:46]OFD Sender: No OFD packet to send [03:57:51]OFD Sender: No OFD packet to send [03:57:56]OFD Sender: No OFD packet to send [03:58:01]OFD Sender: No OFD packet to send [03:58:06]OFD Sender: No OFD packet to send [03:58:11]OFD Sender: No OFD packet to send [03:58:16]OFD Sender: No OFD packet to send [03:58:21]OFD Sender: No OFD packet to send [03:58:26]OFD Sender: No OFD packet to send [03:58:31]OFD Sender: No OFD packet to send [03:58:36]OFD Sender: No OFD packet to send [03:58:41]OFD Sender: No OFD packet to send [03:58:46]OFD Sender: No OFD packet to send [03:58:51]OFD Sender: No OFD packet to send [03:58:56]OFD Sender: No OFD packet to send [03:59:01]OFD Sender: No OFD packet to send [03:59:06]OFD Sender: No OFD packet to send [03:59:11]OFD Sender: No OFD packet to send [03:59:16]OFD Sender: No OFD packet to send [03:59:21]OFD Sender: No OFD packet to send [03:59:26]OFD Sender: No OFD packet to send [03:59:31]OFD Sender: No OFD packet to send [03:59:36]OFD Sender: No OFD packet to send [03:59:41]OFD Sender: No OFD packet to send [03:59:46]OFD Sender: No OFD packet to send [03:59:51]OFD Sender: No OFD packet to send [03:59:56]OFD Sender: No OFD packet to send [04:00:02]OFD Sender: No OFD packet to send [04:00:07]OFD Sender: No OFD packet to send [04:00:12]OFD Sender: No OFD packet to send [04:00:17]OFD Sender: No OFD packet to send [04:00:22]OFD Sender: No OFD packet to send [04:00:27]OFD Sender: No OFD packet to send [04:00:32]OFD Sender: No OFD packet to send [04:00:37]OFD Sender: No OFD packet to send [04:00:42]OFD Sender: No OFD packet to send [04:00:47]OFD Sender: No OFD packet to send [04:00:52]OFD Sender: No OFD packet to send [04:00:57]OFD Sender: No OFD packet to send [04:01:02]OFD Sender: No OFD packet to send [04:01:07]OFD Sender: No OFD packet to send [04:01:12]OFD Sender: No OFD packet to send [04:01:17]OFD Sender: No OFD packet to send [04:01:22]OFD Sender: No OFD packet to send [04:01:27]OFD Sender: No OFD packet to send [04:01:32]OFD Sender: No OFD packet to send [04:01:37]OFD Sender: No OFD packet to send [04:01:42]OFD Sender: No OFD packet to send [04:01:47]OFD Sender: No OFD packet to send [04:01:52]OFD Sender: No OFD packet to send [04:01:57]OFD Sender: No OFD packet to send [04:02:02]OFD Sender: No OFD packet to send [04:02:07]OFD Sender: No OFD packet to send [04:02:12]OFD Sender: No OFD packet to send [04:02:17]OFD Sender: No OFD packet to send [04:02:22]OFD Sender: No OFD packet to send [04:02:27]OFD Sender: No OFD packet to send [04:02:32]OFD Sender: No OFD packet to send [04:02:37]OFD Sender: No OFD packet to send [04:02:42]OFD Sender: No OFD packet to send [04:02:47]OFD Sender: No OFD packet to send [04:02:52]OFD Sender: No OFD packet to send [04:02:57]OFD Sender: No OFD packet to send [04:03:02]OFD Sender: No OFD packet to send [04:03:07]OFD Sender: No OFD packet to send [04:03:12]OFD Sender: No OFD packet to send [04:03:17]OFD Sender: No OFD packet to send [04:03:22]OFD Sender: No OFD packet to send [04:03:27]OFD Sender: No OFD packet to send [04:03:32]OFD Sender: No OFD packet to send [04:03:37]OFD Sender: No OFD packet to send [04:03:42]OFD Sender: No OFD packet to send [04:03:47]OFD Sender: No OFD packet to send [04:03:52]OFD Sender: No OFD packet to send [04:03:57]OFD Sender: No OFD packet to send [04:04:02]OFD Sender: No OFD packet to send [04:04:07]OFD Sender: No OFD packet to send [04:04:12]OFD Sender: No OFD packet to send [04:04:17]OFD Sender: No OFD packet to send [04:04:22]OFD Sender: No OFD packet to send [04:04:27]OFD Sender: No OFD packet to send [04:04:32]OFD Sender: No OFD packet to send [04:04:37]OFD Sender: No OFD packet to send [04:04:42]OFD Sender: No OFD packet to send [04:04:47]OFD Sender: No OFD packet to send [04:04:52]OFD Sender: No OFD packet to send [04:04:57]OFD Sender: No OFD packet to send [04:05:02]OFD Sender: No OFD packet to send [04:05:07]OFD Sender: No OFD packet to send [04:05:12]OFD Sender: No OFD packet to send [04:05:17]OFD Sender: No OFD packet to send [04:05:22]OFD Sender: No OFD packet to send [04:05:27]OFD Sender: No OFD packet to send [04:05:32]OFD Sender: No OFD packet to send [04:05:37]OFD Sender: No OFD packet to send [04:05:42]OFD Sender: No OFD packet to send [04:05:47]OFD Sender: No OFD packet to send [04:05:52]OFD Sender: No OFD packet to send [04:05:57]OFD Sender: No OFD packet to send [04:06:02]OFD Sender: No OFD packet to send [04:06:07]OFD Sender: No OFD packet to send [04:06:12]OFD Sender: No OFD packet to send [04:06:17]OFD Sender: No OFD packet to send [04:06:22]OFD Sender: No OFD packet to send [04:06:27]OFD Sender: No OFD packet to send [04:06:32]OFD Sender: No OFD packet to send [04:06:37]OFD Sender: No OFD packet to send [04:06:42]OFD Sender: No OFD packet to send [04:06:47]OFD Sender: No OFD packet to send [04:06:52]OFD Sender: No OFD packet to send [04:06:57]OFD Sender: No OFD packet to send [04:07:02]OFD Sender: No OFD packet to send [04:07:07]OFD Sender: No OFD packet to send [04:07:12]OFD Sender: No OFD packet to send [04:07:17]OFD Sender: No OFD packet to send [04:07:22]OFD Sender: No OFD packet to send [04:07:27]OFD Sender: No OFD packet to send [04:07:32]OFD Sender: No OFD packet to send [04:07:37]OFD Sender: No OFD packet to send [04:07:42]OFD Sender: No OFD packet to send [04:07:47]OFD Sender: No OFD packet to send [04:07:52]OFD Sender: No OFD packet to send [04:07:57]OFD Sender: No OFD packet to send [04:08:02]OFD Sender: No OFD packet to send [04:08:07]OFD Sender: No OFD packet to send [04:08:12]OFD Sender: No OFD packet to send [04:08:17]OFD Sender: No OFD packet to send [04:08:22]OFD Sender: No OFD packet to send [04:08:27]OFD Sender: No OFD packet to send [04:08:32]OFD Sender: No OFD packet to send [04:08:37]OFD Sender: No OFD packet to send [04:08:42]OFD Sender: No OFD packet to send [04:08:47]OFD Sender: No OFD packet to send [04:08:52]OFD Sender: No OFD packet to send [04:08:57]OFD Sender: No OFD packet to send [04:09:02]OFD Sender: No OFD packet to send [04:09:07]OFD Sender: No OFD packet to send [04:09:12]OFD Sender: No OFD packet to send [04:09:17]OFD Sender: No OFD packet to send [04:09:22]OFD Sender: No OFD packet to send [04:09:27]OFD Sender: No OFD packet to send [04:09:32]OFD Sender: No OFD packet to send [04:09:37]OFD Sender: No OFD packet to send [04:09:42]OFD Sender: No OFD packet to send [04:09:47]OFD Sender: No OFD packet to send [04:09:52]OFD Sender: No OFD packet to send [04:09:57]OFD Sender: No OFD packet to send [04:10:02]OFD Sender: No OFD packet to send [04:10:07]OFD Sender: No OFD packet to send [04:10:12]OFD Sender: No OFD packet to send [04:10:17]OFD Sender: No OFD packet to send [04:10:22]OFD Sender: No OFD packet to send [04:10:27]OFD Sender: No OFD packet to send [04:10:32]OFD Sender: No OFD packet to send [04:10:37]OFD Sender: No OFD packet to send [04:10:42]OFD Sender: No OFD packet to send [04:10:47]OFD Sender: No OFD packet to send [04:10:52]OFD Sender: No OFD packet to send [04:10:57]OFD Sender: No OFD packet to send [04:11:02]OFD Sender: No OFD packet to send [04:11:07]OFD Sender: No OFD packet to send [04:11:12]OFD Sender: No OFD packet to send [04:11:17]OFD Sender: No OFD packet to send [04:11:22]OFD Sender: No OFD packet to send [04:11:27]OFD Sender: No OFD packet to send [04:11:32]OFD Sender: No OFD packet to send [04:11:37]OFD Sender: No OFD packet to send [04:11:42]OFD Sender: No OFD packet to send [04:11:47]OFD Sender: No OFD packet to send [04:11:52]OFD Sender: No OFD packet to send [04:11:57]OFD Sender: No OFD packet to send [04:12:02]OFD Sender: No OFD packet to send [04:12:07]OFD Sender: No OFD packet to send [04:12:12]OFD Sender: No OFD packet to send [04:12:17]OFD Sender: No OFD packet to send [04:12:22]OFD Sender: No OFD packet to send [04:12:27]OFD Sender: No OFD packet to send [04:12:32]OFD Sender: No OFD packet to send [04:12:37]OFD Sender: No OFD packet to send [04:12:42]OFD Sender: No OFD packet to send [04:12:47]OFD Sender: No OFD packet to send [04:12:52]OFD Sender: No OFD packet to send [04:12:57]OFD Sender: No OFD packet to send [04:13:02]OFD Sender: No OFD packet to send [04:13:07]OFD Sender: No OFD packet to send [04:13:12]OFD Sender: No OFD packet to send [04:13:17]OFD Sender: No OFD packet to send [04:13:22]OFD Sender: No OFD packet to send [04:13:27]OFD Sender: No OFD packet to send [04:13:32]OFD Sender: No OFD packet to send [04:13:37]OFD Sender: No OFD packet to send [04:13:42]OFD Sender: No OFD packet to send [04:13:47]OFD Sender: No OFD packet to send [04:13:52]OFD Sender: No OFD packet to send [04:13:57]OFD Sender: No OFD packet to send [04:14:02]OFD Sender: No OFD packet to send [04:14:07]OFD Sender: No OFD packet to send [04:14:12]OFD Sender: No OFD packet to send [04:14:17]OFD Sender: No OFD packet to send [04:14:22]OFD Sender: No OFD packet to send [04:14:27]OFD Sender: No OFD packet to send [04:14:32]OFD Sender: No OFD packet to send [04:14:37]OFD Sender: No OFD packet to send [04:14:42]OFD Sender: No OFD packet to send [04:14:47]OFD Sender: No OFD packet to send [04:14:52]OFD Sender: No OFD packet to send [04:14:57]OFD Sender: No OFD packet to send [04:15:02]OFD Sender: No OFD packet to send [04:15:07]OFD Sender: No OFD packet to send [04:15:12]OFD Sender: No OFD packet to send [04:15:17]OFD Sender: No OFD packet to send [04:15:22]OFD Sender: No OFD packet to send [04:15:27]OFD Sender: No OFD packet to send [04:15:32]OFD Sender: No OFD packet to send [04:15:37]OFD Sender: No OFD packet to send [04:15:42]OFD Sender: No OFD packet to send [04:15:47]OFD Sender: No OFD packet to send [04:15:52]OFD Sender: No OFD packet to send [04:15:57]OFD Sender: No OFD packet to send [04:16:02]OFD Sender: No OFD packet to send [04:16:07]OFD Sender: No OFD packet to send [04:16:12]OFD Sender: No OFD packet to send [04:16:17]OFD Sender: No OFD packet to send [04:16:22]OFD Sender: No OFD packet to send [04:16:27]OFD Sender: No OFD packet to send [04:16:32]OFD Sender: No OFD packet to send [04:16:37]OFD Sender: No OFD packet to send [04:16:42]OFD Sender: No OFD packet to send [04:16:47]OFD Sender: No OFD packet to send [04:16:52]OFD Sender: No OFD packet to send [04:16:57]OFD Sender: No OFD packet to send [04:17:02]OFD Sender: No OFD packet to send [04:17:07]OFD Sender: No OFD packet to send [04:17:12]OFD Sender: No OFD packet to send [04:17:17]OFD Sender: No OFD packet to send [04:17:22]OFD Sender: No OFD packet to send [04:17:27]OFD Sender: No OFD packet to send [04:17:32]OFD Sender: No OFD packet to send [04:17:37]OFD Sender: No OFD packet to send [04:17:42]OFD Sender: No OFD packet to send [04:17:47]OFD Sender: No OFD packet to send [04:17:52]OFD Sender: No OFD packet to send [04:17:57]OFD Sender: No OFD packet to send [04:18:02]OFD Sender: No OFD packet to send [04:18:07]OFD Sender: No OFD packet to send [04:18:12]OFD Sender: No OFD packet to send [04:18:17]OFD Sender: No OFD packet to send [04:18:22]OFD Sender: No OFD packet to send [04:18:27]OFD Sender: No OFD packet to send [04:18:32]OFD Sender: No OFD packet to send [04:18:37]OFD Sender: No OFD packet to send [04:18:42]OFD Sender: No OFD packet to send [04:18:47]OFD Sender: No OFD packet to send [04:18:52]OFD Sender: No OFD packet to send [04:18:57]OFD Sender: No OFD packet to send [04:19:02]OFD Sender: No OFD packet to send [04:19:07]OFD Sender: No OFD packet to send [04:19:12]OFD Sender: No OFD packet to send [04:19:17]OFD Sender: No OFD packet to send [04:19:22]OFD Sender: No OFD packet to send [04:19:27]OFD Sender: No OFD packet to send [04:19:32]OFD Sender: No OFD packet to send [04:19:37]OFD Sender: No OFD packet to send [04:19:42]OFD Sender: No OFD packet to send [04:19:47]OFD Sender: No OFD packet to send [04:19:52]OFD Sender: No OFD packet to send [04:19:57]OFD Sender: No OFD packet to send [04:20:02]OFD Sender: No OFD packet to send [04:20:07]OFD Sender: No OFD packet to send [04:20:12]OFD Sender: No OFD packet to send [04:20:17]OFD Sender: No OFD packet to send [04:20:22]OFD Sender: No OFD packet to send [04:20:27]OFD Sender: No OFD packet to send [04:20:32]OFD Sender: No OFD packet to send [04:20:37]OFD Sender: No OFD packet to send [04:20:42]OFD Sender: No OFD packet to send [04:20:47]OFD Sender: No OFD packet to send [04:20:52]OFD Sender: No OFD packet to send [04:20:57]OFD Sender: No OFD packet to send [04:21:02]OFD Sender: No OFD packet to send [04:21:07]OFD Sender: No OFD packet to send [04:21:12]OFD Sender: No OFD packet to send [04:21:17]OFD Sender: No OFD packet to send [04:21:23]OFD Sender: No OFD packet to send [04:21:28]OFD Sender: No OFD packet to send [04:21:33]OFD Sender: No OFD packet to send [04:21:38]OFD Sender: No OFD packet to send [04:21:43]OFD Sender: No OFD packet to send [04:21:48]OFD Sender: No OFD packet to send [04:21:53]OFD Sender: No OFD packet to send [04:21:58]OFD Sender: No OFD packet to send [04:22:03]OFD Sender: No OFD packet to send [04:22:08]OFD Sender: No OFD packet to send [04:22:13]OFD Sender: No OFD packet to send [04:22:18]OFD Sender: No OFD packet to send [04:22:23]OFD Sender: No OFD packet to send [04:22:28]OFD Sender: No OFD packet to send [04:22:33]OFD Sender: No OFD packet to send [04:22:38]OFD Sender: No OFD packet to send [04:22:43]OFD Sender: No OFD packet to send [04:22:48]OFD Sender: No OFD packet to send [04:22:53]OFD Sender: No OFD packet to send [04:22:58]OFD Sender: No OFD packet to send [04:23:03]OFD Sender: No OFD packet to send [04:23:08]OFD Sender: No OFD packet to send [04:23:13]OFD Sender: No OFD packet to send [04:23:18]OFD Sender: No OFD packet to send [04:23:23]OFD Sender: No OFD packet to send [04:23:28]OFD Sender: No OFD packet to send [04:23:33]OFD Sender: No OFD packet to send [04:23:38]OFD Sender: No OFD packet to send [04:23:43]OFD Sender: No OFD packet to send [04:23:48]OFD Sender: No OFD packet to send [04:23:53]OFD Sender: No OFD packet to send [04:23:58]OFD Sender: No OFD packet to send [04:24:03]OFD Sender: No OFD packet to send [04:24:08]OFD Sender: No OFD packet to send [04:24:13]OFD Sender: No OFD packet to send [04:24:18]OFD Sender: No OFD packet to send [04:24:23]OFD Sender: No OFD packet to send [04:24:28]OFD Sender: No OFD packet to send [04:24:33]OFD Sender: No OFD packet to send [04:24:38]OFD Sender: No OFD packet to send [04:24:43]OFD Sender: No OFD packet to send [04:24:48]OFD Sender: No OFD packet to send [04:24:53]OFD Sender: No OFD packet to send [04:24:58]OFD Sender: No OFD packet to send [04:25:03]OFD Sender: No OFD packet to send [04:25:08]OFD Sender: No OFD packet to send [04:25:13]OFD Sender: No OFD packet to send [04:25:18]OFD Sender: No OFD packet to send [04:25:23]OFD Sender: No OFD packet to send [04:25:28]OFD Sender: No OFD packet to send [04:25:33]OFD Sender: No OFD packet to send [04:25:38]OFD Sender: No OFD packet to send [04:25:43]OFD Sender: No OFD packet to send [04:25:48]OFD Sender: No OFD packet to send [04:25:53]OFD Sender: No OFD packet to send [04:25:58]OFD Sender: No OFD packet to send [04:26:03]OFD Sender: No OFD packet to send [04:26:08]OFD Sender: No OFD packet to send [04:26:13]OFD Sender: No OFD packet to send [04:26:18]OFD Sender: No OFD packet to send [04:26:23]OFD Sender: No OFD packet to send [04:26:28]OFD Sender: No OFD packet to send [04:26:33]OFD Sender: No OFD packet to send [04:26:38]OFD Sender: No OFD packet to send [04:26:43]OFD Sender: No OFD packet to send [04:26:48]OFD Sender: No OFD packet to send [04:26:53]OFD Sender: No OFD packet to send [04:26:58]OFD Sender: No OFD packet to send [04:27:03]OFD Sender: No OFD packet to send [04:27:08]OFD Sender: No OFD packet to send [04:27:13]OFD Sender: No OFD packet to send [04:27:18]OFD Sender: No OFD packet to send [04:27:23]OFD Sender: No OFD packet to send [04:27:28]OFD Sender: No OFD packet to send [04:27:33]OFD Sender: No OFD packet to send [04:27:38]OFD Sender: No OFD packet to send [04:27:43]OFD Sender: No OFD packet to send [04:27:48]OFD Sender: No OFD packet to send [04:27:53]OFD Sender: No OFD packet to send [04:27:58]OFD Sender: No OFD packet to send [04:28:03]OFD Sender: No OFD packet to send [04:28:08]OFD Sender: No OFD packet to send [04:28:13]OFD Sender: No OFD packet to send [04:28:18]OFD Sender: No OFD packet to send [04:28:23]OFD Sender: No OFD packet to send [04:28:28]OFD Sender: No OFD packet to send [04:28:33]OFD Sender: No OFD packet to send [04:28:38]OFD Sender: No OFD packet to send [04:28:43]OFD Sender: No OFD packet to send [04:28:48]OFD Sender: No OFD packet to send [04:28:53]OFD Sender: No OFD packet to send [04:28:58]OFD Sender: No OFD packet to send [04:29:03]OFD Sender: No OFD packet to send [04:29:08]OFD Sender: No OFD packet to send [04:29:13]OFD Sender: No OFD packet to send [04:29:18]OFD Sender: No OFD packet to send [04:29:23]OFD Sender: No OFD packet to send [04:29:28]OFD Sender: No OFD packet to send [04:29:33]OFD Sender: No OFD packet to send [04:29:38]OFD Sender: No OFD packet to send [04:29:43]OFD Sender: No OFD packet to send [04:29:48]OFD Sender: No OFD packet to send [04:29:53]OFD Sender: No OFD packet to send [04:29:58]OFD Sender: No OFD packet to send [04:30:03]OFD Sender: No OFD packet to send [04:30:08]OFD Sender: No OFD packet to send [04:30:13]OFD Sender: No OFD packet to send [04:30:18]OFD Sender: No OFD packet to send [04:30:23]OFD Sender: No OFD packet to send [04:30:28]OFD Sender: No OFD packet to send [04:30:33]OFD Sender: No OFD packet to send [04:30:38]OFD Sender: No OFD packet to send [04:30:43]OFD Sender: No OFD packet to send [04:30:48]OFD Sender: No OFD packet to send [04:30:53]OFD Sender: No OFD packet to send [04:30:58]OFD Sender: No OFD packet to send [04:31:03]OFD Sender: No OFD packet to send [04:31:08]OFD Sender: No OFD packet to send [04:31:13]OFD Sender: No OFD packet to send [04:31:18]OFD Sender: No OFD packet to send [04:31:23]OFD Sender: No OFD packet to send [04:31:28]OFD Sender: No OFD packet to send [04:31:33]OFD Sender: No OFD packet to send [04:31:38]OFD Sender: No OFD packet to send [04:31:43]OFD Sender: No OFD packet to send [04:31:48]OFD Sender: No OFD packet to send [04:31:53]OFD Sender: No OFD packet to send [04:31:58]OFD Sender: No OFD packet to send [04:32:03]OFD Sender: No OFD packet to send [04:32:08]OFD Sender: No OFD packet to send [04:32:13]OFD Sender: No OFD packet to send [04:32:18]OFD Sender: No OFD packet to send [04:32:23]OFD Sender: No OFD packet to send [04:32:28]OFD Sender: No OFD packet to send [04:32:33]OFD Sender: No OFD packet to send [04:32:38]OFD Sender: No OFD packet to send [04:32:43]OFD Sender: No OFD packet to send [04:32:48]OFD Sender: No OFD packet to send [04:32:53]OFD Sender: No OFD packet to send [04:32:58]OFD Sender: No OFD packet to send [04:33:03]OFD Sender: No OFD packet to send [04:33:08]OFD Sender: No OFD packet to send [04:33:13]OFD Sender: No OFD packet to send [04:33:18]OFD Sender: No OFD packet to send [04:33:23]OFD Sender: No OFD packet to send [04:33:28]OFD Sender: No OFD packet to send [04:33:33]OFD Sender: No OFD packet to send [04:33:38]OFD Sender: No OFD packet to send [04:33:43]OFD Sender: No OFD packet to send [04:33:48]OFD Sender: No OFD packet to send [04:33:53]OFD Sender: No OFD packet to send [04:33:58]OFD Sender: No OFD packet to send [04:34:03]OFD Sender: No OFD packet to send [04:34:08]OFD Sender: No OFD packet to send [04:34:13]OFD Sender: No OFD packet to send [04:34:18]OFD Sender: No OFD packet to send [04:34:23]OFD Sender: No OFD packet to send [04:34:28]OFD Sender: No OFD packet to send [04:34:33]OFD Sender: No OFD packet to send [04:34:38]OFD Sender: No OFD packet to send [04:34:43]OFD Sender: No OFD packet to send [04:34:48]OFD Sender: No OFD packet to send [04:34:53]OFD Sender: No OFD packet to send [04:34:58]OFD Sender: No OFD packet to send [04:35:03]OFD Sender: No OFD packet to send [04:35:08]OFD Sender: No OFD packet to send [04:35:13]OFD Sender: No OFD packet to send [04:35:18]OFD Sender: No OFD packet to send [04:35:23]OFD Sender: No OFD packet to send [04:35:28]OFD Sender: No OFD packet to send [04:35:33]OFD Sender: No OFD packet to send [04:35:38]OFD Sender: No OFD packet to send [04:35:43]OFD Sender: No OFD packet to send [04:35:48]OFD Sender: No OFD packet to send [04:35:53]OFD Sender: No OFD packet to send [04:35:58]OFD Sender: No OFD packet to send [04:36:03]OFD Sender: No OFD packet to send [04:36:08]OFD Sender: No OFD packet to send [04:36:13]OFD Sender: No OFD packet to send [04:36:18]OFD Sender: No OFD packet to send [04:36:23]OFD Sender: No OFD packet to send [04:36:28]OFD Sender: No OFD packet to send [04:36:33]OFD Sender: No OFD packet to send [04:36:38]OFD Sender: No OFD packet to send [04:36:43]OFD Sender: No OFD packet to send [04:36:48]OFD Sender: No OFD packet to send [04:36:53]OFD Sender: No OFD packet to send [04:36:58]OFD Sender: No OFD packet to send [04:37:03]OFD Sender: No OFD packet to send [04:37:08]OFD Sender: No OFD packet to send [04:37:13]OFD Sender: No OFD packet to send [04:37:18]OFD Sender: No OFD packet to send [04:37:23]OFD Sender: No OFD packet to send [04:37:28]OFD Sender: No OFD packet to send [04:37:33]OFD Sender: No OFD packet to send [04:37:38]OFD Sender: No OFD packet to send [04:37:43]OFD Sender: No OFD packet to send [04:37:48]OFD Sender: No OFD packet to send [04:37:53]OFD Sender: No OFD packet to send [04:37:58]OFD Sender: No OFD packet to send [04:38:03]OFD Sender: No OFD packet to send [04:38:08]OFD Sender: No OFD packet to send [04:38:13]OFD Sender: No OFD packet to send [04:38:18]OFD Sender: No OFD packet to send [04:38:23]OFD Sender: No OFD packet to send [04:38:28]OFD Sender: No OFD packet to send [04:38:33]OFD Sender: No OFD packet to send [04:38:38]OFD Sender: No OFD packet to send [04:38:43]OFD Sender: No OFD packet to send [04:38:48]OFD Sender: No OFD packet to send [04:38:53]OFD Sender: No OFD packet to send [04:38:58]OFD Sender: No OFD packet to send [04:39:03]OFD Sender: No OFD packet to send [04:39:08]OFD Sender: No OFD packet to send [04:39:13]OFD Sender: No OFD packet to send [04:39:18]OFD Sender: No OFD packet to send [04:39:23]OFD Sender: No OFD packet to send [04:39:28]OFD Sender: No OFD packet to send [04:39:33]OFD Sender: No OFD packet to send [04:39:38]OFD Sender: No OFD packet to send [04:39:43]OFD Sender: No OFD packet to send [04:39:48]OFD Sender: No OFD packet to send [04:39:53]OFD Sender: No OFD packet to send [04:39:58]OFD Sender: No OFD packet to send [04:40:03]OFD Sender: No OFD packet to send [04:40:08]OFD Sender: No OFD packet to send [04:40:13]OFD Sender: No OFD packet to send [04:40:18]OFD Sender: No OFD packet to send [04:40:23]OFD Sender: No OFD packet to send [04:40:28]OFD Sender: No OFD packet to send [04:40:33]OFD Sender: No OFD packet to send [04:40:38]OFD Sender: No OFD packet to send [04:40:43]OFD Sender: No OFD packet to send [04:40:48]OFD Sender: No OFD packet to send [04:40:53]OFD Sender: No OFD packet to send [04:40:58]OFD Sender: No OFD packet to send [04:41:03]OFD Sender: No OFD packet to send [04:41:08]OFD Sender: No OFD packet to send [04:41:13]OFD Sender: No OFD packet to send [04:41:18]OFD Sender: No OFD packet to send [04:41:23]OFD Sender: No OFD packet to send [04:41:28]OFD Sender: No OFD packet to send [04:41:33]OFD Sender: No OFD packet to send [04:41:38]OFD Sender: No OFD packet to send [04:41:43]OFD Sender: No OFD packet to send [04:41:48]OFD Sender: No OFD packet to send [04:41:53]OFD Sender: No OFD packet to send [04:41:58]OFD Sender: No OFD packet to send [04:42:03]OFD Sender: No OFD packet to send [04:42:08]OFD Sender: No OFD packet to send [04:42:13]OFD Sender: No OFD packet to send [04:42:18]OFD Sender: No OFD packet to send [04:42:24]OFD Sender: No OFD packet to send [04:42:29]OFD Sender: No OFD packet to send [04:42:34]OFD Sender: No OFD packet to send [04:42:39]OFD Sender: No OFD packet to send [04:42:44]OFD Sender: No OFD packet to send [04:42:49]OFD Sender: No OFD packet to send [04:42:54]OFD Sender: No OFD packet to send [04:42:59]OFD Sender: No OFD packet to send [04:43:04]OFD Sender: No OFD packet to send [04:43:09]OFD Sender: No OFD packet to send [04:43:14]OFD Sender: No OFD packet to send [04:43:19]OFD Sender: No OFD packet to send [04:43:24]OFD Sender: No OFD packet to send [04:43:29]OFD Sender: No OFD packet to send [04:43:34]OFD Sender: No OFD packet to send [04:43:39]OFD Sender: No OFD packet to send [04:43:44]OFD Sender: No OFD packet to send [04:43:49]OFD Sender: No OFD packet to send [04:43:54]OFD Sender: No OFD packet to send [04:43:59]OFD Sender: No OFD packet to send [04:44:04]OFD Sender: No OFD packet to send [04:44:09]OFD Sender: No OFD packet to send [04:44:14]OFD Sender: No OFD packet to send [04:44:19]OFD Sender: No OFD packet to send [04:44:24]OFD Sender: No OFD packet to send [04:44:29]OFD Sender: No OFD packet to send [04:44:34]OFD Sender: No OFD packet to send [04:44:39]OFD Sender: No OFD packet to send [04:44:44]OFD Sender: No OFD packet to send [04:44:49]OFD Sender: No OFD packet to send [04:44:54]OFD Sender: No OFD packet to send [04:44:59]OFD Sender: No OFD packet to send [04:45:04]OFD Sender: No OFD packet to send [04:45:09]OFD Sender: No OFD packet to send [04:45:14]OFD Sender: No OFD packet to send [04:45:19]OFD Sender: No OFD packet to send [04:45:24]OFD Sender: No OFD packet to send [04:45:29]OFD Sender: No OFD packet to send [04:45:34]OFD Sender: No OFD packet to send [04:45:39]OFD Sender: No OFD packet to send [04:45:44]OFD Sender: No OFD packet to send [04:45:49]OFD Sender: No OFD packet to send [04:45:54]OFD Sender: No OFD packet to send [04:45:59]OFD Sender: No OFD packet to send [04:46:04]OFD Sender: No OFD packet to send [04:46:09]OFD Sender: No OFD packet to send [04:46:14]OFD Sender: No OFD packet to send [04:46:19]OFD Sender: No OFD packet to send [04:46:24]OFD Sender: No OFD packet to send [04:46:29]OFD Sender: No OFD packet to send [04:46:34]OFD Sender: No OFD packet to send [04:46:39]OFD Sender: No OFD packet to send [04:46:44]OFD Sender: No OFD packet to send [04:46:49]OFD Sender: No OFD packet to send [04:46:54]OFD Sender: No OFD packet to send [04:46:59]OFD Sender: No OFD packet to send [04:47:04]OFD Sender: No OFD packet to send [04:47:09]OFD Sender: No OFD packet to send [04:47:14]OFD Sender: No OFD packet to send [04:47:19]OFD Sender: No OFD packet to send [04:47:24]OFD Sender: No OFD packet to send [04:47:29]OFD Sender: No OFD packet to send [04:47:34]OFD Sender: No OFD packet to send [04:47:39]OFD Sender: No OFD packet to send [04:47:44]OFD Sender: No OFD packet to send [04:47:49]OFD Sender: No OFD packet to send [04:47:54]OFD Sender: No OFD packet to send [04:47:59]OFD Sender: No OFD packet to send [04:48:04]OFD Sender: No OFD packet to send [04:48:09]OFD Sender: No OFD packet to send [04:48:14]OFD Sender: No OFD packet to send [04:48:19]OFD Sender: No OFD packet to send [04:48:24]OFD Sender: No OFD packet to send [04:48:29]OFD Sender: No OFD packet to send [04:48:34]OFD Sender: No OFD packet to send [04:48:39]OFD Sender: No OFD packet to send [04:48:44]OFD Sender: No OFD packet to send [04:48:49]OFD Sender: No OFD packet to send [04:48:54]OFD Sender: No OFD packet to send [04:48:59]OFD Sender: No OFD packet to send [04:49:04]OFD Sender: No OFD packet to send [04:49:09]OFD Sender: No OFD packet to send [04:49:14]OFD Sender: No OFD packet to send [04:49:19]OFD Sender: No OFD packet to send [04:49:24]OFD Sender: No OFD packet to send [04:49:29]OFD Sender: No OFD packet to send [04:49:34]OFD Sender: No OFD packet to send [04:49:39]OFD Sender: No OFD packet to send [04:49:44]OFD Sender: No OFD packet to send [04:49:49]OFD Sender: No OFD packet to send [04:49:54]OFD Sender: No OFD packet to send [04:49:59]OFD Sender: No OFD packet to send [04:50:04]OFD Sender: No OFD packet to send [04:50:09]OFD Sender: No OFD packet to send [04:50:14]OFD Sender: No OFD packet to send [04:50:19]OFD Sender: No OFD packet to send [04:50:24]OFD Sender: No OFD packet to send [04:50:29]OFD Sender: No OFD packet to send [04:50:34]OFD Sender: No OFD packet to send [04:50:39]OFD Sender: No OFD packet to send [04:50:44]OFD Sender: No OFD packet to send [04:50:49]OFD Sender: No OFD packet to send [04:50:54]OFD Sender: No OFD packet to send [04:50:59]OFD Sender: No OFD packet to send [04:51:04]OFD Sender: No OFD packet to send [04:51:09]OFD Sender: No OFD packet to send [04:51:14]OFD Sender: No OFD packet to send [04:51:19]OFD Sender: No OFD packet to send [04:51:24]OFD Sender: No OFD packet to send [04:51:29]OFD Sender: No OFD packet to send [04:51:34]OFD Sender: No OFD packet to send [04:51:39]OFD Sender: No OFD packet to send [04:51:44]OFD Sender: No OFD packet to send [04:51:49]OFD Sender: No OFD packet to send [04:51:54]OFD Sender: No OFD packet to send [04:51:59]OFD Sender: No OFD packet to send [04:52:04]OFD Sender: No OFD packet to send [04:52:09]OFD Sender: No OFD packet to send [04:52:14]OFD Sender: No OFD packet to send [04:52:19]OFD Sender: No OFD packet to send [04:52:24]OFD Sender: No OFD packet to send [04:52:29]OFD Sender: No OFD packet to send [04:52:34]OFD Sender: No OFD packet to send [04:52:39]OFD Sender: No OFD packet to send [04:52:44]OFD Sender: No OFD packet to send [04:52:49]OFD Sender: No OFD packet to send [04:52:54]OFD Sender: No OFD packet to send [04:52:59]OFD Sender: No OFD packet to send [04:53:04]OFD Sender: No OFD packet to send [04:53:09]OFD Sender: No OFD packet to send [04:53:14]OFD Sender: No OFD packet to send [04:53:19]OFD Sender: No OFD packet to send [04:53:24]OFD Sender: No OFD packet to send [04:53:29]OFD Sender: No OFD packet to send [04:53:34]OFD Sender: No OFD packet to send [04:53:39]OFD Sender: No OFD packet to send [04:53:44]OFD Sender: No OFD packet to send [04:53:49]OFD Sender: No OFD packet to send [04:53:54]OFD Sender: No OFD packet to send [04:53:59]OFD Sender: No OFD packet to send [04:54:04]OFD Sender: No OFD packet to send [04:54:09]OFD Sender: No OFD packet to send [04:54:14]OFD Sender: No OFD packet to send [04:54:19]OFD Sender: No OFD packet to send [04:54:24]OFD Sender: No OFD packet to send [04:54:29]OFD Sender: No OFD packet to send [04:54:34]OFD Sender: No OFD packet to send [04:54:39]OFD Sender: No OFD packet to send [04:54:44]OFD Sender: No OFD packet to send [04:54:49]OFD Sender: No OFD packet to send [04:54:54]OFD Sender: No OFD packet to send [04:54:59]OFD Sender: No OFD packet to send [04:55:04]OFD Sender: No OFD packet to send [04:55:09]OFD Sender: No OFD packet to send [04:55:14]OFD Sender: No OFD packet to send [04:55:19]OFD Sender: No OFD packet to send [04:55:24]OFD Sender: No OFD packet to send [04:55:29]OFD Sender: No OFD packet to send [04:55:34]OFD Sender: No OFD packet to send [04:55:39]OFD Sender: No OFD packet to send [04:55:44]OFD Sender: No OFD packet to send [04:55:49]OFD Sender: No OFD packet to send [04:55:54]OFD Sender: No OFD packet to send [04:55:59]OFD Sender: No OFD packet to send [04:56:04]OFD Sender: No OFD packet to send [04:56:09]OFD Sender: No OFD packet to send [04:56:14]OFD Sender: No OFD packet to send [04:56:19]OFD Sender: No OFD packet to send [04:56:24]OFD Sender: No OFD packet to send [04:56:29]OFD Sender: No OFD packet to send [04:56:34]OFD Sender: No OFD packet to send [04:56:39]OFD Sender: No OFD packet to send [04:56:44]OFD Sender: No OFD packet to send [04:56:49]OFD Sender: No OFD packet to send [04:56:54]OFD Sender: No OFD packet to send [04:56:59]OFD Sender: No OFD packet to send [04:57:04]OFD Sender: No OFD packet to send [04:57:09]OFD Sender: No OFD packet to send [04:57:14]OFD Sender: No OFD packet to send [04:57:19]OFD Sender: No OFD packet to send [04:57:24]OFD Sender: No OFD packet to send [04:57:29]OFD Sender: No OFD packet to send [04:57:34]OFD Sender: No OFD packet to send [04:57:39]OFD Sender: No OFD packet to send [04:57:44]OFD Sender: No OFD packet to send [04:57:49]OFD Sender: No OFD packet to send [04:57:54]OFD Sender: No OFD packet to send [04:57:59]OFD Sender: No OFD packet to send [04:58:04]OFD Sender: No OFD packet to send [04:58:09]OFD Sender: No OFD packet to send [04:58:14]OFD Sender: No OFD packet to send [04:58:19]OFD Sender: No OFD packet to send [04:58:24]OFD Sender: No OFD packet to send [04:58:29]OFD Sender: No OFD packet to send [04:58:34]OFD Sender: No OFD packet to send [04:58:39]OFD Sender: No OFD packet to send [04:58:44]OFD Sender: No OFD packet to send [04:58:49]OFD Sender: No OFD packet to send [04:58:54]OFD Sender: No OFD packet to send [04:58:59]OFD Sender: No OFD packet to send [04:59:04]OFD Sender: No OFD packet to send [04:59:09]OFD Sender: No OFD packet to send [04:59:14]OFD Sender: No OFD packet to send [04:59:19]OFD Sender: No OFD packet to send [04:59:24]OFD Sender: No OFD packet to send [04:59:29]OFD Sender: No OFD packet to send [04:59:34]OFD Sender: No OFD packet to send [04:59:39]OFD Sender: No OFD packet to send [04:59:44]OFD Sender: No OFD packet to send [04:59:49]OFD Sender: No OFD packet to send [04:59:54]OFD Sender: No OFD packet to send [04:59:59]OFD Sender: No OFD packet to send [05:00:04]OFD Sender: No OFD packet to send [05:00:09]OFD Sender: No OFD packet to send [05:00:14]OFD Sender: No OFD packet to send [05:00:19]OFD Sender: No OFD packet to send [05:00:24]OFD Sender: No OFD packet to send [05:00:29]OFD Sender: No OFD packet to send [05:00:34]OFD Sender: No OFD packet to send [05:00:39]OFD Sender: No OFD packet to send [05:00:44]OFD Sender: No OFD packet to send [05:00:49]OFD Sender: No OFD packet to send [05:00:54]OFD Sender: No OFD packet to send [05:00:59]OFD Sender: No OFD packet to send [05:01:04]OFD Sender: No OFD packet to send [05:01:09]OFD Sender: No OFD packet to send [05:01:14]OFD Sender: No OFD packet to send [05:01:19]OFD Sender: No OFD packet to send [05:01:24]OFD Sender: No OFD packet to send [05:01:29]OFD Sender: No OFD packet to send [05:01:34]OFD Sender: No OFD packet to send [05:01:39]OFD Sender: No OFD packet to send [05:01:44]OFD Sender: No OFD packet to send [05:01:49]OFD Sender: No OFD packet to send [05:01:54]OFD Sender: No OFD packet to send [05:01:59]OFD Sender: No OFD packet to send [05:02:04]OFD Sender: No OFD packet to send [05:02:09]OFD Sender: No OFD packet to send [05:02:14]OFD Sender: No OFD packet to send [05:02:19]OFD Sender: No OFD packet to send [05:02:24]OFD Sender: No OFD packet to send [05:02:29]OFD Sender: No OFD packet to send [05:02:34]OFD Sender: No OFD packet to send [05:02:39]OFD Sender: No OFD packet to send [05:02:44]OFD Sender: No OFD packet to send [05:02:49]OFD Sender: No OFD packet to send [05:02:54]OFD Sender: No OFD packet to send [05:02:59]OFD Sender: No OFD packet to send [05:03:04]OFD Sender: No OFD packet to send [05:03:09]OFD Sender: No OFD packet to send [05:03:14]OFD Sender: No OFD packet to send [05:03:19]OFD Sender: No OFD packet to send [05:03:24]OFD Sender: No OFD packet to send [05:03:29]OFD Sender: No OFD packet to send [05:03:34]OFD Sender: No OFD packet to send [05:03:39]OFD Sender: No OFD packet to send [05:03:45]OFD Sender: No OFD packet to send [05:03:50]OFD Sender: No OFD packet to send [05:03:55]OFD Sender: No OFD packet to send [05:04:00]OFD Sender: No OFD packet to send [05:04:05]OFD Sender: No OFD packet to send [05:04:10]OFD Sender: No OFD packet to send [05:04:15]OFD Sender: No OFD packet to send [05:04:20]OFD Sender: No OFD packet to send [05:04:25]OFD Sender: No OFD packet to send [05:04:30]OFD Sender: No OFD packet to send [05:04:35]OFD Sender: No OFD packet to send [05:04:40]OFD Sender: No OFD packet to send [05:04:45]OFD Sender: No OFD packet to send [05:04:50]OFD Sender: No OFD packet to send [05:04:55]OFD Sender: No OFD packet to send [05:05:00]OFD Sender: No OFD packet to send [05:05:05]OFD Sender: No OFD packet to send [05:05:10]OFD Sender: No OFD packet to send [05:05:15]OFD Sender: No OFD packet to send [05:05:20]OFD Sender: No OFD packet to send [05:05:25]OFD Sender: No OFD packet to send [05:05:30]OFD Sender: No OFD packet to send [05:05:35]OFD Sender: No OFD packet to send [05:05:40]OFD Sender: No OFD packet to send [05:05:45]OFD Sender: No OFD packet to send [05:05:50]OFD Sender: No OFD packet to send [05:05:55]OFD Sender: No OFD packet to send [05:06:00]OFD Sender: No OFD packet to send [05:06:05]OFD Sender: No OFD packet to send [05:06:10]OFD Sender: No OFD packet to send [05:06:15]OFD Sender: No OFD packet to send [05:06:20]OFD Sender: No OFD packet to send [05:06:25]OFD Sender: No OFD packet to send [05:06:30]OFD Sender: No OFD packet to send [05:06:35]OFD Sender: No OFD packet to send [05:06:40]OFD Sender: No OFD packet to send [05:06:45]OFD Sender: No OFD packet to send [05:06:50]OFD Sender: No OFD packet to send [05:06:55]OFD Sender: No OFD packet to send [05:07:00]OFD Sender: No OFD packet to send [05:07:05]OFD Sender: No OFD packet to send [05:07:10]OFD Sender: No OFD packet to send [05:07:15]OFD Sender: No OFD packet to send [05:07:20]OFD Sender: No OFD packet to send [05:07:25]OFD Sender: No OFD packet to send [05:07:30]OFD Sender: No OFD packet to send [05:07:35]OFD Sender: No OFD packet to send [05:07:40]OFD Sender: No OFD packet to send [05:07:45]OFD Sender: No OFD packet to send [05:07:50]OFD Sender: No OFD packet to send [05:07:55]OFD Sender: No OFD packet to send [05:08:00]OFD Sender: No OFD packet to send [05:08:05]OFD Sender: No OFD packet to send [05:08:10]OFD Sender: No OFD packet to send [05:08:15]OFD Sender: No OFD packet to send [05:08:20]OFD Sender: No OFD packet to send [05:08:25]OFD Sender: No OFD packet to send [05:08:30]OFD Sender: No OFD packet to send [05:08:35]OFD Sender: No OFD packet to send [05:08:40]OFD Sender: No OFD packet to send [05:08:45]OFD Sender: No OFD packet to send [05:08:50]OFD Sender: No OFD packet to send [05:08:55]OFD Sender: No OFD packet to send [05:09:00]OFD Sender: No OFD packet to send [05:09:05]OFD Sender: No OFD packet to send [05:09:10]OFD Sender: No OFD packet to send [05:09:15]OFD Sender: No OFD packet to send [05:09:20]OFD Sender: No OFD packet to send [05:09:25]OFD Sender: No OFD packet to send [05:09:30]OFD Sender: No OFD packet to send [05:09:35]OFD Sender: No OFD packet to send [05:09:40]OFD Sender: No OFD packet to send [05:09:45]OFD Sender: No OFD packet to send [05:09:50]OFD Sender: No OFD packet to send [05:09:55]OFD Sender: No OFD packet to send [05:10:00]OFD Sender: No OFD packet to send [05:10:05]OFD Sender: No OFD packet to send [05:10:10]OFD Sender: No OFD packet to send [05:10:15]OFD Sender: No OFD packet to send [05:10:20]OFD Sender: No OFD packet to send [05:10:25]OFD Sender: No OFD packet to send [05:10:30]OFD Sender: No OFD packet to send [05:10:35]OFD Sender: No OFD packet to send [05:10:40]OFD Sender: No OFD packet to send [05:10:45]OFD Sender: No OFD packet to send [05:10:50]OFD Sender: No OFD packet to send [05:10:55]OFD Sender: No OFD packet to send [05:11:00]OFD Sender: No OFD packet to send [05:11:05]OFD Sender: No OFD packet to send [05:11:10]OFD Sender: No OFD packet to send [05:11:15]OFD Sender: No OFD packet to send [05:11:20]OFD Sender: No OFD packet to send [05:11:25]OFD Sender: No OFD packet to send [05:11:30]OFD Sender: No OFD packet to send [05:11:35]OFD Sender: No OFD packet to send [05:11:40]OFD Sender: No OFD packet to send [05:11:45]OFD Sender: No OFD packet to send [05:11:50]OFD Sender: No OFD packet to send [05:11:55]OFD Sender: No OFD packet to send [05:12:00]OFD Sender: No OFD packet to send [05:12:05]OFD Sender: No OFD packet to send [05:12:10]OFD Sender: No OFD packet to send [05:12:15]OFD Sender: No OFD packet to send [05:12:20]OFD Sender: No OFD packet to send [05:12:25]OFD Sender: No OFD packet to send [05:12:30]OFD Sender: No OFD packet to send [05:12:35]OFD Sender: No OFD packet to send [05:12:40]OFD Sender: No OFD packet to send [05:12:45]OFD Sender: No OFD packet to send [05:12:50]OFD Sender: No OFD packet to send [05:12:55]OFD Sender: No OFD packet to send [05:13:00]OFD Sender: No OFD packet to send [05:13:05]OFD Sender: No OFD packet to send [05:13:10]OFD Sender: No OFD packet to send [05:13:15]OFD Sender: No OFD packet to send [05:13:20]OFD Sender: No OFD packet to send [05:13:25]OFD Sender: No OFD packet to send [05:13:30]OFD Sender: No OFD packet to send [05:13:35]OFD Sender: No OFD packet to send [05:13:40]OFD Sender: No OFD packet to send [05:13:45]OFD Sender: No OFD packet to send [05:13:50]OFD Sender: No OFD packet to send [05:13:55]OFD Sender: No OFD packet to send [05:14:00]OFD Sender: No OFD packet to send [05:14:05]OFD Sender: No OFD packet to send [05:14:10]OFD Sender: No OFD packet to send [05:14:15]OFD Sender: No OFD packet to send [05:14:20]OFD Sender: No OFD packet to send [05:14:25]OFD Sender: No OFD packet to send [05:14:30]OFD Sender: No OFD packet to send [05:14:35]OFD Sender: No OFD packet to send [05:14:40]OFD Sender: No OFD packet to send [05:14:45]OFD Sender: No OFD packet to send [05:14:50]OFD Sender: No OFD packet to send [05:14:55]OFD Sender: No OFD packet to send [05:15:00]OFD Sender: No OFD packet to send [05:15:05]OFD Sender: No OFD packet to send [05:15:10]OFD Sender: No OFD packet to send [05:15:15]OFD Sender: No OFD packet to send [05:15:20]OFD Sender: No OFD packet to send [05:15:25]OFD Sender: No OFD packet to send [05:15:30]OFD Sender: No OFD packet to send [05:15:35]OFD Sender: No OFD packet to send [05:15:40]OFD Sender: No OFD packet to send [05:15:45]OFD Sender: No OFD packet to send [05:15:50]OFD Sender: No OFD packet to send [05:15:55]OFD Sender: No OFD packet to send [05:16:00]OFD Sender: No OFD packet to send [05:16:05]OFD Sender: No OFD packet to send [05:16:10]OFD Sender: No OFD packet to send [05:16:15]OFD Sender: No OFD packet to send [05:16:20]OFD Sender: No OFD packet to send [05:16:25]OFD Sender: No OFD packet to send [05:16:30]OFD Sender: No OFD packet to send [05:16:35]OFD Sender: No OFD packet to send [05:16:40]OFD Sender: No OFD packet to send [05:16:45]OFD Sender: No OFD packet to send [05:16:50]OFD Sender: No OFD packet to send [05:16:55]OFD Sender: No OFD packet to send [05:17:00]OFD Sender: No OFD packet to send [05:17:05]OFD Sender: No OFD packet to send [05:17:10]OFD Sender: No OFD packet to send [05:17:15]OFD Sender: No OFD packet to send [05:17:20]OFD Sender: No OFD packet to send [05:17:25]OFD Sender: No OFD packet to send [05:17:30]OFD Sender: No OFD packet to send [05:17:35]OFD Sender: No OFD packet to send [05:17:40]OFD Sender: No OFD packet to send [05:17:45]OFD Sender: No OFD packet to send [05:17:50]OFD Sender: No OFD packet to send [05:17:55]OFD Sender: No OFD packet to send [05:18:00]OFD Sender: No OFD packet to send [05:18:05]OFD Sender: No OFD packet to send [05:18:10]OFD Sender: No OFD packet to send [05:18:15]OFD Sender: No OFD packet to send [05:18:20]OFD Sender: No OFD packet to send [05:18:25]OFD Sender: No OFD packet to send [05:18:30]OFD Sender: No OFD packet to send [05:18:35]OFD Sender: No OFD packet to send [05:18:40]OFD Sender: No OFD packet to send [05:18:45]OFD Sender: No OFD packet to send [05:18:50]OFD Sender: No OFD packet to send [05:18:55]OFD Sender: No OFD packet to send [05:19:00]OFD Sender: No OFD packet to send [05:19:05]OFD Sender: No OFD packet to send [05:19:10]OFD Sender: No OFD packet to send [05:19:15]OFD Sender: No OFD packet to send [05:19:20]OFD Sender: No OFD packet to send [05:19:25]OFD Sender: No OFD packet to send [05:19:30]OFD Sender: No OFD packet to send [05:19:35]OFD Sender: No OFD packet to send [05:19:40]OFD Sender: No OFD packet to send [05:19:45]OFD Sender: No OFD packet to send [05:19:50]OFD Sender: No OFD packet to send [05:19:55]OFD Sender: No OFD packet to send [05:20:00]OFD Sender: No OFD packet to send [05:20:05]OFD Sender: No OFD packet to send [05:20:10]OFD Sender: No OFD packet to send [05:20:15]OFD Sender: No OFD packet to send [05:20:20]OFD Sender: No OFD packet to send [05:20:35]OFD Sender: No OFD packet to send [05:20:40]OFD Sender: No OFD packet to send [05:20:45]recv_with_timeout no data received [05:20:45]OFD Sender: No OFD packet to send [05:20:50]OFD Sender: No OFD packet to send [05:20:55]OFD Sender: No OFD packet to send [05:21:00]OFD Sender: No OFD packet to send [05:21:05]OFD Sender: No OFD packet to send [05:21:10]OFD Sender: No OFD packet to send [05:21:15]OFD Sender: No OFD packet to send [05:21:20]OFD Sender: No OFD packet to send [05:21:25]OFD Sender: No OFD packet to send [05:21:30]OFD Sender: No OFD packet to send [05:21:35]OFD Sender: No OFD packet to send [05:21:40]OFD Sender: No OFD packet to send [05:21:45]OFD Sender: No OFD packet to send [05:21:50]OFD Sender: No OFD packet to send [05:21:55]OFD Sender: No OFD packet to send [05:22:00]OFD Sender: No OFD packet to send [05:22:05]OFD Sender: No OFD packet to send [05:22:10]OFD Sender: No OFD packet to send [05:22:15]OFD Sender: No OFD packet to send [05:22:20]OFD Sender: No OFD packet to send [05:22:25]OFD Sender: No OFD packet to send [05:22:30]OFD Sender: No OFD packet to send [05:22:35]OFD Sender: No OFD packet to send [05:22:40]OFD Sender: No OFD packet to send [05:22:45]OFD Sender: No OFD packet to send [05:22:50]OFD Sender: No OFD packet to send [05:22:55]OFD Sender: No OFD packet to send [05:23:00]OFD Sender: No OFD packet to send [05:23:05]OFD Sender: No OFD packet to send [05:23:10]OFD Sender: No OFD packet to send [05:23:15]OFD Sender: No OFD packet to send [05:23:20]OFD Sender: No OFD packet to send [05:23:25]OFD Sender: No OFD packet to send [05:23:30]OFD Sender: No OFD packet to send [05:23:35]OFD Sender: No OFD packet to send [05:23:40]OFD Sender: No OFD packet to send [05:23:45]OFD Sender: No OFD packet to send [05:23:50]OFD Sender: No OFD packet to send [05:23:55]OFD Sender: No OFD packet to send [05:24:00]OFD Sender: No OFD packet to send [05:24:05]OFD Sender: No OFD packet to send [05:24:10]OFD Sender: No OFD packet to send [05:24:15]OFD Sender: No OFD packet to send [05:24:20]OFD Sender: No OFD packet to send [05:24:25]OFD Sender: No OFD packet to send [05:24:30]OFD Sender: No OFD packet to send [05:24:35]OFD Sender: No OFD packet to send [05:24:40]OFD Sender: No OFD packet to send [05:24:45]OFD Sender: No OFD packet to send [05:24:50]OFD Sender: No OFD packet to send [05:24:55]OFD Sender: No OFD packet to send [05:25:00]OFD Sender: No OFD packet to send [05:25:05]OFD Sender: No OFD packet to send [05:25:11]OFD Sender: No OFD packet to send [05:25:16]OFD Sender: No OFD packet to send [05:25:21]OFD Sender: No OFD packet to send [05:25:26]OFD Sender: No OFD packet to send [05:25:31]OFD Sender: No OFD packet to send [05:25:36]OFD Sender: No OFD packet to send [05:25:41]OFD Sender: No OFD packet to send [05:25:46]OFD Sender: No OFD packet to send [05:25:51]OFD Sender: No OFD packet to send [05:25:56]OFD Sender: No OFD packet to send [05:26:01]OFD Sender: No OFD packet to send [05:26:06]OFD Sender: No OFD packet to send [05:26:11]OFD Sender: No OFD packet to send [05:26:16]OFD Sender: No OFD packet to send [05:26:21]OFD Sender: No OFD packet to send [05:26:26]OFD Sender: No OFD packet to send [05:26:31]OFD Sender: No OFD packet to send [05:26:36]OFD Sender: No OFD packet to send [05:26:41]OFD Sender: No OFD packet to send [05:26:46]OFD Sender: No OFD packet to send [05:26:51]OFD Sender: No OFD packet to send [05:26:56]OFD Sender: No OFD packet to send [05:27:01]OFD Sender: No OFD packet to send [05:27:06]OFD Sender: No OFD packet to send [05:27:11]OFD Sender: No OFD packet to send [05:27:16]OFD Sender: No OFD packet to send [05:27:21]OFD Sender: No OFD packet to send [05:27:26]OFD Sender: No OFD packet to send [05:27:31]OFD Sender: No OFD packet to send [05:27:36]OFD Sender: No OFD packet to send [05:27:41]OFD Sender: No OFD packet to send [05:27:46]OFD Sender: No OFD packet to send [05:27:51]OFD Sender: No OFD packet to send [05:27:56]OFD Sender: No OFD packet to send [05:28:01]OFD Sender: No OFD packet to send [05:28:06]OFD Sender: No OFD packet to send [05:28:11]OFD Sender: No OFD packet to send [05:28:16]OFD Sender: No OFD packet to send [05:28:21]OFD Sender: No OFD packet to send [05:28:26]OFD Sender: No OFD packet to send [05:28:31]OFD Sender: No OFD packet to send [05:28:36]OFD Sender: No OFD packet to send [05:28:41]OFD Sender: No OFD packet to send [05:28:46]OFD Sender: No OFD packet to send [05:28:51]OFD Sender: No OFD packet to send [05:28:56]OFD Sender: No OFD packet to send [05:29:01]OFD Sender: No OFD packet to send [05:29:06]OFD Sender: No OFD packet to send [05:29:11]OFD Sender: No OFD packet to send [05:29:16]OFD Sender: No OFD packet to send [05:29:21]OFD Sender: No OFD packet to send [05:29:26]OFD Sender: No OFD packet to send [05:29:31]OFD Sender: No OFD packet to send [05:29:36]OFD Sender: No OFD packet to send [05:29:41]OFD Sender: No OFD packet to send [05:29:46]OFD Sender: No OFD packet to send [05:29:51]OFD Sender: No OFD packet to send [05:29:56]OFD Sender: No OFD packet to send [05:30:01]OFD Sender: No OFD packet to send [05:30:06]OFD Sender: No OFD packet to send [05:30:11]OFD Sender: No OFD packet to send [05:30:16]OFD Sender: No OFD packet to send [05:30:21]OFD Sender: No OFD packet to send [05:30:26]OFD Sender: No OFD packet to send [05:30:31]OFD Sender: No OFD packet to send [05:30:36]OFD Sender: No OFD packet to send [05:30:41]OFD Sender: No OFD packet to send [05:30:46]OFD Sender: No OFD packet to send [05:30:51]OFD Sender: No OFD packet to send [05:30:56]OFD Sender: No OFD packet to send [05:31:01]OFD Sender: No OFD packet to send [05:31:06]OFD Sender: No OFD packet to send [05:31:11]OFD Sender: No OFD packet to send [05:31:16]OFD Sender: No OFD packet to send [05:31:21]OFD Sender: No OFD packet to send [05:31:26]OFD Sender: No OFD packet to send [05:31:31]OFD Sender: No OFD packet to send [05:31:36]OFD Sender: No OFD packet to send [05:31:41]OFD Sender: No OFD packet to send [05:31:46]OFD Sender: No OFD packet to send [05:31:51]OFD Sender: No OFD packet to send [05:31:56]OFD Sender: No OFD packet to send [05:32:01]OFD Sender: No OFD packet to send [05:32:06]OFD Sender: No OFD packet to send [05:32:11]OFD Sender: No OFD packet to send [05:32:16]OFD Sender: No OFD packet to send [05:32:21]OFD Sender: No OFD packet to send [05:32:26]OFD Sender: No OFD packet to send [05:32:31]OFD Sender: No OFD packet to send [05:32:36]OFD Sender: No OFD packet to send [05:32:41]OFD Sender: No OFD packet to send [05:32:46]OFD Sender: No OFD packet to send [05:32:51]OFD Sender: No OFD packet to send [05:32:56]OFD Sender: No OFD packet to send [05:33:01]OFD Sender: No OFD packet to send [05:33:06]OFD Sender: No OFD packet to send [05:33:11]OFD Sender: No OFD packet to send [05:33:16]OFD Sender: No OFD packet to send [05:33:21]OFD Sender: No OFD packet to send [05:33:26]OFD Sender: No OFD packet to send [05:33:31]OFD Sender: No OFD packet to send [05:33:36]OFD Sender: No OFD packet to send [05:33:41]OFD Sender: No OFD packet to send [05:33:46]OFD Sender: No OFD packet to send [05:33:51]OFD Sender: No OFD packet to send [05:33:56]OFD Sender: No OFD packet to send [05:34:01]OFD Sender: No OFD packet to send [05:34:06]OFD Sender: No OFD packet to send [05:34:11]OFD Sender: No OFD packet to send [05:34:16]OFD Sender: No OFD packet to send [05:34:21]OFD Sender: No OFD packet to send [05:34:26]OFD Sender: No OFD packet to send [05:34:31]OFD Sender: No OFD packet to send [05:34:36]OFD Sender: No OFD packet to send [05:34:41]OFD Sender: No OFD packet to send [05:34:46]OFD Sender: No OFD packet to send [05:34:51]OFD Sender: No OFD packet to send [05:34:56]OFD Sender: No OFD packet to send [05:35:01]OFD Sender: No OFD packet to send [05:35:06]OFD Sender: No OFD packet to send [05:35:11]OFD Sender: No OFD packet to send [05:35:16]OFD Sender: No OFD packet to send [05:35:21]OFD Sender: No OFD packet to send [05:35:26]OFD Sender: No OFD packet to send [05:35:31]OFD Sender: No OFD packet to send [05:35:36]OFD Sender: No OFD packet to send [05:35:41]OFD Sender: No OFD packet to send [05:35:46]OFD Sender: No OFD packet to send [05:35:51]OFD Sender: No OFD packet to send [05:35:56]OFD Sender: No OFD packet to send [05:36:01]OFD Sender: No OFD packet to send [05:36:06]OFD Sender: No OFD packet to send [05:36:11]OFD Sender: No OFD packet to send [05:36:16]OFD Sender: No OFD packet to send [05:36:21]OFD Sender: No OFD packet to send [05:36:26]OFD Sender: No OFD packet to send [05:36:31]OFD Sender: No OFD packet to send [05:36:36]OFD Sender: No OFD packet to send [05:36:41]OFD Sender: No OFD packet to send [05:36:46]OFD Sender: No OFD packet to send [05:36:51]OFD Sender: No OFD packet to send [05:36:56]OFD Sender: No OFD packet to send [05:37:01]OFD Sender: No OFD packet to send [05:37:06]OFD Sender: No OFD packet to send [05:37:11]OFD Sender: No OFD packet to send [05:37:16]OFD Sender: No OFD packet to send [05:37:21]OFD Sender: No OFD packet to send [05:37:26]OFD Sender: No OFD packet to send [05:37:31]OFD Sender: No OFD packet to send [05:37:36]OFD Sender: No OFD packet to send [05:37:41]OFD Sender: No OFD packet to send [05:37:46]OFD Sender: No OFD packet to send [05:37:51]OFD Sender: No OFD packet to send [05:37:56]OFD Sender: No OFD packet to send [05:38:01]OFD Sender: No OFD packet to send [05:38:06]OFD Sender: No OFD packet to send [05:38:11]OFD Sender: No OFD packet to send [05:38:16]OFD Sender: No OFD packet to send [05:38:21]OFD Sender: No OFD packet to send [05:38:26]OFD Sender: No OFD packet to send [05:38:31]OFD Sender: No OFD packet to send [05:38:36]OFD Sender: No OFD packet to send [05:38:41]OFD Sender: No OFD packet to send [05:38:46]OFD Sender: No OFD packet to send [05:38:51]OFD Sender: No OFD packet to send [05:38:56]OFD Sender: No OFD packet to send [05:39:01]OFD Sender: No OFD packet to send [05:39:06]OFD Sender: No OFD packet to send [05:39:11]OFD Sender: No OFD packet to send [05:39:16]OFD Sender: No OFD packet to send [05:39:21]OFD Sender: No OFD packet to send [05:39:26]OFD Sender: No OFD packet to send [05:39:27]accept exits with 9 [05:39:27]New connection [05:39:27]New thread 3067243876 created [05:39:27]Thread 3067100516 joined [05:39:27]Waiting for new connection... [05:39:27] Sock 9.Parse request [05:39:27]Sock 9.Check first char [05:39:27]Sock 9.First char is OK [05:39:27]request: POST /json_proto HTTP/1.0 [05:39:27]Method: POST [05:39:27]URL: /json_proto [05:39:27]Method is POST - this is cgi request [05:39:27]url: /json_proto [05:39:27]query_string will be loaded in cgi processing [05:39:27]execute_cgi json_proto POST (null) [05:39:27]execute_cgi path=json_proto method=POST [05:39:27]POST find Content-Length [05:39:27]Host: 172.17.62.6:8080 [05:39:27]Content-Length: 963 [05:39:27]Content-Type: application/json [05:39:27] [05:39:27]POST finish read [05:39:27]Found Content-Length = 963 [05:39:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32777", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5000159439480", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u041B\u0435\u0441.\u041E\u0440\u0435\u0445 81\u0433", "price" : 89.00, "quantity" : 2.000, "sum" : 178.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 438.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:39:27]execute_script... [05:39: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)32777", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5000159439480", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u041B\u0435\u0441.\u041E\u0440\u0435\u0445 81\u0433", "price" : 89.00, "quantity" : 2.000, "sum" : 178.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 438.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:39:27]POST & json_proto [05:39:27]process_json_proto [05:39:27]json parsed OK: [05:39:27]protocol is kg_v1.0 [05:39:27]action value=close_receipt [05:39:27]process_action close_receipt [05:39:27]cmd_close_receipt [05:39:27]MH_GetDate [05:39:27]Write to MH i2c: F0 00 00 8E 24 A1 [05:39:27]Write i2c OK [05:39:27]MH_I2C_Read... [05:39:27]Read from MH i2c: F0 [05:39:27]MH_I2C_Read... [05:39:27]Read from MH i2c: F0 09 00 [05:39:27]MH_I2C_Read... [05:39:27]Read from MH i2c: F0 09 00 8E 24 00 9E 03 22 66 61 69 D2 64 D3 [05:39:27]GetLastDocTimeStamp 1713486797 [05:39:27]current date 1713505182 [05:39:27]FM_GetShiftState [05:39:27]SAM_PROTO_GetShiftState [05:39:27]wFMCommunicate request_size=4 [05:39:27]MH_SAM_APDU [05:39:27]CAPDU: 80 13 01 00 [05:39:27]Write to MH i2c: E2 08 00 8F 24 80 13 01 00 00 00 00 00 30 [05:39:27]Write i2c OK [05:39:27]MH_I2C_Read... [05:39:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:39:27]Read from MH i2c: E2 [05:39:27]MH_I2C_Read... [05:39:27]Read from MH i2c: E2 0E 00 [05:39:27]MH_I2C_Read... [05:39:27]Read from MH i2c: E2 0E 00 8F 24 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 26 [05:39:27]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [05:39:27]wFMCommunicate OK [05:39:27]SAM_PROTO_GetShiftState done [05:39:27]FM_GetShiftState done [05:39:27]opened in 1713485995 [05:39:27]opened+sec_in_day 1713572395 [05:39:27]quantity*price = 26000 [05:39:27]sum+1 = 26001 [05:39:27]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5000159439480 Шок Батончик Сникерс Лес.Орех 81г 2.000 * 89.00 = 178.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 438.00 НСП 1% : 3.87 НДС 12% : 46.51 Наличными: 438.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 2 19.04.2024 05:39 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12500 ФПД: 244084760678262 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T053942&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12500&fm=244084760678262&tin=02508201610067®Number=0000000000100748&sum=43800 0 [05:39:28]StoreToDocumentArchive [05:39:28]shift 279 fd 12500 [05:39:28]save to /storage/0279/doc_00012500 [05:39:28]save last doc name /storage/0279/doc_00012500 to /storage/kkm_last_doc_name [05:39:28]save OK [05:39:28]Clear old archive folders... [05:39:28]ProcessDocumentItem done err = 0, tmpTLVsize=407 [05:39:28]tlvbuf is B6F21490 [05:39:28]SAM_PROTO_ClearQueue [05:39:28]wFMCommunicate request_size=4 [05:39:28]MH_SAM_APDU [05:39:28]CAPDU: 80 09 00 00 [05:39:28]Write to MH i2c: E2 08 00 9C 24 80 09 00 00 00 00 00 00 32 [05:39:28]Write i2c OK [05:39:28]MH_I2C_Read... [05:39:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:39:28]Read from MH i2c: E2 [05:39:28]MH_I2C_Read... [05:39:28]Read from MH i2c: E2 03 00 [05:39:28]MH_I2C_Read... [05:39:28]Read from MH i2c: E2 03 00 9C 24 00 90 00 34 [05:39:28]RAPDU: 90 00 [05:39:28]wFMCommunicate OK [05:39:28]SAM_PROTO_ClearQueue done [05:39:28]KKMCreateOFDPacket [05:39:28]OFDProtocolAddRootSTLVToBuf [05:39:28]FM_MakeSignedData [05:39:28]FM_MakeSignedData [05:39:28]SAM_PROTO_SignData [05:39:28]wFMCommunicate request_size=4 [05:39:28]MH_SAM_APDU [05:39:28]CAPDU: 80 0D 01 02 [05:39:28]Write to MH i2c: E2 08 00 9D 24 80 0D 01 02 00 00 00 00 3A [05:39:28]Write i2c OK [05:39:28]MH_I2C_Read... [05:39:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:39:28]Read from MH i2c: E2 [05:39:28]MH_I2C_Read... [05:39:28]Read from MH i2c: E2 03 00 [05:39:28]MH_I2C_Read... [05:39:28]Read from MH i2c: E2 03 00 9D 24 00 90 00 35 [05:39:28]RAPDU: 90 00 [05:39:28]wFMCommunicate OK [05:39:28]wFMCommunicate request_size=255 [05:39:28]MH_SAM_APDU [05:39:28]CAPDU: 80 0D 02 02 FA 03 00 97 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 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 35 30 30 30 31 35 39 34 33 39 34 38 30 06 04 3B 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 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D0 9B D0 B5 D1 81 2E D0 9E D1 80 D0 B5 D1 85 20 38 31 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 88 45 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 [05:39:28]Write to MH i2c: E2 02 01 9E 24 80 0D 02 02 FA 00 03 00 97 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 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 35 30 30 30 31 35 39 34 33 39 34 38 30 06 04 3B 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 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D0 9B D0 B5 D1 81 2E D0 9E D1 80 D0 B5 D1 85 20 38 31 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 88 45 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 2F [05:39:28]Write i2c OK [05:39:28]MH_I2C_Read... [05:39:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:39:29]Read from MH i2c: E2 [05:39:29]MH_I2C_Read... [05:39:29]Read from MH i2c: E2 03 00 [05:39:29]MH_I2C_Read... [05:39:29]Read from MH i2c: E2 03 00 9E 24 00 90 00 36 [05:39:29]RAPDU: 90 00 [05:39:29]wFMCommunicate OK [05:39:29]wFMCommunicate request_size=166 [05:39:29]MH_SAM_APDU [05:39:29]CAPDU: 80 0D 02 02 A1 18 AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2B 12 00 00 00 00 07 04 06 00 18 AB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 9E 03 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 D4 30 00 00 35 04 06 00 DD FE 69 74 8F 76 [05:39:29]Write to MH i2c: E2 A9 00 9F 24 80 0D 02 02 A1 00 18 AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2B 12 00 00 00 00 07 04 06 00 18 AB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 9E 03 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 D4 30 00 00 35 04 06 00 DD FE 69 74 8F 76 00 00 09 [05:39:29]Write i2c OK [05:39:29]MH_I2C_Read... [05:39:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:39:29]Read from MH i2c: E2 [05:39:29]MH_I2C_Read... [05:39:29]Read from MH i2c: E2 03 00 [05:39:29]MH_I2C_Read... [05:39:29]Read from MH i2c: E2 03 00 9F 24 00 90 00 37 [05:39:29]RAPDU: 90 00 [05:39:29]wFMCommunicate OK [05:39:29]wFMCommunicate request_size=4 [05:39:29]MH_SAM_APDU [05:39:29]CAPDU: 80 0D 03 02 [05:39:29]Write to MH i2c: E2 08 00 A0 24 80 0D 03 02 00 00 00 00 3F [05:39:29]Write i2c OK [05:39:29]MH_I2C_Read... [05:39:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:39:29]Read from MH i2c: E2 [05:39:29]MH_I2C_Read... [05:39:29]Read from MH i2c: E2 0B 00 [05:39:29]MH_I2C_Read... [05:39:29]Read from MH i2c: E2 0B 00 A0 24 00 7E C2 27 AC DC 0C C6 FC 90 00 FD [05:39:29]RAPDU: 7E C2 27 AC DC 0C C6 FC 90 00 [05:39:29]wFMCommunicate OK [05:39:29]SAM_PROTO_SignData done [05:39:29]FM_MakeSignedData done [05:39:29]CreateOFDProtocolMessage [05:39:29]wFMCommunicate request_size=4 [05:39:29]MH_SAM_APDU [05:39:29]CAPDU: 80 11 00 00 [05:39:29]Write to MH i2c: E2 08 00 A1 24 80 11 00 00 00 00 00 00 3F [05:39:29]Write i2c OK [05:39:29]MH_I2C_Read... [05:39:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:39:29]Read from MH i2c: E2 [05:39:29]MH_I2C_Read... [05:39:29]Read from MH i2c: E2 17 00 [05:39:29]MH_I2C_Read... [05:39:29]Read from MH i2c: E2 17 00 A1 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 99 [05:39:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [05:39:29]wFMCommunicate OK [05:39:29]CreateOFDProtocolMessage done [05:39:29]OFDSenderStorePacket 12500 [05:39:29]StoreOFDPacket docnum=12500 [05:39:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 AB 01 00 00 06 F3 A3 01 13 C9 5A 03 01 00 03 00 97 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 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 35 30 30 30 31 35 39 34 33 39 34 38 30 06 04 3B 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 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D0 9B D0 B5 D1 81 2E D0 9E D1 80 D0 B5 D1 85 20 38 31 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 88 45 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2B 12 00 00 00 00 07 04 06 00 18 AB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 9E 03 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 D4 30 00 00 35 04 06 00 DD FE 69 74 8F 76 7E C2 27 AC DC 0C C6 FC [05:39:29]CheckFolder [05:39:29]dirname=/storage/ofd_packets [05:39:29]CheckFolder done [05:39:29]ProducePacketName [05:39:29]name=ofd_packets/00012500 [05:39:29]NVStorageSaveData ofd_packets/00012500 [05:39:29]File name is /storage/ofd_packets/00012500 [05:39:29]Write 457 bytes [05:39:29]NVStorageSaveData done [05:39:29]OFDSenderStorePacket done [05:39:29]KKMCreateOFDPacket done [05:39:29]NVStorageSaveData kkm_last_timestamp [05:39:29]File name is /storage/kkm_last_timestamp [05:39:29]Write 4 bytes [05:39:29]NVStorageSaveData done [05:39:29]ExternCall_PrintAddStr [05:39:29]wPrintStart [05:39:29]Write to MH i2c: 01 00 00 A2 24 C6 [05:39:29]Write i2c OK [05:39:29]MH_I2C_Read... [05:39:29]Read from MH i2c: 01 [05:39:29]MH_I2C_Read... [05:39:29]Read from MH i2c: 01 07 00 [05:39:29]MH_I2C_Read... [05:39:29]Read from MH i2c: 01 07 00 A2 24 00 00 00 00 00 FF 0F DB [05:39:29]RasterBufferAndPrint [05:39:29]line Счет N : (3)32777 [05:39:29]line ИНН: 02508201610067 [05:39:29]line Контрольно-Кассовый Чек [05:39:29]line ПРОДАЖА [05:39:29]line Товар: 2000036230011 [05:39:29]line Кофе Латте XL(GABB TRADE) [05:39:29]line 2.000 * 130.00 [05:39:29]line = 260.00 [05:39:29]line НДС 12% НСП 1% [05:39:29]line > о реализуемом товаре [05:39:29]line Товар: 5000159439480 [05:39:29]line Шок Батончик Сникерс Лес.Орех 81г [05:39:29]line 2.000 * 89.00 [05:39:29]line = 178.00 [05:39:29]line НДС 12% НСП 1% [05:39:29]line > о реализуемом товаре [05:39:29]line ИТОГО: 438.00 [05:39:29]line НСП 1% : 3.87 [05:39:29]line НДС 12% : 46.51 [05:39:29]line Наличными: 438.00 [05:39:29]line Безнал.: 0.00 [05:39:29]line Место: АЗС № 106 "Партнер Нефть" [05:39:29]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [05:39:29]line СНО: Общий режим [05:39:29]line Чек 2 19.04.2024 05:39 [05:39:29]line Смена: 279 ФФД: 1.0 [05:39:29]line ЗНМ: 0300000004 [05:39:29]line РНМ: 0000000000100748 [05:39:29]line Версия ККМ: 001 [05:39:29]line ФМ: 0000000000965685 [05:39:29]line ФД: 12500 [05:39:29]line ФПД: 244084760678262 [05:39:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T053942&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12500&fm=244084760678262&tin=02508201610067®Number=0000000000100748&sum=43800 [05:39:29]line 0 [05:39:29]OFD Sender: Processing packet 12500 [packets to send 7, broken 6] [05:39:29]ProducePacketName [05:39:29]name=ofd_packets/00012500 [05:39:29]OFD Sender: To server: pG, [05:39:29]CommunicateWithHost lk.salyk.kg:30040 [05:39:29]ConnectInit lk.salyk.kg [05:39:29]written 0, free lines is 4095 [05:39:29]Connected sock=10 [05:39:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 AB 01 00 00 06 F3 A3 01 13 C9 5A 03 01 00 03 00 97 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 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7F 00 8A 04 0D 00 35 30 30 30 31 35 39 34 33 39 34 38 30 06 04 3B 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 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D0 9B D0 B5 D1 81 2E D0 9E D1 80 D0 B5 D1 85 20 38 31 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 88 45 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 AB 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2B 12 00 00 00 00 07 04 06 00 18 AB 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 9E 03 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 D4 30 00 00 35 04 06 00 DD FE 69 74 8F 76 7E C2 27 AC DC 0C C6 FC [05:39:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 35 F1 47 00 04 04 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 D4 30 00 00 F4 03 04 00 26 AC 21 66 B6 04 01 00 00 FE 74 C8 C0 9E 30 59 EA [05:39:30]CommunicateWithHost err = 0 [05:39:30]CheckOFDResponse [05:39:30]1017 (14) - 77093643461234 [05:39:30]1041 (16) - 0000000000965685 [05:39:30]1040 (4) - 12500 [05:39:30]1012 (4) - 18.04.2024 23:26 [05:39:30]1206 (1) - 0 [05:39:30]OFD Sender: Remove packet 12500 [05:39:30]ProducePacketName [05:39:30]name=ofd_packets/00012500 [05:39:30]NVStorageDeleteData [05:39:30]Write to MH i2c: 01 00 00 D0 24 F4 [05:39:30]Write i2c OK [05:39:30]MH_I2C_Read... [05:39:30]Read from MH i2c: 01 [05:39:30]MH_I2C_Read... [05:39:30]Read from MH i2c: 01 07 00 [05:39:30]MH_I2C_Read... [05:39:30]Read from MH i2c: 01 07 00 D0 24 00 00 00 00 00 9A 0C A1 [05:39:30]RasterBufferAndPrint [05:39:30]line [05:39:30]line [05:39:30]line [05:39:30]line [05:39:30]line [05:39:30]written 0, free lines is 3232 [05:39:30]MH_Cut [05:39:30]Write to MH i2c: D1 01 00 D7 24 01 CD [05:39:30]Write i2c OK [05:39:30]MH_I2C_Read... [05:39:30]Read from MH i2c: D1 [05:39:30]MH_I2C_Read... [05:39:30]Read from MH i2c: D1 01 00 [05:39:30]MH_I2C_Read... [05:39:30]Read from MH i2c: D1 01 00 D7 24 00 CC [05:39:30]Write to MH i2c: 01 00 00 D8 24 FC [05:39:30]Write i2c OK [05:39:30]MH_I2C_Read... [05:39:30]OFD Sender: No OFD packet to send [05:39:31]*** Cut start [05:39:31]*** Partial cut [05:39:31]*** CUTSNS_PIN = 1 [05:39:31]*** CUTSNS_PIN = 0 [05:39:31]*** Brake cut motor [05:39:31]Read from MH i2c: 01 [05:39:31]MH_I2C_Read... [05:39:31]*** Stop cut motor [05:39:31]*** Cut end [05:39:31]Read from MH i2c: 01 07 00 [05:39:31]MH_I2C_Read... [05:39:31]Read from MH i2c: 01 07 00 D8 24 00 00 00 00 00 FF 0F 11 [05:39:31]process_action close_receipt done [05:39:31]requested_data is exist [05:39:31]produce_requested_data [05:39:31]requested_item fm.sn is exist - process it [05:39:31]wFMCommunicate request_size=4 [05:39:31]MH_SAM_APDU [05:39:31]CAPDU: 80 11 00 00 [05:39:31]Write to MH i2c: E2 08 00 D9 24 80 11 00 00 00 00 00 00 77 [05:39:31]Write i2c OK [05:39:31]MH_I2C_Read... [05:39:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:39:31]Read from MH i2c: E2 [05:39:31]MH_I2C_Read... [05:39:31]Read from MH i2c: E2 17 00 [05:39:31]MH_I2C_Read... [05:39:31]Read from MH i2c: E2 17 00 D9 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 D1 [05:39:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [05:39:31]wFMCommunicate OK [05:39:31]requested_item fd.num is exist - process it [05:39:31]SAM_PROTO_GetFieldsCounters [05:39:31]wFMCommunicate request_size=4 [05:39:31]MH_SAM_APDU [05:39:31]CAPDU: 80 13 00 00 [05:39:31]Write to MH i2c: E2 08 00 DA 24 80 13 00 00 00 00 00 00 7A [05:39:31]Write i2c OK [05:39:31]MH_I2C_Read... [05:39:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:39:31]Read from MH i2c: E2 [05:39:31]MH_I2C_Read... [05:39:31]Read from MH i2c: E2 62 00 [05:39:31]MH_I2C_Read... [05:39:31]Read from MH i2c: E2 62 00 DA 24 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 D4 30 00 00 0E 04 04 00 17 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 BF [05:39:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 D4 30 00 00 0E 04 04 00 17 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [05:39:31]wFMCommunicate OK [05:39:31]SAM_PROTO_GetFieldsCounters done [05:39:31]requested_item shift.num is exist - process it [05:39:31]requested_item shift.opened is exist - process it [05:39:31]req_shift_opened [05:39:31]FM_GetShiftState [05:39:31]SAM_PROTO_GetShiftState [05:39:31]wFMCommunicate request_size=4 [05:39:31]MH_SAM_APDU [05:39:31]CAPDU: 80 13 01 00 [05:39:31]Write to MH i2c: E2 08 00 DB 24 80 13 01 00 00 00 00 00 7C [05:39:31]Write i2c OK [05:39:31]MH_I2C_Read... [05:39:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:39:31]Read from MH i2c: E2 [05:39:31]MH_I2C_Read... [05:39:31]Read from MH i2c: E2 0E 00 [05:39:31]MH_I2C_Read... [05:39:31]Read from MH i2c: E2 0E 00 DB 24 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 72 [05:39:31]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [05:39:31]wFMCommunicate OK [05:39:31]SAM_PROTO_GetShiftState done [05:39:31]FM_GetShiftState done [05:39:31]req_shift_opened done [05:39:31]requested_item shift.open_date is exist - process it [05:39:31]req_shift_open_date [05:39:31]req_shift_open_date done [05:39:31]produce_requested_data done [05:39:31]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12500,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [05:39:31]process_action_free close_receipt [05:39:31]json_value_free [05:39:31]json_value_free done [05:39:31]process_json_proto returns [05:39:31]Send response to host [05:39:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12500,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [05:39:31]free response buf [05:39:31]execute_script done [05:39:31]execute_script returns [05:39:31]free content buf [05:39:31]Sock 9.Close socket [05:39:31]Sock 9.Thread stoped [05:39:35]OFD Sender: No OFD packet to send [05:39:40]OFD Sender: No OFD packet to send [05:39:45]OFD Sender: No OFD packet to send [05:39:48]accept exits with 8 [05:39:48]New connection [05:39:48]New thread 3067100516 created [05:39:48]Thread 3067243876 joined [05:39:48]Waiting for new connection... [05:39:48] Sock 8.Parse request [05:39:48]Sock 8.Check first char [05:39:48]Sock 8.First char is OK [05:39:48]request: POST /json_proto HTTP/1.0 [05:39:48]Method: POST [05:39:48]URL: /json_proto [05:39:48]Method is POST - this is cgi request [05:39:48]url: /json_proto [05:39:48]query_string will be loaded in cgi processing [05:39:48]execute_cgi json_proto POST (null) [05:39:48]execute_cgi path=json_proto method=POST [05:39:48]POST find Content-Length [05:39:48]Host: 172.17.62.6:8080 [05:39:48]Content-Length: 623 [05:39:48]Content-Type: application/json [05:39:48] [05:39:48]POST finish read [05:39:48]Found Content-Length = 623 [05:39:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32778", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver 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" ] } } [05:39:48]execute_script... [05:39: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)32778", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver 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" ] } } [05:39:48]POST & json_proto [05:39:48]process_json_proto [05:39:48]json parsed OK: [05:39:48]protocol is kg_v1.0 [05:39:48]action value=close_receipt [05:39:48]process_action close_receipt [05:39:48]cmd_close_receipt [05:39:48]MH_GetDate [05:39:48]Write to MH i2c: F0 00 00 DC 24 EF [05:39:48]Write i2c OK [05:39:48]MH_I2C_Read... [05:39:48]Read from MH i2c: F0 [05:39:48]MH_I2C_Read... [05:39:48]Read from MH i2c: F0 09 00 [05:39:48]MH_I2C_Read... [05:39:48]Read from MH i2c: F0 09 00 DC 24 00 B2 03 22 66 61 69 D2 64 35 [05:39:48]GetLastDocTimeStamp 1713505182 [05:39:48]current date 1713505202 [05:39:48]FM_GetShiftState [05:39:48]SAM_PROTO_GetShiftState [05:39:48]wFMCommunicate request_size=4 [05:39:48]MH_SAM_APDU [05:39:48]CAPDU: 80 13 01 00 [05:39:48]Write to MH i2c: E2 08 00 DD 24 80 13 01 00 00 00 00 00 7E [05:39:48]Write i2c OK [05:39:48]MH_I2C_Read... [05:39:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:39:48]Read from MH i2c: E2 [05:39:48]MH_I2C_Read... [05:39:48]Read from MH i2c: E2 0E 00 [05:39:48]MH_I2C_Read... [05:39:48]Read from MH i2c: E2 0E 00 DD 24 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 74 [05:39:48]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [05:39:48]wFMCommunicate OK [05:39:48]SAM_PROTO_GetShiftState done [05:39:48]FM_GetShiftState done [05:39:48]opened in 1713485995 [05:39:48]opened+sec_in_day 1713572395 [05:39:48]quantity*price = 15100 [05:39:48]sum+1 = 15101 [05:39:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 151.00 НСП 1% : 1.34 НДС 12% : 16.03 Наличными: 151.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 3 19.04.2024 05:40 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12501 ФПД: 261185227684061 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T054002&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12501&fm=261185227684061&tin=02508201610067®Number=0000000000100748&sum=15100 0 [05:39:49]StoreToDocumentArchive [05:39:49]shift 279 fd 12501 [05:39:49]save to /storage/0279/doc_00012501 [05:39:49]save last doc name /storage/0279/doc_00012501 to /storage/kkm_last_doc_name [05:39:49]save OK [05:39:49]Clear old archive folders... [05:39:49]ProcessDocumentItem done err = 0, tmpTLVsize=276 [05:39:49]tlvbuf is 01CBFF30 [05:39:49]SAM_PROTO_ClearQueue [05:39:49]wFMCommunicate request_size=4 [05:39:49]MH_SAM_APDU [05:39:49]CAPDU: 80 09 00 00 [05:39:49]Write to MH i2c: E2 08 00 EA 24 80 09 00 00 00 00 00 00 80 [05:39:49]Write i2c OK [05:39:49]MH_I2C_Read... [05:39:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:39:49]Read from MH i2c: E2 [05:39:49]MH_I2C_Read... [05:39:49]Read from MH i2c: E2 03 00 [05:39:49]MH_I2C_Read... [05:39:49]Read from MH i2c: E2 03 00 EA 24 00 90 00 82 [05:39:49]RAPDU: 90 00 [05:39:49]wFMCommunicate OK [05:39:49]SAM_PROTO_ClearQueue done [05:39:49]KKMCreateOFDPacket [05:39:49]OFDProtocolAddRootSTLVToBuf [05:39:49]FM_MakeSignedData [05:39:49]FM_MakeSignedData [05:39:49]SAM_PROTO_SignData [05:39:49]wFMCommunicate request_size=4 [05:39:49]MH_SAM_APDU [05:39:49]CAPDU: 80 0D 01 02 [05:39:49]Write to MH i2c: E2 08 00 EB 24 80 0D 01 02 00 00 00 00 88 [05:39:49]Write i2c OK [05:39:49]MH_I2C_Read... [05:39:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:39:49]Read from MH i2c: E2 [05:39:49]MH_I2C_Read... [05:39:49]Read from MH i2c: E2 03 00 [05:39:49]MH_I2C_Read... [05:39:49]Read from MH i2c: E2 03 00 EB 24 00 90 00 83 [05:39:49]RAPDU: 90 00 [05:39:49]wFMCommunicate OK [05:39:49]wFMCommunicate request_size=255 [05:39:49]MH_SAM_APDU [05:39:49]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 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 69 6C 76 65 72 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 03 00 00 00 F4 03 04 00 B2 03 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 [05:39:49]Write to MH i2c: E2 02 01 EC 24 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 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 69 6C 76 65 72 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 03 00 00 00 F4 03 04 00 B2 03 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 00 00 2D [05:39:49]Write i2c OK [05:39:49]MH_I2C_Read... [05:39:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:39:49]Read from MH i2c: E2 [05:39:49]MH_I2C_Read... [05:39:49]Read from MH i2c: E2 03 00 [05:39:49]MH_I2C_Read... [05:39:49]Read from MH i2c: E2 03 00 EC 24 00 90 00 84 [05:39:49]RAPDU: 90 00 [05:39:49]wFMCommunicate OK [05:39:49]wFMCommunicate request_size=35 [05:39:49]MH_SAM_APDU [05:39:49]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 D5 30 00 00 35 04 06 00 ED 8B EC B7 78 DD [05:39:49]Write to MH i2c: E2 26 00 ED 24 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 D5 30 00 00 35 04 06 00 ED 8B EC B7 78 DD 00 00 FA [05:39:49]Write i2c OK [05:39:49]MH_I2C_Read... [05:39:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:39:49]Read from MH i2c: E2 [05:39:49]MH_I2C_Read... [05:39:49]Read from MH i2c: E2 03 00 [05:39:49]MH_I2C_Read... [05:39:49]Read from MH i2c: E2 03 00 ED 24 00 90 00 85 [05:39:49]RAPDU: 90 00 [05:39:49]wFMCommunicate OK [05:39:49]wFMCommunicate request_size=4 [05:39:49]MH_SAM_APDU [05:39:49]CAPDU: 80 0D 03 02 [05:39:49]Write to MH i2c: E2 08 00 EE 24 80 0D 03 02 00 00 00 00 8D [05:39:49]Write i2c OK [05:39:49]MH_I2C_Read... [05:39:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:39:49]Read from MH i2c: E2 [05:39:49]MH_I2C_Read... [05:39:49]Read from MH i2c: E2 0B 00 [05:39:49]MH_I2C_Read... [05:39:49]Read from MH i2c: E2 0B 00 EE 24 00 D5 4F 0A 53 FC EC 64 5B 90 00 B6 [05:39:49]RAPDU: D5 4F 0A 53 FC EC 64 5B 90 00 [05:39:49]wFMCommunicate OK [05:39:49]SAM_PROTO_SignData done [05:39:49]FM_MakeSignedData done [05:39:49]CreateOFDProtocolMessage [05:39:49]wFMCommunicate request_size=4 [05:39:49]MH_SAM_APDU [05:39:49]CAPDU: 80 11 00 00 [05:39:49]Write to MH i2c: E2 08 00 EF 24 80 11 00 00 00 00 00 00 8D [05:39:49]Write i2c OK [05:39:49]MH_I2C_Read... [05:39:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:39:50]Read from MH i2c: E2 [05:39:50]MH_I2C_Read... [05:39:50]Read from MH i2c: E2 17 00 [05:39:50]MH_I2C_Read... [05:39:50]Read from MH i2c: E2 17 00 EF 24 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 E7 [05:39:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [05:39:50]wFMCommunicate OK [05:39:50]CreateOFDProtocolMessage done [05:39:50]OFDSenderStorePacket 12501 [05:39:50]StoreOFDPacket docnum=12501 [05:39:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 28 01 00 00 5D C9 20 01 52 F9 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 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 69 6C 76 65 72 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 03 00 00 00 F4 03 04 00 B2 03 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 D5 30 00 00 35 04 06 00 ED 8B EC B7 78 DD D5 4F 0A 53 FC EC 64 5B [05:39:50]CheckFolder [05:39:50]dirname=/storage/ofd_packets [05:39:50]CheckFolder done [05:39:50]ProducePacketName [05:39:50]name=ofd_packets/00012501 [05:39:50]NVStorageSaveData ofd_packets/00012501 [05:39:50]File name is /storage/ofd_packets/00012501 [05:39:50]Write 326 bytes [05:39:50]NVStorageSaveData done [05:39:50]OFDSenderStorePacket done [05:39:50]KKMCreateOFDPacket done [05:39:50]NVStorageSaveData kkm_last_timestamp [05:39:50]File name is /storage/kkm_last_timestamp [05:39:50]Write 4 bytes [05:39:50]NVStorageSaveData done [05:39:50]ExternCall_PrintAddStr [05:39:50]wPrintStart [05:39:50]Write to MH i2c: 01 00 00 F0 24 14 [05:39:50]OFD Sender: Processing packet 12501 [packets to send 7, broken 6] [05:39:50]ProducePacketName [05:39:50]name=ofd_packets/00012501 [05:39:50]OFD Sender: To server: pG, [05:39:50]CommunicateWithHost lk.salyk.kg:30040 [05:39:50]ConnectInit lk.salyk.kg [05:39:50]Write i2c OK [05:39:50]MH_I2C_Read... [05:39:50]Read from MH i2c: 01 [05:39:50]MH_I2C_Read... [05:39:50]Read from MH i2c: 01 07 00 [05:39:50]MH_I2C_Read... [05:39:50]Read from MH i2c: 01 07 00 F0 24 00 00 00 00 00 FF 0F 29 [05:39:50]RasterBufferAndPrint [05:39:50]line Счет N : (3)32778 [05:39:50]line ИНН: 02508201610067 [05:39:50]line Контрольно-Кассовый Чек [05:39:50]line ПРОДАЖА [05:39:50]line Товар: 48742245 [05:39:50]line Сигареты Parliament Silver Blue [05:39:50]line 1.000 * 151.00 [05:39:50]line = 151.00 [05:39:50]line НДС 12% НСП 1% [05:39:50]line > о реализуемом товаре [05:39:50]line ИТОГО: 151.00 [05:39:50]line НСП 1% : 1.34 [05:39:50]line НДС 12% : 16.03 [05:39:50]line Наличными: 151.00 [05:39:50]line Безнал.: 0.00 [05:39:50]line Место: АЗС № 106 "Партнер Нефть" [05:39:50]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [05:39:50]line СНО: Общий режим [05:39:50]line Чек 3 19.04.2024 05:40 [05:39:50]line Смена: 279 ФФД: 1.0 [05:39:50]line ЗНМ: 0300000004 [05:39:50]line РНМ: 0000000000100748 [05:39:50]line Версия ККМ: 001 [05:39:50]line ФМ: 0000000000965685 [05:39:50]line ФД: 12501 [05:39:50]line ФПД: 261185227684061 [05:39:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T054002&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12501&fm=261185227684061&tin=02508201610067®Number=0000000000100748&sum=15100 [05:39:50]line 0 [05:39:50]written 0, free lines is 4095 [05:39:50]Write to MH i2c: 01 00 00 18 25 3D [05:39:50]Write i2c OK [05:39:50]MH_I2C_Read... [05:39:50]Read from MH i2c: 01 [05:39:50]MH_I2C_Read... [05:39:50]Read from MH i2c: 01 07 00 [05:39:50]MH_I2C_Read... [05:39:50]Read from MH i2c: 01 07 00 18 25 00 00 00 00 00 D4 0C 24 [05:39:50]RasterBufferAndPrint [05:39:50]line [05:39:50]line [05:39:50]line [05:39:50]line [05:39:50]line [05:39:50]written 0, free lines is 3288 [05:39:50]MH_Cut [05:39:50]Write to MH i2c: D1 01 00 1F 25 01 16 [05:39:50]Write i2c OK [05:39:50]MH_I2C_Read... [05:39:50]Read from MH i2c: D1 [05:39:50]MH_I2C_Read... [05:39:50]Read from MH i2c: D1 01 00 [05:39:50]MH_I2C_Read... [05:39:50]Read from MH i2c: D1 01 00 1F 25 00 15 [05:39:50]Write to MH i2c: 01 00 00 20 25 45 [05:39:50]Write i2c OK [05:39:50]MH_I2C_Read... [05:39:51]*** Cut start [05:39:51]*** Partial cut [05:39:51]*** CUTSNS_PIN = 1 [05:39:51]*** CUTSNS_PIN = 0 [05:39:51]*** Brake cut motor [05:39:52]Read from MH i2c: 01 [05:39:52]MH_I2C_Read... [05:39:52]*** Stop cut motor [05:39:52]*** Cut end [05:39:52]Read from MH i2c: 01 07 00 [05:39:52]MH_I2C_Read... [05:39:52]Read from MH i2c: 01 07 00 20 25 00 00 00 00 00 FF 0F 5A [05:39:52]process_action close_receipt done [05:39:52]requested_data is exist [05:39:52]produce_requested_data [05:39:52]requested_item fm.sn is exist - process it [05:39:52]wFMCommunicate request_size=4 [05:39:52]MH_SAM_APDU [05:39:52]CAPDU: 80 11 00 00 [05:39:52]Write to MH i2c: E2 08 00 21 25 80 11 00 00 00 00 00 00 C0 [05:39:52]Write i2c OK [05:39:52]MH_I2C_Read... [05:39:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:39:52]Read from MH i2c: E2 [05:39:52]MH_I2C_Read... [05:39:52]Read from MH i2c: E2 17 00 [05:39:52]MH_I2C_Read... [05:39:52]Read from MH i2c: E2 17 00 21 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 1A [05:39:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [05:39:52]wFMCommunicate OK [05:39:52]requested_item fd.num is exist - process it [05:39:52]SAM_PROTO_GetFieldsCounters [05:39:52]wFMCommunicate request_size=4 [05:39:52]MH_SAM_APDU [05:39:52]CAPDU: 80 13 00 00 [05:39:52]Write to MH i2c: E2 08 00 22 25 80 13 00 00 00 00 00 00 C3 [05:39:52]Write i2c OK [05:39:52]MH_I2C_Read... [05:39:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:39:52]Read from MH i2c: E2 [05:39:52]MH_I2C_Read... [05:39:52]Read from MH i2c: E2 62 00 [05:39:52]MH_I2C_Read... [05:39:52]Read from MH i2c: E2 62 00 22 25 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 D5 30 00 00 0E 04 04 00 17 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 0C [05:39:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 D5 30 00 00 0E 04 04 00 17 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 [05:39:52]wFMCommunicate OK [05:39:52]SAM_PROTO_GetFieldsCounters done [05:39:52]requested_item shift.num is exist - process it [05:39:52]requested_item shift.opened is exist - process it [05:39:52]req_shift_opened [05:39:52]FM_GetShiftState [05:39:52]SAM_PROTO_GetShiftState [05:39:52]wFMCommunicate request_size=4 [05:39:52]MH_SAM_APDU [05:39:52]CAPDU: 80 13 01 00 [05:39:52]Write to MH i2c: E2 08 00 23 25 80 13 01 00 00 00 00 00 C5 [05:39:52]Write i2c OK [05:39:52]MH_I2C_Read... [05:39:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:39:52]Read from MH i2c: E2 [05:39:52]MH_I2C_Read... [05:39:52]Read from MH i2c: E2 0E 00 [05:39:52]MH_I2C_Read... [05:39:52]Read from MH i2c: E2 0E 00 23 25 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 BB [05:39:52]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [05:39:52]wFMCommunicate OK [05:39:52]SAM_PROTO_GetShiftState done [05:39:52]FM_GetShiftState done [05:39:52]req_shift_opened done [05:39:52]requested_item shift.open_date is exist - process it [05:39:52]req_shift_open_date [05:39:52]req_shift_open_date done [05:39:52]produce_requested_data done [05:39:52]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12501,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [05:39:52]process_action_free close_receipt [05:39:52]json_value_free [05:39:52]json_value_free done [05:39:52]process_json_proto returns [05:39:52]Send response to host [05:39:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12501,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [05:39:52]free response buf [05:39:52]execute_script done [05:39:52]execute_script returns [05:39:52]free content buf [05:39:52]Sock 8.Close socket [05:39:52]Sock 8.Thread stoped [05:39:55]ConnectInit Can't take IP for lk.salyk.kg [05:39:55]CommunicateWithHost connect error [05:39:55]CommunicateWithHost err = -1 [05:39:55]OFD Sender: Server communicate error [05:40:00]OFD Sender: Processing packet 12501 [packets to send 7, broken 6] [05:40:00]ProducePacketName [05:40:00]name=ofd_packets/00012501 [05:40:00]OFD Sender: To server: pG, [05:40:00]CommunicateWithHost lk.salyk.kg:30040 [05:40:00]ConnectInit lk.salyk.kg [05:40:02]Connected sock=8 [05:40:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 28 01 00 00 5D C9 20 01 52 F9 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 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 69 6C 76 65 72 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 03 00 00 00 F4 03 04 00 B2 03 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 D5 30 00 00 35 04 06 00 ED 8B EC B7 78 DD D5 4F 0A 53 FC EC 64 5B [05:40:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 5E 14 47 00 A1 DF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 36 38 35 10 04 04 00 D5 30 00 00 F4 03 04 00 46 AC 21 66 B6 04 01 00 00 C0 B6 14 28 51 9C 2A ED [05:40:02]CommunicateWithHost err = 0 [05:40:02]CheckOFDResponse [05:40:02]1017 (14) - 77093643461234 [05:40:02]1041 (16) - 0000000000965685 [05:40:02]1040 (4) - 12501 [05:40:02]1012 (4) - 18.04.2024 23:27 [05:40:02]1206 (1) - 0 [05:40:02]OFD Sender: Remove packet 12501 [05:40:02]ProducePacketName [05:40:02]name=ofd_packets/00012501 [05:40:02]NVStorageDeleteData [05:40:02]OFD Sender: No OFD packet to send [05:40:07]OFD Sender: No OFD packet to send [05:40:12]OFD Sender: No OFD packet to send [05:40:17]OFD Sender: No OFD packet to send [05:40:22]OFD Sender: No OFD packet to send [05:40:27]OFD Sender: No OFD packet to send [05:40:32]OFD Sender: No OFD packet to send [05:40:37]OFD Sender: No OFD packet to send [05:40:42]OFD Sender: No OFD packet to send [05:40:47]OFD Sender: No OFD packet to send [05:40:52]OFD Sender: No OFD packet to send [05:40:57]OFD Sender: No OFD packet to send [05:41:02]OFD Sender: No OFD packet to send [05:41:07]OFD Sender: No OFD packet to send [05:41:10]accept exits with 9 [05:41:10]New connection [05:41:10]New thread 3067243876 created [05:41:10]Thread 3067100516 joined [05:41:10]Waiting for new connection... [05:41:10] Sock 9.Parse request [05:41:10]Sock 9.Check first char [05:41:10]Sock 9.First char is OK [05:41:10]request: POST /json_proto HTTP/1.0 [05:41:10]Method: POST [05:41:10]URL: /json_proto [05:41:10]Method is POST - this is cgi request [05:41:10]url: /json_proto [05:41:10]query_string will be loaded in cgi processing [05:41:10]execute_cgi json_proto POST (null) [05:41:10]execute_cgi path=json_proto method=POST [05:41:10]POST find Content-Length [05:41:10]Host: 172.17.62.6:8080 [05:41:10]Content-Length: 680 [05:41:10]Content-Type: application/json [05:41:10] [05:41:10]POST finish read [05:41:10]Found Content-Length = 680 [05:41:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32779", "tax_sys" : 0, "items" : [ { "code": "4870202522008", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 0,45\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:41:10]execute_script... [05:41:10]execute_script path=json_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)32779", "tax_sys" : 0, "items" : [ { "code": "4870202522008", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 0,45\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:41:10]POST & json_proto [05:41:10]process_json_proto [05:41:10]json parsed OK: [05:41:10]protocol is kg_v1.0 [05:41:10]action value=close_receipt [05:41:10]process_action close_receipt [05:41:10]cmd_close_receipt [05:41:10]MH_GetDate [05:41:10]Write to MH i2c: F0 00 00 24 25 38 [05:41:10]Write i2c OK [05:41:10]MH_I2C_Read... [05:41:10]Read from MH i2c: F0 [05:41:10]MH_I2C_Read... [05:41:10]Read from MH i2c: F0 09 00 [05:41:10]MH_I2C_Read... [05:41:10]Read from MH i2c: F0 09 00 24 25 00 05 04 22 66 61 69 D2 64 D2 [05:41:10]GetLastDocTimeStamp 1713505202 [05:41:10]current date 1713505285 [05:41:10]FM_GetShiftState [05:41:10]SAM_PROTO_GetShiftState [05:41:10]wFMCommunicate request_size=4 [05:41:10]MH_SAM_APDU [05:41:10]CAPDU: 80 13 01 00 [05:41:10]Write to MH i2c: E2 08 00 25 25 80 13 01 00 00 00 00 00 C7 [05:41:10]Write i2c OK [05:41:10]MH_I2C_Read... [05:41:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:41:10]Read from MH i2c: E2 [05:41:10]MH_I2C_Read... [05:41:10]Read from MH i2c: E2 0E 00 [05:41:10]MH_I2C_Read... [05:41:10]Read from MH i2c: E2 0E 00 25 25 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 BD [05:41:10]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [05:41:10]wFMCommunicate OK [05:41:10]SAM_PROTO_GetShiftState done [05:41:10]FM_GetShiftState done [05:41:10]opened in 1713485995 [05:41:10]opened+sec_in_day 1713572395 [05:41:10]quantity*price = 6000 [05:41:10]sum+1 = 6001 [05:41:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 4 19.04.2024 05:41 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12502 ФПД: 275308862519032 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T054125&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12502&fm=275308862519032&tin=02508201610067®Number=0000000000100748&sum=6000 0 [05:41:11]StoreToDocumentArchive [05:41:11]shift 279 fd 12502 [05:41:11]save to /storage/0279/doc_00012502 [05:41:11]save last doc name /storage/0279/doc_00012502 to /storage/kkm_last_doc_name [05:41:11]save OK [05:41:11]Clear old archive folders... [05:41:11]ProcessDocumentItem done err = 0, tmpTLVsize=292 [05:41:11]tlvbuf is 01D02450 [05:41:11]SAM_PROTO_ClearQueue [05:41:11]wFMCommunicate request_size=4 [05:41:11]MH_SAM_APDU [05:41:11]CAPDU: 80 09 00 00 [05:41:11]Write to MH i2c: E2 08 00 32 25 80 09 00 00 00 00 00 00 C9 [05:41:11]Write i2c OK [05:41:11]MH_I2C_Read... [05:41:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:41:11]Read from MH i2c: E2 [05:41:11]MH_I2C_Read... [05:41:11]Read from MH i2c: E2 03 00 [05:41:11]MH_I2C_Read... [05:41:11]Read from MH i2c: E2 03 00 32 25 00 90 00 CB [05:41:11]RAPDU: 90 00 [05:41:11]wFMCommunicate OK [05:41:11]SAM_PROTO_ClearQueue done [05:41:11]KKMCreateOFDPacket [05:41:11]OFDProtocolAddRootSTLVToBuf [05:41:11]FM_MakeSignedData [05:41:11]FM_MakeSignedData [05:41:11]SAM_PROTO_SignData [05:41:11]wFMCommunicate request_size=4 [05:41:11]MH_SAM_APDU [05:41:11]CAPDU: 80 0D 01 02 [05:41:11]Write to MH i2c: E2 08 00 33 25 80 0D 01 02 00 00 00 00 D1 [05:41:11]Write i2c OK [05:41:11]MH_I2C_Read... [05:41:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:41:11]Read from MH i2c: E2 [05:41:11]MH_I2C_Read... [05:41:11]Read from MH i2c: E2 03 00 [05:41:11]MH_I2C_Read... [05:41:11]Read from MH i2c: E2 03 00 33 25 00 90 00 CC [05:41:11]RAPDU: 90 00 [05:41:11]wFMCommunicate OK [05:41:11]wFMCommunicate request_size=255 [05:41:11]MH_SAM_APDU [05:41:11]CAPDU: 80 0D 02 02 FA 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 30 38 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 05 04 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 [05:41:11]Write to MH i2c: E2 02 01 34 25 80 0D 02 02 FA 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 30 38 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 05 04 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 00 00 4F [05:41:11]Write i2c OK [05:41:11]MH_I2C_Read... [05:41:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:41:11]Read from MH i2c: E2 [05:41:11]MH_I2C_Read... [05:41:11]Read from MH i2c: E2 03 00 [05:41:11]MH_I2C_Read... [05:41:11]Read from MH i2c: E2 03 00 34 25 00 90 00 CD [05:41:11]RAPDU: 90 00 [05:41:11]wFMCommunicate OK [05:41:11]wFMCommunicate request_size=51 [05:41:11]MH_SAM_APDU [05:41:11]CAPDU: 80 0D 02 02 2E 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 D6 30 00 00 35 04 06 00 FA 64 56 F4 36 F8 [05:41:11]Write to MH i2c: E2 36 00 35 25 80 0D 02 02 2E 00 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 D6 30 00 00 35 04 06 00 FA 64 56 F4 36 F8 00 00 43 [05:41:11]Write i2c OK [05:41:11]MH_I2C_Read... [05:41:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:41:12]Read from MH i2c: E2 [05:41:12]MH_I2C_Read... [05:41:12]Read from MH i2c: E2 03 00 [05:41:12]MH_I2C_Read... [05:41:12]Read from MH i2c: E2 03 00 35 25 00 90 00 CE [05:41:12]RAPDU: 90 00 [05:41:12]wFMCommunicate OK [05:41:12]wFMCommunicate request_size=4 [05:41:12]MH_SAM_APDU [05:41:12]CAPDU: 80 0D 03 02 [05:41:12]Write to MH i2c: E2 08 00 36 25 80 0D 03 02 00 00 00 00 D6 [05:41:12]Write i2c OK [05:41:12]MH_I2C_Read... [05:41:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:41:12]Read from MH i2c: E2 [05:41:12]MH_I2C_Read... [05:41:12]Read from MH i2c: E2 0B 00 [05:41:12]MH_I2C_Read... [05:41:12]Read from MH i2c: E2 0B 00 36 25 00 CB 9D E0 DC 17 2C E3 EC 90 00 0D [05:41:12]RAPDU: CB 9D E0 DC 17 2C E3 EC 90 00 [05:41:12]wFMCommunicate OK [05:41:12]SAM_PROTO_SignData done [05:41:12]FM_MakeSignedData done [05:41:12]CreateOFDProtocolMessage [05:41:12]wFMCommunicate request_size=4 [05:41:12]MH_SAM_APDU [05:41:12]CAPDU: 80 11 00 00 [05:41:12]Write to MH i2c: E2 08 00 37 25 80 11 00 00 00 00 00 00 D6 [05:41:12]Write i2c OK [05:41:12]MH_I2C_Read... [05:41:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:41:12]Read from MH i2c: E2 [05:41:12]MH_I2C_Read... [05:41:12]Read from MH i2c: E2 17 00 [05:41:12]MH_I2C_Read... [05:41:12]Read from MH i2c: E2 17 00 37 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 30 [05:41:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [05:41:12]wFMCommunicate OK [05:41:12]CreateOFDProtocolMessage done [05:41:12]OFDSenderStorePacket 12502 [05:41:12]StoreOFDPacket docnum=12502 [05:41:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 38 01 00 00 4A 6D 30 01 B5 12 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 30 38 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 05 04 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 D6 30 00 00 35 04 06 00 FA 64 56 F4 36 F8 CB 9D E0 DC 17 2C E3 EC [05:41:12]CheckFolder [05:41:12]dirname=/storage/ofd_packets [05:41:12]CheckFolder done [05:41:12]ProducePacketName [05:41:12]name=ofd_packets/00012502 [05:41:12]NVStorageSaveData ofd_packets/00012502 [05:41:12]File name is /storage/ofd_packets/00012502 [05:41:12]Write 342 bytes [05:41:12]NVStorageSaveData done [05:41:12]OFDSenderStorePacket done [05:41:12]KKMCreateOFDPacket done [05:41:12]NVStorageSaveData kkm_last_timestamp [05:41:12]File name is /storage/kkm_last_timestamp [05:41:12]Write 4 bytes [05:41:12]NVStorageSaveData done [05:41:12]ExternCall_PrintAddStr [05:41:12]wPrintStart [05:41:12]Write to MH i2c: 01 00 00 38 25 5D [05:41:12]OFD Sender: Processing packet 12502 [packets to send 7, broken 6] [05:41:12]ProducePacketName [05:41:12]name=ofd_packets/00012502 [05:41:12]OFD Sender: To server: pG, [05:41:12]CommunicateWithHost lk.salyk.kg:30040 [05:41:12]ConnectInit lk.salyk.kg [05:41:12]Write i2c OK [05:41:12]MH_I2C_Read... [05:41:12]Read from MH i2c: 01 [05:41:12]MH_I2C_Read... [05:41:12]Read from MH i2c: 01 07 00 [05:41:12]MH_I2C_Read... [05:41:12]Read from MH i2c: 01 07 00 38 25 00 00 00 00 00 FF 0F 72 [05:41:12]RasterBufferAndPrint [05:41:12]line Счет N : (3)32779 [05:41:12]line ИНН: 02508201610067 [05:41:12]line Контрольно-Кассовый Чек [05:41:12]line ПРОДАЖА [05:41:12]line Товар: 4870202522008 [05:41:12]line Напиток Maxi Чай Грушевый 0,45л [05:41:12]line 1.000 * 60.00 [05:41:12]line = 60.00 [05:41:12]line НДС 12% НСП 1% [05:41:12]line > о реализуемом товаре [05:41:12]line ИТОГО: 60.00 [05:41:12]line НСП 1% : 0.53 [05:41:12]line НДС 12% : 6.37 [05:41:12]line Наличными: 60.00 [05:41:12]line Безнал.: 0.00 [05:41:12]line Место: АЗС № 106 "Партнер Нефть" [05:41:12]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [05:41:12]line СНО: Общий режим [05:41:12]line Чек 4 19.04.2024 05:41 [05:41:12]line Смена: 279 ФФД: 1.0 [05:41:12]line ЗНМ: 0300000004 [05:41:12]line РНМ: 0000000000100748 [05:41:12]line Версия ККМ: 001 [05:41:12]line ФМ: 0000000000965685 [05:41:12]line ФД: 12502 [05:41:12]line ФПД: 275308862519032 [05:41:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T054125&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12502&fm=275308862519032&tin=02508201610067®Number=0000000000100748&sum=6000 [05:41:12]line 0 [05:41:12]written 0, free lines is 4095 [05:41:12]Write to MH i2c: 01 00 00 60 25 85 [05:41:12]Write i2c OK [05:41:12]MH_I2C_Read... [05:41:12]Read from MH i2c: 01 [05:41:12]MH_I2C_Read... [05:41:12]Read from MH i2c: 01 07 00 [05:41:12]MH_I2C_Read... [05:41:12]Read from MH i2c: 01 07 00 60 25 00 00 00 00 00 ED 0C 85 [05:41:12]RasterBufferAndPrint [05:41:12]line [05:41:12]line [05:41:12]line [05:41:12]line [05:41:12]line [05:41:12]written 0, free lines is 3315 [05:41:12]MH_Cut [05:41:12]Write to MH i2c: D1 01 00 67 25 01 5E [05:41:12]Write i2c OK [05:41:12]MH_I2C_Read... [05:41:12]Read from MH i2c: D1 [05:41:12]MH_I2C_Read... [05:41:12]Read from MH i2c: D1 01 00 [05:41:12]MH_I2C_Read... [05:41:12]Read from MH i2c: D1 01 00 67 25 00 5D [05:41:12]Write to MH i2c: 01 00 00 68 25 8D [05:41:12]Write i2c OK [05:41:12]MH_I2C_Read... [05:41:13]Connected sock=10 [05:41:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 38 01 00 00 4A 6D 30 01 B5 12 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 30 38 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 05 04 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 D6 30 00 00 35 04 06 00 FA 64 56 F4 36 F8 CB 9D E0 DC 17 2C E3 EC [05:41:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 71 15 47 00 6E C8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 D6 30 00 00 F4 03 04 00 8D AC 21 66 B6 04 01 00 00 36 EF 74 45 D5 2D D6 CF [05:41:13]CommunicateWithHost err = 0 [05:41:13]CheckOFDResponse [05:41:13]1017 (14) - 77093643461234 [05:41:13]1041 (16) - 0000000000965685 [05:41:13]1040 (4) - 12502 [05:41:13]1012 (4) - 18.04.2024 23:28 [05:41:13]1206 (1) - 0 [05:41:13]OFD Sender: Remove packet 12502 [05:41:13]ProducePacketName [05:41:13]name=ofd_packets/00012502 [05:41:13]NVStorageDeleteData [05:41:13]*** Cut start [05:41:13]*** Partial cut [05:41:13]*** CUTSNS_PIN = 1 [05:41:13]OFD Sender: No OFD packet to send [05:41:13]*** CUTSNS_PIN = 0 [05:41:13]*** Brake cut motor [05:41:14]Read from MH i2c: 01 [05:41:14]MH_I2C_Read... [05:41:14]*** Stop cut motor [05:41:14]*** Cut end [05:41:14]Read from MH i2c: 01 07 00 [05:41:14]MH_I2C_Read... [05:41:14]Read from MH i2c: 01 07 00 68 25 00 00 00 00 00 FF 0F A2 [05:41:14]process_action close_receipt done [05:41:14]requested_data is exist [05:41:14]produce_requested_data [05:41:14]requested_item fm.sn is exist - process it [05:41:14]wFMCommunicate request_size=4 [05:41:14]MH_SAM_APDU [05:41:14]CAPDU: 80 11 00 00 [05:41:14]Write to MH i2c: E2 08 00 69 25 80 11 00 00 00 00 00 00 08 [05:41:14]Write i2c OK [05:41:14]MH_I2C_Read... [05:41:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:41:14]Read from MH i2c: E2 [05:41:14]MH_I2C_Read... [05:41:14]Read from MH i2c: E2 17 00 [05:41:14]MH_I2C_Read... [05:41:14]Read from MH i2c: E2 17 00 69 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 62 [05:41:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [05:41:14]wFMCommunicate OK [05:41:14]requested_item fd.num is exist - process it [05:41:14]SAM_PROTO_GetFieldsCounters [05:41:14]wFMCommunicate request_size=4 [05:41:14]MH_SAM_APDU [05:41:14]CAPDU: 80 13 00 00 [05:41:14]Write to MH i2c: E2 08 00 6A 25 80 13 00 00 00 00 00 00 0B [05:41:14]Write i2c OK [05:41:14]MH_I2C_Read... [05:41:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:41:14]Read from MH i2c: E2 [05:41:14]MH_I2C_Read... [05:41:14]Read from MH i2c: E2 62 00 [05:41:14]MH_I2C_Read... [05:41:14]Read from MH i2c: E2 62 00 6A 25 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 D6 30 00 00 0E 04 04 00 17 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 58 [05:41:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 D6 30 00 00 0E 04 04 00 17 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 [05:41:14]wFMCommunicate OK [05:41:14]SAM_PROTO_GetFieldsCounters done [05:41:14]requested_item shift.num is exist - process it [05:41:14]requested_item shift.opened is exist - process it [05:41:14]req_shift_opened [05:41:14]FM_GetShiftState [05:41:14]SAM_PROTO_GetShiftState [05:41:14]wFMCommunicate request_size=4 [05:41:14]MH_SAM_APDU [05:41:14]CAPDU: 80 13 01 00 [05:41:14]Write to MH i2c: E2 08 00 6B 25 80 13 01 00 00 00 00 00 0D [05:41:14]Write i2c OK [05:41:14]MH_I2C_Read... [05:41:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:41:14]Read from MH i2c: E2 [05:41:14]MH_I2C_Read... [05:41:14]Read from MH i2c: E2 0E 00 [05:41:14]MH_I2C_Read... [05:41:14]Read from MH i2c: E2 0E 00 6B 25 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 03 [05:41:14]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [05:41:14]wFMCommunicate OK [05:41:14]SAM_PROTO_GetShiftState done [05:41:14]FM_GetShiftState done [05:41:14]req_shift_opened done [05:41:14]requested_item shift.open_date is exist - process it [05:41:14]req_shift_open_date [05:41:14]req_shift_open_date done [05:41:14]produce_requested_data done [05:41:14]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12502,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [05:41:14]process_action_free close_receipt [05:41:14]json_value_free [05:41:14]json_value_free done [05:41:14]process_json_proto returns [05:41:14]Send response to host [05:41:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12502,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [05:41:14]free response buf [05:41:14]execute_script done [05:41:14]execute_script returns [05:41:14]free content buf [05:41:14]Sock 9.Close socket [05:41:14]Sock 9.Thread stoped [05:41:18]OFD Sender: No OFD packet to send [05:41:23]OFD Sender: No OFD packet to send [05:41:28]OFD Sender: No OFD packet to send [05:41:33]OFD Sender: No OFD packet to send [05:41:38]OFD Sender: No OFD packet to send [05:41:43]OFD Sender: No OFD packet to send [05:41:48]OFD Sender: No OFD packet to send [05:41:53]OFD Sender: No OFD packet to send [05:41:58]OFD Sender: No OFD packet to send [05:42:03]OFD Sender: No OFD packet to send [05:42:08]OFD Sender: No OFD packet to send [05:42:13]OFD Sender: No OFD packet to send [05:42:18]OFD Sender: No OFD packet to send [05:42:23]OFD Sender: No OFD packet to send [05:42:28]OFD Sender: No OFD packet to send [05:42:33]OFD Sender: No OFD packet to send [05:42:38]OFD Sender: No OFD packet to send [05:42:43]OFD Sender: No OFD packet to send [05:42:48]OFD Sender: No OFD packet to send [05:42:53]OFD Sender: No OFD packet to send [05:42:58]OFD Sender: No OFD packet to send [05:43:03]OFD Sender: No OFD packet to send [05:43:08]OFD Sender: No OFD packet to send [05:43:13]OFD Sender: No OFD packet to send [05:43:18]OFD Sender: No OFD packet to send [05:43:23]OFD Sender: No OFD packet to send [05:43:28]OFD Sender: No OFD packet to send [05:43:33]OFD Sender: No OFD packet to send [05:43:38]OFD Sender: No OFD packet to send [05:43:43]OFD Sender: No OFD packet to send [05:43:48]OFD Sender: No OFD packet to send [05:43:53]OFD Sender: No OFD packet to send [05:43:58]OFD Sender: No OFD packet to send [05:44:03]OFD Sender: No OFD packet to send [05:44:08]OFD Sender: No OFD packet to send [05:44:13]OFD Sender: No OFD packet to send [05:44:18]OFD Sender: No OFD packet to send [05:44:23]OFD Sender: No OFD packet to send [05:44:28]OFD Sender: No OFD packet to send [05:44:33]OFD Sender: No OFD packet to send [05:44:38]OFD Sender: No OFD packet to send [05:44:43]OFD Sender: No OFD packet to send [05:44:48]OFD Sender: No OFD packet to send [05:44:53]OFD Sender: No OFD packet to send [05:44:58]OFD Sender: No OFD packet to send [05:45:03]OFD Sender: No OFD packet to send [05:45:08]OFD Sender: No OFD packet to send [05:45:13]OFD Sender: No OFD packet to send [05:45:18]OFD Sender: No OFD packet to send [05:45:23]OFD Sender: No OFD packet to send [05:45:28]OFD Sender: No OFD packet to send [05:45:33]OFD Sender: No OFD packet to send [05:45:38]OFD Sender: No OFD packet to send [05:45:43]OFD Sender: No OFD packet to send [05:45:48]OFD Sender: No OFD packet to send [05:45:53]OFD Sender: No OFD packet to send [05:45:58]OFD Sender: No OFD packet to send [05:46:03]OFD Sender: No OFD packet to send [05:46:08]OFD Sender: No OFD packet to send [05:46:13]OFD Sender: No OFD packet to send [05:46:18]OFD Sender: No OFD packet to send [05:46:23]OFD Sender: No OFD packet to send [05:46:28]OFD Sender: No OFD packet to send [05:46:33]OFD Sender: No OFD packet to send [05:46:38]OFD Sender: No OFD packet to send [05:46:43]OFD Sender: No OFD packet to send [05:46:48]OFD Sender: No OFD packet to send [05:46:53]OFD Sender: No OFD packet to send [05:46:58]OFD Sender: No OFD packet to send [05:47:03]OFD Sender: No OFD packet to send [05:47:08]OFD Sender: No OFD packet to send [05:47:13]OFD Sender: No OFD packet to send [05:47:18]OFD Sender: No OFD packet to send [05:47:23]OFD Sender: No OFD packet to send [05:47:29]OFD Sender: No OFD packet to send [05:47:34]OFD Sender: No OFD packet to send [05:47:39]OFD Sender: No OFD packet to send [05:47:44]OFD Sender: No OFD packet to send [05:47:49]OFD Sender: No OFD packet to send [05:47:54]OFD Sender: No OFD packet to send [05:47:59]OFD Sender: No OFD packet to send [05:48:04]OFD Sender: No OFD packet to send [05:48:09]OFD Sender: No OFD packet to send [05:48:14]OFD Sender: No OFD packet to send [05:48:19]OFD Sender: No OFD packet to send [05:48:24]OFD Sender: No OFD packet to send [05:48:29]OFD Sender: No OFD packet to send [05:48:34]OFD Sender: No OFD packet to send [05:48:39]OFD Sender: No OFD packet to send [05:48:44]OFD Sender: No OFD packet to send [05:48:49]OFD Sender: No OFD packet to send [05:48:54]OFD Sender: No OFD packet to send [05:48:59]OFD Sender: No OFD packet to send [05:49:04]OFD Sender: No OFD packet to send [05:49:09]OFD Sender: No OFD packet to send [05:49:14]OFD Sender: No OFD packet to send [05:49:19]OFD Sender: No OFD packet to send [05:49:24]OFD Sender: No OFD packet to send [05:49:29]OFD Sender: No OFD packet to send [05:49:34]OFD Sender: No OFD packet to send [05:49:39]OFD Sender: No OFD packet to send [05:49:44]OFD Sender: No OFD packet to send [05:49:49]OFD Sender: No OFD packet to send [05:49:54]OFD Sender: No OFD packet to send [05:49:59]OFD Sender: No OFD packet to send [05:50:04]OFD Sender: No OFD packet to send [05:50:09]OFD Sender: No OFD packet to send [05:50:14]OFD Sender: No OFD packet to send [05:50:19]OFD Sender: No OFD packet to send [05:50:24]OFD Sender: No OFD packet to send [05:50:29]OFD Sender: No OFD packet to send [05:50:34]OFD Sender: No OFD packet to send [05:50:39]OFD Sender: No OFD packet to send [05:50:44]OFD Sender: No OFD packet to send [05:50:49]OFD Sender: No OFD packet to send [05:50:54]OFD Sender: No OFD packet to send [05:50:59]OFD Sender: No OFD packet to send [05:51:04]OFD Sender: No OFD packet to send [05:51:09]OFD Sender: No OFD packet to send [05:51:14]OFD Sender: No OFD packet to send [05:51:19]OFD Sender: No OFD packet to send [05:51:24]OFD Sender: No OFD packet to send [05:51:29]OFD Sender: No OFD packet to send [05:51:34]OFD Sender: No OFD packet to send [05:51:39]OFD Sender: No OFD packet to send [05:51:44]OFD Sender: No OFD packet to send [05:51:49]OFD Sender: No OFD packet to send [05:51:54]OFD Sender: No OFD packet to send [05:51:59]OFD Sender: No OFD packet to send [05:52:04]OFD Sender: No OFD packet to send [05:52:09]OFD Sender: No OFD packet to send [05:52:14]OFD Sender: No OFD packet to send [05:52:19]OFD Sender: No OFD packet to send [05:52:24]OFD Sender: No OFD packet to send [05:52:29]OFD Sender: No OFD packet to send [05:52:34]OFD Sender: No OFD packet to send [05:52:39]OFD Sender: No OFD packet to send [05:52:44]OFD Sender: No OFD packet to send [05:52:49]OFD Sender: No OFD packet to send [05:52:54]OFD Sender: No OFD packet to send [05:52:59]OFD Sender: No OFD packet to send [05:53:04]OFD Sender: No OFD packet to send [05:53:09]OFD Sender: No OFD packet to send [05:53:14]OFD Sender: No OFD packet to send [05:53:19]OFD Sender: No OFD packet to send [05:53:24]OFD Sender: No OFD packet to send [05:53:29]OFD Sender: No OFD packet to send [05:53:34]OFD Sender: No OFD packet to send [05:53:39]OFD Sender: No OFD packet to send [05:53:44]OFD Sender: No OFD packet to send [05:53:49]OFD Sender: No OFD packet to send [05:53:54]OFD Sender: No OFD packet to send [05:53:59]OFD Sender: No OFD packet to send [05:54:04]OFD Sender: No OFD packet to send [05:54:09]OFD Sender: No OFD packet to send [05:54:14]OFD Sender: No OFD packet to send [05:54:19]OFD Sender: No OFD packet to send [05:54:24]OFD Sender: No OFD packet to send [05:54:29]OFD Sender: No OFD packet to send [05:54:34]OFD Sender: No OFD packet to send [05:54:39]OFD Sender: No OFD packet to send [05:54:44]OFD Sender: No OFD packet to send [05:54:49]OFD Sender: No OFD packet to send [05:54:54]OFD Sender: No OFD packet to send [05:54:59]OFD Sender: No OFD packet to send [05:55:04]OFD Sender: No OFD packet to send [05:55:09]OFD Sender: No OFD packet to send [05:55:14]OFD Sender: No OFD packet to send [05:55:19]OFD Sender: No OFD packet to send [05:55:24]OFD Sender: No OFD packet to send [05:55:29]OFD Sender: No OFD packet to send [05:55:34]OFD Sender: No OFD packet to send [05:55:39]OFD Sender: No OFD packet to send [05:55:44]OFD Sender: No OFD packet to send [05:55:49]OFD Sender: No OFD packet to send [05:55:54]OFD Sender: No OFD packet to send [05:55:59]OFD Sender: No OFD packet to send [05:56:04]OFD Sender: No OFD packet to send [05:56:09]OFD Sender: No OFD packet to send [05:56:14]OFD Sender: No OFD packet to send [05:56:19]OFD Sender: No OFD packet to send [05:56:24]OFD Sender: No OFD packet to send [05:56:29]OFD Sender: No OFD packet to send [05:56:34]OFD Sender: No OFD packet to send [05:56:39]OFD Sender: No OFD packet to send [05:56:44]OFD Sender: No OFD packet to send [05:56:49]OFD Sender: No OFD packet to send [05:56:54]OFD Sender: No OFD packet to send [05:56:59]OFD Sender: No OFD packet to send [05:57:04]OFD Sender: No OFD packet to send [05:57:09]OFD Sender: No OFD packet to send [05:57:14]OFD Sender: No OFD packet to send [05:57:19]OFD Sender: No OFD packet to send [05:57:24]OFD Sender: No OFD packet to send [05:57:29]OFD Sender: No OFD packet to send [05:57:34]OFD Sender: No OFD packet to send [05:57:39]OFD Sender: No OFD packet to send [05:57:44]OFD Sender: No OFD packet to send [05:57:49]OFD Sender: No OFD packet to send [05:57:54]OFD Sender: No OFD packet to send [05:57:59]OFD Sender: No OFD packet to send [05:58:04]OFD Sender: No OFD packet to send [05:58:09]OFD Sender: No OFD packet to send [05:58:14]OFD Sender: No OFD packet to send [05:58:19]OFD Sender: No OFD packet to send [05:58:24]OFD Sender: No OFD packet to send [05:58:29]OFD Sender: No OFD packet to send [05:58:34]OFD Sender: No OFD packet to send [05:58:39]OFD Sender: No OFD packet to send [05:58:44]OFD Sender: No OFD packet to send [05:58:49]OFD Sender: No OFD packet to send [05:58:54]OFD Sender: No OFD packet to send [05:58:59]OFD Sender: No OFD packet to send [05:59:04]OFD Sender: No OFD packet to send [05:59:09]OFD Sender: No OFD packet to send [05:59:14]OFD Sender: No OFD packet to send [05:59:19]OFD Sender: No OFD packet to send [05:59:24]OFD Sender: No OFD packet to send [05:59:29]OFD Sender: No OFD packet to send [05:59:34]OFD Sender: No OFD packet to send [05:59:39]OFD Sender: No OFD packet to send [05:59:44]OFD Sender: No OFD packet to send [05:59:49]OFD Sender: No OFD packet to send [05:59:54]OFD Sender: No OFD packet to send [05:59:59]OFD Sender: No OFD packet to send [06:00:04]OFD Sender: No OFD packet to send [06:00:09]OFD Sender: No OFD packet to send [06:00:14]OFD Sender: No OFD packet to send [06:00:19]OFD Sender: No OFD packet to send [06:00:24]OFD Sender: No OFD packet to send [06:00:29]OFD Sender: No OFD packet to send [06:00:34]OFD Sender: No OFD packet to send [06:00:39]OFD Sender: No OFD packet to send [06:00:44]OFD Sender: No OFD packet to send [06:00:49]OFD Sender: No OFD packet to send [06:00:54]OFD Sender: No OFD packet to send [06:00:59]OFD Sender: No OFD packet to send [06:01:04]OFD Sender: No OFD packet to send [06:01:09]OFD Sender: No OFD packet to send [06:01:14]OFD Sender: No OFD packet to send [06:01:19]OFD Sender: No OFD packet to send [06:01:24]OFD Sender: No OFD packet to send [06:01:29]OFD Sender: No OFD packet to send [06:01:34]OFD Sender: No OFD packet to send [06:01:39]OFD Sender: No OFD packet to send [06:01:44]OFD Sender: No OFD packet to send [06:01:49]OFD Sender: No OFD packet to send [06:01:54]OFD Sender: No OFD packet to send [06:01:59]OFD Sender: No OFD packet to send [06:02:04]OFD Sender: No OFD packet to send [06:02:09]OFD Sender: No OFD packet to send [06:02:14]OFD Sender: No OFD packet to send [06:02:19]OFD Sender: No OFD packet to send [06:02:24]OFD Sender: No OFD packet to send [06:02:29]OFD Sender: No OFD packet to send [06:02:34]OFD Sender: No OFD packet to send [06:02:39]OFD Sender: No OFD packet to send [06:02:44]OFD Sender: No OFD packet to send [06:02:49]OFD Sender: No OFD packet to send [06:02:54]OFD Sender: No OFD packet to send [06:02:59]OFD Sender: No OFD packet to send [06:03:04]OFD Sender: No OFD packet to send [06:03:09]OFD Sender: No OFD packet to send [06:03:14]OFD Sender: No OFD packet to send [06:03:19]OFD Sender: No OFD packet to send [06:03:24]OFD Sender: No OFD packet to send [06:03:29]OFD Sender: No OFD packet to send [06:03:34]OFD Sender: No OFD packet to send [06:03:39]OFD Sender: No OFD packet to send [06:03:44]OFD Sender: No OFD packet to send [06:03:49]OFD Sender: No OFD packet to send [06:03:54]OFD Sender: No OFD packet to send [06:03:59]OFD Sender: No OFD packet to send [06:04:04]OFD Sender: No OFD packet to send [06:04:09]OFD Sender: No OFD packet to send [06:04:14]OFD Sender: No OFD packet to send [06:04:19]OFD Sender: No OFD packet to send [06:04:24]OFD Sender: No OFD packet to send [06:04:29]OFD Sender: No OFD packet to send [06:04:34]OFD Sender: No OFD packet to send [06:04:39]OFD Sender: No OFD packet to send [06:04:44]OFD Sender: No OFD packet to send [06:04:49]OFD Sender: No OFD packet to send [06:04:54]OFD Sender: No OFD packet to send [06:04:59]OFD Sender: No OFD packet to send [06:05:04]OFD Sender: No OFD packet to send [06:05:09]OFD Sender: No OFD packet to send [06:05:14]OFD Sender: No OFD packet to send [06:05:19]OFD Sender: No OFD packet to send [06:05:24]OFD Sender: No OFD packet to send [06:05:29]OFD Sender: No OFD packet to send [06:05:34]OFD Sender: No OFD packet to send [06:05:39]OFD Sender: No OFD packet to send [06:05:44]OFD Sender: No OFD packet to send [06:05:49]OFD Sender: No OFD packet to send [06:05:54]OFD Sender: No OFD packet to send [06:05:59]OFD Sender: No OFD packet to send [06:06:04]OFD Sender: No OFD packet to send [06:06:09]OFD Sender: No OFD packet to send [06:06:14]OFD Sender: No OFD packet to send [06:06:19]OFD Sender: No OFD packet to send [06:06:24]OFD Sender: No OFD packet to send [06:06:29]OFD Sender: No OFD packet to send [06:06:34]OFD Sender: No OFD packet to send [06:06:39]OFD Sender: No OFD packet to send [06:06:44]OFD Sender: No OFD packet to send [06:06:49]OFD Sender: No OFD packet to send [06:06:54]OFD Sender: No OFD packet to send [06:06:59]OFD Sender: No OFD packet to send [06:07:04]OFD Sender: No OFD packet to send [06:07:09]OFD Sender: No OFD packet to send [06:07:14]OFD Sender: No OFD packet to send [06:07:19]OFD Sender: No OFD packet to send [06:07:24]OFD Sender: No OFD packet to send [06:07:29]OFD Sender: No OFD packet to send [06:07:34]OFD Sender: No OFD packet to send [06:07:39]OFD Sender: No OFD packet to send [06:07:44]OFD Sender: No OFD packet to send [06:07:49]OFD Sender: No OFD packet to send [06:07:54]OFD Sender: No OFD packet to send [06:07:59]OFD Sender: No OFD packet to send [06:08:04]OFD Sender: No OFD packet to send [06:08:09]OFD Sender: No OFD packet to send [06:08:14]OFD Sender: No OFD packet to send [06:08:19]OFD Sender: No OFD packet to send [06:08:24]OFD Sender: No OFD packet to send [06:08:29]OFD Sender: No OFD packet to send [06:08:34]OFD Sender: No OFD packet to send [06:08:39]OFD Sender: No OFD packet to send [06:08:44]OFD Sender: No OFD packet to send [06:08:49]OFD Sender: No OFD packet to send [06:08:55]OFD Sender: No OFD packet to send [06:09:00]OFD Sender: No OFD packet to send [06:09:05]OFD Sender: No OFD packet to send [06:09:10]OFD Sender: No OFD packet to send [06:09:15]OFD Sender: No OFD packet to send [06:09:20]OFD Sender: No OFD packet to send [06:09:25]OFD Sender: No OFD packet to send [06:09:30]OFD Sender: No OFD packet to send [06:09:35]OFD Sender: No OFD packet to send [06:09:40]OFD Sender: No OFD packet to send [06:09:45]OFD Sender: No OFD packet to send [06:09:50]OFD Sender: No OFD packet to send [06:09:55]OFD Sender: No OFD packet to send [06:10:00]OFD Sender: No OFD packet to send [06:10:05]OFD Sender: No OFD packet to send [06:10:10]OFD Sender: No OFD packet to send [06:10:15]OFD Sender: No OFD packet to send [06:10:20]OFD Sender: No OFD packet to send [06:10:25]OFD Sender: No OFD packet to send [06:10:30]OFD Sender: No OFD packet to send [06:10:35]OFD Sender: No OFD packet to send [06:10:40]OFD Sender: No OFD packet to send [06:10:45]OFD Sender: No OFD packet to send [06:10:50]OFD Sender: No OFD packet to send [06:10:55]OFD Sender: No OFD packet to send [06:11:00]OFD Sender: No OFD packet to send [06:11:05]OFD Sender: No OFD packet to send [06:11:10]OFD Sender: No OFD packet to send [06:11:15]OFD Sender: No OFD packet to send [06:11:20]OFD Sender: No OFD packet to send [06:11:25]OFD Sender: No OFD packet to send [06:11:30]OFD Sender: No OFD packet to send [06:11:35]OFD Sender: No OFD packet to send [06:11:40]OFD Sender: No OFD packet to send [06:11:45]OFD Sender: No OFD packet to send [06:11:50]OFD Sender: No OFD packet to send [06:11:55]OFD Sender: No OFD packet to send [06:12:00]OFD Sender: No OFD packet to send [06:12:05]OFD Sender: No OFD packet to send [06:12:10]OFD Sender: No OFD packet to send [06:12:15]OFD Sender: No OFD packet to send [06:12:20]OFD Sender: No OFD packet to send [06:12:25]OFD Sender: No OFD packet to send [06:12:30]OFD Sender: No OFD packet to send [06:12:35]OFD Sender: No OFD packet to send [06:12:40]OFD Sender: No OFD packet to send [06:12:45]OFD Sender: No OFD packet to send [06:12:50]OFD Sender: No OFD packet to send [06:12:55]OFD Sender: No OFD packet to send [06:13:00]OFD Sender: No OFD packet to send [06:13:05]OFD Sender: No OFD packet to send [06:13:10]OFD Sender: No OFD packet to send [06:13:15]OFD Sender: No OFD packet to send [06:13:20]OFD Sender: No OFD packet to send [06:13:25]OFD Sender: No OFD packet to send [06:13:30]OFD Sender: No OFD packet to send [06:13:35]OFD Sender: No OFD packet to send [06:13:40]OFD Sender: No OFD packet to send [06:13:45]OFD Sender: No OFD packet to send [06:13:50]OFD Sender: No OFD packet to send [06:13:55]OFD Sender: No OFD packet to send [06:14:00]OFD Sender: No OFD packet to send [06:14:05]OFD Sender: No OFD packet to send [06:14:10]OFD Sender: No OFD packet to send [06:14:15]OFD Sender: No OFD packet to send [06:14:20]OFD Sender: No OFD packet to send [06:14:25]OFD Sender: No OFD packet to send [06:14:30]OFD Sender: No OFD packet to send [06:14:35]OFD Sender: No OFD packet to send [06:14:40]OFD Sender: No OFD packet to send [06:14:45]OFD Sender: No OFD packet to send [06:14:50]OFD Sender: No OFD packet to send [06:14:55]OFD Sender: No OFD packet to send [06:15:00]OFD Sender: No OFD packet to send [06:15:05]OFD Sender: No OFD packet to send [06:15:10]OFD Sender: No OFD packet to send [06:15:15]OFD Sender: No OFD packet to send [06:15:20]OFD Sender: No OFD packet to send [06:15:25]OFD Sender: No OFD packet to send [06:15:30]OFD Sender: No OFD packet to send [06:15:35]OFD Sender: No OFD packet to send [06:15:40]OFD Sender: No OFD packet to send [06:15:45]OFD Sender: No OFD packet to send [06:15:50]OFD Sender: No OFD packet to send [06:15:55]OFD Sender: No OFD packet to send [06:16:00]OFD Sender: No OFD packet to send [06:16:05]OFD Sender: No OFD packet to send [06:16:10]OFD Sender: No OFD packet to send [06:16:15]OFD Sender: No OFD packet to send [06:16:20]OFD Sender: No OFD packet to send [06:16:25]OFD Sender: No OFD packet to send [06:16:30]OFD Sender: No OFD packet to send [06:16:35]OFD Sender: No OFD packet to send [06:16:40]OFD Sender: No OFD packet to send [06:16:45]OFD Sender: No OFD packet to send [06:16:50]OFD Sender: No OFD packet to send [06:16:55]OFD Sender: No OFD packet to send [06:17:00]OFD Sender: No OFD packet to send [06:17:05]OFD Sender: No OFD packet to send [06:17:10]OFD Sender: No OFD packet to send [06:17:15]OFD Sender: No OFD packet to send [06:17:20]OFD Sender: No OFD packet to send [06:17:25]OFD Sender: No OFD packet to send [06:17:30]OFD Sender: No OFD packet to send [06:17:35]OFD Sender: No OFD packet to send [06:17:40]OFD Sender: No OFD packet to send [06:17:45]OFD Sender: No OFD packet to send [06:17:50]OFD Sender: No OFD packet to send [06:17:55]OFD Sender: No OFD packet to send [06:18:00]OFD Sender: No OFD packet to send [06:18:05]OFD Sender: No OFD packet to send [06:18:10]OFD Sender: No OFD packet to send [06:18:15]OFD Sender: No OFD packet to send [06:18:20]OFD Sender: No OFD packet to send [06:18:25]OFD Sender: No OFD packet to send [06:18:30]OFD Sender: No OFD packet to send [06:18:35]OFD Sender: No OFD packet to send [06:18:40]OFD Sender: No OFD packet to send [06:18:45]OFD Sender: No OFD packet to send [06:18:50]OFD Sender: No OFD packet to send [06:18:55]OFD Sender: No OFD packet to send [06:19:00]OFD Sender: No OFD packet to send [06:19:05]OFD Sender: No OFD packet to send [06:19:10]OFD Sender: No OFD packet to send [06:19:15]OFD Sender: No OFD packet to send [06:19:20]OFD Sender: No OFD packet to send [06:19:25]OFD Sender: No OFD packet to send [06:19:30]OFD Sender: No OFD packet to send [06:19:35]OFD Sender: No OFD packet to send [06:19:40]OFD Sender: No OFD packet to send [06:19:45]OFD Sender: No OFD packet to send [06:19:50]OFD Sender: No OFD packet to send [06:19:55]OFD Sender: No OFD packet to send [06:20:00]OFD Sender: No OFD packet to send [06:20:05]OFD Sender: No OFD packet to send [06:20:10]OFD Sender: No OFD packet to send [06:20:15]OFD Sender: No OFD packet to send [06:20:20]OFD Sender: No OFD packet to send [06:20:25]OFD Sender: No OFD packet to send [06:20:30]OFD Sender: No OFD packet to send [06:20:35]OFD Sender: No OFD packet to send [06:20:40]OFD Sender: No OFD packet to send [06:20:45]OFD Sender: No OFD packet to send [06:20:50]OFD Sender: No OFD packet to send [06:20:55]OFD Sender: No OFD packet to send [06:21:00]OFD Sender: No OFD packet to send [06:21:05]OFD Sender: No OFD packet to send [06:21:10]OFD Sender: No OFD packet to send [06:21:15]OFD Sender: No OFD packet to send [06:21:20]OFD Sender: No OFD packet to send [06:21:25]OFD Sender: No OFD packet to send [06:21:30]OFD Sender: No OFD packet to send [06:21:35]OFD Sender: No OFD packet to send [06:21:40]OFD Sender: No OFD packet to send [06:21:45]OFD Sender: No OFD packet to send [06:21:50]OFD Sender: No OFD packet to send [06:21:55]OFD Sender: No OFD packet to send [06:22:00]OFD Sender: No OFD packet to send [06:22:05]OFD Sender: No OFD packet to send [06:22:10]OFD Sender: No OFD packet to send [06:22:15]OFD Sender: No OFD packet to send [06:22:20]OFD Sender: No OFD packet to send [06:22:25]OFD Sender: No OFD packet to send [06:22:30]OFD Sender: No OFD packet to send [06:22:35]OFD Sender: No OFD packet to send [06:22:40]OFD Sender: No OFD packet to send [06:22:45]OFD Sender: No OFD packet to send [06:22:50]OFD Sender: No OFD packet to send [06:22:55]OFD Sender: No OFD packet to send [06:23:00]OFD Sender: No OFD packet to send [06:23:05]OFD Sender: No OFD packet to send [06:23:10]OFD Sender: No OFD packet to send [06:23:15]OFD Sender: No OFD packet to send [06:23:20]OFD Sender: No OFD packet to send [06:23:25]OFD Sender: No OFD packet to send [06:23:30]OFD Sender: No OFD packet to send [06:23:35]OFD Sender: No OFD packet to send [06:23:40]OFD Sender: No OFD packet to send [06:23:45]OFD Sender: No OFD packet to send [06:23:50]OFD Sender: No OFD packet to send [06:23:55]OFD Sender: No OFD packet to send [06:24:00]OFD Sender: No OFD packet to send [06:24:05]OFD Sender: No OFD packet to send [06:24:10]OFD Sender: No OFD packet to send [06:24:15]OFD Sender: No OFD packet to send [06:24:20]OFD Sender: No OFD packet to send [06:24:25]OFD Sender: No OFD packet to send [06:24:30]OFD Sender: No OFD packet to send [06:24:35]OFD Sender: No OFD packet to send [06:24:40]OFD Sender: No OFD packet to send [06:24:45]OFD Sender: No OFD packet to send [06:24:50]OFD Sender: No OFD packet to send [06:24:55]OFD Sender: No OFD packet to send [06:25:00]OFD Sender: No OFD packet to send [06:25:05]OFD Sender: No OFD packet to send [06:25:10]OFD Sender: No OFD packet to send [06:25:15]OFD Sender: No OFD packet to send [06:25:20]OFD Sender: No OFD packet to send [06:25:25]OFD Sender: No OFD packet to send [06:25:30]OFD Sender: No OFD packet to send [06:25:35]OFD Sender: No OFD packet to send [06:25:40]OFD Sender: No OFD packet to send [06:25:45]OFD Sender: No OFD packet to send [06:25:50]OFD Sender: No OFD packet to send [06:25:55]OFD Sender: No OFD packet to send [06:26:00]OFD Sender: No OFD packet to send [06:26:05]OFD Sender: No OFD packet to send [06:26:10]OFD Sender: No OFD packet to send [06:26:15]OFD Sender: No OFD packet to send [06:26:20]OFD Sender: No OFD packet to send [06:26:25]OFD Sender: No OFD packet to send [06:26:30]OFD Sender: No OFD packet to send [06:26:35]OFD Sender: No OFD packet to send [06:26:40]OFD Sender: No OFD packet to send [06:26:45]OFD Sender: No OFD packet to send [06:26:50]OFD Sender: No OFD packet to send [06:26:55]OFD Sender: No OFD packet to send [06:27:00]OFD Sender: No OFD packet to send [06:27:05]OFD Sender: No OFD packet to send [06:27:10]OFD Sender: No OFD packet to send [06:27:15]OFD Sender: No OFD packet to send [06:27:20]OFD Sender: No OFD packet to send [06:27:25]OFD Sender: No OFD packet to send [06:27:30]OFD Sender: No OFD packet to send [06:27:35]OFD Sender: No OFD packet to send [06:27:40]OFD Sender: No OFD packet to send [06:27:45]OFD Sender: No OFD packet to send [06:27:50]OFD Sender: No OFD packet to send [06:27:55]OFD Sender: No OFD packet to send [06:28:00]OFD Sender: No OFD packet to send [06:28:05]OFD Sender: No OFD packet to send [06:28:10]OFD Sender: No OFD packet to send [06:28:15]OFD Sender: No OFD packet to send [06:28:20]OFD Sender: No OFD packet to send [06:28:25]OFD Sender: No OFD packet to send [06:28:30]OFD Sender: No OFD packet to send [06:28:35]OFD Sender: No OFD packet to send [06:28:40]OFD Sender: No OFD packet to send [06:28:45]OFD Sender: No OFD packet to send [06:28:50]OFD Sender: No OFD packet to send [06:28:55]OFD Sender: No OFD packet to send [06:29:00]OFD Sender: No OFD packet to send [06:29:05]OFD Sender: No OFD packet to send [06:29:10]OFD Sender: No OFD packet to send [06:29:15]OFD Sender: No OFD packet to send [06:29:20]OFD Sender: No OFD packet to send [06:29:25]OFD Sender: No OFD packet to send [06:29:30]OFD Sender: No OFD packet to send [06:29:35]OFD Sender: No OFD packet to send [06:29:40]OFD Sender: No OFD packet to send [06:29:45]OFD Sender: No OFD packet to send [06:29:50]OFD Sender: No OFD packet to send [06:29:55]OFD Sender: No OFD packet to send [06:30:00]OFD Sender: No OFD packet to send [06:30:06]OFD Sender: No OFD packet to send [06:30:11]OFD Sender: No OFD packet to send [06:30:16]OFD Sender: No OFD packet to send [06:30:21]OFD Sender: No OFD packet to send [06:30:26]OFD Sender: No OFD packet to send [06:30:31]OFD Sender: No OFD packet to send [06:30:36]OFD Sender: No OFD packet to send [06:30:41]OFD Sender: No OFD packet to send [06:30:46]OFD Sender: No OFD packet to send [06:30:51]OFD Sender: No OFD packet to send [06:30:56]OFD Sender: No OFD packet to send [06:31:01]OFD Sender: No OFD packet to send [06:31:06]OFD Sender: No OFD packet to send [06:31:11]OFD Sender: No OFD packet to send [06:31:16]OFD Sender: No OFD packet to send [06:31:21]OFD Sender: No OFD packet to send [06:31:26]OFD Sender: No OFD packet to send [06:31:31]OFD Sender: No OFD packet to send [06:31:36]OFD Sender: No OFD packet to send [06:31:41]OFD Sender: No OFD packet to send [06:31:46]OFD Sender: No OFD packet to send [06:31:51]OFD Sender: No OFD packet to send [06:31:56]OFD Sender: No OFD packet to send [06:32:01]OFD Sender: No OFD packet to send [06:32:06]OFD Sender: No OFD packet to send [06:32:11]OFD Sender: No OFD packet to send [06:32:16]OFD Sender: No OFD packet to send [06:32:21]OFD Sender: No OFD packet to send [06:32:26]OFD Sender: No OFD packet to send [06:32:31]OFD Sender: No OFD packet to send [06:32:36]OFD Sender: No OFD packet to send [06:32:41]OFD Sender: No OFD packet to send [06:32:46]OFD Sender: No OFD packet to send [06:32:51]OFD Sender: No OFD packet to send [06:32:56]OFD Sender: No OFD packet to send [06:33:01]OFD Sender: No OFD packet to send [06:33:06]OFD Sender: No OFD packet to send [06:33:11]OFD Sender: No OFD packet to send [06:33:16]OFD Sender: No OFD packet to send [06:33:21]OFD Sender: No OFD packet to send [06:33:26]OFD Sender: No OFD packet to send [06:33:31]OFD Sender: No OFD packet to send [06:33:36]OFD Sender: No OFD packet to send [06:33:41]OFD Sender: No OFD packet to send [06:33:46]OFD Sender: No OFD packet to send [06:33:51]OFD Sender: No OFD packet to send [06:33:56]OFD Sender: No OFD packet to send [06:34:01]OFD Sender: No OFD packet to send [06:34:06]OFD Sender: No OFD packet to send [06:34:11]OFD Sender: No OFD packet to send [06:34:16]OFD Sender: No OFD packet to send [06:34:21]OFD Sender: No OFD packet to send [06:34:26]OFD Sender: No OFD packet to send [06:34:31]OFD Sender: No OFD packet to send [06:34:36]OFD Sender: No OFD packet to send [06:34:41]OFD Sender: No OFD packet to send [06:34:46]OFD Sender: No OFD packet to send [06:34:51]OFD Sender: No OFD packet to send [06:34:56]OFD Sender: No OFD packet to send [06:35:01]OFD Sender: No OFD packet to send [06:35:06]OFD Sender: No OFD packet to send [06:35:11]OFD Sender: No OFD packet to send [06:35:16]OFD Sender: No OFD packet to send [06:35:21]OFD Sender: No OFD packet to send [06:35:26]OFD Sender: No OFD packet to send [06:35:31]OFD Sender: No OFD packet to send [06:35:36]OFD Sender: No OFD packet to send [06:35:41]OFD Sender: No OFD packet to send [06:35:46]OFD Sender: No OFD packet to send [06:35:51]OFD Sender: No OFD packet to send [06:35:56]OFD Sender: No OFD packet to send [06:36:01]OFD Sender: No OFD packet to send [06:36:06]OFD Sender: No OFD packet to send [06:36:11]OFD Sender: No OFD packet to send [06:36:16]OFD Sender: No OFD packet to send [06:36:21]OFD Sender: No OFD packet to send [06:36:26]OFD Sender: No OFD packet to send [06:36:31]OFD Sender: No OFD packet to send [06:36:36]OFD Sender: No OFD packet to send [06:36:41]OFD Sender: No OFD packet to send [06:36:46]OFD Sender: No OFD packet to send [06:36:51]OFD Sender: No OFD packet to send [06:36:56]OFD Sender: No OFD packet to send [06:37:01]OFD Sender: No OFD packet to send [06:37:06]OFD Sender: No OFD packet to send [06:37:11]OFD Sender: No OFD packet to send [06:37:16]OFD Sender: No OFD packet to send [06:37:21]OFD Sender: No OFD packet to send [06:37:26]OFD Sender: No OFD packet to send [06:37:31]OFD Sender: No OFD packet to send [06:37:36]OFD Sender: No OFD packet to send [06:37:41]OFD Sender: No OFD packet to send [06:37:46]OFD Sender: No OFD packet to send [06:37:51]OFD Sender: No OFD packet to send [06:37:56]OFD Sender: No OFD packet to send [06:38:01]OFD Sender: No OFD packet to send [06:38:06]OFD Sender: No OFD packet to send [06:38:11]OFD Sender: No OFD packet to send [06:38:16]OFD Sender: No OFD packet to send [06:38:21]OFD Sender: No OFD packet to send [06:38:26]OFD Sender: No OFD packet to send [06:38:31]OFD Sender: No OFD packet to send [06:38:36]OFD Sender: No OFD packet to send [06:38:41]OFD Sender: No OFD packet to send [06:38:46]OFD Sender: No OFD packet to send [06:38:51]OFD Sender: No OFD packet to send [06:38:56]OFD Sender: No OFD packet to send [06:39:01]OFD Sender: No OFD packet to send [06:39:06]OFD Sender: No OFD packet to send [06:39:11]OFD Sender: No OFD packet to send [06:39:16]OFD Sender: No OFD packet to send [06:39:21]OFD Sender: No OFD packet to send [06:39:26]OFD Sender: No OFD packet to send [06:39:31]OFD Sender: No OFD packet to send [06:39:36]OFD Sender: No OFD packet to send [06:39:41]OFD Sender: No OFD packet to send [06:39:46]OFD Sender: No OFD packet to send [06:39:51]OFD Sender: No OFD packet to send [06:39:56]OFD Sender: No OFD packet to send [06:40:01]OFD Sender: No OFD packet to send [06:40:06]OFD Sender: No OFD packet to send [06:40:11]OFD Sender: No OFD packet to send [06:40:16]OFD Sender: No OFD packet to send [06:40:21]OFD Sender: No OFD packet to send [06:40:26]OFD Sender: No OFD packet to send [06:40:31]OFD Sender: No OFD packet to send [06:40:36]OFD Sender: No OFD packet to send [06:40:41]OFD Sender: No OFD packet to send [06:40:46]OFD Sender: No OFD packet to send [06:40:51]OFD Sender: No OFD packet to send [06:40:56]OFD Sender: No OFD packet to send [06:41:01]OFD Sender: No OFD packet to send [06:41:06]OFD Sender: No OFD packet to send [06:41:11]OFD Sender: No OFD packet to send [06:41:16]OFD Sender: No OFD packet to send [06:41:21]OFD Sender: No OFD packet to send [06:41:26]OFD Sender: No OFD packet to send [06:41:31]OFD Sender: No OFD packet to send [06:41:36]OFD Sender: No OFD packet to send [06:41:41]OFD Sender: No OFD packet to send [06:41:46]OFD Sender: No OFD packet to send [06:41:51]OFD Sender: No OFD packet to send [06:41:56]OFD Sender: No OFD packet to send [06:42:01]OFD Sender: No OFD packet to send [06:42:06]OFD Sender: No OFD packet to send [06:42:11]OFD Sender: No OFD packet to send [06:42:16]OFD Sender: No OFD packet to send [06:42:21]OFD Sender: No OFD packet to send [06:42:26]OFD Sender: No OFD packet to send [06:42:31]OFD Sender: No OFD packet to send [06:42:36]OFD Sender: No OFD packet to send [06:42:41]OFD Sender: No OFD packet to send [06:42:46]OFD Sender: No OFD packet to send [06:42:51]OFD Sender: No OFD packet to send [06:42:56]OFD Sender: No OFD packet to send [06:43:01]OFD Sender: No OFD packet to send [06:43:06]OFD Sender: No OFD packet to send [06:43:11]OFD Sender: No OFD packet to send [06:43:16]OFD Sender: No OFD packet to send [06:43:21]OFD Sender: No OFD packet to send [06:43:26]OFD Sender: No OFD packet to send [06:43:31]OFD Sender: No OFD packet to send [06:43:36]OFD Sender: No OFD packet to send [06:43:41]OFD Sender: No OFD packet to send [06:43:46]OFD Sender: No OFD packet to send [06:43:51]OFD Sender: No OFD packet to send [06:43:56]OFD Sender: No OFD packet to send [06:44:01]OFD Sender: No OFD packet to send [06:44:06]OFD Sender: No OFD packet to send [06:44:11]OFD Sender: No OFD packet to send [06:44:16]OFD Sender: No OFD packet to send [06:44:21]OFD Sender: No OFD packet to send [06:44:26]OFD Sender: No OFD packet to send [06:44:31]OFD Sender: No OFD packet to send [06:44:36]OFD Sender: No OFD packet to send [06:44:41]OFD Sender: No OFD packet to send [06:44:46]OFD Sender: No OFD packet to send [06:44:51]OFD Sender: No OFD packet to send [06:44:56]OFD Sender: No OFD packet to send [06:45:01]OFD Sender: No OFD packet to send [06:45:06]OFD Sender: No OFD packet to send [06:45:11]OFD Sender: No OFD packet to send [06:45:16]OFD Sender: No OFD packet to send [06:45:21]OFD Sender: No OFD packet to send [06:45:26]OFD Sender: No OFD packet to send [06:45:31]OFD Sender: No OFD packet to send [06:45:36]OFD Sender: No OFD packet to send [06:45:41]OFD Sender: No OFD packet to send [06:45:46]OFD Sender: No OFD packet to send [06:45:51]OFD Sender: No OFD packet to send [06:45:56]OFD Sender: No OFD packet to send [06:46:01]OFD Sender: No OFD packet to send [06:46:06]OFD Sender: No OFD packet to send [06:46:11]OFD Sender: No OFD packet to send [06:46:16]OFD Sender: No OFD packet to send [06:46:21]OFD Sender: No OFD packet to send [06:46:26]OFD Sender: No OFD packet to send [06:46:31]OFD Sender: No OFD packet to send [06:46:36]OFD Sender: No OFD packet to send [06:46:41]OFD Sender: No OFD packet to send [06:46:46]OFD Sender: No OFD packet to send [06:46:51]OFD Sender: No OFD packet to send [06:46:56]OFD Sender: No OFD packet to send [06:47:01]OFD Sender: No OFD packet to send [06:47:06]OFD Sender: No OFD packet to send [06:47:11]OFD Sender: No OFD packet to send [06:47:16]OFD Sender: No OFD packet to send [06:47:21]OFD Sender: No OFD packet to send [06:47:26]OFD Sender: No OFD packet to send [06:47:31]OFD Sender: No OFD packet to send [06:47:36]OFD Sender: No OFD packet to send [06:47:41]OFD Sender: No OFD packet to send [06:47:46]OFD Sender: No OFD packet to send [06:47:51]OFD Sender: No OFD packet to send [06:47:56]OFD Sender: No OFD packet to send [06:48:01]OFD Sender: No OFD packet to send [06:48:06]OFD Sender: No OFD packet to send [06:48:11]OFD Sender: No OFD packet to send [06:48:16]OFD Sender: No OFD packet to send [06:48:21]OFD Sender: No OFD packet to send [06:48:26]OFD Sender: No OFD packet to send [06:48:31]OFD Sender: No OFD packet to send [06:48:36]OFD Sender: No OFD packet to send [06:48:41]OFD Sender: No OFD packet to send [06:48:46]OFD Sender: No OFD packet to send [06:48:51]OFD Sender: No OFD packet to send [06:48:56]OFD Sender: No OFD packet to send [06:49:01]OFD Sender: No OFD packet to send [06:49:06]OFD Sender: No OFD packet to send [06:49:11]OFD Sender: No OFD packet to send [06:49:16]OFD Sender: No OFD packet to send [06:49:21]OFD Sender: No OFD packet to send [06:49:26]OFD Sender: No OFD packet to send [06:49:31]OFD Sender: No OFD packet to send [06:49:36]OFD Sender: No OFD packet to send [06:49:41]OFD Sender: No OFD packet to send [06:49:46]OFD Sender: No OFD packet to send [06:49:51]OFD Sender: No OFD packet to send [06:49:56]OFD Sender: No OFD packet to send [06:50:01]OFD Sender: No OFD packet to send [06:50:06]OFD Sender: No OFD packet to send [06:50:11]OFD Sender: No OFD packet to send [06:50:16]OFD Sender: No OFD packet to send [06:50:21]OFD Sender: No OFD packet to send [06:50:26]OFD Sender: No OFD packet to send [06:50:31]OFD Sender: No OFD packet to send [06:50:36]OFD Sender: No OFD packet to send [06:50:41]OFD Sender: No OFD packet to send [06:50:46]OFD Sender: No OFD packet to send [06:50:51]OFD Sender: No OFD packet to send [06:50:56]OFD Sender: No OFD packet to send [06:51:01]OFD Sender: No OFD packet to send [06:51:06]OFD Sender: No OFD packet to send [06:51:11]OFD Sender: No OFD packet to send [06:51:16]OFD Sender: No OFD packet to send [06:51:21]OFD Sender: No OFD packet to send [06:51:26]OFD Sender: No OFD packet to send [06:51:32]OFD Sender: No OFD packet to send [06:51:37]OFD Sender: No OFD packet to send [06:51:42]OFD Sender: No OFD packet to send [06:51:47]OFD Sender: No OFD packet to send [06:51:52]OFD Sender: No OFD packet to send [06:51:57]OFD Sender: No OFD packet to send [06:52:02]OFD Sender: No OFD packet to send [06:52:07]OFD Sender: No OFD packet to send [06:52:12]OFD Sender: No OFD packet to send [06:52:17]OFD Sender: No OFD packet to send [06:52:22]OFD Sender: No OFD packet to send [06:52:27]OFD Sender: No OFD packet to send [06:52:32]OFD Sender: No OFD packet to send [06:52:37]OFD Sender: No OFD packet to send [06:52:42]OFD Sender: No OFD packet to send [06:52:47]OFD Sender: No OFD packet to send [06:52:52]OFD Sender: No OFD packet to send [06:52:57]OFD Sender: No OFD packet to send [06:53:02]OFD Sender: No OFD packet to send [06:53:07]OFD Sender: No OFD packet to send [06:53:12]OFD Sender: No OFD packet to send [06:53:17]OFD Sender: No OFD packet to send [06:53:22]OFD Sender: No OFD packet to send [06:53:27]OFD Sender: No OFD packet to send [06:53:32]OFD Sender: No OFD packet to send [06:53:37]OFD Sender: No OFD packet to send [06:53:42]OFD Sender: No OFD packet to send [06:53:47]OFD Sender: No OFD packet to send [06:53:52]OFD Sender: No OFD packet to send [06:53:57]OFD Sender: No OFD packet to send [06:54:02]OFD Sender: No OFD packet to send [06:54:07]OFD Sender: No OFD packet to send [06:54:12]OFD Sender: No OFD packet to send [06:54:17]OFD Sender: No OFD packet to send [06:54:22]OFD Sender: No OFD packet to send [06:54:27]OFD Sender: No OFD packet to send [06:54:32]OFD Sender: No OFD packet to send [06:54:37]OFD Sender: No OFD packet to send [06:54:42]OFD Sender: No OFD packet to send [06:54:47]OFD Sender: No OFD packet to send [06:54:52]OFD Sender: No OFD packet to send [06:54:57]OFD Sender: No OFD packet to send [06:55:02]OFD Sender: No OFD packet to send [06:55:07]OFD Sender: No OFD packet to send [06:55:12]OFD Sender: No OFD packet to send [06:55:17]OFD Sender: No OFD packet to send [06:55:22]OFD Sender: No OFD packet to send [06:55:27]OFD Sender: No OFD packet to send [06:55:32]OFD Sender: No OFD packet to send [06:55:37]OFD Sender: No OFD packet to send [06:55:42]OFD Sender: No OFD packet to send [06:55:47]OFD Sender: No OFD packet to send [06:55:52]OFD Sender: No OFD packet to send [06:55:57]OFD Sender: No OFD packet to send [06:56:02]OFD Sender: No OFD packet to send [06:56:07]OFD Sender: No OFD packet to send [06:56:12]OFD Sender: No OFD packet to send [06:56:17]OFD Sender: No OFD packet to send [06:56:22]OFD Sender: No OFD packet to send [06:56:27]OFD Sender: No OFD packet to send [06:56:32]OFD Sender: No OFD packet to send [06:56:37]OFD Sender: No OFD packet to send [06:56:42]OFD Sender: No OFD packet to send [06:56:47]OFD Sender: No OFD packet to send [06:56:52]OFD Sender: No OFD packet to send [06:56:57]OFD Sender: No OFD packet to send [06:57:02]OFD Sender: No OFD packet to send [06:57:07]OFD Sender: No OFD packet to send [06:57:12]OFD Sender: No OFD packet to send [06:57:17]OFD Sender: No OFD packet to send [06:57:22]OFD Sender: No OFD packet to send [06:57:27]OFD Sender: No OFD packet to send [06:57:32]OFD Sender: No OFD packet to send [06:57:37]OFD Sender: No OFD packet to send [06:57:42]OFD Sender: No OFD packet to send [06:57:47]OFD Sender: No OFD packet to send [06:57:52]OFD Sender: No OFD packet to send [06:57:57]OFD Sender: No OFD packet to send [06:58:02]OFD Sender: No OFD packet to send [06:58:07]OFD Sender: No OFD packet to send [06:58:12]OFD Sender: No OFD packet to send [06:58:17]OFD Sender: No OFD packet to send [06:58:22]OFD Sender: No OFD packet to send [06:58:27]OFD Sender: No OFD packet to send [06:58:32]OFD Sender: No OFD packet to send [06:58:37]OFD Sender: No OFD packet to send [06:58:42]OFD Sender: No OFD packet to send [06:58:47]OFD Sender: No OFD packet to send [06:58:52]OFD Sender: No OFD packet to send [06:58:57]OFD Sender: No OFD packet to send [06:59:02]OFD Sender: No OFD packet to send [06:59:07]OFD Sender: No OFD packet to send [06:59:12]OFD Sender: No OFD packet to send [06:59:17]OFD Sender: No OFD packet to send [06:59:22]OFD Sender: No OFD packet to send [06:59:27]OFD Sender: No OFD packet to send [06:59:32]OFD Sender: No OFD packet to send [06:59:37]OFD Sender: No OFD packet to send [06:59:42]OFD Sender: No OFD packet to send [06:59:47]OFD Sender: No OFD packet to send [06:59:52]OFD Sender: No OFD packet to send [06:59:57]OFD Sender: No OFD packet to send [07:00:02]OFD Sender: No OFD packet to send [07:00:07]OFD Sender: No OFD packet to send [07:00:12]OFD Sender: No OFD packet to send [07:00:17]OFD Sender: No OFD packet to send [07:00:22]OFD Sender: No OFD packet to send [07:00:27]OFD Sender: No OFD packet to send [07:00:32]OFD Sender: No OFD packet to send [07:00:37]OFD Sender: No OFD packet to send [07:00:42]OFD Sender: No OFD packet to send [07:00:47]OFD Sender: No OFD packet to send [07:00:52]OFD Sender: No OFD packet to send [07:00:57]OFD Sender: No OFD packet to send [07:01:02]OFD Sender: No OFD packet to send [07:01:07]OFD Sender: No OFD packet to send [07:01:12]OFD Sender: No OFD packet to send [07:01:17]OFD Sender: No OFD packet to send [07:01:22]OFD Sender: No OFD packet to send [07:01:27]OFD Sender: No OFD packet to send [07:01:32]OFD Sender: No OFD packet to send [07:01:37]OFD Sender: No OFD packet to send [07:01:42]OFD Sender: No OFD packet to send [07:01:47]OFD Sender: No OFD packet to send [07:01:52]OFD Sender: No OFD packet to send [07:01:57]OFD Sender: No OFD packet to send [07:02:02]OFD Sender: No OFD packet to send [07:02:07]OFD Sender: No OFD packet to send [07:02:12]OFD Sender: No OFD packet to send [07:02:17]OFD Sender: No OFD packet to send [07:02:22]OFD Sender: No OFD packet to send [07:02:27]OFD Sender: No OFD packet to send [07:02:32]OFD Sender: No OFD packet to send [07:02:37]OFD Sender: No OFD packet to send [07:02:42]OFD Sender: No OFD packet to send [07:02:47]OFD Sender: No OFD packet to send [07:02:52]OFD Sender: No OFD packet to send [07:02:57]OFD Sender: No OFD packet to send [07:03:02]OFD Sender: No OFD packet to send [07:03:07]OFD Sender: No OFD packet to send [07:03:12]OFD Sender: No OFD packet to send [07:03:17]OFD Sender: No OFD packet to send [07:03:22]OFD Sender: No OFD packet to send [07:03:27]OFD Sender: No OFD packet to send [07:03:32]OFD Sender: No OFD packet to send [07:03:37]OFD Sender: No OFD packet to send [07:03:42]OFD Sender: No OFD packet to send [07:03:47]OFD Sender: No OFD packet to send [07:03:52]OFD Sender: No OFD packet to send [07:03:57]OFD Sender: No OFD packet to send [07:04:02]OFD Sender: No OFD packet to send [07:04:07]OFD Sender: No OFD packet to send [07:04:12]OFD Sender: No OFD packet to send [07:04:17]OFD Sender: No OFD packet to send [07:04:22]OFD Sender: No OFD packet to send [07:04:27]OFD Sender: No OFD packet to send [07:04:32]OFD Sender: No OFD packet to send [07:04:37]OFD Sender: No OFD packet to send [07:04:42]OFD Sender: No OFD packet to send [07:04:47]OFD Sender: No OFD packet to send [07:04:52]OFD Sender: No OFD packet to send [07:04:57]OFD Sender: No OFD packet to send [07:05:02]OFD Sender: No OFD packet to send [07:05:07]OFD Sender: No OFD packet to send [07:05:09]accept exits with 8 [07:05:09]New connection [07:05:09]New thread 3067100516 created [07:05:09]Thread 3067243876 joined [07:05:09]Waiting for new connection... [07:05:09] Sock 8.Parse request [07:05:09]Sock 8.Check first char [07:05:09]Sock 8.First char is OK [07:05:09]request: POST /json_proto HTTP/1.0 [07:05:09]Method: POST [07:05:09]URL: /json_proto [07:05:09]Method is POST - this is cgi request [07:05:09]url: /json_proto [07:05:09]query_string will be loaded in cgi processing [07:05:09]execute_cgi json_proto POST (null) [07:05:09]execute_cgi path=json_proto method=POST [07:05:09]POST find Content-Length [07:05:09]Host: 172.17.62.6:8080 [07:05:09]Content-Length: 215 [07:05:09]Content-Type: application/json [07:05:09] [07:05:09]POST finish read [07:05:09]Found Content-Length = 215 [07:05:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:05:09]execute_script... [07:05:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:05:09]POST & json_proto [07:05:09]process_json_proto [07:05:09]json parsed OK: [07:05:09]protocol is kg_v1.0 [07:05:09]action value=get_value [07:05:09]process_action get_value [07:05:09]cmd_get_value [07:05:09]process_action get_value done [07:05:09]requested_data is exist [07:05:09]produce_requested_data [07:05:09]requested_item kkm.sn is exist - process it [07:05:09]requested_item kkm.ver is exist - process it [07:05:09]requested_item fm.sn is exist - process it [07:05:09]wFMCommunicate request_size=4 [07:05:09]MH_SAM_APDU [07:05:09]CAPDU: 80 11 00 00 [07:05:09]Write to MH i2c: E2 08 00 6C 25 80 11 00 00 00 00 00 00 0B [07:05:09]Write i2c OK [07:05:09]MH_I2C_Read... [07:05:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:05:09]Read from MH i2c: E2 [07:05:09]MH_I2C_Read... [07:05:09]Read from MH i2c: E2 17 00 [07:05:09]MH_I2C_Read... [07:05:09]Read from MH i2c: E2 17 00 6C 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 65 [07:05:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [07:05:09]wFMCommunicate OK [07:05:09]requested_item fd.num is exist - process it [07:05:09]SAM_PROTO_GetFieldsCounters [07:05:09]wFMCommunicate request_size=4 [07:05:09]MH_SAM_APDU [07:05:09]CAPDU: 80 13 00 00 [07:05:09]Write to MH i2c: E2 08 00 6D 25 80 13 00 00 00 00 00 00 0E [07:05:09]Write i2c OK [07:05:09]MH_I2C_Read... [07:05:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:05:09]Read from MH i2c: E2 [07:05:09]MH_I2C_Read... [07:05:09]Read from MH i2c: E2 62 00 [07:05:09]MH_I2C_Read... [07:05:09]Read from MH i2c: E2 62 00 6D 25 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 D6 30 00 00 0E 04 04 00 17 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 5B [07:05:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 D6 30 00 00 0E 04 04 00 17 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 [07:05:09]wFMCommunicate OK [07:05:09]SAM_PROTO_GetFieldsCounters done [07:05:09]requested_item shift.num is exist - process it [07:05:09]requested_item shift.opened is exist - process it [07:05:09]req_shift_opened [07:05:09]FM_GetShiftState [07:05:09]SAM_PROTO_GetShiftState [07:05:09]wFMCommunicate request_size=4 [07:05:09]MH_SAM_APDU [07:05:09]CAPDU: 80 13 01 00 [07:05:09]Write to MH i2c: E2 08 00 6E 25 80 13 01 00 00 00 00 00 10 [07:05:09]Write i2c OK [07:05:09]MH_I2C_Read... [07:05:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:05:09]Read from MH i2c: E2 [07:05:09]MH_I2C_Read... [07:05:09]Read from MH i2c: E2 0E 00 [07:05:09]MH_I2C_Read... [07:05:09]Read from MH i2c: E2 0E 00 6E 25 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 06 [07:05:09]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [07:05:09]wFMCommunicate OK [07:05:09]SAM_PROTO_GetShiftState done [07:05:09]FM_GetShiftState done [07:05:09]req_shift_opened done [07:05:09]requested_item shift.open_date is exist - process it [07:05:09]req_shift_open_date [07:05:09]req_shift_open_date done [07:05:09]produce_requested_data done [07:05:09]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12502,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [07:05:09]process_action_free get_value [07:05:09]json_value_free [07:05:09]json_value_free done [07:05:09]process_json_proto returns [07:05:09]Send response to host [07:05:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12502,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [07:05:09]free response buf [07:05:09]execute_script done [07:05:09]execute_script returns [07:05:09]free content buf [07:05:09]Sock 8.Close socket [07:05:09]Sock 8.Thread stoped [07:05:09]accept exits with 10 [07:05:09]New connection [07:05:09]New thread 3067243876 created [07:05:09]Thread 3067100516 joined [07:05:09]Waiting for new connection... [07:05:09] Sock 10.Parse request [07:05:09]Sock 10.Check first char [07:05:09]Sock 10.First char is OK [07:05:09]request: POST /json_proto HTTP/1.0 [07:05:09]Method: POST [07:05:09]URL: /json_proto [07:05:09]Method is POST - this is cgi request [07:05:09]url: /json_proto [07:05:09]query_string will be loaded in cgi processing [07:05:09]execute_cgi json_proto POST (null) [07:05:09]execute_cgi path=json_proto method=POST [07:05:09]POST find Content-Length [07:05:09]Host: 172.17.62.6:8080 [07:05:09]Content-Length: 331 [07:05:09]Content-Type: application/json [07:05:09] [07:05:09]POST finish read [07:05:09]Found Content-Length = 331 [07:05:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [07:05:09]execute_script... [07:05:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [07:05:09]POST & json_proto [07:05:09]process_json_proto [07:05:09]json parsed OK: [07:05:09]protocol is kg_v1.0 [07:05:09]action value=get_value [07:05:09]process_action get_value [07:05:09]cmd_get_value [07:05:09]process_action get_value done [07:05:09]requested_data is exist [07:05:09]produce_requested_data [07:05:09]requested_item fm.sale.total is exist - process it [07:05:09]SAM_PROTO_GetFMData [07:05:09]wFMCommunicate request_size=4 [07:05:09]MH_SAM_APDU [07:05:09]CAPDU: 80 13 03 00 [07:05:09]Write to MH i2c: E2 08 00 6F 25 80 13 03 00 00 00 00 00 13 [07:05:09]Write i2c OK [07:05:09]MH_I2C_Read... [07:05:10]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [07:05:10]Read from MH i2c: E2 [07:05:10]MH_I2C_Read... [07:05:10]Read from MH i2c: E2 FD 00 [07:05:10]MH_I2C_Read... [07:05:10]Read from MH i2c: E2 FD 00 6F 25 00 C1 04 85 04 BD 04 6E 04 04 00 A8 2E 00 00 69 04 A0 00 6F 04 04 00 5C 2E 00 00 B1 04 04 00 87 3B A5 0E 70 04 04 00 8A 6C A2 0C 72 04 04 00 FD CE 02 02 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 F6 24 8E 01 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 AD 29 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 2F [07:05:10]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 A8 2E 00 00 69 04 A0 00 6F 04 04 00 5C 2E 00 00 B1 04 04 00 87 3B A5 0E 70 04 04 00 8A 6C A2 0C 72 04 04 00 FD CE 02 02 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 F6 24 8E 01 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 AD 29 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 [07:05:10]wFMCommunicate OK [07:05:10]wFMCommunicate request_size=4 [07:05:10]MH_SAM_APDU [07:05:10]CAPDU: 80 17 00 00 [07:05:10]Write to MH i2c: E2 08 00 70 25 80 17 00 00 00 00 00 00 15 [07:05:10]Write i2c OK [07:05:10]MH_I2C_Read... [07:05:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:05:10]Read from MH i2c: E2 [07:05:10]MH_I2C_Read... [07:05:10]Read from MH i2c: E2 FD 00 [07:05:10]MH_I2C_Read... [07:05:10]Read from MH i2c: E2 FD 00 70 25 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B3 [07:05:10]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [07:05:10]wFMCommunicate OK [07:05:10]wFMCommunicate request_size=4 [07:05:10]MH_SAM_APDU [07:05:10]CAPDU: 80 17 00 00 [07:05:10]Write to MH i2c: E2 08 00 71 25 80 17 00 00 00 00 00 00 16 [07:05:10]Write i2c OK [07:05:10]MH_I2C_Read... [07:05:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:05:10]Read from MH i2c: E2 [07:05:10]MH_I2C_Read... [07:05:10]Read from MH i2c: E2 FD 00 [07:05:10]MH_I2C_Read... [07:05:10]Read from MH i2c: E2 FD 00 71 25 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B6 [07:05:10]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [07:05:10]wFMCommunicate OK [07:05:10]wFMCommunicate request_size=4 [07:05:10]MH_SAM_APDU [07:05:10]CAPDU: 80 17 00 00 [07:05:10]Write to MH i2c: E2 08 00 72 25 80 17 00 00 00 00 00 00 17 [07:05:10]Write i2c OK [07:05:10]MH_I2C_Read... [07:05:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:05:11]Read from MH i2c: E2 [07:05:11]MH_I2C_Read... [07:05:11]Read from MH i2c: E2 FD 00 [07:05:11]MH_I2C_Read... [07:05:11]Read from MH i2c: E2 FD 00 72 25 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 9C [07:05:11]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [07:05:11]wFMCommunicate OK [07:05:11]wFMCommunicate request_size=4 [07:05:11]MH_SAM_APDU [07:05:11]CAPDU: 80 17 00 00 [07:05:11]Write to MH i2c: E2 08 00 73 25 80 17 00 00 00 00 00 00 18 [07:05:11]Write i2c OK [07:05:11]MH_I2C_Read... [07:05:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [07:05:11]Read from MH i2c: E2 [07:05:11]MH_I2C_Read... [07:05:11]Read from MH i2c: E2 DE 00 [07:05:11]MH_I2C_Read... [07:05:11]Read from MH i2c: E2 DE 00 73 25 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F7 [07:05:11]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [07:05:11]wFMCommunicate OK [07:05:11]SAM_PROTO_GetFMData done [07:05:11]requested_item fm.sale_refund.total is exist - process it [07:05:11]requested_item fm.buy.total is exist - process it [07:05:11]requested_item shift.sale.total is exist - process it [07:05:11]SAM_PROTO_GetShiftData [07:05:11]wFMCommunicate request_size=4 [07:05:11]MH_SAM_APDU [07:05:11]CAPDU: 80 13 02 00 [07:05:11]Write to MH i2c: E2 08 00 74 25 80 13 02 00 00 00 00 00 17 [07:05:11]Write i2c OK [07:05:11]MH_I2C_Read... [07:05:11]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [07:05:11]Read from MH i2c: E2 [07:05:11]MH_I2C_Read... [07:05:11]Read from MH i2c: E2 FD 00 [07:05:11]MH_I2C_Read... [07:05:11]Read from MH i2c: E2 FD 00 74 25 00 AA 04 AA 04 A6 04 6E 04 04 00 04 00 00 00 69 04 97 00 6F 04 04 00 04 00 00 00 B1 04 03 00 10 3A 01 70 04 03 00 10 3A 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 59 21 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 C7 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 90 00 99 [07:05:11]RAPDU: AA 04 AA 04 A6 04 6E 04 04 00 04 00 00 00 69 04 97 00 6F 04 04 00 04 00 00 00 B1 04 03 00 10 3A 01 70 04 03 00 10 3A 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 59 21 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 C7 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 90 00 [07:05:11]wFMCommunicate OK [07:05:11]wFMCommunicate request_size=4 [07:05:11]MH_SAM_APDU [07:05:11]CAPDU: 80 17 00 00 [07:05:11]Write to MH i2c: E2 08 00 75 25 80 17 00 00 00 00 00 00 1A [07:05:11]Write i2c OK [07:05:11]MH_I2C_Read... [07:05:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:05:12]Read from MH i2c: E2 [07:05:12]MH_I2C_Read... [07:05:12]Read from MH i2c: E2 FD 00 [07:05:12]MH_I2C_Read... [07:05:12]Read from MH i2c: E2 FD 00 75 25 00 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 40 [07:05:12]RAPDU: 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [07:05:12]wFMCommunicate OK [07:05:12]wFMCommunicate request_size=4 [07:05:12]MH_SAM_APDU [07:05:12]CAPDU: 80 17 00 00 [07:05:12]Write to MH i2c: E2 08 00 76 25 80 17 00 00 00 00 00 00 1B [07:05:12]Write i2c OK [07:05:12]MH_I2C_Read... [07:05:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:05:12]Read from MH i2c: E2 [07:05:12]MH_I2C_Read... [07:05:12]Read from MH i2c: E2 FD 00 [07:05:12]MH_I2C_Read... [07:05:12]Read from MH i2c: E2 FD 00 76 25 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CE [07:05:12]RAPDU: EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [07:05:12]wFMCommunicate OK [07:05:12]wFMCommunicate request_size=4 [07:05:12]MH_SAM_APDU [07:05:12]CAPDU: 80 17 00 00 [07:05:12]Write to MH i2c: E2 08 00 77 25 80 17 00 00 00 00 00 00 1C [07:05:12]Write i2c OK [07:05:12]MH_I2C_Read... [07:05:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:05:12]Read from MH i2c: E2 [07:05:12]MH_I2C_Read... [07:05:12]Read from MH i2c: E2 FD 00 [07:05:12]MH_I2C_Read... [07:05:12]Read from MH i2c: E2 FD 00 77 25 00 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 90 00 8E [07:05:12]RAPDU: 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 90 00 [07:05:12]wFMCommunicate OK [07:05:12]wFMCommunicate request_size=4 [07:05:12]MH_SAM_APDU [07:05:12]CAPDU: 80 17 00 00 [07:05:12]Write to MH i2c: E2 08 00 78 25 80 17 00 00 00 00 00 00 1D [07:05:12]OFD Sender: No OFD packet to send [07:05:12]Write i2c OK [07:05:12]MH_I2C_Read... [07:05:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 196! [07:05:13]Read from MH i2c: E2 [07:05:13]MH_I2C_Read... [07:05:13]Read from MH i2c: E2 C7 00 [07:05:13]MH_I2C_Read... [07:05:13]Read from MH i2c: E2 C7 00 78 25 00 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 10 [07:05:13]RAPDU: 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [07:05:13]wFMCommunicate OK [07:05:13]SAM_PROTO_GetShiftData done [07:05:13]requested_item shift.sale.total_cash is exist - process it [07:05:13]requested_item shift.sale_refund.total is exist - process it [07:05:13]requested_item shift.sale_refund.total_cash is exist - process it [07:05:13]requested_item shift.buy.total is exist - process it [07:05:13]requested_item shift.buy.total_cash is exist - process it [07:05:13]produce_requested_data done [07:05:13]produce_requested_data return {"fm.sale.total":2457097.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":804.00,"shift.sale.total_cash":804.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [07:05:13]process_action_free get_value [07:05:13]json_value_free [07:05:13]json_value_free done [07:05:13]process_json_proto returns [07:05:13]Send response to host [07:05:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2457097.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":804.00,"shift.sale.total_cash":804.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [07:05:13]free response buf [07:05:13]execute_script done [07:05:13]execute_script returns [07:05:13]free content buf [07:05:13]Sock 10.Close socket [07:05:13]Sock 10.Thread stoped [07:05:17]OFD Sender: No OFD packet to send [07:05:18]accept exits with 8 [07:05:18]New connection [07:05:18]New thread 3067100516 created [07:05:18]Thread 3067243876 joined [07:05:18]Waiting for new connection... [07:05:18] Sock 8.Parse request [07:05:18]Sock 8.Check first char [07:05:18]Sock 8.First char is OK [07:05:18]request: POST /json_proto HTTP/1.0 [07:05:18]Method: POST [07:05:18]URL: /json_proto [07:05:18]Method is POST - this is cgi request [07:05:18]url: /json_proto [07:05:18]query_string will be loaded in cgi processing [07:05:18]execute_cgi json_proto POST (null) [07:05:18]execute_cgi path=json_proto method=POST [07:05:18]POST find Content-Length [07:05:18]Host: 172.17.62.6:8080 [07:05:18]Content-Length: 215 [07:05:18]Content-Type: application/json [07:05:18] [07:05:18]POST finish read [07:05:18]Found Content-Length = 215 [07:05:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:05:18]execute_script... [07:05:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:05:18]POST & json_proto [07:05:18]process_json_proto [07:05:18]json parsed OK: [07:05:18]protocol is kg_v1.0 [07:05:18]action value=get_value [07:05:18]process_action get_value [07:05:18]cmd_get_value [07:05:18]process_action get_value done [07:05:18]requested_data is exist [07:05:18]produce_requested_data [07:05:18]requested_item kkm.sn is exist - process it [07:05:18]requested_item kkm.ver is exist - process it [07:05:18]requested_item fm.sn is exist - process it [07:05:18]wFMCommunicate request_size=4 [07:05:18]MH_SAM_APDU [07:05:18]CAPDU: 80 11 00 00 [07:05:18]Write to MH i2c: E2 08 00 79 25 80 11 00 00 00 00 00 00 18 [07:05:18]Write i2c OK [07:05:18]MH_I2C_Read... [07:05:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:05:18]Read from MH i2c: E2 [07:05:18]MH_I2C_Read... [07:05:18]Read from MH i2c: E2 17 00 [07:05:18]MH_I2C_Read... [07:05:18]Read from MH i2c: E2 17 00 79 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 72 [07:05:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [07:05:18]wFMCommunicate OK [07:05:18]requested_item fd.num is exist - process it [07:05:18]SAM_PROTO_GetFieldsCounters [07:05:18]wFMCommunicate request_size=4 [07:05:18]MH_SAM_APDU [07:05:18]CAPDU: 80 13 00 00 [07:05:18]Write to MH i2c: E2 08 00 7A 25 80 13 00 00 00 00 00 00 1B [07:05:18]Write i2c OK [07:05:18]MH_I2C_Read... [07:05:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:05:18]Read from MH i2c: E2 [07:05:18]MH_I2C_Read... [07:05:18]Read from MH i2c: E2 62 00 [07:05:18]MH_I2C_Read... [07:05:18]Read from MH i2c: E2 62 00 7A 25 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 D6 30 00 00 0E 04 04 00 17 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 68 [07:05:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 D6 30 00 00 0E 04 04 00 17 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 [07:05:19]wFMCommunicate OK [07:05:19]SAM_PROTO_GetFieldsCounters done [07:05:19]requested_item shift.num is exist - process it [07:05:19]requested_item shift.opened is exist - process it [07:05:19]req_shift_opened [07:05:19]FM_GetShiftState [07:05:19]SAM_PROTO_GetShiftState [07:05:19]wFMCommunicate request_size=4 [07:05:19]MH_SAM_APDU [07:05:19]CAPDU: 80 13 01 00 [07:05:19]Write to MH i2c: E2 08 00 7B 25 80 13 01 00 00 00 00 00 1D [07:05:19]Write i2c OK [07:05:19]MH_I2C_Read... [07:05:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:05:19]Read from MH i2c: E2 [07:05:19]MH_I2C_Read... [07:05:19]Read from MH i2c: E2 0E 00 [07:05:19]MH_I2C_Read... [07:05:19]Read from MH i2c: E2 0E 00 7B 25 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 13 [07:05:19]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [07:05:19]wFMCommunicate OK [07:05:19]SAM_PROTO_GetShiftState done [07:05:19]FM_GetShiftState done [07:05:19]req_shift_opened done [07:05:19]requested_item shift.open_date is exist - process it [07:05:19]req_shift_open_date [07:05:19]req_shift_open_date done [07:05:19]produce_requested_data done [07:05:19]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12502,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [07:05:19]process_action_free get_value [07:05:19]json_value_free [07:05:19]json_value_free done [07:05:19]process_json_proto returns [07:05:19]Send response to host [07:05:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12502,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [07:05:19]free response buf [07:05:19]execute_script done [07:05:19]execute_script returns [07:05:19]free content buf [07:05:19]Sock 8.Close socket [07:05:19]Sock 8.Thread stoped [07:05:19]accept exits with 9 [07:05:19]New connection [07:05:19]New thread 3067243876 created [07:05:19]Thread 3067100516 joined [07:05:19]Waiting for new connection... [07:05:19] Sock 9.Parse request [07:05:19]Sock 9.Check first char [07:05:19]Sock 9.First char is OK [07:05:19]request: POST /json_proto HTTP/1.0 [07:05:19]Method: POST [07:05:19]URL: /json_proto [07:05:19]Method is POST - this is cgi request [07:05:19]url: /json_proto [07:05:19]query_string will be loaded in cgi processing [07:05:19]execute_cgi json_proto POST (null) [07:05:19]execute_cgi path=json_proto method=POST [07:05:19]POST find Content-Length [07:05:19]Host: 172.17.62.6:8080 [07:05:19]Content-Length: 331 [07:05:19]Content-Type: application/json [07:05:19] [07:05:19]POST finish read [07:05:19]Found Content-Length = 331 [07:05:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [07:05:19]execute_script... [07:05:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [07:05:19]POST & json_proto [07:05:19]process_json_proto [07:05:19]json parsed OK: [07:05:19]protocol is kg_v1.0 [07:05:19]action value=get_value [07:05:19]process_action get_value [07:05:19]cmd_get_value [07:05:19]process_action get_value done [07:05:19]requested_data is exist [07:05:19]produce_requested_data [07:05:19]requested_item fm.sale.total is exist - process it [07:05:19]SAM_PROTO_GetFMData [07:05:19]wFMCommunicate request_size=4 [07:05:19]MH_SAM_APDU [07:05:19]CAPDU: 80 13 03 00 [07:05:19]Write to MH i2c: E2 08 00 7C 25 80 13 03 00 00 00 00 00 20 [07:05:19]Write i2c OK [07:05:19]MH_I2C_Read... [07:05:19]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [07:05:19]Read from MH i2c: E2 [07:05:19]MH_I2C_Read... [07:05:19]Read from MH i2c: E2 FD 00 [07:05:19]MH_I2C_Read... [07:05:19]Read from MH i2c: E2 FD 00 7C 25 00 C1 04 85 04 BD 04 6E 04 04 00 A8 2E 00 00 69 04 A0 00 6F 04 04 00 5C 2E 00 00 B1 04 04 00 87 3B A5 0E 70 04 04 00 8A 6C A2 0C 72 04 04 00 FD CE 02 02 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 F6 24 8E 01 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 AD 29 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 3C [07:05:19]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 A8 2E 00 00 69 04 A0 00 6F 04 04 00 5C 2E 00 00 B1 04 04 00 87 3B A5 0E 70 04 04 00 8A 6C A2 0C 72 04 04 00 FD CE 02 02 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 F6 24 8E 01 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 AD 29 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 [07:05:19]wFMCommunicate OK [07:05:19]wFMCommunicate request_size=4 [07:05:19]MH_SAM_APDU [07:05:19]CAPDU: 80 17 00 00 [07:05:19]Write to MH i2c: E2 08 00 7D 25 80 17 00 00 00 00 00 00 22 [07:05:19]Write i2c OK [07:05:19]MH_I2C_Read... [07:05:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:05:19]Read from MH i2c: E2 [07:05:19]MH_I2C_Read... [07:05:19]Read from MH i2c: E2 FD 00 [07:05:19]MH_I2C_Read... [07:05:19]Read from MH i2c: E2 FD 00 7D 25 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C0 [07:05:19]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [07:05:19]wFMCommunicate OK [07:05:19]wFMCommunicate request_size=4 [07:05:19]MH_SAM_APDU [07:05:19]CAPDU: 80 17 00 00 [07:05:19]Write to MH i2c: E2 08 00 7E 25 80 17 00 00 00 00 00 00 23 [07:05:19]Write i2c OK [07:05:19]MH_I2C_Read... [07:05:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:05:20]Read from MH i2c: E2 [07:05:20]MH_I2C_Read... [07:05:20]Read from MH i2c: E2 FD 00 [07:05:20]MH_I2C_Read... [07:05:20]Read from MH i2c: E2 FD 00 7E 25 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C3 [07:05:20]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [07:05:20]wFMCommunicate OK [07:05:20]wFMCommunicate request_size=4 [07:05:20]MH_SAM_APDU [07:05:20]CAPDU: 80 17 00 00 [07:05:20]Write to MH i2c: E2 08 00 7F 25 80 17 00 00 00 00 00 00 24 [07:05:20]Write i2c OK [07:05:20]MH_I2C_Read... [07:05:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:05:20]Read from MH i2c: E2 [07:05:20]MH_I2C_Read... [07:05:20]Read from MH i2c: E2 FD 00 [07:05:20]MH_I2C_Read... [07:05:20]Read from MH i2c: E2 FD 00 7F 25 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A9 [07:05:20]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [07:05:20]wFMCommunicate OK [07:05:20]wFMCommunicate request_size=4 [07:05:20]MH_SAM_APDU [07:05:20]CAPDU: 80 17 00 00 [07:05:20]Write to MH i2c: E2 08 00 80 25 80 17 00 00 00 00 00 00 25 [07:05:20]Write i2c OK [07:05:20]MH_I2C_Read... [07:05:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [07:05:20]Read from MH i2c: E2 [07:05:20]MH_I2C_Read... [07:05:20]Read from MH i2c: E2 DE 00 [07:05:20]MH_I2C_Read... [07:05:20]Read from MH i2c: E2 DE 00 80 25 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 04 [07:05:20]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [07:05:20]wFMCommunicate OK [07:05:20]SAM_PROTO_GetFMData done [07:05:20]requested_item fm.sale_refund.total is exist - process it [07:05:20]requested_item fm.buy.total is exist - process it [07:05:20]requested_item shift.sale.total is exist - process it [07:05:20]SAM_PROTO_GetShiftData [07:05:20]wFMCommunicate request_size=4 [07:05:20]MH_SAM_APDU [07:05:20]CAPDU: 80 13 02 00 [07:05:20]Write to MH i2c: E2 08 00 81 25 80 13 02 00 00 00 00 00 24 [07:05:20]Write i2c OK [07:05:20]MH_I2C_Read... [07:05:21]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [07:05:21]Read from MH i2c: E2 [07:05:21]MH_I2C_Read... [07:05:21]Read from MH i2c: E2 FD 00 [07:05:21]MH_I2C_Read... [07:05:21]Read from MH i2c: E2 FD 00 81 25 00 AA 04 AA 04 A6 04 6E 04 04 00 04 00 00 00 69 04 97 00 6F 04 04 00 04 00 00 00 B1 04 03 00 10 3A 01 70 04 03 00 10 3A 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 59 21 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 C7 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 90 00 A6 [07:05:21]RAPDU: AA 04 AA 04 A6 04 6E 04 04 00 04 00 00 00 69 04 97 00 6F 04 04 00 04 00 00 00 B1 04 03 00 10 3A 01 70 04 03 00 10 3A 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 59 21 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 C7 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 90 00 [07:05:21]wFMCommunicate OK [07:05:21]wFMCommunicate request_size=4 [07:05:21]MH_SAM_APDU [07:05:21]CAPDU: 80 17 00 00 [07:05:21]Write to MH i2c: E2 08 00 82 25 80 17 00 00 00 00 00 00 27 [07:05:21]Write i2c OK [07:05:21]MH_I2C_Read... [07:05:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:05:21]Read from MH i2c: E2 [07:05:21]MH_I2C_Read... [07:05:21]Read from MH i2c: E2 FD 00 [07:05:21]MH_I2C_Read... [07:05:21]Read from MH i2c: E2 FD 00 82 25 00 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4D [07:05:21]RAPDU: 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [07:05:21]wFMCommunicate OK [07:05:21]wFMCommunicate request_size=4 [07:05:21]MH_SAM_APDU [07:05:21]CAPDU: 80 17 00 00 [07:05:21]Write to MH i2c: E2 08 00 83 25 80 17 00 00 00 00 00 00 28 [07:05:21]Write i2c OK [07:05:21]MH_I2C_Read... [07:05:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:05:22]Read from MH i2c: E2 [07:05:22]MH_I2C_Read... [07:05:22]Read from MH i2c: E2 FD 00 [07:05:22]MH_I2C_Read... [07:05:22]Read from MH i2c: E2 FD 00 83 25 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 DB [07:05:22]RAPDU: EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [07:05:22]wFMCommunicate OK [07:05:22]wFMCommunicate request_size=4 [07:05:22]MH_SAM_APDU [07:05:22]CAPDU: 80 17 00 00 [07:05:22]Write to MH i2c: E2 08 00 84 25 80 17 00 00 00 00 00 00 29 [07:05:22]Write i2c OK [07:05:22]MH_I2C_Read... [07:05:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:05:22]Read from MH i2c: E2 [07:05:22]MH_I2C_Read... [07:05:22]Read from MH i2c: E2 FD 00 [07:05:22]MH_I2C_Read... [07:05:22]Read from MH i2c: E2 FD 00 84 25 00 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 90 00 9B [07:05:22]RAPDU: 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 90 00 [07:05:22]wFMCommunicate OK [07:05:22]wFMCommunicate request_size=4 [07:05:22]MH_SAM_APDU [07:05:22]CAPDU: 80 17 00 00 [07:05:22]Write to MH i2c: E2 08 00 85 25 80 17 00 00 00 00 00 00 2A [07:05:22]Write i2c OK [07:05:22]MH_I2C_Read... [07:05:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 196! [07:05:22]Read from MH i2c: E2 [07:05:22]MH_I2C_Read... [07:05:22]Read from MH i2c: E2 C7 00 [07:05:22]MH_I2C_Read... [07:05:22]Read from MH i2c: E2 C7 00 85 25 00 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 1D [07:05:22]RAPDU: 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [07:05:22]wFMCommunicate OK [07:05:22]SAM_PROTO_GetShiftData done [07:05:22]OFD Sender: No OFD packet to send [07:05:22]requested_item shift.sale.total_cash is exist - process it [07:05:22]requested_item shift.sale_refund.total is exist - process it [07:05:22]requested_item shift.sale_refund.total_cash is exist - process it [07:05:22]requested_item shift.buy.total is exist - process it [07:05:22]requested_item shift.buy.total_cash is exist - process it [07:05:22]produce_requested_data done [07:05:22]produce_requested_data return {"fm.sale.total":2457097.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":804.00,"shift.sale.total_cash":804.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [07:05:22]process_action_free get_value [07:05:22]json_value_free [07:05:22]json_value_free done [07:05:22]process_json_proto returns [07:05:22]Send response to host [07:05:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2457097.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":804.00,"shift.sale.total_cash":804.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [07:05:22]free response buf [07:05:22]execute_script done [07:05:22]execute_script returns [07:05:22]free content buf [07:05:22]Sock 9.Close socket [07:05:22]Sock 9.Thread stoped [07:05:27]OFD Sender: No OFD packet to send [07:05:32]OFD Sender: No OFD packet to send [07:05:37]OFD Sender: No OFD packet to send [07:05:42]OFD Sender: No OFD packet to send [07:05:47]OFD Sender: No OFD packet to send [07:05:52]OFD Sender: No OFD packet to send [07:05:57]OFD Sender: No OFD packet to send [07:06:02]OFD Sender: No OFD packet to send [07:06:07]OFD Sender: No OFD packet to send [07:06:12]OFD Sender: No OFD packet to send [07:06:17]OFD Sender: No OFD packet to send [07:06:22]OFD Sender: No OFD packet to send [07:06:27]OFD Sender: No OFD packet to send [07:06:32]OFD Sender: No OFD packet to send [07:06:37]OFD Sender: No OFD packet to send [07:06:42]OFD Sender: No OFD packet to send [07:06:47]OFD Sender: No OFD packet to send [07:06:52]OFD Sender: No OFD packet to send [07:06:57]OFD Sender: No OFD packet to send [07:07:02]OFD Sender: No OFD packet to send [07:07:07]OFD Sender: No OFD packet to send [07:07:12]OFD Sender: No OFD packet to send [07:07:18]OFD Sender: No OFD packet to send [07:07:23]OFD Sender: No OFD packet to send [07:07:28]OFD Sender: No OFD packet to send [07:07:33]OFD Sender: No OFD packet to send [07:07:38]OFD Sender: No OFD packet to send [07:07:43]OFD Sender: No OFD packet to send [07:07:48]OFD Sender: No OFD packet to send [07:07:53]OFD Sender: No OFD packet to send [07:07:58]OFD Sender: No OFD packet to send [07:08:03]OFD Sender: No OFD packet to send [07:08:08]OFD Sender: No OFD packet to send [07:08:13]OFD Sender: No OFD packet to send [07:08:18]OFD Sender: No OFD packet to send [07:08:23]OFD Sender: No OFD packet to send [07:08:28]OFD Sender: No OFD packet to send [07:08:33]OFD Sender: No OFD packet to send [07:08:38]OFD Sender: No OFD packet to send [07:08:43]OFD Sender: No OFD packet to send [07:08:48]OFD Sender: No OFD packet to send [07:08:53]OFD Sender: No OFD packet to send [07:08:58]OFD Sender: No OFD packet to send [07:09:03]OFD Sender: No OFD packet to send [07:09:08]OFD Sender: No OFD packet to send [07:09:13]OFD Sender: No OFD packet to send [07:09:18]OFD Sender: No OFD packet to send [07:09:23]OFD Sender: No OFD packet to send [07:09:28]OFD Sender: No OFD packet to send [07:09:33]OFD Sender: No OFD packet to send [07:09:38]OFD Sender: No OFD packet to send [07:09:43]OFD Sender: No OFD packet to send [07:09:48]OFD Sender: No OFD packet to send [07:09:53]OFD Sender: No OFD packet to send [07:09:58]OFD Sender: No OFD packet to send [07:10:03]OFD Sender: No OFD packet to send [07:10:08]OFD Sender: No OFD packet to send [07:10:13]OFD Sender: No OFD packet to send [07:10:18]OFD Sender: No OFD packet to send [07:10:23]OFD Sender: No OFD packet to send [07:10:28]OFD Sender: No OFD packet to send [07:10:33]OFD Sender: No OFD packet to send [07:10:38]OFD Sender: No OFD packet to send [07:10:43]OFD Sender: No OFD packet to send [07:10:48]OFD Sender: No OFD packet to send [07:10:53]OFD Sender: No OFD packet to send [07:10:58]OFD Sender: No OFD packet to send [07:11:03]OFD Sender: No OFD packet to send [07:11:08]OFD Sender: No OFD packet to send [07:11:13]OFD Sender: No OFD packet to send [07:11:18]OFD Sender: No OFD packet to send [07:11:23]OFD Sender: No OFD packet to send [07:11:28]OFD Sender: No OFD packet to send [07:11:33]OFD Sender: No OFD packet to send [07:11:38]OFD Sender: No OFD packet to send [07:11:43]OFD Sender: No OFD packet to send [07:11:48]OFD Sender: No OFD packet to send [07:11:53]OFD Sender: No OFD packet to send [07:11:58]OFD Sender: No OFD packet to send [07:12:03]OFD Sender: No OFD packet to send [07:12:08]OFD Sender: No OFD packet to send [07:12:13]OFD Sender: No OFD packet to send [07:12:18]OFD Sender: No OFD packet to send [07:12:23]OFD Sender: No OFD packet to send [07:12:28]OFD Sender: No OFD packet to send [07:12:33]OFD Sender: No OFD packet to send [07:12:38]OFD Sender: No OFD packet to send [07:12:43]OFD Sender: No OFD packet to send [07:12:48]OFD Sender: No OFD packet to send [07:12:53]OFD Sender: No OFD packet to send [07:12:58]OFD Sender: No OFD packet to send [07:13:03]OFD Sender: No OFD packet to send [07:13:08]OFD Sender: No OFD packet to send [07:13:13]OFD Sender: No OFD packet to send [07:13:18]OFD Sender: No OFD packet to send [07:13:23]OFD Sender: No OFD packet to send [07:13:28]OFD Sender: No OFD packet to send [07:13:33]OFD Sender: No OFD packet to send [07:13:38]OFD Sender: No OFD packet to send [07:13:43]OFD Sender: No OFD packet to send [07:13:48]OFD Sender: No OFD packet to send [07:13:53]OFD Sender: No OFD packet to send [07:13:58]OFD Sender: No OFD packet to send [07:14:03]OFD Sender: No OFD packet to send [07:14:08]OFD Sender: No OFD packet to send [07:14:13]OFD Sender: No OFD packet to send [07:14:18]OFD Sender: No OFD packet to send [07:14:23]OFD Sender: No OFD packet to send [07:14:28]OFD Sender: No OFD packet to send [07:14:33]OFD Sender: No OFD packet to send [07:14:38]OFD Sender: No OFD packet to send [07:14:43]OFD Sender: No OFD packet to send [07:14:48]OFD Sender: No OFD packet to send [07:14:53]OFD Sender: No OFD packet to send [07:14:58]OFD Sender: No OFD packet to send [07:15:03]OFD Sender: No OFD packet to send [07:15:08]OFD Sender: No OFD packet to send [07:15:13]OFD Sender: No OFD packet to send [07:15:18]OFD Sender: No OFD packet to send [07:15:23]OFD Sender: No OFD packet to send [07:15:28]OFD Sender: No OFD packet to send [07:15:33]OFD Sender: No OFD packet to send [07:15:38]OFD Sender: No OFD packet to send [07:15:43]OFD Sender: No OFD packet to send [07:15:48]OFD Sender: No OFD packet to send [07:15:53]OFD Sender: No OFD packet to send [07:15:58]OFD Sender: No OFD packet to send [07:16:03]OFD Sender: No OFD packet to send [07:16:08]OFD Sender: No OFD packet to send [07:16:13]OFD Sender: No OFD packet to send [07:16:18]OFD Sender: No OFD packet to send [07:16:23]OFD Sender: No OFD packet to send [07:16:28]OFD Sender: No OFD packet to send [07:16:33]OFD Sender: No OFD packet to send [07:16:38]OFD Sender: No OFD packet to send [07:16:43]OFD Sender: No OFD packet to send [07:16:48]OFD Sender: No OFD packet to send [07:16:53]OFD Sender: No OFD packet to send [07:16:58]OFD Sender: No OFD packet to send [07:17:03]OFD Sender: No OFD packet to send [07:17:08]OFD Sender: No OFD packet to send [07:17:13]OFD Sender: No OFD packet to send [07:17:18]OFD Sender: No OFD packet to send [07:17:23]OFD Sender: No OFD packet to send [07:17:28]OFD Sender: No OFD packet to send [07:17:33]OFD Sender: No OFD packet to send [07:17:38]OFD Sender: No OFD packet to send [07:17:43]OFD Sender: No OFD packet to send [07:17:48]OFD Sender: No OFD packet to send [07:17:53]OFD Sender: No OFD packet to send [07:17:58]OFD Sender: No OFD packet to send [07:18:03]OFD Sender: No OFD packet to send [07:18:08]OFD Sender: No OFD packet to send [07:18:13]OFD Sender: No OFD packet to send [07:18:18]OFD Sender: No OFD packet to send [07:18:23]OFD Sender: No OFD packet to send [07:18:28]OFD Sender: No OFD packet to send [07:18:33]OFD Sender: No OFD packet to send [07:18:38]OFD Sender: No OFD packet to send [07:18:43]OFD Sender: No OFD packet to send [07:18:48]OFD Sender: No OFD packet to send [07:18:53]OFD Sender: No OFD packet to send [07:18:58]OFD Sender: No OFD packet to send [07:19:03]OFD Sender: No OFD packet to send [07:19:08]OFD Sender: No OFD packet to send [07:19:13]OFD Sender: No OFD packet to send [07:19:18]OFD Sender: No OFD packet to send [07:19:23]OFD Sender: No OFD packet to send [07:19:28]OFD Sender: No OFD packet to send [07:19:33]OFD Sender: No OFD packet to send [07:19:38]OFD Sender: No OFD packet to send [07:19:43]OFD Sender: No OFD packet to send [07:19:48]OFD Sender: No OFD packet to send [07:19:53]OFD Sender: No OFD packet to send [07:19:58]OFD Sender: No OFD packet to send [07:20:03]OFD Sender: No OFD packet to send [07:20:08]OFD Sender: No OFD packet to send [07:20:13]OFD Sender: No OFD packet to send [07:20:18]OFD Sender: No OFD packet to send [07:20:23]OFD Sender: No OFD packet to send [07:20:28]OFD Sender: No OFD packet to send [07:20:33]OFD Sender: No OFD packet to send [07:20:38]OFD Sender: No OFD packet to send [07:20:43]OFD Sender: No OFD packet to send [07:20:48]OFD Sender: No OFD packet to send [07:20:53]OFD Sender: No OFD packet to send [07:20:58]OFD Sender: No OFD packet to send [07:21:03]OFD Sender: No OFD packet to send [07:21:08]OFD Sender: No OFD packet to send [07:21:13]OFD Sender: No OFD packet to send [07:21:18]OFD Sender: No OFD packet to send [07:21:23]OFD Sender: No OFD packet to send [07:21:28]OFD Sender: No OFD packet to send [07:21:33]OFD Sender: No OFD packet to send [07:21:38]OFD Sender: No OFD packet to send [07:21:43]OFD Sender: No OFD packet to send [07:21:48]OFD Sender: No OFD packet to send [07:21:53]OFD Sender: No OFD packet to send [07:21:58]OFD Sender: No OFD packet to send [07:22:03]OFD Sender: No OFD packet to send [07:22:08]OFD Sender: No OFD packet to send [07:22:13]OFD Sender: No OFD packet to send [07:22:18]OFD Sender: No OFD packet to send [07:22:23]OFD Sender: No OFD packet to send [07:22:28]OFD Sender: No OFD packet to send [07:22:33]OFD Sender: No OFD packet to send [07:22:38]OFD Sender: No OFD packet to send [07:22:43]OFD Sender: No OFD packet to send [07:22:48]OFD Sender: No OFD packet to send [07:22:53]OFD Sender: No OFD packet to send [07:22:58]OFD Sender: No OFD packet to send [07:23:03]OFD Sender: No OFD packet to send [07:23:08]OFD Sender: No OFD packet to send [07:23:13]OFD Sender: No OFD packet to send [07:23:18]OFD Sender: No OFD packet to send [07:23:23]OFD Sender: No OFD packet to send [07:23:28]OFD Sender: No OFD packet to send [07:23:33]OFD Sender: No OFD packet to send [07:23:38]OFD Sender: No OFD packet to send [07:23:43]OFD Sender: No OFD packet to send [07:23:48]OFD Sender: No OFD packet to send [07:23:53]OFD Sender: No OFD packet to send [07:23:58]OFD Sender: No OFD packet to send [07:24:03]OFD Sender: No OFD packet to send [07:24:08]OFD Sender: No OFD packet to send [07:24:13]OFD Sender: No OFD packet to send [07:24:18]OFD Sender: No OFD packet to send [07:24:23]OFD Sender: No OFD packet to send [07:24:28]OFD Sender: No OFD packet to send [07:24:33]OFD Sender: No OFD packet to send [07:24:38]OFD Sender: No OFD packet to send [07:24:43]OFD Sender: No OFD packet to send [07:24:48]OFD Sender: No OFD packet to send [07:24:53]OFD Sender: No OFD packet to send [07:24:58]OFD Sender: No OFD packet to send [07:25:03]OFD Sender: No OFD packet to send [07:25:08]OFD Sender: No OFD packet to send [07:25:13]OFD Sender: No OFD packet to send [07:25:18]OFD Sender: No OFD packet to send [07:25:23]OFD Sender: No OFD packet to send [07:25:28]OFD Sender: No OFD packet to send [07:25:33]OFD Sender: No OFD packet to send [07:25:38]OFD Sender: No OFD packet to send [07:25:43]OFD Sender: No OFD packet to send [07:25:48]OFD Sender: No OFD packet to send [07:25:53]OFD Sender: No OFD packet to send [07:25:58]OFD Sender: No OFD packet to send [07:26:03]OFD Sender: No OFD packet to send [07:26:08]OFD Sender: No OFD packet to send [07:26:13]OFD Sender: No OFD packet to send [07:26:18]OFD Sender: No OFD packet to send [07:26:23]OFD Sender: No OFD packet to send [07:26:28]OFD Sender: No OFD packet to send [07:26:33]OFD Sender: No OFD packet to send [07:26:38]OFD Sender: No OFD packet to send [07:26:43]OFD Sender: No OFD packet to send [07:26:48]OFD Sender: No OFD packet to send [07:26:53]OFD Sender: No OFD packet to send [07:26:58]OFD Sender: No OFD packet to send [07:27:03]OFD Sender: No OFD packet to send [07:27:08]OFD Sender: No OFD packet to send [07:27:13]OFD Sender: No OFD packet to send [07:27:18]OFD Sender: No OFD packet to send [07:27:23]OFD Sender: No OFD packet to send [07:27:28]OFD Sender: No OFD packet to send [07:27:33]OFD Sender: No OFD packet to send [07:27:38]OFD Sender: No OFD packet to send [07:27:43]OFD Sender: No OFD packet to send [07:27:48]OFD Sender: No OFD packet to send [07:27:53]OFD Sender: No OFD packet to send [07:27:58]OFD Sender: No OFD packet to send [07:28:03]OFD Sender: No OFD packet to send [07:28:08]OFD Sender: No OFD packet to send [07:28:13]OFD Sender: No OFD packet to send [07:28:18]OFD Sender: No OFD packet to send [07:28:23]OFD Sender: No OFD packet to send [07:28:28]OFD Sender: No OFD packet to send [07:28:33]OFD Sender: No OFD packet to send [07:28:39]OFD Sender: No OFD packet to send [07:28:44]OFD Sender: No OFD packet to send [07:28:49]OFD Sender: No OFD packet to send [07:28:54]OFD Sender: No OFD packet to send [07:28:59]OFD Sender: No OFD packet to send [07:29:04]OFD Sender: No OFD packet to send [07:29:09]OFD Sender: No OFD packet to send [07:29:14]OFD Sender: No OFD packet to send [07:29:19]OFD Sender: No OFD packet to send [07:29:24]OFD Sender: No OFD packet to send [07:29:29]OFD Sender: No OFD packet to send [07:29:34]OFD Sender: No OFD packet to send [07:29:39]OFD Sender: No OFD packet to send [07:29:44]OFD Sender: No OFD packet to send [07:29:49]OFD Sender: No OFD packet to send [07:29:54]OFD Sender: No OFD packet to send [07:29:59]OFD Sender: No OFD packet to send [07:30:04]OFD Sender: No OFD packet to send [07:30:09]OFD Sender: No OFD packet to send [07:30:14]OFD Sender: No OFD packet to send [07:30:19]OFD Sender: No OFD packet to send [07:30:24]OFD Sender: No OFD packet to send [07:30:29]OFD Sender: No OFD packet to send [07:30:34]OFD Sender: No OFD packet to send [07:30:39]OFD Sender: No OFD packet to send [07:30:44]OFD Sender: No OFD packet to send [07:30:49]OFD Sender: No OFD packet to send [07:30:54]OFD Sender: No OFD packet to send [07:30:59]OFD Sender: No OFD packet to send [07:31:04]OFD Sender: No OFD packet to send [07:31:09]OFD Sender: No OFD packet to send [07:31:14]OFD Sender: No OFD packet to send [07:31:19]OFD Sender: No OFD packet to send [07:31:24]OFD Sender: No OFD packet to send [07:31:29]OFD Sender: No OFD packet to send [07:31:34]OFD Sender: No OFD packet to send [07:31:39]OFD Sender: No OFD packet to send [07:31:44]OFD Sender: No OFD packet to send [07:31:49]OFD Sender: No OFD packet to send [07:31:54]OFD Sender: No OFD packet to send [07:31:59]OFD Sender: No OFD packet to send [07:32:04]OFD Sender: No OFD packet to send [07:32:09]OFD Sender: No OFD packet to send [07:32:14]OFD Sender: No OFD packet to send [07:32:19]OFD Sender: No OFD packet to send [07:32:24]OFD Sender: No OFD packet to send [07:32:29]OFD Sender: No OFD packet to send [07:32:34]OFD Sender: No OFD packet to send [07:32:39]OFD Sender: No OFD packet to send [07:32:44]OFD Sender: No OFD packet to send [07:32:49]OFD Sender: No OFD packet to send [07:32:54]OFD Sender: No OFD packet to send [07:32:59]OFD Sender: No OFD packet to send [07:33:04]OFD Sender: No OFD packet to send [07:33:09]OFD Sender: No OFD packet to send [07:33:14]OFD Sender: No OFD packet to send [07:33:19]OFD Sender: No OFD packet to send [07:33:24]OFD Sender: No OFD packet to send [07:33:29]OFD Sender: No OFD packet to send [07:33:34]OFD Sender: No OFD packet to send [07:33:39]OFD Sender: No OFD packet to send [07:33:44]OFD Sender: No OFD packet to send [07:33:49]OFD Sender: No OFD packet to send [07:33:54]OFD Sender: No OFD packet to send [07:33:59]OFD Sender: No OFD packet to send [07:34:04]OFD Sender: No OFD packet to send [07:34:09]OFD Sender: No OFD packet to send [07:34:14]OFD Sender: No OFD packet to send [07:34:19]OFD Sender: No OFD packet to send [07:34:24]OFD Sender: No OFD packet to send [07:34:29]OFD Sender: No OFD packet to send [07:34:34]OFD Sender: No OFD packet to send [07:34:39]OFD Sender: No OFD packet to send [07:34:44]OFD Sender: No OFD packet to send [07:34:49]OFD Sender: No OFD packet to send [07:34:54]OFD Sender: No OFD packet to send [07:34:59]OFD Sender: No OFD packet to send [07:35:04]OFD Sender: No OFD packet to send [07:35:09]OFD Sender: No OFD packet to send [07:35:14]OFD Sender: No OFD packet to send [07:35:19]OFD Sender: No OFD packet to send [07:35:24]OFD Sender: No OFD packet to send [07:35:29]OFD Sender: No OFD packet to send [07:35:34]OFD Sender: No OFD packet to send [07:35:39]OFD Sender: No OFD packet to send [07:35:44]OFD Sender: No OFD packet to send [07:35:49]OFD Sender: No OFD packet to send [07:35:54]OFD Sender: No OFD packet to send [07:35:59]OFD Sender: No OFD packet to send [07:36:04]OFD Sender: No OFD packet to send [07:36:09]OFD Sender: No OFD packet to send [07:36:14]OFD Sender: No OFD packet to send [07:36:19]OFD Sender: No OFD packet to send [07:36:24]OFD Sender: No OFD packet to send [07:36:29]OFD Sender: No OFD packet to send [07:36:34]OFD Sender: No OFD packet to send [07:36:39]OFD Sender: No OFD packet to send [07:36:44]OFD Sender: No OFD packet to send [07:36:49]OFD Sender: No OFD packet to send [07:36:54]OFD Sender: No OFD packet to send [07:36:59]OFD Sender: No OFD packet to send [07:37:04]OFD Sender: No OFD packet to send [07:37:09]OFD Sender: No OFD packet to send [07:37:14]OFD Sender: No OFD packet to send [07:37:19]OFD Sender: No OFD packet to send [07:37:21]accept exits with 8 [07:37:21]New connection [07:37:21]New thread 3067100516 created [07:37:21]Thread 3067243876 joined [07:37:21]Waiting for new connection... [07:37:21] Sock 8.Parse request [07:37:21]Sock 8.Check first char [07:37:21]Sock 8.First char is OK [07:37:21]request: POST /json_proto HTTP/1.0 [07:37:21]Method: POST [07:37:21]URL: /json_proto [07:37:21]Method is POST - this is cgi request [07:37:21]url: /json_proto [07:37:21]query_string will be loaded in cgi processing [07:37:21]execute_cgi json_proto POST (null) [07:37:21]execute_cgi path=json_proto method=POST [07:37:21]POST find Content-Length [07:37:21]Host: 172.17.62.6:8080 [07:37:21]Content-Length: 820 [07:37:21]Content-Type: application/json [07:37:21] [07:37:21]POST finish read [07:37:21]Found Content-Length = 820 [07:37:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32780", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 3.000, "sum" : 315.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" : 315.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:37:21]execute_script... [07:37: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)32780", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 3.000, "sum" : 315.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" : 315.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:37:21]POST & json_proto [07:37:21]process_json_proto [07:37:21]json parsed OK: [07:37:21]protocol is kg_v1.0 [07:37:21]action value=close_receipt [07:37:21]process_action close_receipt [07:37:21]cmd_close_receipt [07:37:21]MH_GetDate [07:37:21]Write to MH i2c: F0 00 00 86 25 9A [07:37:21]Write i2c OK [07:37:21]MH_I2C_Read... [07:37:21]Read from MH i2c: F0 [07:37:21]MH_I2C_Read... [07:37:21]Read from MH i2c: F0 09 00 [07:37:21]MH_I2C_Read... [07:37:21]Read from MH i2c: F0 09 00 86 25 00 40 1F 22 66 61 69 D2 64 8A [07:37:21]GetLastDocTimeStamp 1713505285 [07:37:21]current date 1713512256 [07:37:21]FM_GetShiftState [07:37:21]SAM_PROTO_GetShiftState [07:37:21]wFMCommunicate request_size=4 [07:37:21]MH_SAM_APDU [07:37:21]CAPDU: 80 13 01 00 [07:37:21]Write to MH i2c: E2 08 00 87 25 80 13 01 00 00 00 00 00 29 [07:37:21]Write i2c OK [07:37:21]MH_I2C_Read... [07:37:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:37:21]Read from MH i2c: E2 [07:37:21]MH_I2C_Read... [07:37:21]Read from MH i2c: E2 0E 00 [07:37:21]MH_I2C_Read... [07:37:21]Read from MH i2c: E2 0E 00 87 25 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 1F [07:37:21]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [07:37:21]wFMCommunicate OK [07:37:21]SAM_PROTO_GetShiftState done [07:37:21]FM_GetShiftState done [07:37:21]opened in 1713485995 [07:37:21]opened+sec_in_day 1713572395 [07:37:21]quantity*price = 31500 [07:37:21]sum+1 = 31501 [07:37:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 315.00 НСП 1% : 2.79 НДС 12% : 33.45 Наличными: 0.00 Безнал.: 315.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 5 19.04.2024 07:37 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000965685 ФД: 12503 ФПД: 53897138228044 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T073736&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12503&fm=53897138228044&tin=02508201610067®Number=0000000000100748&sum=31500 0 [07:37:22]StoreToDocumentArchive [07:37:22]shift 279 fd 12503 [07:37:22]save to /storage/0279/doc_00012503 [07:37:22]save last doc name /storage/0279/doc_00012503 to /storage/kkm_last_doc_name [07:37:22]save OK [07:37:22]Clear old archive folders... [07:37:22]ProcessDocumentItem done err = 0, tmpTLVsize=280 [07:37:22]tlvbuf is 01D02110 [07:37:22]SAM_PROTO_ClearQueue [07:37:22]wFMCommunicate request_size=4 [07:37:22]MH_SAM_APDU [07:37:22]CAPDU: 80 09 00 00 [07:37:22]Write to MH i2c: E2 08 00 94 25 80 09 00 00 00 00 00 00 2B [07:37:22]Write i2c OK [07:37:22]MH_I2C_Read... [07:37:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:37:22]Read from MH i2c: E2 [07:37:22]MH_I2C_Read... [07:37:22]Read from MH i2c: E2 03 00 [07:37:22]MH_I2C_Read... [07:37:22]Read from MH i2c: E2 03 00 94 25 00 90 00 2D [07:37:22]RAPDU: 90 00 [07:37:22]wFMCommunicate OK [07:37:22]SAM_PROTO_ClearQueue done [07:37:22]KKMCreateOFDPacket [07:37:22]OFDProtocolAddRootSTLVToBuf [07:37:22]FM_MakeSignedData [07:37:22]FM_MakeSignedData [07:37:22]SAM_PROTO_SignData [07:37:22]wFMCommunicate request_size=4 [07:37:22]MH_SAM_APDU [07:37:22]CAPDU: 80 0D 01 02 [07:37:22]Write to MH i2c: E2 08 00 95 25 80 0D 01 02 00 00 00 00 33 [07:37:22]Write i2c OK [07:37:22]MH_I2C_Read... [07:37:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:37:22]Read from MH i2c: E2 [07:37:22]MH_I2C_Read... [07:37:22]Read from MH i2c: E2 03 00 [07:37:22]MH_I2C_Read... [07:37:22]Read from MH i2c: E2 03 00 95 25 00 90 00 2E [07:37:22]RAPDU: 90 00 [07:37:22]wFMCommunicate OK [07:37:22]wFMCommunicate request_size=255 [07:37:22]MH_SAM_APDU [07:37:22]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 B8 0B 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 0C 7B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 17 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C 7B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 40 1F 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 [07:37:22]Write to MH i2c: E2 02 01 96 25 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 B8 0B 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 0C 7B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 17 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C 7B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 40 1F 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 00 00 B3 [07:37:22]Write i2c OK [07:37:22]MH_I2C_Read... [07:37:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:37:22]Read from MH i2c: E2 [07:37:22]MH_I2C_Read... [07:37:22]Read from MH i2c: E2 03 00 [07:37:22]MH_I2C_Read... [07:37:22]Read from MH i2c: E2 03 00 96 25 00 90 00 2F [07:37:22]RAPDU: 90 00 [07:37:22]wFMCommunicate OK [07:37:22]wFMCommunicate request_size=39 [07:37:22]MH_SAM_APDU [07:37:22]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 D7 30 00 00 35 04 06 00 31 04 E7 C7 4B 4C [07:37:22]Write to MH i2c: E2 2A 00 97 25 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 D7 30 00 00 35 04 06 00 31 04 E7 C7 4B 4C 00 00 79 [07:37:22]Write i2c OK [07:37:22]MH_I2C_Read... [07:37:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:37:22]Read from MH i2c: E2 [07:37:22]MH_I2C_Read... [07:37:22]Read from MH i2c: E2 03 00 [07:37:22]MH_I2C_Read... [07:37:22]Read from MH i2c: E2 03 00 97 25 00 90 00 30 [07:37:22]RAPDU: 90 00 [07:37:22]wFMCommunicate OK [07:37:22]wFMCommunicate request_size=4 [07:37:22]MH_SAM_APDU [07:37:22]CAPDU: 80 0D 03 02 [07:37:22]Write to MH i2c: E2 08 00 98 25 80 0D 03 02 00 00 00 00 38 [07:37:22]Write i2c OK [07:37:22]MH_I2C_Read... [07:37:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:37:22]Read from MH i2c: E2 [07:37:22]MH_I2C_Read... [07:37:22]Read from MH i2c: E2 0B 00 [07:37:22]MH_I2C_Read... [07:37:22]Read from MH i2c: E2 0B 00 98 25 00 E9 4C 1E 27 E3 42 CF 38 90 00 DF [07:37:22]RAPDU: E9 4C 1E 27 E3 42 CF 38 90 00 [07:37:22]wFMCommunicate OK [07:37:22]SAM_PROTO_SignData done [07:37:22]FM_MakeSignedData done [07:37:22]CreateOFDProtocolMessage [07:37:22]wFMCommunicate request_size=4 [07:37:22]MH_SAM_APDU [07:37:22]CAPDU: 80 11 00 00 [07:37:22]Write to MH i2c: E2 08 00 99 25 80 11 00 00 00 00 00 00 38 [07:37:22]Write i2c OK [07:37:22]MH_I2C_Read... [07:37:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:37:22]Read from MH i2c: E2 [07:37:22]MH_I2C_Read... [07:37:22]Read from MH i2c: E2 17 00 [07:37:22]MH_I2C_Read... [07:37:22]Read from MH i2c: E2 17 00 99 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 92 [07:37:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [07:37:22]wFMCommunicate OK [07:37:22]CreateOFDProtocolMessage done [07:37:22]OFDSenderStorePacket 12503 [07:37:22]StoreOFDPacket docnum=12503 [07:37:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2C 01 00 00 C9 82 24 01 E6 53 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 B8 0B 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 0C 7B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 17 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C 7B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 40 1F 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 D7 30 00 00 35 04 06 00 31 04 E7 C7 4B 4C E9 4C 1E 27 E3 42 CF 38 [07:37:22]CheckFolder [07:37:22]dirname=/storage/ofd_packets [07:37:22]CheckFolder done [07:37:22]ProducePacketName [07:37:22]name=ofd_packets/00012503 [07:37:22]NVStorageSaveData ofd_packets/00012503 [07:37:22]File name is /storage/ofd_packets/00012503 [07:37:22]Write 330 bytes [07:37:22]NVStorageSaveData done [07:37:22]OFDSenderStorePacket done [07:37:22]KKMCreateOFDPacket done [07:37:22]NVStorageSaveData kkm_last_timestamp [07:37:22]File name is /storage/kkm_last_timestamp [07:37:22]Write 4 bytes [07:37:22]NVStorageSaveData done [07:37:22]ExternCall_PrintAddStr [07:37:22]wPrintStart [07:37:22]Write to MH i2c: 01 00 00 9A 25 BF [07:37:22]Write i2c OK [07:37:22]MH_I2C_Read... [07:37:22]Read from MH i2c: 01 [07:37:22]MH_I2C_Read... [07:37:22]Read from MH i2c: 01 07 00 [07:37:22]MH_I2C_Read... [07:37:22]Read from MH i2c: 01 07 00 9A 25 00 00 00 00 00 FF 0F D4 [07:37:22]RasterBufferAndPrint [07:37:22]line Счет N : (3)32780 [07:37:22]line ИНН: 02508201610067 [07:37:22]line Контрольно-Кассовый Чек [07:37:22]line ПРОДАЖА [07:37:22]line Товар: 2000036210013 [07:37:22]line Кофе Капучино (GABB TRADE) [07:37:22]line 3.000 * 105.00 [07:37:22]line = 315.00 [07:37:22]line НДС 12% НСП 1% [07:37:22]line > о реализуемом товаре [07:37:22]line ИТОГО: 315.00 [07:37:22]line НСП 1% : 2.79 [07:37:22]line НДС 12% : 33.45 [07:37:22]line Наличными: 0.00 [07:37:22]line Безнал.: 315.00 [07:37:22]line Место: АЗС № 106 "Партнер Нефть" [07:37:22]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [07:37:22]line СНО: Общий режим [07:37:22]line Чек 5 19.04.2024 07:37 [07:37:22]line Смена: 279 ФФД: 1.0 [07:37:22]line ЗНМ: 0300000004 [07:37:22]line РНМ: 0000000000100748 [07:37:22]line Версия ККМ: 001 [07:37:22]line Платежная система: Бакай Банк [07:37:22]line ФМ: 0000000000965685 [07:37:22]line ФД: 12503 [07:37:22]line ФПД: 53897138228044 [07:37:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T073736&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12503&fm=53897138228044&tin=02508201610067®Number=0000000000100748&sum=31500 [07:37:23]line 0 [07:37:23]OFD Sender: Processing packet 12503 [packets to send 7, broken 6] [07:37:23]ProducePacketName [07:37:23]name=ofd_packets/00012503 [07:37:23]OFD Sender: To server: pG, [07:37:23]CommunicateWithHost lk.salyk.kg:30040 [07:37:23]ConnectInit lk.salyk.kg [07:37:23]written 0, free lines is 4095 [07:37:23]Connected sock=10 [07:37:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2C 01 00 00 C9 82 24 01 E6 53 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 B8 0B 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 0C 7B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 17 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C 7B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 40 1F 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 D7 30 00 00 35 04 06 00 31 04 E7 C7 4B 4C E9 4C 1E 27 E3 42 CF 38 [07:37:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 D5 6C 47 00 B9 A5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 D7 30 00 00 F4 03 04 00 C8 C7 21 66 B6 04 01 00 00 F3 83 EB 33 97 4B 70 61 [07:37:23]CommunicateWithHost err = 0 [07:37:23]CheckOFDResponse [07:37:23]1017 (14) - 77093643461234 [07:37:23]1041 (16) - 0000000000965685 [07:37:23]1040 (4) - 12503 [07:37:23]1012 (4) - 19.04.2024 01:24 [07:37:23]1206 (1) - 0 [07:37:23]OFD Sender: Remove packet 12503 [07:37:23]ProducePacketName [07:37:23]name=ofd_packets/00012503 [07:37:23]NVStorageDeleteData [07:37:23]Write to MH i2c: 01 00 00 C3 25 E8 [07:37:23]Write i2c OK [07:37:23]MH_I2C_Read... [07:37:23]Read from MH i2c: 01 [07:37:23]MH_I2C_Read... [07:37:23]Read from MH i2c: 01 07 00 [07:37:23]MH_I2C_Read... [07:37:23]Read from MH i2c: 01 07 00 C3 25 00 00 00 00 00 F5 0C F0 [07:37:23]RasterBufferAndPrint [07:37:23]line [07:37:23]line [07:37:23]line [07:37:23]line [07:37:23]line [07:37:23]written 0, free lines is 3323 [07:37:23]MH_Cut [07:37:23]Write to MH i2c: D1 01 00 CA 25 01 C1 [07:37:23]Write i2c OK [07:37:23]MH_I2C_Read... [07:37:23]Read from MH i2c: D1 [07:37:23]MH_I2C_Read... [07:37:23]Read from MH i2c: D1 01 00 [07:37:23]MH_I2C_Read... [07:37:23]Read from MH i2c: D1 01 00 CA 25 00 C0 [07:37:23]Write to MH i2c: 01 00 00 CB 25 F0 [07:37:23]Write i2c OK [07:37:23]MH_I2C_Read... [07:37:23]OFD Sender: No OFD packet to send [07:37:24]*** Cut start [07:37:24]*** Partial cut [07:37:24]*** CUTSNS_PIN = 1 [07:37:24]*** CUTSNS_PIN = 0 [07:37:24]*** Brake cut motor [07:37:24]Read from MH i2c: 01 [07:37:24]MH_I2C_Read... [07:37:24]*** Stop cut motor [07:37:24]*** Cut end [07:37:24]Read from MH i2c: 01 07 00 [07:37:24]MH_I2C_Read... [07:37:24]Read from MH i2c: 01 07 00 CB 25 00 00 00 00 00 FF 0F 05 [07:37:24]process_action close_receipt done [07:37:24]requested_data is exist [07:37:24]produce_requested_data [07:37:24]requested_item fm.sn is exist - process it [07:37:24]wFMCommunicate request_size=4 [07:37:24]MH_SAM_APDU [07:37:24]CAPDU: 80 11 00 00 [07:37:24]Write to MH i2c: E2 08 00 CC 25 80 11 00 00 00 00 00 00 6B [07:37:24]Write i2c OK [07:37:24]MH_I2C_Read... [07:37:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:37:25]Read from MH i2c: E2 [07:37:25]MH_I2C_Read... [07:37:25]Read from MH i2c: E2 17 00 [07:37:25]MH_I2C_Read... [07:37:25]Read from MH i2c: E2 17 00 CC 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 C5 [07:37:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [07:37:25]wFMCommunicate OK [07:37:25]requested_item fd.num is exist - process it [07:37:25]SAM_PROTO_GetFieldsCounters [07:37:25]wFMCommunicate request_size=4 [07:37:25]MH_SAM_APDU [07:37:25]CAPDU: 80 13 00 00 [07:37:25]Write to MH i2c: E2 08 00 CD 25 80 13 00 00 00 00 00 00 6E [07:37:25]Write i2c OK [07:37:25]MH_I2C_Read... [07:37:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:37:25]Read from MH i2c: E2 [07:37:25]MH_I2C_Read... [07:37:25]Read from MH i2c: E2 62 00 [07:37:25]MH_I2C_Read... [07:37:25]Read from MH i2c: E2 62 00 CD 25 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 D7 30 00 00 0E 04 04 00 17 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 BF [07:37:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 D7 30 00 00 0E 04 04 00 17 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 [07:37:25]wFMCommunicate OK [07:37:25]SAM_PROTO_GetFieldsCounters done [07:37:25]requested_item shift.num is exist - process it [07:37:25]requested_item shift.opened is exist - process it [07:37:25]req_shift_opened [07:37:25]FM_GetShiftState [07:37:25]SAM_PROTO_GetShiftState [07:37:25]wFMCommunicate request_size=4 [07:37:25]MH_SAM_APDU [07:37:25]CAPDU: 80 13 01 00 [07:37:25]Write to MH i2c: E2 08 00 CE 25 80 13 01 00 00 00 00 00 70 [07:37:25]Write i2c OK [07:37:25]MH_I2C_Read... [07:37:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:37:25]Read from MH i2c: E2 [07:37:25]MH_I2C_Read... [07:37:25]Read from MH i2c: E2 0E 00 [07:37:25]MH_I2C_Read... [07:37:25]Read from MH i2c: E2 0E 00 CE 25 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 66 [07:37:25]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [07:37:25]wFMCommunicate OK [07:37:25]SAM_PROTO_GetShiftState done [07:37:25]FM_GetShiftState done [07:37:25]req_shift_opened done [07:37:25]requested_item shift.open_date is exist - process it [07:37:25]req_shift_open_date [07:37:25]req_shift_open_date done [07:37:25]produce_requested_data done [07:37:25]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12503,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [07:37:25]process_action_free close_receipt [07:37:25]json_value_free [07:37:25]json_value_free done [07:37:25]process_json_proto returns [07:37:25]Send response to host [07:37:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12503,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [07:37:25]free response buf [07:37:25]execute_script done [07:37:25]execute_script returns [07:37:25]free content buf [07:37:25]Sock 8.Close socket [07:37:25]Sock 8.Thread stoped [07:37:29]OFD Sender: No OFD packet to send [07:37:34]OFD Sender: No OFD packet to send [07:37:39]OFD Sender: No OFD packet to send [07:37:44]OFD Sender: No OFD packet to send [07:37:49]OFD Sender: No OFD packet to send [07:37:54]OFD Sender: No OFD packet to send [07:37:59]OFD Sender: No OFD packet to send [07:38:04]OFD Sender: No OFD packet to send [07:38:09]OFD Sender: No OFD packet to send [07:38:14]OFD Sender: No OFD packet to send [07:38:19]OFD Sender: No OFD packet to send [07:38:24]OFD Sender: No OFD packet to send [07:38:29]OFD Sender: No OFD packet to send [07:38:34]OFD Sender: No OFD packet to send [07:38:39]OFD Sender: No OFD packet to send [07:38:44]OFD Sender: No OFD packet to send [07:38:49]OFD Sender: No OFD packet to send [07:38:54]OFD Sender: No OFD packet to send [07:38:59]OFD Sender: No OFD packet to send [07:39:04]OFD Sender: No OFD packet to send [07:39:09]OFD Sender: No OFD packet to send [07:39:14]OFD Sender: No OFD packet to send [07:39:19]OFD Sender: No OFD packet to send [07:39:24]OFD Sender: No OFD packet to send [07:39:29]OFD Sender: No OFD packet to send [07:39:34]OFD Sender: No OFD packet to send [07:39:39]OFD Sender: No OFD packet to send [07:39:44]OFD Sender: No OFD packet to send [07:39:49]OFD Sender: No OFD packet to send [07:39:54]OFD Sender: No OFD packet to send [07:39:59]OFD Sender: No OFD packet to send [07:40:04]OFD Sender: No OFD packet to send [07:40:09]OFD Sender: No OFD packet to send [07:40:14]OFD Sender: No OFD packet to send [07:40:19]OFD Sender: No OFD packet to send [07:40:24]OFD Sender: No OFD packet to send [07:40:29]OFD Sender: No OFD packet to send [07:40:34]OFD Sender: No OFD packet to send [07:40:39]OFD Sender: No OFD packet to send [07:40:44]OFD Sender: No OFD packet to send [07:40:49]OFD Sender: No OFD packet to send [07:40:54]OFD Sender: No OFD packet to send [07:40:59]OFD Sender: No OFD packet to send [07:41:04]OFD Sender: No OFD packet to send [07:41:09]OFD Sender: No OFD packet to send [07:41:14]OFD Sender: No OFD packet to send [07:41:19]OFD Sender: No OFD packet to send [07:41:24]OFD Sender: No OFD packet to send [07:41:29]OFD Sender: No OFD packet to send [07:41:34]OFD Sender: No OFD packet to send [07:41:39]OFD Sender: No OFD packet to send [07:41:44]OFD Sender: No OFD packet to send [07:41:49]OFD Sender: No OFD packet to send [07:41:54]OFD Sender: No OFD packet to send [07:41:59]OFD Sender: No OFD packet to send [07:42:04]OFD Sender: No OFD packet to send [07:42:09]OFD Sender: No OFD packet to send [07:42:14]OFD Sender: No OFD packet to send [07:42:19]OFD Sender: No OFD packet to send [07:42:24]OFD Sender: No OFD packet to send [07:42:29]OFD Sender: No OFD packet to send [07:42:34]OFD Sender: No OFD packet to send [07:42:39]OFD Sender: No OFD packet to send [07:42:44]OFD Sender: No OFD packet to send [07:42:49]OFD Sender: No OFD packet to send [07:42:54]OFD Sender: No OFD packet to send [07:42:59]OFD Sender: No OFD packet to send [07:43:04]OFD Sender: No OFD packet to send [07:43:09]OFD Sender: No OFD packet to send [07:43:14]OFD Sender: No OFD packet to send [07:43:19]OFD Sender: No OFD packet to send [07:43:24]OFD Sender: No OFD packet to send [07:43:29]OFD Sender: No OFD packet to send [07:43:34]OFD Sender: No OFD packet to send [07:43:39]OFD Sender: No OFD packet to send [07:43:44]OFD Sender: No OFD packet to send [07:43:49]OFD Sender: No OFD packet to send [07:43:54]OFD Sender: No OFD packet to send [07:43:59]OFD Sender: No OFD packet to send [07:44:04]OFD Sender: No OFD packet to send [07:44:09]OFD Sender: No OFD packet to send [07:44:14]OFD Sender: No OFD packet to send [07:44:19]OFD Sender: No OFD packet to send [07:44:24]OFD Sender: No OFD packet to send [07:44:29]OFD Sender: No OFD packet to send [07:44:34]OFD Sender: No OFD packet to send [07:44:39]OFD Sender: No OFD packet to send [07:44:44]OFD Sender: No OFD packet to send [07:44:49]OFD Sender: No OFD packet to send [07:44:54]OFD Sender: No OFD packet to send [07:44:59]OFD Sender: No OFD packet to send [07:45:04]OFD Sender: No OFD packet to send [07:45:09]OFD Sender: No OFD packet to send [07:45:14]OFD Sender: No OFD packet to send [07:45:19]OFD Sender: No OFD packet to send [07:45:24]OFD Sender: No OFD packet to send [07:45:29]OFD Sender: No OFD packet to send [07:45:34]OFD Sender: No OFD packet to send [07:45:39]OFD Sender: No OFD packet to send [07:45:44]OFD Sender: No OFD packet to send [07:45:49]OFD Sender: No OFD packet to send [07:45:54]OFD Sender: No OFD packet to send [07:45:59]OFD Sender: No OFD packet to send [07:46:04]OFD Sender: No OFD packet to send [07:46:09]OFD Sender: No OFD packet to send [07:46:14]OFD Sender: No OFD packet to send [07:46:19]OFD Sender: No OFD packet to send [07:46:24]OFD Sender: No OFD packet to send [07:46:29]OFD Sender: No OFD packet to send [07:46:34]OFD Sender: No OFD packet to send [07:46:39]OFD Sender: No OFD packet to send [07:46:44]OFD Sender: No OFD packet to send [07:46:49]OFD Sender: No OFD packet to send [07:46:54]OFD Sender: No OFD packet to send [07:46:59]OFD Sender: No OFD packet to send [07:47:04]OFD Sender: No OFD packet to send [07:47:09]OFD Sender: No OFD packet to send [07:47:14]OFD Sender: No OFD packet to send [07:47:19]OFD Sender: No OFD packet to send [07:47:24]OFD Sender: No OFD packet to send [07:47:29]OFD Sender: No OFD packet to send [07:47:34]OFD Sender: No OFD packet to send [07:47:39]OFD Sender: No OFD packet to send [07:47:44]OFD Sender: No OFD packet to send [07:47:49]OFD Sender: No OFD packet to send [07:47:54]OFD Sender: No OFD packet to send [07:47:59]OFD Sender: No OFD packet to send [07:48:04]OFD Sender: No OFD packet to send [07:48:09]OFD Sender: No OFD packet to send [07:48:14]OFD Sender: No OFD packet to send [07:48:19]OFD Sender: No OFD packet to send [07:48:24]OFD Sender: No OFD packet to send [07:48:29]OFD Sender: No OFD packet to send [07:48:34]OFD Sender: No OFD packet to send [07:48:39]OFD Sender: No OFD packet to send [07:48:44]OFD Sender: No OFD packet to send [07:48:49]OFD Sender: No OFD packet to send [07:48:54]OFD Sender: No OFD packet to send [07:48:59]OFD Sender: No OFD packet to send [07:49:04]OFD Sender: No OFD packet to send [07:49:09]OFD Sender: No OFD packet to send [07:49:14]OFD Sender: No OFD packet to send [07:49:19]OFD Sender: No OFD packet to send [07:49:24]OFD Sender: No OFD packet to send [07:49:29]OFD Sender: No OFD packet to send [07:49:34]OFD Sender: No OFD packet to send [07:49:39]OFD Sender: No OFD packet to send [07:49:44]OFD Sender: No OFD packet to send [07:49:49]OFD Sender: No OFD packet to send [07:49:54]OFD Sender: No OFD packet to send [07:49:59]OFD Sender: No OFD packet to send [07:50:04]OFD Sender: No OFD packet to send [07:50:09]OFD Sender: No OFD packet to send [07:50:14]OFD Sender: No OFD packet to send [07:50:19]OFD Sender: No OFD packet to send [07:50:24]OFD Sender: No OFD packet to send [07:50:29]OFD Sender: No OFD packet to send [07:50:34]OFD Sender: No OFD packet to send [07:50:39]OFD Sender: No OFD packet to send [07:50:44]OFD Sender: No OFD packet to send [07:50:49]OFD Sender: No OFD packet to send [07:50:54]OFD Sender: No OFD packet to send [07:50:59]OFD Sender: No OFD packet to send [07:51:04]OFD Sender: No OFD packet to send [07:51:09]OFD Sender: No OFD packet to send [07:51:14]OFD Sender: No OFD packet to send [07:51:19]OFD Sender: No OFD packet to send [07:51:24]OFD Sender: No OFD packet to send [07:51:29]OFD Sender: No OFD packet to send [07:51:34]OFD Sender: No OFD packet to send [07:51:39]OFD Sender: No OFD packet to send [07:51:44]OFD Sender: No OFD packet to send [07:51:49]OFD Sender: No OFD packet to send [07:51:54]OFD Sender: No OFD packet to send [07:51:59]OFD Sender: No OFD packet to send [07:52:04]OFD Sender: No OFD packet to send [07:52:09]OFD Sender: No OFD packet to send [07:52:14]OFD Sender: No OFD packet to send [07:52:19]OFD Sender: No OFD packet to send [07:52:24]OFD Sender: No OFD packet to send [07:52:29]OFD Sender: No OFD packet to send [07:52:34]OFD Sender: No OFD packet to send [07:52:39]OFD Sender: No OFD packet to send [07:52:44]OFD Sender: No OFD packet to send [07:52:49]OFD Sender: No OFD packet to send [07:52:54]OFD Sender: No OFD packet to send [07:52:59]OFD Sender: No OFD packet to send [07:53:04]OFD Sender: No OFD packet to send [07:53:09]OFD Sender: No OFD packet to send [07:53:14]OFD Sender: No OFD packet to send [07:53:19]OFD Sender: No OFD packet to send [07:53:24]OFD Sender: No OFD packet to send [07:53:29]OFD Sender: No OFD packet to send [07:53:34]OFD Sender: No OFD packet to send [07:53:39]OFD Sender: No OFD packet to send [07:53:44]OFD Sender: No OFD packet to send [07:53:49]OFD Sender: No OFD packet to send [07:53:54]OFD Sender: No OFD packet to send [07:53:59]OFD Sender: No OFD packet to send [07:54:04]OFD Sender: No OFD packet to send [07:54:09]OFD Sender: No OFD packet to send [07:54:14]OFD Sender: No OFD packet to send [07:54:19]OFD Sender: No OFD packet to send [07:54:24]OFD Sender: No OFD packet to send [07:54:29]OFD Sender: No OFD packet to send [07:54:34]OFD Sender: No OFD packet to send [07:54:39]OFD Sender: No OFD packet to send [07:54:44]OFD Sender: No OFD packet to send [07:54:49]OFD Sender: No OFD packet to send [07:54:54]OFD Sender: No OFD packet to send [07:54:59]OFD Sender: No OFD packet to send [07:55:04]OFD Sender: No OFD packet to send [07:55:09]OFD Sender: No OFD packet to send [07:55:14]OFD Sender: No OFD packet to send [07:55:19]OFD Sender: No OFD packet to send [07:55:24]OFD Sender: No OFD packet to send [07:55:29]OFD Sender: No OFD packet to send [07:55:34]OFD Sender: No OFD packet to send [07:55:39]OFD Sender: No OFD packet to send [07:55:44]OFD Sender: No OFD packet to send [07:55:49]OFD Sender: No OFD packet to send [07:55:54]OFD Sender: No OFD packet to send [07:55:59]OFD Sender: No OFD packet to send [07:56:04]OFD Sender: No OFD packet to send [07:56:09]OFD Sender: No OFD packet to send [07:56:14]OFD Sender: No OFD packet to send [07:56:19]OFD Sender: No OFD packet to send [07:56:24]OFD Sender: No OFD packet to send [07:56:29]OFD Sender: No OFD packet to send [07:56:34]OFD Sender: No OFD packet to send [07:56:39]OFD Sender: No OFD packet to send [07:56:44]OFD Sender: No OFD packet to send [07:56:49]OFD Sender: No OFD packet to send [07:56:54]OFD Sender: No OFD packet to send [07:56:59]OFD Sender: No OFD packet to send [07:57:04]OFD Sender: No OFD packet to send [07:57:09]OFD Sender: No OFD packet to send [07:57:14]OFD Sender: No OFD packet to send [07:57:19]OFD Sender: No OFD packet to send [07:57:24]OFD Sender: No OFD packet to send [07:57:29]OFD Sender: No OFD packet to send [07:57:34]OFD Sender: No OFD packet to send [07:57:39]OFD Sender: No OFD packet to send [07:57:44]OFD Sender: No OFD packet to send [07:57:49]OFD Sender: No OFD packet to send [07:57:54]OFD Sender: No OFD packet to send [07:57:59]OFD Sender: No OFD packet to send [07:58:04]OFD Sender: No OFD packet to send [07:58:09]OFD Sender: No OFD packet to send [07:58:14]OFD Sender: No OFD packet to send [07:58:19]OFD Sender: No OFD packet to send [07:58:24]OFD Sender: No OFD packet to send [07:58:29]OFD Sender: No OFD packet to send [07:58:34]OFD Sender: No OFD packet to send [07:58:39]OFD Sender: No OFD packet to send [07:58:44]OFD Sender: No OFD packet to send [07:58:50]OFD Sender: No OFD packet to send [07:58:55]OFD Sender: No OFD packet to send [07:59:00]OFD Sender: No OFD packet to send [07:59:05]OFD Sender: No OFD packet to send [07:59:10]OFD Sender: No OFD packet to send [07:59:15]OFD Sender: No OFD packet to send [07:59:20]OFD Sender: No OFD packet to send [07:59:25]OFD Sender: No OFD packet to send [07:59:30]OFD Sender: No OFD packet to send [07:59:35]OFD Sender: No OFD packet to send [07:59:40]OFD Sender: No OFD packet to send [07:59:45]OFD Sender: No OFD packet to send [07:59:50]OFD Sender: No OFD packet to send [07:59:55]OFD Sender: No OFD packet to send [08:00:00]OFD Sender: No OFD packet to send [08:00:05]OFD Sender: No OFD packet to send [08:00:10]OFD Sender: No OFD packet to send [08:00:15]OFD Sender: No OFD packet to send [08:00:20]OFD Sender: No OFD packet to send [08:00:25]OFD Sender: No OFD packet to send [08:00:30]OFD Sender: No OFD packet to send [08:00:35]OFD Sender: No OFD packet to send [08:00:40]OFD Sender: No OFD packet to send [08:00:45]OFD Sender: No OFD packet to send [08:00:50]OFD Sender: No OFD packet to send [08:00:55]OFD Sender: No OFD packet to send [08:01:00]OFD Sender: No OFD packet to send [08:01:05]OFD Sender: No OFD packet to send [08:01:10]OFD Sender: No OFD packet to send [08:01:15]OFD Sender: No OFD packet to send [08:01:20]OFD Sender: No OFD packet to send [08:01:25]OFD Sender: No OFD packet to send [08:01:30]OFD Sender: No OFD packet to send [08:01:35]OFD Sender: No OFD packet to send [08:01:40]OFD Sender: No OFD packet to send [08:01:45]OFD Sender: No OFD packet to send [08:01:50]OFD Sender: No OFD packet to send [08:01:55]OFD Sender: No OFD packet to send [08:02:00]OFD Sender: No OFD packet to send [08:02:05]OFD Sender: No OFD packet to send [08:02:10]OFD Sender: No OFD packet to send [08:02:15]OFD Sender: No OFD packet to send [08:02:20]OFD Sender: No OFD packet to send [08:02:25]OFD Sender: No OFD packet to send [08:02:30]OFD Sender: No OFD packet to send [08:02:35]OFD Sender: No OFD packet to send [08:02:40]OFD Sender: No OFD packet to send [08:02:45]OFD Sender: No OFD packet to send [08:02:50]OFD Sender: No OFD packet to send [08:02:55]OFD Sender: No OFD packet to send [08:03:00]OFD Sender: No OFD packet to send [08:03:05]OFD Sender: No OFD packet to send [08:03:10]OFD Sender: No OFD packet to send [08:03:15]OFD Sender: No OFD packet to send [08:03:20]OFD Sender: No OFD packet to send [08:03:25]OFD Sender: No OFD packet to send [08:03:30]OFD Sender: No OFD packet to send [08:03:35]OFD Sender: No OFD packet to send [08:03:40]OFD Sender: No OFD packet to send [08:03:45]OFD Sender: No OFD packet to send [08:03:50]OFD Sender: No OFD packet to send [08:03:55]OFD Sender: No OFD packet to send [08:04:00]OFD Sender: No OFD packet to send [08:04:05]OFD Sender: No OFD packet to send [08:04:10]OFD Sender: No OFD packet to send [08:04:15]OFD Sender: No OFD packet to send [08:04:20]OFD Sender: No OFD packet to send [08:04:25]OFD Sender: No OFD packet to send [08:04:30]OFD Sender: No OFD packet to send [08:04:35]OFD Sender: No OFD packet to send [08:04:40]OFD Sender: No OFD packet to send [08:04:45]OFD Sender: No OFD packet to send [08:04:50]OFD Sender: No OFD packet to send [08:04:55]OFD Sender: No OFD packet to send [08:05:00]OFD Sender: No OFD packet to send [08:05:05]OFD Sender: No OFD packet to send [08:05:10]OFD Sender: No OFD packet to send [08:05:15]OFD Sender: No OFD packet to send [08:05:20]OFD Sender: No OFD packet to send [08:05:25]OFD Sender: No OFD packet to send [08:05:30]OFD Sender: No OFD packet to send [08:05:35]OFD Sender: No OFD packet to send [08:05:40]OFD Sender: No OFD packet to send [08:05:45]OFD Sender: No OFD packet to send [08:05:50]OFD Sender: No OFD packet to send [08:05:55]OFD Sender: No OFD packet to send [08:06:00]OFD Sender: No OFD packet to send [08:06:05]OFD Sender: No OFD packet to send [08:06:10]OFD Sender: No OFD packet to send [08:06:15]OFD Sender: No OFD packet to send [08:06:20]OFD Sender: No OFD packet to send [08:06:25]OFD Sender: No OFD packet to send [08:06:30]OFD Sender: No OFD packet to send [08:06:35]OFD Sender: No OFD packet to send [08:06:40]OFD Sender: No OFD packet to send [08:06:45]OFD Sender: No OFD packet to send [08:06:50]OFD Sender: No OFD packet to send [08:06:55]OFD Sender: No OFD packet to send [08:07:00]OFD Sender: No OFD packet to send [08:07:05]OFD Sender: No OFD packet to send [08:07:10]OFD Sender: No OFD packet to send [08:07:15]OFD Sender: No OFD packet to send [08:07:20]OFD Sender: No OFD packet to send [08:07:25]OFD Sender: No OFD packet to send [08:07:30]OFD Sender: No OFD packet to send [08:07:35]OFD Sender: No OFD packet to send [08:07:40]OFD Sender: No OFD packet to send [08:07:45]OFD Sender: No OFD packet to send [08:07:50]OFD Sender: No OFD packet to send [08:07:55]OFD Sender: No OFD packet to send [08:08:00]OFD Sender: No OFD packet to send [08:08:05]OFD Sender: No OFD packet to send [08:08:10]OFD Sender: No OFD packet to send [08:08:15]OFD Sender: No OFD packet to send [08:08:20]OFD Sender: No OFD packet to send [08:08:25]OFD Sender: No OFD packet to send [08:08:30]OFD Sender: No OFD packet to send [08:08:35]OFD Sender: No OFD packet to send [08:08:40]OFD Sender: No OFD packet to send [08:08:45]OFD Sender: No OFD packet to send [08:08:50]OFD Sender: No OFD packet to send [08:08:55]OFD Sender: No OFD packet to send [08:09:00]OFD Sender: No OFD packet to send [08:09:05]OFD Sender: No OFD packet to send [08:09:10]OFD Sender: No OFD packet to send [08:09:15]OFD Sender: No OFD packet to send [08:09:20]OFD Sender: No OFD packet to send [08:09:25]OFD Sender: No OFD packet to send [08:09:30]OFD Sender: No OFD packet to send [08:09:35]OFD Sender: No OFD packet to send [08:09:40]OFD Sender: No OFD packet to send [08:09:45]OFD Sender: No OFD packet to send [08:09:50]OFD Sender: No OFD packet to send [08:09:55]OFD Sender: No OFD packet to send [08:10:00]OFD Sender: No OFD packet to send [08:10:05]OFD Sender: No OFD packet to send [08:10:10]OFD Sender: No OFD packet to send [08:10:15]OFD Sender: No OFD packet to send [08:10:20]OFD Sender: No OFD packet to send [08:10:25]OFD Sender: No OFD packet to send [08:10:30]OFD Sender: No OFD packet to send [08:10:35]OFD Sender: No OFD packet to send [08:10:40]OFD Sender: No OFD packet to send [08:10:45]OFD Sender: No OFD packet to send [08:10:50]OFD Sender: No OFD packet to send [08:10:55]OFD Sender: No OFD packet to send [08:11:00]OFD Sender: No OFD packet to send [08:11:05]OFD Sender: No OFD packet to send [08:11:10]OFD Sender: No OFD packet to send [08:11:15]OFD Sender: No OFD packet to send [08:11:20]OFD Sender: No OFD packet to send [08:11:25]OFD Sender: No OFD packet to send [08:11:30]OFD Sender: No OFD packet to send [08:11:35]OFD Sender: No OFD packet to send [08:11:40]OFD Sender: No OFD packet to send [08:11:45]OFD Sender: No OFD packet to send [08:11:50]OFD Sender: No OFD packet to send [08:11:55]OFD Sender: No OFD packet to send [08:12:00]OFD Sender: No OFD packet to send [08:12:05]OFD Sender: No OFD packet to send [08:12:10]OFD Sender: No OFD packet to send [08:12:15]OFD Sender: No OFD packet to send [08:12:20]OFD Sender: No OFD packet to send [08:12:25]OFD Sender: No OFD packet to send [08:12:30]OFD Sender: No OFD packet to send [08:12:35]OFD Sender: No OFD packet to send [08:12:40]OFD Sender: No OFD packet to send [08:12:45]OFD Sender: No OFD packet to send [08:12:50]OFD Sender: No OFD packet to send [08:12:55]OFD Sender: No OFD packet to send [08:13:00]OFD Sender: No OFD packet to send [08:13:05]OFD Sender: No OFD packet to send [08:13:10]OFD Sender: No OFD packet to send [08:13:15]OFD Sender: No OFD packet to send [08:13:20]OFD Sender: No OFD packet to send [08:13:25]OFD Sender: No OFD packet to send [08:13:30]OFD Sender: No OFD packet to send [08:13:35]OFD Sender: No OFD packet to send [08:13:40]OFD Sender: No OFD packet to send [08:13:45]OFD Sender: No OFD packet to send [08:13:50]OFD Sender: No OFD packet to send [08:13:55]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:05]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:08]accept exits with 9 [08:17:08]New connection [08:17:08]New thread 3067243876 created [08:17:08]Thread 3067100516 joined [08:17:08]Waiting for new connection... [08:17:08] Sock 9.Parse request [08:17:08]Sock 9.Check first char [08:17:08]Sock 9.First char is OK [08:17:08]request: POST /json_proto HTTP/1.0 [08:17:08]Method: POST [08:17:08]URL: /json_proto [08:17:08]Method is POST - this is cgi request [08:17:08]url: /json_proto [08:17:08]query_string will be loaded in cgi processing [08:17:08]execute_cgi json_proto POST (null) [08:17:08]execute_cgi path=json_proto method=POST [08:17:08]POST find Content-Length [08:17:08]Host: 172.17.62.6:8080 [08:17:08]Content-Length: 215 [08:17:08]Content-Type: application/json [08:17:08] [08:17:08]POST finish read [08:17:08]Found Content-Length = 215 [08:17:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:17:08]execute_script... [08:17:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:17:08]POST & json_proto [08:17:08]process_json_proto [08:17:08]json parsed OK: [08:17:08]protocol is kg_v1.0 [08:17:08]action value=get_value [08:17:08]process_action get_value [08:17:08]cmd_get_value [08:17:08]process_action get_value done [08:17:08]requested_data is exist [08:17:08]produce_requested_data [08:17:08]requested_item kkm.sn is exist - process it [08:17:08]requested_item kkm.ver is exist - process it [08:17:08]requested_item fm.sn is exist - process it [08:17:08]wFMCommunicate request_size=4 [08:17:08]MH_SAM_APDU [08:17:08]CAPDU: 80 11 00 00 [08:17:08]Write to MH i2c: E2 08 00 CF 25 80 11 00 00 00 00 00 00 6E [08:17:08]Write i2c OK [08:17:08]MH_I2C_Read... [08:17:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:17:08]Read from MH i2c: E2 [08:17:08]MH_I2C_Read... [08:17:08]Read from MH i2c: E2 17 00 [08:17:08]MH_I2C_Read... [08:17:08]Read from MH i2c: E2 17 00 CF 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 C8 [08:17:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [08:17:08]wFMCommunicate OK [08:17:08]requested_item fd.num is exist - process it [08:17:08]SAM_PROTO_GetFieldsCounters [08:17:08]wFMCommunicate request_size=4 [08:17:08]MH_SAM_APDU [08:17:08]CAPDU: 80 13 00 00 [08:17:08]Write to MH i2c: E2 08 00 D0 25 80 13 00 00 00 00 00 00 71 [08:17:08]Write i2c OK [08:17:08]MH_I2C_Read... [08:17:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:17:08]Read from MH i2c: E2 [08:17:08]MH_I2C_Read... [08:17:08]Read from MH i2c: E2 62 00 [08:17:08]MH_I2C_Read... [08:17:08]Read from MH i2c: E2 62 00 D0 25 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 D7 30 00 00 0E 04 04 00 17 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 C2 [08:17:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 D7 30 00 00 0E 04 04 00 17 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:17:08]wFMCommunicate OK [08:17:08]SAM_PROTO_GetFieldsCounters done [08:17:08]requested_item shift.num is exist - process it [08:17:08]requested_item shift.opened is exist - process it [08:17:08]req_shift_opened [08:17:08]FM_GetShiftState [08:17:08]SAM_PROTO_GetShiftState [08:17:08]wFMCommunicate request_size=4 [08:17:08]MH_SAM_APDU [08:17:08]CAPDU: 80 13 01 00 [08:17:08]Write to MH i2c: E2 08 00 D1 25 80 13 01 00 00 00 00 00 73 [08:17:08]Write i2c OK [08:17:08]MH_I2C_Read... [08:17:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:17:08]Read from MH i2c: E2 [08:17:08]MH_I2C_Read... [08:17:08]Read from MH i2c: E2 0E 00 [08:17:08]MH_I2C_Read... [08:17:08]Read from MH i2c: E2 0E 00 D1 25 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 69 [08:17:08]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [08:17:08]wFMCommunicate OK [08:17:08]SAM_PROTO_GetShiftState done [08:17:08]FM_GetShiftState done [08:17:08]req_shift_opened done [08:17:08]requested_item shift.open_date is exist - process it [08:17:08]req_shift_open_date [08:17:08]req_shift_open_date done [08:17:08]produce_requested_data done [08:17:08]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12503,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [08:17:08]process_action_free get_value [08:17:08]json_value_free [08:17:08]json_value_free done [08:17:08]process_json_proto returns [08:17:08]Send response to host [08:17:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12503,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [08:17:08]free response buf [08:17:08]execute_script done [08:17:08]execute_script returns [08:17:08]free content buf [08:17:08]Sock 9.Close socket [08:17:08]Sock 9.Thread stoped [08:17:10]OFD Sender: No OFD packet to send [08:17:11]accept exits with 8 [08:17:11]New connection [08:17:11]New thread 3067100516 created [08:17:11]Thread 3067243876 joined [08:17:11]Waiting for new connection... [08:17:11] Sock 8.Parse request [08:17:11]Sock 8.Check first char [08:17:11]Sock 8.First char is OK [08:17:11]request: POST /json_proto HTTP/1.0 [08:17:11]Method: POST [08:17:11]URL: /json_proto [08:17:11]Method is POST - this is cgi request [08:17:11]url: /json_proto [08:17:11]query_string will be loaded in cgi processing [08:17:11]execute_cgi json_proto POST (null) [08:17:11]execute_cgi path=json_proto method=POST [08:17:11]POST find Content-Length [08:17:11]Host: 172.17.62.6:8080 [08:17:11]Content-Length: 331 [08:17:11]Content-Type: application/json [08:17:11] [08:17:11]POST finish read [08:17:11]Found Content-Length = 331 [08:17:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:17:11]execute_script... [08:17:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [08:17:11]POST & json_proto [08:17:11]process_json_proto [08:17:11]json parsed OK: [08:17:11]protocol is kg_v1.0 [08:17:11]action value=get_value [08:17:11]process_action get_value [08:17:11]cmd_get_value [08:17:11]process_action get_value done [08:17:11]requested_data is exist [08:17:11]produce_requested_data [08:17:11]requested_item fm.sale.total is exist - process it [08:17:11]SAM_PROTO_GetFMData [08:17:11]wFMCommunicate request_size=4 [08:17:11]MH_SAM_APDU [08:17:11]CAPDU: 80 13 03 00 [08:17:11]Write to MH i2c: E2 08 00 D2 25 80 13 03 00 00 00 00 00 76 [08:17:11]Write i2c OK [08:17:11]MH_I2C_Read... [08:17:12]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [08:17:12]Read from MH i2c: E2 [08:17:12]MH_I2C_Read... [08:17:12]Read from MH i2c: E2 FD 00 [08:17:12]MH_I2C_Read... [08:17:12]Read from MH i2c: E2 FD 00 D2 25 00 C1 04 85 04 BD 04 6E 04 04 00 A9 2E 00 00 69 04 A0 00 6F 04 04 00 5D 2E 00 00 B1 04 04 00 93 B6 A5 0E 70 04 04 00 8A 6C A2 0C 72 04 04 00 09 4A 03 02 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 07 32 8E 01 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 C4 2A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 DB [08:17:12]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 A9 2E 00 00 69 04 A0 00 6F 04 04 00 5D 2E 00 00 B1 04 04 00 93 B6 A5 0E 70 04 04 00 8A 6C A2 0C 72 04 04 00 09 4A 03 02 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 07 32 8E 01 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 C4 2A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 [08:17:12]wFMCommunicate OK [08:17:12]wFMCommunicate request_size=4 [08:17:12]MH_SAM_APDU [08:17:12]CAPDU: 80 17 00 00 [08:17:12]Write to MH i2c: E2 08 00 D3 25 80 17 00 00 00 00 00 00 78 [08:17:12]Write i2c OK [08:17:12]MH_I2C_Read... [08:17:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:17:12]Read from MH i2c: E2 [08:17:12]MH_I2C_Read... [08:17:12]Read from MH i2c: E2 FD 00 [08:17:12]MH_I2C_Read... [08:17:12]Read from MH i2c: E2 FD 00 D3 25 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 16 [08:17:12]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:17:12]wFMCommunicate OK [08:17:12]wFMCommunicate request_size=4 [08:17:12]MH_SAM_APDU [08:17:12]CAPDU: 80 17 00 00 [08:17:12]Write to MH i2c: E2 08 00 D4 25 80 17 00 00 00 00 00 00 79 [08:17:12]Write i2c OK [08:17:12]MH_I2C_Read... [08:17:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:17:12]Read from MH i2c: E2 [08:17:12]MH_I2C_Read... [08:17:12]Read from MH i2c: E2 FD 00 [08:17:12]MH_I2C_Read... [08:17:12]Read from MH i2c: E2 FD 00 D4 25 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 19 [08:17:12]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:17:12]wFMCommunicate OK [08:17:12]wFMCommunicate request_size=4 [08:17:12]MH_SAM_APDU [08:17:12]CAPDU: 80 17 00 00 [08:17:12]Write to MH i2c: E2 08 00 D5 25 80 17 00 00 00 00 00 00 7A [08:17:12]Write i2c OK [08:17:12]MH_I2C_Read... [08:17:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:17:13]Read from MH i2c: E2 [08:17:13]MH_I2C_Read... [08:17:13]Read from MH i2c: E2 FD 00 [08:17:13]MH_I2C_Read... [08:17:13]Read from MH i2c: E2 FD 00 D5 25 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FF [08:17:13]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:17:13]wFMCommunicate OK [08:17:13]wFMCommunicate request_size=4 [08:17:13]MH_SAM_APDU [08:17:13]CAPDU: 80 17 00 00 [08:17:13]Write to MH i2c: E2 08 00 D6 25 80 17 00 00 00 00 00 00 7B [08:17:13]Write i2c OK [08:17:13]MH_I2C_Read... [08:17:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [08:17:13]Read from MH i2c: E2 [08:17:13]MH_I2C_Read... [08:17:13]Read from MH i2c: E2 DE 00 [08:17:13]MH_I2C_Read... [08:17:13]Read from MH i2c: E2 DE 00 D6 25 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 5A [08:17:13]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:17:13]wFMCommunicate OK [08:17:13]SAM_PROTO_GetFMData done [08:17:13]requested_item fm.sale_refund.total is exist - process it [08:17:13]requested_item fm.buy.total is exist - process it [08:17:13]requested_item shift.sale.total is exist - process it [08:17:13]SAM_PROTO_GetShiftData [08:17:13]wFMCommunicate request_size=4 [08:17:13]MH_SAM_APDU [08:17:13]CAPDU: 80 13 02 00 [08:17:13]Write to MH i2c: E2 08 00 D7 25 80 13 02 00 00 00 00 00 7A [08:17:13]Write i2c OK [08:17:13]MH_I2C_Read... [08:17:13]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:17:13]Read from MH i2c: E2 [08:17:13]MH_I2C_Read... [08:17:13]Read from MH i2c: E2 FD 00 [08:17:13]MH_I2C_Read... [08:17:13]Read from MH i2c: E2 FD 00 D7 25 00 AC 04 AA 04 A8 04 6E 04 04 00 05 00 00 00 69 04 99 00 6F 04 04 00 05 00 00 00 B1 04 03 00 1C B5 01 70 04 03 00 10 3A 01 72 04 02 00 0C 7B 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 6A 2E 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 DE 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 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 5B [08:17:13]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 05 00 00 00 69 04 99 00 6F 04 04 00 05 00 00 00 B1 04 03 00 1C B5 01 70 04 03 00 10 3A 01 72 04 02 00 0C 7B 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 6A 2E 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 DE 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 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [08:17:13]wFMCommunicate OK [08:17:13]wFMCommunicate request_size=4 [08:17:13]MH_SAM_APDU [08:17:13]CAPDU: 80 17 00 00 [08:17:13]Write to MH i2c: E2 08 00 D8 25 80 17 00 00 00 00 00 00 7D [08:17:13]Write i2c OK [08:17:13]MH_I2C_Read... [08:17:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:17:14]Read from MH i2c: E2 [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: E2 FD 00 [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: E2 FD 00 D8 25 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 92 [08:17:14]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [08:17:14]wFMCommunicate OK [08:17:14]wFMCommunicate request_size=4 [08:17:14]MH_SAM_APDU [08:17:14]CAPDU: 80 17 00 00 [08:17:14]Write to MH i2c: E2 08 00 D9 25 80 17 00 00 00 00 00 00 7E [08:17:14]Write i2c OK [08:17:14]MH_I2C_Read... [08:17:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:17:14]Read from MH i2c: E2 [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: E2 FD 00 [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: E2 FD 00 D9 25 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 3F [08:17:14]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [08:17:14]wFMCommunicate OK [08:17:14]wFMCommunicate request_size=4 [08:17:14]MH_SAM_APDU [08:17:14]CAPDU: 80 17 00 00 [08:17:14]Write to MH i2c: E2 08 00 DA 25 80 17 00 00 00 00 00 00 7F [08:17:14]Write i2c OK [08:17:14]MH_I2C_Read... [08:17:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:17:14]Read from MH i2c: E2 [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: E2 FD 00 [08:17:14]MH_I2C_Read... [08:17:14]Read from MH i2c: E2 FD 00 DA 25 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 F4 [08:17:14]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [08:17:14]wFMCommunicate OK [08:17:14]wFMCommunicate request_size=4 [08:17:14]MH_SAM_APDU [08:17:14]CAPDU: 80 17 00 00 [08:17:14]Write to MH i2c: E2 08 00 DB 25 80 17 00 00 00 00 00 00 80 [08:17:14]Write i2c OK [08:17:14]MH_I2C_Read... [08:17:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [08:17:15]Read from MH i2c: E2 [08:17:15]MH_I2C_Read... [08:17:15]Read from MH i2c: E2 C9 00 [08:17:15]MH_I2C_Read... [08:17:15]Read from MH i2c: E2 C9 00 DB 25 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 64 [08:17:15]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:17:15]wFMCommunicate OK [08:17:15]SAM_PROTO_GetShiftData done [08:17:15]requested_item shift.sale.total_cash is exist - process it [08:17:15]requested_item shift.sale_refund.total is exist - process it [08:17:15]requested_item shift.sale_refund.total_cash is exist - process it [08:17:15]requested_item shift.buy.total is exist - process it [08:17:15]requested_item shift.buy.total_cash is exist - process it [08:17:15]produce_requested_data done [08:17:15]produce_requested_data return {"fm.sale.total":2457412.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":1119.00,"shift.sale.total_cash":804.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [08:17:15]process_action_free get_value [08:17:15]json_value_free [08:17:15]json_value_free done [08:17:15]process_json_proto returns [08:17:15]Send response to host [08:17:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2457412.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":1119.00,"shift.sale.total_cash":804.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [08:17:15]free response buf [08:17:15]execute_script done [08:17:15]execute_script returns [08:17:15]free content buf [08:17:15]Sock 8.Close socket [08:17:15]Sock 8.Thread stoped [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:01]OFD Sender: No OFD packet to send [08:18:06]OFD Sender: No OFD packet to send [08:18:11]OFD Sender: No OFD packet to send [08:18:16]OFD Sender: No OFD packet to send [08:18:21]OFD Sender: No OFD packet to send [08:18:26]OFD Sender: No OFD packet to send [08:18:31]OFD Sender: No OFD packet to send [08:18:36]OFD Sender: No OFD packet to send [08:18:41]OFD Sender: No OFD packet to send [08:18:46]OFD Sender: No OFD packet to send [08:18:51]OFD Sender: No OFD packet to send [08:18:56]OFD Sender: No OFD packet to send [08:19:01]OFD Sender: No OFD packet to send [08:19:06]OFD Sender: No OFD packet to send [08:19:11]OFD Sender: No OFD packet to send [08:19:16]OFD Sender: No OFD packet to send [08:19:21]OFD Sender: No OFD packet to send [08:19:26]OFD Sender: No OFD packet to send [08:19:31]OFD Sender: No OFD packet to send [08:19:36]OFD Sender: No OFD packet to send [08:19:41]OFD Sender: No OFD packet to send [08:19:46]OFD Sender: No OFD packet to send [08:19:51]OFD Sender: No OFD packet to send [08:19:56]OFD Sender: No OFD packet to send [08:20:01]OFD Sender: No OFD packet to send [08:20:06]OFD Sender: No OFD packet to send [08:20:11]OFD Sender: No OFD packet to send [08:20:16]OFD Sender: No OFD packet to send [08:20:21]OFD Sender: No OFD packet to send [08:20:26]OFD Sender: No OFD packet to send [08:20:31]OFD Sender: No OFD packet to send [08:20:36]OFD Sender: No OFD packet to send [08:20:41]OFD Sender: No OFD packet to send [08:20:46]OFD Sender: No OFD packet to send [08:20:51]OFD Sender: No OFD packet to send [08:20:56]OFD Sender: No OFD packet to send [08:21:01]OFD Sender: No OFD packet to send [08:21:06]OFD Sender: No OFD packet to send [08:21:11]OFD Sender: No OFD packet to send [08:21:16]OFD Sender: No OFD packet to send [08:21:21]OFD Sender: No OFD packet to send [08:21:26]OFD Sender: No OFD packet to send [08:21:31]OFD Sender: No OFD packet to send [08:21:36]OFD Sender: No OFD packet to send [08:21:41]OFD Sender: No OFD packet to send [08:21:46]OFD Sender: No OFD packet to send [08:21:51]OFD Sender: No OFD packet to send [08:21:56]OFD Sender: No OFD packet to send [08:22:01]OFD Sender: No OFD packet to send [08:22:06]OFD Sender: No OFD packet to send [08:22:11]OFD Sender: No OFD packet to send [08:22:16]OFD Sender: No OFD packet to send [08:22:21]OFD Sender: No OFD packet to send [08:22:26]OFD Sender: No OFD packet to send [08:22:31]OFD Sender: No OFD packet to send [08:22:36]OFD Sender: No OFD packet to send [08:22:41]OFD Sender: No OFD packet to send [08:22:46]OFD Sender: No OFD packet to send [08:22:51]OFD Sender: No OFD packet to send [08:22:56]OFD Sender: No OFD packet to send [08:23:01]OFD Sender: No OFD packet to send [08:23:06]OFD Sender: No OFD packet to send [08:23:11]OFD Sender: No OFD packet to send [08:23:16]OFD Sender: No OFD packet to send [08:23:21]OFD Sender: No OFD packet to send [08:23:26]OFD Sender: No OFD packet to send [08:23:31]OFD Sender: No OFD packet to send [08:23:36]OFD Sender: No OFD packet to send [08:23:41]OFD Sender: No OFD packet to send [08:23:46]OFD Sender: No OFD packet to send [08:23:51]OFD Sender: No OFD packet to send [08:23:56]OFD Sender: No OFD packet to send [08:24:01]OFD Sender: No OFD packet to send [08:24:06]OFD Sender: No OFD packet to send [08:24:11]OFD Sender: No OFD packet to send [08:24:16]OFD Sender: No OFD packet to send [08:24:21]OFD Sender: No OFD packet to send [08:24:26]OFD Sender: No OFD packet to send [08:24:31]OFD Sender: No OFD packet to send [08:24:36]OFD Sender: No OFD packet to send [08:24:41]OFD Sender: No OFD packet to send [08:24:46]OFD Sender: No OFD packet to send [08:24:51]OFD Sender: No OFD packet to send [08:24:56]OFD Sender: No OFD packet to send [08:25:01]OFD Sender: No OFD packet to send [08:25:06]OFD Sender: No OFD packet to send [08:25:11]OFD Sender: No OFD packet to send [08:25:16]OFD Sender: No OFD packet to send [08:25:21]OFD Sender: No OFD packet to send [08:25:26]OFD Sender: No OFD packet to send [08:25:31]OFD Sender: No OFD packet to send [08:25:36]OFD Sender: No OFD packet to send [08:25:41]OFD Sender: No OFD packet to send [08:25:46]OFD Sender: No OFD packet to send [08:25:51]OFD Sender: No OFD packet to send [08:25:56]OFD Sender: No OFD packet to send [08:26:01]OFD Sender: No OFD packet to send [08:26:06]OFD Sender: No OFD packet to send [08:26:11]OFD Sender: No OFD packet to send [08:26:16]OFD Sender: No OFD packet to send [08:26:21]OFD Sender: No OFD packet to send [08:26:26]OFD Sender: No OFD packet to send [08:26:31]OFD Sender: No OFD packet to send [08:26:36]OFD Sender: No OFD packet to send [08:26:41]OFD Sender: No OFD packet to send [08:26:46]OFD Sender: No OFD packet to send [08:26:51]OFD Sender: No OFD packet to send [08:26:56]OFD Sender: No OFD packet to send [08:27:01]OFD Sender: No OFD packet to send [08:27:06]OFD Sender: No OFD packet to send [08:27:11]OFD Sender: No OFD packet to send [08:27:16]OFD Sender: No OFD packet to send [08:27:21]OFD Sender: No OFD packet to send [08:27:26]OFD Sender: No OFD packet to send [08:27:31]OFD Sender: No OFD packet to send [08:27:36]OFD Sender: No OFD packet to send [08:27:41]OFD Sender: No OFD packet to send [08:27:46]OFD Sender: No OFD packet to send [08:27:51]OFD Sender: No OFD packet to send [08:27:56]OFD Sender: No OFD packet to send [08:28:01]OFD Sender: No OFD packet to send [08:28:06]OFD Sender: No OFD packet to send [08:28:11]OFD Sender: No OFD packet to send [08:28:16]OFD Sender: No OFD packet to send [08:28:21]OFD Sender: No OFD packet to send [08:28:26]OFD Sender: No OFD packet to send [08:28:31]OFD Sender: No OFD packet to send [08:28:36]OFD Sender: No OFD packet to send [08:28:41]OFD Sender: No OFD packet to send [08:28:46]OFD Sender: No OFD packet to send [08:28:51]OFD Sender: No OFD packet to send [08:28:56]OFD Sender: No OFD packet to send [08:29:01]OFD Sender: No OFD packet to send [08:29:06]OFD Sender: No OFD packet to send [08:29:11]OFD Sender: No OFD packet to send [08:29:16]OFD Sender: No OFD packet to send [08:29:21]OFD Sender: No OFD packet to send [08:29:26]OFD Sender: No OFD packet to send [08:29:31]OFD Sender: No OFD packet to send [08:29:36]OFD Sender: No OFD packet to send [08:29:41]OFD Sender: No OFD packet to send [08:29:46]OFD Sender: No OFD packet to send [08:29:51]OFD Sender: No OFD packet to send [08:29:56]OFD Sender: No OFD packet to send [08:30:01]OFD Sender: No OFD packet to send [08:30:06]OFD Sender: No OFD packet to send [08:30:11]OFD Sender: No OFD packet to send [08:30:16]OFD Sender: No OFD packet to send [08:30:21]OFD Sender: No OFD packet to send [08:30:26]OFD Sender: No OFD packet to send [08:30:31]OFD Sender: No OFD packet to send [08:30:36]OFD Sender: No OFD packet to send [08:30:41]OFD Sender: No OFD packet to send [08:30:46]OFD Sender: No OFD packet to send [08:30:51]OFD Sender: No OFD packet to send [08:30:56]OFD Sender: No OFD packet to send [08:31:01]OFD Sender: No OFD packet to send [08:31:06]OFD Sender: No OFD packet to send [08:31:11]OFD Sender: No OFD packet to send [08:31:16]OFD Sender: No OFD packet to send [08:31:21]OFD Sender: No OFD packet to send [08:31:26]OFD Sender: No OFD packet to send [08:31:31]OFD Sender: No OFD packet to send [08:31:36]OFD Sender: No OFD packet to send [08:31:41]OFD Sender: No OFD packet to send [08:31:46]OFD Sender: No OFD packet to send [08:31:51]OFD Sender: No OFD packet to send [08:31:56]OFD Sender: No OFD packet to send [08:32:01]OFD Sender: No OFD packet to send [08:32:06]OFD Sender: No OFD packet to send [08:32:11]OFD Sender: No OFD packet to send [08:32:16]OFD Sender: No OFD packet to send [08:32:21]OFD Sender: No OFD packet to send [08:32:26]OFD Sender: No OFD packet to send [08:32:31]OFD Sender: No OFD packet to send [08:32:36]OFD Sender: No OFD packet to send [08:32:41]OFD Sender: No OFD packet to send [08:32:46]OFD Sender: No OFD packet to send [08:32:51]OFD Sender: No OFD packet to send [08:32:56]OFD Sender: No OFD packet to send [08:33:01]OFD Sender: No OFD packet to send [08:33:06]OFD Sender: No OFD packet to send [08:33:11]OFD Sender: No OFD packet to send [08:33:16]OFD Sender: No OFD packet to send [08:33:21]OFD Sender: No OFD packet to send [08:33:26]OFD Sender: No OFD packet to send [08:33:31]OFD Sender: No OFD packet to send [08:33:36]OFD Sender: No OFD packet to send [08:33:41]OFD Sender: No OFD packet to send [08:33:46]OFD Sender: No OFD packet to send [08:33:51]OFD Sender: No OFD packet to send [08:33:56]OFD Sender: No OFD packet to send [08:34:01]OFD Sender: No OFD packet to send [08:34:06]OFD Sender: No OFD packet to send [08:34:11]OFD Sender: No OFD packet to send [08:34:16]OFD Sender: No OFD packet to send [08:34:21]OFD Sender: No OFD packet to send [08:34:26]OFD Sender: No OFD packet to send [08:34:31]OFD Sender: No OFD packet to send [08:34:36]OFD Sender: No OFD packet to send [08:34:41]OFD Sender: No OFD packet to send [08:34:46]OFD Sender: No OFD packet to send [08:34:51]OFD Sender: No OFD packet to send [08:34:56]OFD Sender: No OFD packet to send [08:35:01]OFD Sender: No OFD packet to send [08:35:06]OFD Sender: No OFD packet to send [08:35:11]OFD Sender: No OFD packet to send [08:35:16]OFD Sender: No OFD packet to send [08:35:21]OFD Sender: No OFD packet to send [08:35:26]OFD Sender: No OFD packet to send [08:35:31]OFD Sender: No OFD packet to send [08:35:36]OFD Sender: No OFD packet to send [08:35:41]OFD Sender: No OFD packet to send [08:35:46]OFD Sender: No OFD packet to send [08:35:51]OFD Sender: No OFD packet to send [08:35:56]OFD Sender: No OFD packet to send [08:36:01]OFD Sender: No OFD packet to send [08:36:06]OFD Sender: No OFD packet to send [08:36:11]OFD Sender: No OFD packet to send [08:36:16]OFD Sender: No OFD packet to send [08:36:21]OFD Sender: No OFD packet to send [08:36:26]OFD Sender: No OFD packet to send [08:36:31]OFD Sender: No OFD packet to send [08:36:36]OFD Sender: No OFD packet to send [08:36:41]OFD Sender: No OFD packet to send [08:36:46]OFD Sender: No OFD packet to send [08:36:51]OFD Sender: No OFD packet to send [08:36:56]OFD Sender: No OFD packet to send [08:37:01]OFD Sender: No OFD packet to send [08:37:06]OFD Sender: No OFD packet to send [08:37:11]OFD Sender: No OFD packet to send [08:37:16]OFD Sender: No OFD packet to send [08:37:21]OFD Sender: No OFD packet to send [08:37:26]OFD Sender: No OFD packet to send [08:37:31]OFD Sender: No OFD packet to send [08:37:36]OFD Sender: No OFD packet to send [08:37:41]OFD Sender: No OFD packet to send [08:37:46]OFD Sender: No OFD packet to send [08:37:51]OFD Sender: No OFD packet to send [08:37:56]OFD Sender: No OFD packet to send [08:38:01]OFD Sender: No OFD packet to send [08:38:06]OFD Sender: No OFD packet to send [08:38:11]OFD Sender: No OFD packet to send [08:38:16]OFD Sender: No OFD packet to send [08:38:21]OFD Sender: No OFD packet to send [08:38:26]OFD Sender: No OFD packet to send [08:38:31]OFD Sender: No OFD packet to send [08:38:36]OFD Sender: No OFD packet to send [08:38:41]OFD Sender: No OFD packet to send [08:38:46]OFD Sender: No OFD packet to send [08:38:51]OFD Sender: No OFD packet to send [08:38:56]OFD Sender: No OFD packet to send [08:39:01]OFD Sender: No OFD packet to send [08:39:06]OFD Sender: No OFD packet to send [08:39:11]OFD Sender: No OFD packet to send [08:39:16]OFD Sender: No OFD packet to send [08:39:22]OFD Sender: No OFD packet to send [08:39:27]OFD Sender: No OFD packet to send [08:39:32]OFD Sender: No OFD packet to send [08:39:37]OFD Sender: No OFD packet to send [08:39:42]OFD Sender: No OFD packet to send [08:39:47]OFD Sender: No OFD packet to send [08:39:52]OFD Sender: No OFD packet to send [08:39:57]OFD Sender: No OFD packet to send [08:40:02]OFD Sender: No OFD packet to send [08:40:07]OFD Sender: No OFD packet to send [08:40:12]OFD Sender: No OFD packet to send [08:40:17]OFD Sender: No OFD packet to send [08:40:22]OFD Sender: No OFD packet to send [08:40:27]OFD Sender: No OFD packet to send [08:40:32]OFD Sender: No OFD packet to send [08:40:37]OFD Sender: No OFD packet to send [08:40:42]OFD Sender: No OFD packet to send [08:40:47]OFD Sender: No OFD packet to send [08:40:52]OFD Sender: No OFD packet to send [08:40:57]OFD Sender: No OFD packet to send [08:41:02]OFD Sender: No OFD packet to send [08:41:07]OFD Sender: No OFD packet to send [08:41:12]OFD Sender: No OFD packet to send [08:41:17]OFD Sender: No OFD packet to send [08:41:22]OFD Sender: No OFD packet to send [08:41:27]OFD Sender: No OFD packet to send [08:41:32]OFD Sender: No OFD packet to send [08:41:37]OFD Sender: No OFD packet to send [08:41:42]OFD Sender: No OFD packet to send [08:41:47]OFD Sender: No OFD packet to send [08:41:52]OFD Sender: No OFD packet to send [08:41:57]OFD Sender: No OFD packet to send [08:42:02]OFD Sender: No OFD packet to send [08:42:07]OFD Sender: No OFD packet to send [08:42:12]OFD Sender: No OFD packet to send [08:42:17]OFD Sender: No OFD packet to send [08:42:22]OFD Sender: No OFD packet to send [08:42:27]OFD Sender: No OFD packet to send [08:42:32]OFD Sender: No OFD packet to send [08:42:37]OFD Sender: No OFD packet to send [08:42:42]OFD Sender: No OFD packet to send [08:42:47]OFD Sender: No OFD packet to send [08:42:52]OFD Sender: No OFD packet to send [08:42:57]OFD Sender: No OFD packet to send [08:43:02]OFD Sender: No OFD packet to send [08:43:07]OFD Sender: No OFD packet to send [08:43:12]OFD Sender: No OFD packet to send [08:43:17]OFD Sender: No OFD packet to send [08:43:22]OFD Sender: No OFD packet to send [08:43:27]OFD Sender: No OFD packet to send [08:43:32]OFD Sender: No OFD packet to send [08:43:37]OFD Sender: No OFD packet to send [08:43:42]OFD Sender: No OFD packet to send [08:43:47]OFD Sender: No OFD packet to send [08:43:52]OFD Sender: No OFD packet to send [08:43:57]OFD Sender: No OFD packet to send [08:44:02]OFD Sender: No OFD packet to send [08:44:07]OFD Sender: No OFD packet to send [08:44:12]OFD Sender: No OFD packet to send [08:44:17]OFD Sender: No OFD packet to send [08:44:22]OFD Sender: No OFD packet to send [08:44:27]OFD Sender: No OFD packet to send [08:44:32]OFD Sender: No OFD packet to send [08:44:37]OFD Sender: No OFD packet to send [08:44:42]OFD Sender: No OFD packet to send [08:44:47]OFD Sender: No OFD packet to send [08:44:52]OFD Sender: No OFD packet to send [08:44:57]OFD Sender: No OFD packet to send [08:45:02]OFD Sender: No OFD packet to send [08:45:07]OFD Sender: No OFD packet to send [08:45:12]OFD Sender: No OFD packet to send [08:45:17]OFD Sender: No OFD packet to send [08:45:22]OFD Sender: No OFD packet to send [08:45:27]OFD Sender: No OFD packet to send [08:45:32]OFD Sender: No OFD packet to send [08:45:37]OFD Sender: No OFD packet to send [08:45:42]OFD Sender: No OFD packet to send [08:45:47]OFD Sender: No OFD packet to send [08:45:52]OFD Sender: No OFD packet to send [08:45:57]OFD Sender: No OFD packet to send [08:46:02]OFD Sender: No OFD packet to send [08:46:07]OFD Sender: No OFD packet to send [08:46:12]OFD Sender: No OFD packet to send [08:46:17]OFD Sender: No OFD packet to send [08:46:22]OFD Sender: No OFD packet to send [08:46:27]OFD Sender: No OFD packet to send [08:46:32]OFD Sender: No OFD packet to send [08:46:37]OFD Sender: No OFD packet to send [08:46:42]OFD Sender: No OFD packet to send [08:46:47]OFD Sender: No OFD packet to send [08:46:52]OFD Sender: No OFD packet to send [08:46:57]OFD Sender: No OFD packet to send [08:47:02]OFD Sender: No OFD packet to send [08:47:07]OFD Sender: No OFD packet to send [08:47:12]OFD Sender: No OFD packet to send [08:47:17]OFD Sender: No OFD packet to send [08:47:22]OFD Sender: No OFD packet to send [08:47:27]OFD Sender: No OFD packet to send [08:47:32]OFD Sender: No OFD packet to send [08:47:37]OFD Sender: No OFD packet to send [08:47:42]OFD Sender: No OFD packet to send [08:47:47]OFD Sender: No OFD packet to send [08:47:52]OFD Sender: No OFD packet to send [08:47:57]OFD Sender: No OFD packet to send [08:48:02]OFD Sender: No OFD packet to send [08:48:07]OFD Sender: No OFD packet to send [08:48:12]OFD Sender: No OFD packet to send [08:48:17]OFD Sender: No OFD packet to send [08:48:22]OFD Sender: No OFD packet to send [08:48:27]OFD Sender: No OFD packet to send [08:48:32]OFD Sender: No OFD packet to send [08:48:37]OFD Sender: No OFD packet to send [08:48:42]OFD Sender: No OFD packet to send [08:48:47]OFD Sender: No OFD packet to send [08:48:52]OFD Sender: No OFD packet to send [08:48:57]OFD Sender: No OFD packet to send [08:49:02]OFD Sender: No OFD packet to send [08:49:07]OFD Sender: No OFD packet to send [08:49:12]OFD Sender: No OFD packet to send [08:49:17]OFD Sender: No OFD packet to send [08:49:22]OFD Sender: No OFD packet to send [08:49:24]accept exits with 9 [08:49:24]New connection [08:49:24]New thread 3067243876 created [08:49:24]Thread 3067100516 joined [08:49:24]Waiting for new connection... [08:49:24] Sock 9.Parse request [08:49:24]Sock 9.Check first char [08:49:24]Sock 9.First char is OK [08:49:24]request: POST /json_proto HTTP/1.0 [08:49:24]Method: POST [08:49:24]URL: /json_proto [08:49:24]Method is POST - this is cgi request [08:49:24]url: /json_proto [08:49:24]query_string will be loaded in cgi processing [08:49:24]execute_cgi json_proto POST (null) [08:49:24]execute_cgi path=json_proto method=POST [08:49:24]POST find Content-Length [08:49:24]Host: 172.17.62.6:8080 [08:49:24]Content-Length: 816 [08:49:24]Content-Type: application/json [08:49:24] [08:49:24]POST finish read [08:49:24]Found Content-Length = 816 [08:49:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32781", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 180.00, "quantity" : 2.000, "sum" : 360.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" : 360.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:49:24]execute_script... [08:49: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)32781", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 180.00, "quantity" : 2.000, "sum" : 360.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" : 360.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:49:24]POST & json_proto [08:49:24]process_json_proto [08:49:24]json parsed OK: [08:49:24]protocol is kg_v1.0 [08:49:24]action value=close_receipt [08:49:24]process_action close_receipt [08:49:24]cmd_close_receipt [08:49:24]MH_GetDate [08:49:24]Write to MH i2c: F0 00 00 DC 25 F0 [08:49:24]Write i2c OK [08:49:24]MH_I2C_Read... [08:49:24]Read from MH i2c: F0 [08:49:24]MH_I2C_Read... [08:49:24]Read from MH i2c: F0 09 00 [08:49:24]MH_I2C_Read... [08:49:24]Read from MH i2c: F0 09 00 DC 25 00 24 30 22 66 61 69 D2 64 D5 [08:49:24]GetLastDocTimeStamp 1713512256 [08:49:24]current date 1713516580 [08:49:24]FM_GetShiftState [08:49:24]SAM_PROTO_GetShiftState [08:49:24]wFMCommunicate request_size=4 [08:49:24]MH_SAM_APDU [08:49:24]CAPDU: 80 13 01 00 [08:49:24]Write to MH i2c: E2 08 00 DD 25 80 13 01 00 00 00 00 00 7F [08:49:24]Write i2c OK [08:49:24]MH_I2C_Read... [08:49:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:49:24]Read from MH i2c: E2 [08:49:24]MH_I2C_Read... [08:49:24]Read from MH i2c: E2 0E 00 [08:49:24]MH_I2C_Read... [08:49:24]Read from MH i2c: E2 0E 00 DD 25 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 75 [08:49:24]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [08:49:24]wFMCommunicate OK [08:49:24]SAM_PROTO_GetShiftState done [08:49:24]FM_GetShiftState done [08:49:24]opened in 1713485995 [08:49:24]opened+sec_in_day 1713572395 [08:49:24]quantity*price = 36000 [08:49:24]sum+1 = 36001 [08:49:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 360.00 НСП 1% : 3.19 НДС 12% : 38.23 Наличными: 0.00 Безнал.: 360.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 6 19.04.2024 08:49 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000965685 ФД: 12504 ФПД: 223109120658051 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T084940&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12504&fm=223109120658051&tin=02508201610067®Number=0000000000100748&sum=36000 0 [08:49:25]StoreToDocumentArchive [08:49:25]shift 279 fd 12504 [08:49:25]save to /storage/0279/doc_00012504 [08:49:25]save last doc name /storage/0279/doc_00012504 to /storage/kkm_last_doc_name [08:49:25]save OK [08:49:25]Clear old archive folders... [08:49:25]ProcessDocumentItem done err = 0, tmpTLVsize=272 [08:49:25]tlvbuf is 01CFCCE0 [08:49:25]SAM_PROTO_ClearQueue [08:49:25]wFMCommunicate request_size=4 [08:49:25]MH_SAM_APDU [08:49:25]CAPDU: 80 09 00 00 [08:49:25]Write to MH i2c: E2 08 00 EA 25 80 09 00 00 00 00 00 00 81 [08:49:25]Write i2c OK [08:49:25]MH_I2C_Read... [08:49:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:49:25]Read from MH i2c: E2 [08:49:25]MH_I2C_Read... [08:49:25]Read from MH i2c: E2 03 00 [08:49:25]MH_I2C_Read... [08:49:25]Read from MH i2c: E2 03 00 EA 25 00 90 00 83 [08:49:25]RAPDU: 90 00 [08:49:25]wFMCommunicate OK [08:49:25]SAM_PROTO_ClearQueue done [08:49:25]KKMCreateOFDPacket [08:49:25]OFDProtocolAddRootSTLVToBuf [08:49:25]FM_MakeSignedData [08:49:25]FM_MakeSignedData [08:49:25]SAM_PROTO_SignData [08:49:25]wFMCommunicate request_size=4 [08:49:25]MH_SAM_APDU [08:49:25]CAPDU: 80 0D 01 02 [08:49:25]Write to MH i2c: E2 08 00 EB 25 80 0D 01 02 00 00 00 00 89 [08:49:25]Write i2c OK [08:49:25]MH_I2C_Read... [08:49:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:49:26]Read from MH i2c: E2 [08:49:26]MH_I2C_Read... [08:49:26]Read from MH i2c: E2 03 00 [08:49:26]MH_I2C_Read... [08:49:26]Read from MH i2c: E2 03 00 EB 25 00 90 00 84 [08:49:26]RAPDU: 90 00 [08:49:26]wFMCommunicate OK [08:49:26]wFMCommunicate request_size=255 [08:49:26]MH_SAM_APDU [08:49:26]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 A0 8C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 8C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 8C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 24 30 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 [08:49:26]Write to MH i2c: E2 02 01 EC 25 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 A0 8C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 8C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 8C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 24 30 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 29 [08:49:26]Write i2c OK [08:49:26]MH_I2C_Read... [08:49:26]Read from MH i2c: E2 [08:49:26]MH_I2C_Read... [08:49:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:49:26]Read from MH i2c: E2 03 00 [08:49:26]MH_I2C_Read... [08:49:26]Read from MH i2c: E2 03 00 EC 25 00 90 00 85 [08:49:26]RAPDU: 90 00 [08:49:26]wFMCommunicate OK [08:49:26]wFMCommunicate request_size=31 [08:49:26]MH_SAM_APDU [08:49:26]CAPDU: 80 0D 02 02 1A 30 30 39 36 35 36 38 35 10 04 04 00 D8 30 00 00 35 04 06 00 CA EA A3 E2 0A 83 [08:49:26]Write to MH i2c: E2 22 00 ED 25 80 0D 02 02 1A 00 30 30 39 36 35 36 38 35 10 04 04 00 D8 30 00 00 35 04 06 00 CA EA A3 E2 0A 83 00 00 8C [08:49:26]Write i2c OK [08:49:26]MH_I2C_Read... [08:49:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:49:26]Read from MH i2c: E2 [08:49:26]MH_I2C_Read... [08:49:26]Read from MH i2c: E2 03 00 [08:49:26]MH_I2C_Read... [08:49:26]Read from MH i2c: E2 03 00 ED 25 00 90 00 86 [08:49:26]RAPDU: 90 00 [08:49:26]wFMCommunicate OK [08:49:26]wFMCommunicate request_size=4 [08:49:26]MH_SAM_APDU [08:49:26]CAPDU: 80 0D 03 02 [08:49:26]Write to MH i2c: E2 08 00 EE 25 80 0D 03 02 00 00 00 00 8E [08:49:26]Write i2c OK [08:49:26]MH_I2C_Read... [08:49:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:49:26]Read from MH i2c: E2 [08:49:26]MH_I2C_Read... [08:49:26]Read from MH i2c: E2 0B 00 [08:49:26]MH_I2C_Read... [08:49:26]Read from MH i2c: E2 0B 00 EE 25 00 26 B2 FE 43 24 0A AC 70 90 00 F2 [08:49:26]RAPDU: 26 B2 FE 43 24 0A AC 70 90 00 [08:49:26]wFMCommunicate OK [08:49:26]SAM_PROTO_SignData done [08:49:26]FM_MakeSignedData done [08:49:26]CreateOFDProtocolMessage [08:49:26]wFMCommunicate request_size=4 [08:49:26]MH_SAM_APDU [08:49:26]CAPDU: 80 11 00 00 [08:49:26]Write to MH i2c: E2 08 00 EF 25 80 11 00 00 00 00 00 00 8E [08:49:26]Write i2c OK [08:49:26]MH_I2C_Read... [08:49:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:49:26]Read from MH i2c: E2 [08:49:26]MH_I2C_Read... [08:49:26]Read from MH i2c: E2 17 00 [08:49:26]MH_I2C_Read... [08:49:26]Read from MH i2c: E2 17 00 EF 25 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 E8 [08:49:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [08:49:26]wFMCommunicate OK [08:49:26]CreateOFDProtocolMessage done [08:49:26]OFDSenderStorePacket 12504 [08:49:26]StoreOFDPacket docnum=12504 [08:49:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 24 01 00 00 FA 58 1C 01 33 62 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 A0 8C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 8C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 8C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 24 30 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 D8 30 00 00 35 04 06 00 CA EA A3 E2 0A 83 26 B2 FE 43 24 0A AC 70 [08:49:26]CheckFolder [08:49:26]dirname=/storage/ofd_packets [08:49:26]CheckFolder done [08:49:26]ProducePacketName [08:49:26]name=ofd_packets/00012504 [08:49:26]NVStorageSaveData ofd_packets/00012504 [08:49:26]File name is /storage/ofd_packets/00012504 [08:49:26]Write 322 bytes [08:49:26]NVStorageSaveData done [08:49:26]OFDSenderStorePacket done [08:49:26]KKMCreateOFDPacket done [08:49:26]NVStorageSaveData kkm_last_timestamp [08:49:26]File name is /storage/kkm_last_timestamp [08:49:26]Write 4 bytes [08:49:26]NVStorageSaveData done [08:49:26]ExternCall_PrintAddStr [08:49:26]wPrintStart [08:49:26]Write to MH i2c: 01 00 00 F0 25 15 [08:49:26]Write i2c OK [08:49:26]MH_I2C_Read... [08:49:26]Read from MH i2c: 01 [08:49:26]MH_I2C_Read... [08:49:26]Read from MH i2c: 01 07 00 [08:49:26]MH_I2C_Read... [08:49:26]Read from MH i2c: 01 07 00 F0 25 00 00 00 00 00 FF 0F 2A [08:49:26]RasterBufferAndPrint [08:49:26]line Счет N : (3)32781 [08:49:26]line ИНН: 02508201610067 [08:49:26]line Контрольно-Кассовый Чек [08:49:26]line ПРОДАЖА [08:49:26]line Товар: 4700000480517 [08:49:26]line Пиво Живое 1л ПЭТ [08:49:26]line 2.000 * 180.00 [08:49:26]line = 360.00 [08:49:26]line НДС 12% НСП 1% [08:49:26]line > о реализуемом товаре [08:49:26]line ИТОГО: 360.00 [08:49:26]line НСП 1% : 3.19 [08:49:26]line НДС 12% : 38.23 [08:49:26]line Наличными: 0.00 [08:49:26]line Безнал.: 360.00 [08:49:26]line Место: АЗС № 106 "Партнер Нефть" [08:49:26]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [08:49:26]line СНО: Общий режим [08:49:26]line Чек 6 19.04.2024 08:49 [08:49:26]line Смена: 279 ФФД: 1.0 [08:49:26]line ЗНМ: 0300000004 [08:49:26]line РНМ: 0000000000100748 [08:49:26]line Версия ККМ: 001 [08:49:26]line Платежная система: Бакай Банк [08:49:26]line ФМ: 0000000000965685 [08:49:26]line ФД: 12504 [08:49:26]line ФПД: 223109120658051 [08:49:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T084940&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12504&fm=223109120658051&tin=02508201610067®Number=0000000000100748&sum=36000 [08:49:26]line 0 [08:49:26]OFD Sender: Processing packet 12504 [packets to send 7, broken 6] [08:49:26]ProducePacketName [08:49:26]name=ofd_packets/00012504 [08:49:26]OFD Sender: To server: pG, [08:49:26]CommunicateWithHost lk.salyk.kg:30040 [08:49:26]ConnectInit lk.salyk.kg [08:49:26]written 0, free lines is 4095 [08:49:26]Connected sock=10 [08:49:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 24 01 00 00 FA 58 1C 01 33 62 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 A0 8C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 8C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 8C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 24 30 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 D8 30 00 00 35 04 06 00 CA EA A3 E2 0A 83 26 B2 FE 43 24 0A AC 70 [08:49:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 A0 E0 47 00 24 F6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 36 38 35 10 04 04 00 D8 30 00 00 F4 03 04 00 AC D8 21 66 B6 04 01 00 00 DD 14 EA 6D 68 F6 84 06 [08:49:27]CommunicateWithHost err = 0 [08:49:27]CheckOFDResponse [08:49:27]1017 (14) - 77093643461234 [08:49:27]1041 (16) - 0000000000965685 [08:49:27]1040 (4) - 12504 [08:49:27]1012 (4) - 19.04.2024 02:36 [08:49:27]1206 (1) - 0 [08:49:27]OFD Sender: Remove packet 12504 [08:49:27]ProducePacketName [08:49:27]name=ofd_packets/00012504 [08:49:27]NVStorageDeleteData [08:49:27]Write to MH i2c: 01 00 00 19 26 3F [08:49:27]Write i2c OK [08:49:27]MH_I2C_Read... [08:49:27]Read from MH i2c: 01 [08:49:27]MH_I2C_Read... [08:49:27]Read from MH i2c: 01 07 00 [08:49:27]MH_I2C_Read... [08:49:27]Read from MH i2c: 01 07 00 19 26 00 00 00 00 00 E3 0C 35 [08:49:27]RasterBufferAndPrint [08:49:27]line [08:49:27]line [08:49:27]line [08:49:27]line [08:49:27]line [08:49:27]written 0, free lines is 3306 [08:49:27]MH_Cut [08:49:27]Write to MH i2c: D1 01 00 20 26 01 18 [08:49:27]Write i2c OK [08:49:27]MH_I2C_Read... [08:49:27]Read from MH i2c: D1 [08:49:27]MH_I2C_Read... [08:49:27]Read from MH i2c: D1 01 00 [08:49:27]MH_I2C_Read... [08:49:27]Read from MH i2c: D1 01 00 20 26 00 17 [08:49:27]Write to MH i2c: 01 00 00 21 26 47 [08:49:27]Write i2c OK [08:49:27]MH_I2C_Read... [08:49:27]OFD Sender: No OFD packet to send [08:49:28]*** Cut start [08:49:28]*** Partial cut [08:49:28]*** CUTSNS_PIN = 1 [08:49:28]*** CUTSNS_PIN = 0 [08:49:28]*** Brake cut motor [08:49:28]Read from MH i2c: 01 [08:49:28]MH_I2C_Read... [08:49:28]*** Stop cut motor [08:49:28]*** Cut end [08:49:28]Read from MH i2c: 01 07 00 [08:49:28]MH_I2C_Read... [08:49:28]Read from MH i2c: 01 07 00 21 26 00 00 00 00 00 FF 0F 5C [08:49:28]process_action close_receipt done [08:49:28]requested_data is exist [08:49:28]produce_requested_data [08:49:28]requested_item fm.sn is exist - process it [08:49:28]wFMCommunicate request_size=4 [08:49:28]MH_SAM_APDU [08:49:28]CAPDU: 80 11 00 00 [08:49:28]Write to MH i2c: E2 08 00 22 26 80 11 00 00 00 00 00 00 C2 [08:49:28]Write i2c OK [08:49:28]MH_I2C_Read... [08:49:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:49:28]Read from MH i2c: E2 [08:49:28]MH_I2C_Read... [08:49:28]Read from MH i2c: E2 17 00 [08:49:28]MH_I2C_Read... [08:49:28]Read from MH i2c: E2 17 00 22 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 1C [08:49:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [08:49:28]wFMCommunicate OK [08:49:28]requested_item fd.num is exist - process it [08:49:28]SAM_PROTO_GetFieldsCounters [08:49:28]wFMCommunicate request_size=4 [08:49:28]MH_SAM_APDU [08:49:28]CAPDU: 80 13 00 00 [08:49:28]Write to MH i2c: E2 08 00 23 26 80 13 00 00 00 00 00 00 C5 [08:49:28]Write i2c OK [08:49:28]MH_I2C_Read... [08:49:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:49:28]Read from MH i2c: E2 [08:49:28]MH_I2C_Read... [08:49:28]Read from MH i2c: E2 62 00 [08:49:28]MH_I2C_Read... [08:49:28]Read from MH i2c: E2 62 00 23 26 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 D8 30 00 00 0E 04 04 00 17 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 1A [08:49:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 D8 30 00 00 0E 04 04 00 17 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:49:28]wFMCommunicate OK [08:49:28]SAM_PROTO_GetFieldsCounters done [08:49:28]requested_item shift.num is exist - process it [08:49:28]requested_item shift.opened is exist - process it [08:49:28]req_shift_opened [08:49:28]FM_GetShiftState [08:49:28]SAM_PROTO_GetShiftState [08:49:28]wFMCommunicate request_size=4 [08:49:28]MH_SAM_APDU [08:49:28]CAPDU: 80 13 01 00 [08:49:28]Write to MH i2c: E2 08 00 24 26 80 13 01 00 00 00 00 00 C7 [08:49:28]Write i2c OK [08:49:28]MH_I2C_Read... [08:49:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:49:28]Read from MH i2c: E2 [08:49:28]MH_I2C_Read... [08:49:28]Read from MH i2c: E2 0E 00 [08:49:28]MH_I2C_Read... [08:49:28]Read from MH i2c: E2 0E 00 24 26 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 BD [08:49:28]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [08:49:28]wFMCommunicate OK [08:49:28]SAM_PROTO_GetShiftState done [08:49:28]FM_GetShiftState done [08:49:28]req_shift_opened done [08:49:28]requested_item shift.open_date is exist - process it [08:49:28]req_shift_open_date [08:49:28]req_shift_open_date done [08:49:28]produce_requested_data done [08:49:28]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12504,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [08:49:28]process_action_free close_receipt [08:49:28]json_value_free [08:49:28]json_value_free done [08:49:28]process_json_proto returns [08:49:28]Send response to host [08:49:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12504,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [08:49:28]free response buf [08:49:28]execute_script done [08:49:28]execute_script returns [08:49:28]free content buf [08:49:28]Sock 9.Close socket [08:49:28]Sock 9.Thread stoped [08:49:32]OFD Sender: No OFD packet to send [08:49:37]OFD Sender: No OFD packet to send [08:49:42]OFD Sender: No OFD packet to send [08:49:47]OFD Sender: No OFD packet to send [08:49:52]OFD Sender: No OFD packet to send [08:49:57]OFD Sender: No OFD packet to send [08:50:02]OFD Sender: No OFD packet to send [08:50:07]OFD Sender: No OFD packet to send [08:50:12]OFD Sender: No OFD packet to send [08:50:17]OFD Sender: No OFD packet to send [08:50:22]OFD Sender: No OFD packet to send [08:50:27]OFD Sender: No OFD packet to send [08:50:32]OFD Sender: No OFD packet to send [08:50:33]accept exits with 8 [08:50:33]New connection [08:50:33]New thread 3067100516 created [08:50:33]Thread 3067243876 joined [08:50:33]Waiting for new connection... [08:50:33] Sock 8.Parse request [08:50:33]Sock 8.Check first char [08:50:33]Sock 8.First char is OK [08:50:33]request: POST /json_proto HTTP/1.0 [08:50:33]Method: POST [08:50:33]URL: /json_proto [08:50:33]Method is POST - this is cgi request [08:50:33]url: /json_proto [08:50:33]query_string will be loaded in cgi processing [08:50:33]execute_cgi json_proto POST (null) [08:50:33]execute_cgi path=json_proto method=POST [08:50:33]POST find Content-Length [08:50:33]Host: 172.17.62.6:8080 [08:50:33]Content-Length: 677 [08:50:33]Content-Type: application/json [08:50:33] [08:50:33]POST finish read [08:50:33]Found Content-Length = 677 [08:50:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)190847", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.40, "quantity" : 9.320, "sum" : 600.21, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:50:33]execute_script... [08:50:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)190847", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 43", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.40, "quantity" : 9.320, "sum" : 600.21, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 600.00, "total" : 600.00, "payments": [ { "type": 0, "sum" : 600.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:50:33]POST & json_proto [08:50:33]process_json_proto [08:50:33]json parsed OK: [08:50:33]protocol is kg_v1.0 [08:50:33]action value=close_receipt [08:50:33]process_action close_receipt [08:50:33]cmd_close_receipt [08:50:33]MH_GetDate [08:50:33]Write to MH i2c: F0 00 00 25 26 3A [08:50:33]Write i2c OK [08:50:33]MH_I2C_Read... [08:50:33]Read from MH i2c: F0 [08:50:33]MH_I2C_Read... [08:50:33]Read from MH i2c: F0 09 00 [08:50:33]MH_I2C_Read... [08:50:33]Read from MH i2c: F0 09 00 25 26 00 69 30 22 66 61 69 D2 64 64 [08:50:33]GetLastDocTimeStamp 1713516580 [08:50:33]current date 1713516649 [08:50:33]FM_GetShiftState [08:50:33]SAM_PROTO_GetShiftState [08:50:33]wFMCommunicate request_size=4 [08:50:33]MH_SAM_APDU [08:50:33]CAPDU: 80 13 01 00 [08:50:33]Write to MH i2c: E2 08 00 26 26 80 13 01 00 00 00 00 00 C9 [08:50:33]Write i2c OK [08:50:33]MH_I2C_Read... [08:50:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:50:34]Read from MH i2c: E2 [08:50:34]MH_I2C_Read... [08:50:34]Read from MH i2c: E2 0E 00 [08:50:34]MH_I2C_Read... [08:50:34]Read from MH i2c: E2 0E 00 26 26 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 BF [08:50:34]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [08:50:34]wFMCommunicate OK [08:50:34]SAM_PROTO_GetShiftState done [08:50:34]FM_GetShiftState done [08:50:34]opened in 1713485995 [08:50:34]opened+sec_in_day 1713572395 [08:50:34]quantity*price = 60020 [08:50:34]sum+1 = 60022 [08:50:34]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.21 ИТОГО: 600.00 Внесено: 600.00 СДАЧА: 0.00 НСП 1% : 5.31 НДС 12% : 63.74 Наличными: 600.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 7 19.04.2024 08:50 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12505 ФПД: 25247921132713 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T085049&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12505&fm=25247921132713&tin=02508201610067®Number=0000000000100748&sum=60000 [08:50:35]StoreToDocumentArchive [08:50:35]shift 279 fd 12505 [08:50:35]save to /storage/0279/doc_00012505 [08:50:35]save last doc name /storage/0279/doc_00012505 to /storage/kkm_last_doc_name [08:50:35]save OK [08:50:35]Clear old archive folders... [08:50:35]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:50:35]tlvbuf is 01D1CC30 [08:50:35]SAM_PROTO_ClearQueue [08:50:35]wFMCommunicate request_size=4 [08:50:35]MH_SAM_APDU [08:50:35]CAPDU: 80 09 00 00 [08:50:35]Write to MH i2c: E2 08 00 33 26 80 09 00 00 00 00 00 00 CB [08:50:35]Write i2c OK [08:50:35]MH_I2C_Read... [08:50:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:50:35]Read from MH i2c: E2 [08:50:35]MH_I2C_Read... [08:50:35]Read from MH i2c: E2 03 00 [08:50:35]MH_I2C_Read... [08:50:35]Read from MH i2c: E2 03 00 33 26 00 90 00 CD [08:50:35]RAPDU: 90 00 [08:50:35]wFMCommunicate OK [08:50:35]SAM_PROTO_ClearQueue done [08:50:35]KKMCreateOFDPacket [08:50:35]OFDProtocolAddRootSTLVToBuf [08:50:35]FM_MakeSignedData [08:50:35]FM_MakeSignedData [08:50:35]SAM_PROTO_SignData [08:50:35]wFMCommunicate request_size=4 [08:50:35]MH_SAM_APDU [08:50:35]CAPDU: 80 0D 01 02 [08:50:35]Write to MH i2c: E2 08 00 34 26 80 0D 01 02 00 00 00 00 D3 [08:50:35]Write i2c OK [08:50:35]MH_I2C_Read... [08:50:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:50:35]Read from MH i2c: E2 [08:50:35]MH_I2C_Read... [08:50:35]Read from MH i2c: E2 03 00 [08:50:35]MH_I2C_Read... [08:50:35]Read from MH i2c: E2 03 00 34 26 00 90 00 CE [08:50:35]RAPDU: 90 00 [08:50:35]wFMCommunicate OK [08:50:35]wFMCommunicate request_size=255 [08:50:35]MH_SAM_APDU [08:50:35]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 68 24 00 00 00 00 00 37 04 06 00 28 19 00 00 00 00 13 04 06 00 75 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 07 00 00 00 F4 03 04 00 69 30 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 D9 30 00 00 35 04 06 00 16 [08:50:35]Write to MH i2c: E2 02 01 35 26 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 68 24 00 00 00 00 00 37 04 06 00 28 19 00 00 00 00 13 04 06 00 75 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 07 00 00 00 F4 03 04 00 69 30 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 D9 30 00 00 35 04 06 00 16 00 00 11 [08:50:35]Write i2c OK [08:50:35]MH_I2C_Read... [08:50:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:50:35]Read from MH i2c: E2 [08:50:35]MH_I2C_Read... [08:50:35]Read from MH i2c: E2 03 00 [08:50:35]MH_I2C_Read... [08:50:35]Read from MH i2c: E2 03 00 35 26 00 90 00 CF [08:50:35]RAPDU: 90 00 [08:50:35]wFMCommunicate OK [08:50:35]wFMCommunicate request_size=10 [08:50:35]MH_SAM_APDU [08:50:35]CAPDU: 80 0D 02 02 05 F6 7D 5E D4 A9 [08:50:35]Write to MH i2c: E2 0D 00 36 26 80 0D 02 02 05 00 F6 7D 5E D4 A9 00 00 2E [08:50:35]Write i2c OK [08:50:35]MH_I2C_Read... [08:50:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:50:35]Read from MH i2c: E2 [08:50:35]MH_I2C_Read... [08:50:35]Read from MH i2c: E2 03 00 [08:50:35]MH_I2C_Read... [08:50:35]Read from MH i2c: E2 03 00 36 26 00 90 00 D0 [08:50:35]RAPDU: 90 00 [08:50:35]wFMCommunicate OK [08:50:35]wFMCommunicate request_size=4 [08:50:35]MH_SAM_APDU [08:50:35]CAPDU: 80 0D 03 02 [08:50:35]Write to MH i2c: E2 08 00 37 26 80 0D 03 02 00 00 00 00 D8 [08:50:35]Write i2c OK [08:50:35]MH_I2C_Read... [08:50:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:50:35]Read from MH i2c: E2 [08:50:35]MH_I2C_Read... [08:50:35]Read from MH i2c: E2 0B 00 [08:50:35]MH_I2C_Read... [08:50:35]Read from MH i2c: E2 0B 00 37 26 00 83 A9 75 37 54 06 C7 CC 90 00 9E [08:50:35]RAPDU: 83 A9 75 37 54 06 C7 CC 90 00 [08:50:35]wFMCommunicate OK [08:50:35]SAM_PROTO_SignData done [08:50:35]FM_MakeSignedData done [08:50:35]CreateOFDProtocolMessage [08:50:35]wFMCommunicate request_size=4 [08:50:35]MH_SAM_APDU [08:50:35]CAPDU: 80 11 00 00 [08:50:35]Write to MH i2c: E2 08 00 38 26 80 11 00 00 00 00 00 00 D8 [08:50:35]Write i2c OK [08:50:35]MH_I2C_Read... [08:50:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:50:35]Read from MH i2c: E2 [08:50:35]MH_I2C_Read... [08:50:35]Read from MH i2c: E2 17 00 [08:50:35]MH_I2C_Read... [08:50:35]Read from MH i2c: E2 17 00 38 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 32 [08:50:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [08:50:35]wFMCommunicate OK [08:50:35]CreateOFDProtocolMessage done [08:50:35]OFDSenderStorePacket 12505 [08:50:35]StoreOFDPacket docnum=12505 [08:50:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0F 01 00 00 25 ED 07 01 F2 94 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 68 24 00 00 00 00 00 37 04 06 00 28 19 00 00 00 00 13 04 06 00 75 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 07 00 00 00 F4 03 04 00 69 30 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 D9 30 00 00 35 04 06 00 16 F6 7D 5E D4 A9 83 A9 75 37 54 06 C7 CC [08:50:35]CheckFolder [08:50:35]dirname=/storage/ofd_packets [08:50:35]CheckFolder done [08:50:35]ProducePacketName [08:50:35]name=ofd_packets/00012505 [08:50:35]NVStorageSaveData ofd_packets/00012505 [08:50:35]File name is /storage/ofd_packets/00012505 [08:50:35]Write 301 bytes [08:50:35]NVStorageSaveData done [08:50:35]OFDSenderStorePacket done [08:50:35]KKMCreateOFDPacket done [08:50:35]NVStorageSaveData kkm_last_timestamp [08:50:35]File name is /storage/kkm_last_timestamp [08:50:35]Write 4 bytes [08:50:35]NVStorageSaveData done [08:50:35]ExternCall_PrintAddStr [08:50:35]wPrintStart [08:50:35]Write to MH i2c: 01 00 00 39 26 5F [08:50:35]OFD Sender: Processing packet 12505 [packets to send 7, broken 6] [08:50:35]ProducePacketName [08:50:35]name=ofd_packets/00012505 [08:50:35]OFD Sender: To server: pG, [08:50:35]CommunicateWithHost lk.salyk.kg:30040 [08:50:35]ConnectInit lk.salyk.kg [08:50:35]Write i2c OK [08:50:35]MH_I2C_Read... [08:50:35]Read from MH i2c: 01 [08:50:35]MH_I2C_Read... [08:50:35]Read from MH i2c: 01 07 00 [08:50:35]MH_I2C_Read... [08:50:35]Read from MH i2c: 01 07 00 39 26 00 00 00 00 00 FF 0F 74 [08:50:35]RasterBufferAndPrint [08:50:35]line Счет N : (1)190847 [08:50:35]line ИНН: 02508201610067 [08:50:35]line Контрольно-Кассовый Чек [08:50:35]line ПРОДАЖА [08:50:35]line ТРК (МРК, ГНК) : 43 [08:50:35]line Товар: 2710124130 [08:50:35]line Аи-92-К-5 [08:50:35]line 9.320 * 64.40 [08:50:35]line = 600.21 [08:50:35]line НДС 12% НСП 1% [08:50:35]line > о реализуемом товаре [08:50:35]line ОКРУГЛЕНИЕ: -0.21 [08:50:35]line ИТОГО: 600.00 [08:50:35]line Внесено: 600.00 [08:50:35]line СДАЧА: 0.00 [08:50:35]line НСП 1% : 5.31 [08:50:35]line НДС 12% : 63.74 [08:50:35]line Наличными: 600.00 [08:50:35]line Безнал.: 0.00 [08:50:35]line Место: АЗС № 106 "Партнер Нефть" [08:50:35]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [08:50:35]line СНО: Общий режим [08:50:35]line Чек 7 19.04.2024 08:50 [08:50:35]line Смена: 279 ФФД: 1.0 [08:50:35]line ЗНМ: 0300000004 [08:50:35]line РНМ: 0000000000100748 [08:50:35]line Версия ККМ: 001 [08:50:35]line ФМ: 0000000000965685 [08:50:35]line ФД: 12505 [08:50:35]line ФПД: 25247921132713 [08:50:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T085049&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12505&fm=25247921132713&tin=02508201610067®Number=0000000000100748&sum=60000 [08:50:36]Connected sock=10 [08:50:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0F 01 00 00 25 ED 07 01 F2 94 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 68 24 00 00 00 00 00 37 04 06 00 28 19 00 00 00 00 13 04 06 00 75 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 07 00 00 00 F4 03 04 00 69 30 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 D9 30 00 00 35 04 06 00 16 F6 7D 5E D4 A9 83 A9 75 37 54 06 C7 CC [08:50:36]written 0, free lines is 4095 [08:50:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 F6 DA 47 00 75 AD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 36 38 35 10 04 04 00 D9 30 00 00 F4 03 04 00 F1 D8 21 66 B6 04 01 00 00 11 DB C3 83 55 21 28 77 [08:50:36]CommunicateWithHost err = 0 [08:50:36]CheckOFDResponse [08:50:36]1017 (14) - 77093643461234 [08:50:36]1041 (16) - 0000000000965685 [08:50:36]1040 (4) - 12505 [08:50:36]1012 (4) - 19.04.2024 02:37 [08:50:36]1206 (1) - 0 [08:50:36]OFD Sender: Remove packet 12505 [08:50:36]ProducePacketName [08:50:36]name=ofd_packets/00012505 [08:50:36]NVStorageDeleteData [08:50:36]Write to MH i2c: 01 00 00 63 26 89 [08:50:36]Write i2c OK [08:50:36]MH_I2C_Read... [08:50:36]Read from MH i2c: 01 [08:50:36]MH_I2C_Read... [08:50:36]Read from MH i2c: 01 07 00 [08:50:36]MH_I2C_Read... [08:50:36]Read from MH i2c: 01 07 00 63 26 00 00 00 00 00 D8 0C 74 [08:50:36]RasterBufferAndPrint [08:50:36]line [08:50:36]line [08:50:36]line [08:50:36]line [08:50:36]line [08:50:36]written 0, free lines is 3295 [08:50:36]MH_Cut [08:50:36]Write to MH i2c: D1 01 00 6A 26 01 62 [08:50:36]Write i2c OK [08:50:36]MH_I2C_Read... [08:50:36]Read from MH i2c: D1 [08:50:36]MH_I2C_Read... [08:50:36]Read from MH i2c: D1 01 00 [08:50:36]MH_I2C_Read... [08:50:36]Read from MH i2c: D1 01 00 6A 26 00 61 [08:50:36]Write to MH i2c: 01 00 00 6B 26 91 [08:50:36]Write i2c OK [08:50:36]MH_I2C_Read... [08:50:36]OFD Sender: No OFD packet to send [08:50:37]*** Cut start [08:50:37]*** Partial cut [08:50:37]*** CUTSNS_PIN = 1 [08:50:37]*** CUTSNS_PIN = 0 [08:50:37]*** Brake cut motor [08:50:37]Read from MH i2c: 01 [08:50:37]MH_I2C_Read... [08:50:37]*** Stop cut motor [08:50:37]*** Cut end [08:50:37]Read from MH i2c: 01 07 00 [08:50:37]MH_I2C_Read... [08:50:37]Read from MH i2c: 01 07 00 6B 26 00 00 00 00 00 FF 0F A6 [08:50:37]process_action close_receipt done [08:50:37]requested_data is exist [08:50:37]produce_requested_data [08:50:37]requested_item fm.sn is exist - process it [08:50:37]wFMCommunicate request_size=4 [08:50:37]MH_SAM_APDU [08:50:37]CAPDU: 80 11 00 00 [08:50:37]Write to MH i2c: E2 08 00 6C 26 80 11 00 00 00 00 00 00 0C [08:50:37]Write i2c OK [08:50:37]MH_I2C_Read... [08:50:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:50:37]Read from MH i2c: E2 [08:50:37]MH_I2C_Read... [08:50:37]Read from MH i2c: E2 17 00 [08:50:37]MH_I2C_Read... [08:50:37]Read from MH i2c: E2 17 00 6C 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 66 [08:50:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [08:50:37]wFMCommunicate OK [08:50:37]requested_item fd.num is exist - process it [08:50:37]SAM_PROTO_GetFieldsCounters [08:50:37]wFMCommunicate request_size=4 [08:50:37]MH_SAM_APDU [08:50:37]CAPDU: 80 13 00 00 [08:50:37]Write to MH i2c: E2 08 00 6D 26 80 13 00 00 00 00 00 00 0F [08:50:37]Write i2c OK [08:50:37]MH_I2C_Read... [08:50:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:50:38]Read from MH i2c: E2 [08:50:38]MH_I2C_Read... [08:50:38]Read from MH i2c: E2 62 00 [08:50:38]MH_I2C_Read... [08:50:38]Read from MH i2c: E2 62 00 6D 26 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 D9 30 00 00 0E 04 04 00 17 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 68 [08:50:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 D9 30 00 00 0E 04 04 00 17 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 [08:50:38]wFMCommunicate OK [08:50:38]SAM_PROTO_GetFieldsCounters done [08:50:38]requested_item shift.num is exist - process it [08:50:38]requested_item shift.opened is exist - process it [08:50:38]req_shift_opened [08:50:38]FM_GetShiftState [08:50:38]SAM_PROTO_GetShiftState [08:50:38]wFMCommunicate request_size=4 [08:50:38]MH_SAM_APDU [08:50:38]CAPDU: 80 13 01 00 [08:50:38]Write to MH i2c: E2 08 00 6E 26 80 13 01 00 00 00 00 00 11 [08:50:38]Write i2c OK [08:50:38]MH_I2C_Read... [08:50:38]Read from MH i2c: E2 [08:50:38]MH_I2C_Read... [08:50:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:50:38]Read from MH i2c: E2 0E 00 [08:50:38]MH_I2C_Read... [08:50:38]Read from MH i2c: E2 0E 00 6E 26 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 07 [08:50:38]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [08:50:38]wFMCommunicate OK [08:50:38]SAM_PROTO_GetShiftState done [08:50:38]FM_GetShiftState done [08:50:38]req_shift_opened done [08:50:38]requested_item shift.open_date is exist - process it [08:50:38]req_shift_open_date [08:50:38]req_shift_open_date done [08:50:38]produce_requested_data done [08:50:38]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12505,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [08:50:38]process_action_free close_receipt [08:50:38]json_value_free [08:50:38]json_value_free done [08:50:38]process_json_proto returns [08:50:38]Send response to host [08:50:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12505,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [08:50:38]free response buf [08:50:38]execute_script done [08:50:38]execute_script returns [08:50:38]free content buf [08:50:38]Sock 8.Close socket [08:50:38]Sock 8.Thread stoped [08:50:41]OFD Sender: No OFD packet to send [08:50:46]OFD Sender: No OFD packet to send [08:50:51]OFD Sender: No OFD packet to send [08:50:56]OFD Sender: No OFD packet to send [08:51:01]OFD Sender: No OFD packet to send [08:51:06]OFD Sender: No OFD packet to send [08:51:11]OFD Sender: No OFD packet to send [08:51:16]OFD Sender: No OFD packet to send [08:51:21]OFD Sender: No OFD packet to send [08:51:26]OFD Sender: No OFD packet to send [08:51:31]OFD Sender: No OFD packet to send [08:51:36]OFD Sender: No OFD packet to send [08:51:41]OFD Sender: No OFD packet to send [08:51:46]OFD Sender: No OFD packet to send [08:51:51]OFD Sender: No OFD packet to send [08:51:56]OFD Sender: No OFD packet to send [08:52:01]OFD Sender: No OFD packet to send [08:52:06]OFD Sender: No OFD packet to send [08:52:11]OFD Sender: No OFD packet to send [08:52:16]OFD Sender: No OFD packet to send [08:52:21]OFD Sender: No OFD packet to send [08:52:26]OFD Sender: No OFD packet to send [08:52:31]OFD Sender: No OFD packet to send [08:52:36]OFD Sender: No OFD packet to send [08:52:41]OFD Sender: No OFD packet to send [08:52:46]OFD Sender: No OFD packet to send [08:52:51]OFD Sender: No OFD packet to send [08:52:56]OFD Sender: No OFD packet to send [08:53:01]OFD Sender: No OFD packet to send [08:53:06]OFD Sender: No OFD packet to send [08:53:11]OFD Sender: No OFD packet to send [08:53:16]OFD Sender: No OFD packet to send [08:53:21]OFD Sender: No OFD packet to send [08:53:26]OFD Sender: No OFD packet to send [08:53:31]OFD Sender: No OFD packet to send [08:53:36]OFD Sender: No OFD packet to send [08:53:41]OFD Sender: No OFD packet to send [08:53:46]OFD Sender: No OFD packet to send [08:53:51]OFD Sender: No OFD packet to send [08:53:56]OFD Sender: No OFD packet to send [08:54:01]OFD Sender: No OFD packet to send [08:54:06]OFD Sender: No OFD packet to send [08:54:11]OFD Sender: No OFD packet to send [08:54:16]OFD Sender: No OFD packet to send [08:54:21]OFD Sender: No OFD packet to send [08:54:26]OFD Sender: No OFD packet to send [08:54:31]OFD Sender: No OFD packet to send [08:54:36]OFD Sender: No OFD packet to send [08:54:41]OFD Sender: No OFD packet to send [08:54:46]OFD Sender: No OFD packet to send [08:54:51]OFD Sender: No OFD packet to send [08:54:56]OFD Sender: No OFD packet to send [08:55:01]OFD Sender: No OFD packet to send [08:55:06]OFD Sender: No OFD packet to send [08:55:11]OFD Sender: No OFD packet to send [08:55:16]OFD Sender: No OFD packet to send [08:55:21]OFD Sender: No OFD packet to send [08:55:26]OFD Sender: No OFD packet to send [08:55:31]OFD Sender: No OFD packet to send [08:55:36]OFD Sender: No OFD packet to send [08:55:41]OFD Sender: No OFD packet to send [08:55:46]OFD Sender: No OFD packet to send [08:55:51]OFD Sender: No OFD packet to send [08:55:56]OFD Sender: No OFD packet to send [08:56:02]OFD Sender: No OFD packet to send [08:56:07]OFD Sender: No OFD packet to send [08:56:12]OFD Sender: No OFD packet to send [08:56:17]OFD Sender: No OFD packet to send [08:56:22]OFD Sender: No OFD packet to send [08:56:27]OFD Sender: No OFD packet to send [08:56:32]OFD Sender: No OFD packet to send [08:56:37]OFD Sender: No OFD packet to send [08:56:42]OFD Sender: No OFD packet to send [08:56:47]OFD Sender: No OFD packet to send [08:56:52]OFD Sender: No OFD packet to send [08:56:57]OFD Sender: No OFD packet to send [08:57:02]OFD Sender: No OFD packet to send [08:57:07]OFD Sender: No OFD packet to send [08:57:12]OFD Sender: No OFD packet to send [08:57:17]OFD Sender: No OFD packet to send [08:57:22]OFD Sender: No OFD packet to send [08:57:27]OFD Sender: No OFD packet to send [08:57:32]OFD Sender: No OFD packet to send [08:57:37]OFD Sender: No OFD packet to send [08:57:42]OFD Sender: No OFD packet to send [08:57:47]OFD Sender: No OFD packet to send [08:57:52]OFD Sender: No OFD packet to send [08:57:57]OFD Sender: No OFD packet to send [08:58:02]OFD Sender: No OFD packet to send [08:58:07]OFD Sender: No OFD packet to send [08:58:12]OFD Sender: No OFD packet to send [08:58:17]OFD Sender: No OFD packet to send [08:58:22]OFD Sender: No OFD packet to send [08:58:27]OFD Sender: No OFD packet to send [08:58:32]OFD Sender: No OFD packet to send [08:58:37]OFD Sender: No OFD packet to send [08:58:42]OFD Sender: No OFD packet to send [08:58:47]OFD Sender: No OFD packet to send [08:58:52]OFD Sender: No OFD packet to send [08:58:57]OFD Sender: No OFD packet to send [08:59:02]OFD Sender: No OFD packet to send [08:59:07]OFD Sender: No OFD packet to send [08:59:12]OFD Sender: No OFD packet to send [08:59:17]OFD Sender: No OFD packet to send [08:59:22]OFD Sender: No OFD packet to send [08:59:27]OFD Sender: No OFD packet to send [08:59:32]OFD Sender: No OFD packet to send [08:59:37]OFD Sender: No OFD packet to send [08:59:42]OFD Sender: No OFD packet to send [08:59:47]OFD Sender: No OFD packet to send [08:59:52]OFD Sender: No OFD packet to send [08:59:57]OFD Sender: No OFD packet to send [09:00:02]OFD Sender: No OFD packet to send [09:00:07]OFD Sender: No OFD packet to send [09:00:12]OFD Sender: No OFD packet to send [09:00:17]OFD Sender: No OFD packet to send [09:00:22]OFD Sender: No OFD packet to send [09:00:27]OFD Sender: No OFD packet to send [09:00:32]OFD Sender: No OFD packet to send [09:00:37]OFD Sender: No OFD packet to send [09:00:42]OFD Sender: No OFD packet to send [09:00:47]OFD Sender: No OFD packet to send [09:00:52]OFD Sender: No OFD packet to send [09:00:57]OFD Sender: No OFD packet to send [09:01:02]OFD Sender: No OFD packet to send [09:01:07]OFD Sender: No OFD packet to send [09:01:12]OFD Sender: No OFD packet to send [09:01:17]OFD Sender: No OFD packet to send [09:01:22]OFD Sender: No OFD packet to send [09:01:27]OFD Sender: No OFD packet to send [09:01:32]OFD Sender: No OFD packet to send [09:01:37]OFD Sender: No OFD packet to send [09:01:42]OFD Sender: No OFD packet to send [09:01:47]OFD Sender: No OFD packet to send [09:01:52]OFD Sender: No OFD packet to send [09:01:57]OFD Sender: No OFD packet to send [09:02:02]OFD Sender: No OFD packet to send [09:02:07]OFD Sender: No OFD packet to send [09:02:12]OFD Sender: No OFD packet to send [09:02:17]OFD Sender: No OFD packet to send [09:02:22]OFD Sender: No OFD packet to send [09:02:27]OFD Sender: No OFD packet to send [09:02:32]OFD Sender: No OFD packet to send [09:02:37]OFD Sender: No OFD packet to send [09:02:42]OFD Sender: No OFD packet to send [09:02:47]OFD Sender: No OFD packet to send [09:02:52]OFD Sender: No OFD packet to send [09:02:57]OFD Sender: No OFD packet to send [09:03:02]OFD Sender: No OFD packet to send [09:03:07]OFD Sender: No OFD packet to send [09:03:12]OFD Sender: No OFD packet to send [09:03:17]OFD Sender: No OFD packet to send [09:03:22]OFD Sender: No OFD packet to send [09:03:27]OFD Sender: No OFD packet to send [09:03:32]OFD Sender: No OFD packet to send [09:03:37]OFD Sender: No OFD packet to send [09:03:42]OFD Sender: No OFD packet to send [09:03:47]OFD Sender: No OFD packet to send [09:03:52]OFD Sender: No OFD packet to send [09:03:57]OFD Sender: No OFD packet to send [09:04:02]OFD Sender: No OFD packet to send [09:04:07]OFD Sender: No OFD packet to send [09:04:12]OFD Sender: No OFD packet to send [09:04:17]OFD Sender: No OFD packet to send [09:04:22]OFD Sender: No OFD packet to send [09:04:27]OFD Sender: No OFD packet to send [09:04:32]OFD Sender: No OFD packet to send [09:04:37]OFD Sender: No OFD packet to send [09:04:42]OFD Sender: No OFD packet to send [09:04:47]OFD Sender: No OFD packet to send [09:04:52]OFD Sender: No OFD packet to send [09:04:57]OFD Sender: No OFD packet to send [09:05:02]OFD Sender: No OFD packet to send [09:05:07]OFD Sender: No OFD packet to send [09:05:12]OFD Sender: No OFD packet to send [09:05:17]OFD Sender: No OFD packet to send [09:05:22]OFD Sender: No OFD packet to send [09:05:27]OFD Sender: No OFD packet to send [09:05:32]OFD Sender: No OFD packet to send [09:05:37]OFD Sender: No OFD packet to send [09:05:42]OFD Sender: No OFD packet to send [09:05:47]OFD Sender: No OFD packet to send [09:05:52]OFD Sender: No OFD packet to send [09:05:57]OFD Sender: No OFD packet to send [09:06:02]OFD Sender: No OFD packet to send [09:06:07]OFD Sender: No OFD packet to send [09:06:12]OFD Sender: No OFD packet to send [09:06:17]OFD Sender: No OFD packet to send [09:06:22]OFD Sender: No OFD packet to send [09:06:27]OFD Sender: No OFD packet to send [09:06:32]OFD Sender: No OFD packet to send [09:06:37]OFD Sender: No OFD packet to send [09:06:42]OFD Sender: No OFD packet to send [09:06:47]OFD Sender: No OFD packet to send [09:06:52]OFD Sender: No OFD packet to send [09:06:57]OFD Sender: No OFD packet to send [09:07:02]OFD Sender: No OFD packet to send [09:07:07]OFD Sender: No OFD packet to send [09:07:12]OFD Sender: No OFD packet to send [09:07:17]OFD Sender: No OFD packet to send [09:07:22]OFD Sender: No OFD packet to send [09:07:27]OFD Sender: No OFD packet to send [09:07:32]OFD Sender: No OFD packet to send [09:07:37]OFD Sender: No OFD packet to send [09:07:42]OFD Sender: No OFD packet to send [09:07:47]OFD Sender: No OFD packet to send [09:07:52]OFD Sender: No OFD packet to send [09:07:57]OFD Sender: No OFD packet to send [09:08:02]OFD Sender: No OFD packet to send [09:08:07]OFD Sender: No OFD packet to send [09:08:12]OFD Sender: No OFD packet to send [09:08:17]OFD Sender: No OFD packet to send [09:08:22]OFD Sender: No OFD packet to send [09:08:27]OFD Sender: No OFD packet to send [09:08:32]OFD Sender: No OFD packet to send [09:08:37]OFD Sender: No OFD packet to send [09:08:42]OFD Sender: No OFD packet to send [09:08:47]OFD Sender: No OFD packet to send [09:08:52]OFD Sender: No OFD packet to send [09:08:57]OFD Sender: No OFD packet to send [09:09:02]OFD Sender: No OFD packet to send [09:09:07]OFD Sender: No OFD packet to send [09:09:12]OFD Sender: No OFD packet to send [09:09:17]OFD Sender: No OFD packet to send [09:09:22]OFD Sender: No OFD packet to send [09:09:27]OFD Sender: No OFD packet to send [09:09:32]OFD Sender: No OFD packet to send [09:09:37]OFD Sender: No OFD packet to send [09:09:42]OFD Sender: No OFD packet to send [09:09:47]OFD Sender: No OFD packet to send [09:09:52]OFD Sender: No OFD packet to send [09:09: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:07]OFD Sender: No OFD packet to send [09:12:12]OFD Sender: No OFD packet to send [09:12:17]OFD Sender: No OFD packet to send [09:12:22]OFD Sender: No OFD packet to send [09:12:27]OFD Sender: No OFD packet to send [09:12:32]OFD Sender: No OFD packet to send [09:12:37]OFD Sender: No OFD packet to send [09:12:42]OFD Sender: No OFD packet to send [09:12:47]OFD Sender: No OFD packet to send [09:12:52]OFD Sender: No OFD packet to send [09:12:57]OFD Sender: No OFD packet to send [09:13:02]OFD Sender: No OFD packet to send [09:13:07]OFD Sender: No OFD packet to send [09:13:12]OFD Sender: No OFD packet to send [09:13:17]OFD Sender: No OFD packet to send [09:13:22]OFD Sender: No OFD packet to send [09:13:27]OFD Sender: No OFD packet to send [09:13:32]OFD Sender: No OFD packet to send [09:13:37]OFD Sender: No OFD packet to send [09:13:42]OFD Sender: No OFD packet to send [09:13:47]OFD Sender: No OFD packet to send [09:13:52]OFD Sender: No OFD packet to send [09:13:57]OFD Sender: No OFD packet to send [09:14:02]OFD Sender: No OFD packet to send [09:14:07]OFD Sender: No OFD packet to send [09:14:12]OFD Sender: No OFD packet to send [09:14:17]OFD Sender: No OFD packet to send [09:14:22]OFD Sender: No OFD packet to send [09:14:27]OFD Sender: No OFD packet to send [09:14:32]OFD Sender: No OFD packet to send [09:14:37]OFD Sender: No OFD packet to send [09:14:42]OFD Sender: No OFD packet to send [09:14:47]OFD Sender: No OFD packet to send [09:14:52]OFD Sender: No OFD packet to send [09:14:57]OFD Sender: No OFD packet to send [09:15:02]OFD Sender: No OFD packet to send [09:15:07]OFD Sender: No OFD packet to send [09:15:12]OFD Sender: No OFD packet to send [09:15:17]OFD Sender: No OFD packet to send [09:15:22]OFD Sender: No OFD packet to send [09:15:27]OFD Sender: No OFD packet to send [09:15:32]OFD Sender: No OFD packet to send [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:23]OFD Sender: No OFD packet to send [09:17:28]OFD Sender: No OFD packet to send [09:17:33]OFD Sender: No OFD packet to send [09:17:38]OFD Sender: No OFD packet to send [09:17:43]OFD Sender: No OFD packet to send [09:17:48]OFD Sender: No OFD packet to send [09:17:53]OFD Sender: No OFD packet to send [09:17:58]OFD Sender: No OFD packet to send [09:18:03]OFD Sender: No OFD packet to send [09:18:08]OFD Sender: No OFD packet to send [09:18:13]OFD Sender: No OFD packet to send [09:18:18]OFD Sender: No OFD packet to send [09:18:23]OFD Sender: No OFD packet to send [09:18:28]OFD Sender: No OFD packet to send [09:18:33]OFD Sender: No OFD packet to send [09:18:38]OFD Sender: No OFD packet to send [09:18:43]OFD Sender: No OFD packet to send [09:18:48]OFD Sender: No OFD packet to send [09:18:53]OFD Sender: No OFD packet to send [09:18:58]OFD Sender: No OFD packet to send [09:19:03]OFD Sender: No OFD packet to send [09:19:08]OFD Sender: No OFD packet to send [09:19:13]OFD Sender: No OFD packet to send [09:19:18]OFD Sender: No OFD packet to send [09:19:23]OFD Sender: No OFD packet to send [09:19:28]OFD Sender: No OFD packet to send [09:19:33]OFD Sender: No OFD packet to send [09:19:38]OFD Sender: No OFD packet to send [09:19:43]OFD Sender: No OFD packet to send [09:19:48]OFD Sender: No OFD packet to send [09:19:53]OFD Sender: No OFD packet to send [09:19:58]OFD Sender: No OFD packet to send [09:20:03]OFD Sender: No OFD packet to send [09:20:08]OFD Sender: No OFD packet to send [09:20:13]OFD Sender: No OFD packet to send [09:20:18]OFD Sender: No OFD packet to send [09:20:23]OFD Sender: No OFD packet to send [09:20:28]OFD Sender: No OFD packet to send [09:20:33]OFD Sender: No OFD packet to send [09:20:38]OFD Sender: No OFD packet to send [09:20:43]OFD Sender: No OFD packet to send [09:20:48]OFD Sender: No OFD packet to send [09:20:53]OFD Sender: No OFD packet to send [09:20:58]OFD Sender: No OFD packet to send [09:21:03]OFD Sender: No OFD packet to send [09:21:08]OFD Sender: No OFD packet to send [09:21:13]OFD Sender: No OFD packet to send [09:21:18]OFD Sender: No OFD packet to send [09:21:23]OFD Sender: No OFD packet to send [09:21:28]OFD Sender: No OFD packet to send [09:21:33]OFD Sender: No OFD packet to send [09:21:38]OFD Sender: No OFD packet to send [09:21:43]OFD Sender: No OFD packet to send [09:21:48]OFD Sender: No OFD packet to send [09:21:53]OFD Sender: No OFD packet to send [09:21:58]OFD Sender: No OFD packet to send [09:22:03]OFD Sender: No OFD packet to send [09:22:08]OFD Sender: No OFD packet to send [09:22:13]OFD Sender: No OFD packet to send [09:22:18]OFD Sender: No OFD packet to send [09:22:23]OFD Sender: No OFD packet to send [09:22:28]OFD Sender: No OFD packet to send [09:22:33]OFD Sender: No OFD packet to send [09:22:38]OFD Sender: No OFD packet to send [09:22:43]OFD Sender: No OFD packet to send [09:22:48]OFD Sender: No OFD packet to send [09:22:53]OFD Sender: No OFD packet to send [09:22:58]OFD Sender: No OFD packet to send [09:23:03]OFD Sender: No OFD packet to send [09:23:08]OFD Sender: No OFD packet to send [09:23:13]OFD Sender: No OFD packet to send [09:23:18]OFD Sender: No OFD packet to send [09:23:23]OFD Sender: No OFD packet to send [09:23:28]OFD Sender: No OFD packet to send [09:23:33]OFD Sender: No OFD packet to send [09:23:38]OFD Sender: No OFD packet to send [09:23:43]OFD Sender: No OFD packet to send [09:23:48]OFD Sender: No OFD packet to send [09:23:53]OFD Sender: No OFD packet to send [09:23:58]OFD Sender: No OFD packet to send [09:24:03]OFD Sender: No OFD packet to send [09:24:08]OFD Sender: No OFD packet to send [09:24:13]OFD Sender: No OFD packet to send [09:24:18]OFD Sender: No OFD packet to send [09:24:23]OFD Sender: No OFD packet to send [09:24:28]OFD Sender: No OFD packet to send [09:24:33]OFD Sender: No OFD packet to send [09:24:38]OFD Sender: No OFD packet to send [09:24:43]OFD Sender: No OFD packet to send [09:24:48]OFD Sender: No OFD packet to send [09:24:53]OFD Sender: No OFD packet to send [09:24:58]OFD Sender: No OFD packet to send [09:25:03]OFD Sender: No OFD packet to send [09:25:08]OFD Sender: No OFD packet to send [09:25:13]OFD Sender: No OFD packet to send [09:25:18]OFD Sender: No OFD packet to send [09:25:23]OFD Sender: No OFD packet to send [09:25:28]OFD Sender: No OFD packet to send [09:25:33]OFD Sender: No OFD packet to send [09:25:38]OFD Sender: No OFD packet to send [09:25:43]OFD Sender: No OFD packet to send [09:25:48]OFD Sender: No OFD packet to send [09:25:53]OFD Sender: No OFD packet to send [09:25:58]OFD Sender: No OFD packet to send [09:26:03]OFD Sender: No OFD packet to send [09:26:08]OFD Sender: No OFD packet to send [09:26:13]OFD Sender: No OFD packet to send [09:26:18]OFD Sender: No OFD packet to send [09:26:23]OFD Sender: No OFD packet to send [09:26:28]OFD Sender: No OFD packet to send [09:26:33]OFD Sender: No OFD packet to send [09:26:38]OFD Sender: No OFD packet to send [09:26:43]OFD Sender: No OFD packet to send [09:26:48]OFD Sender: No OFD packet to send [09:26:53]OFD Sender: No OFD packet to send [09:26:58]OFD Sender: No OFD packet to send [09:27:03]OFD Sender: No OFD packet to send [09:27:08]OFD Sender: No OFD packet to send [09:27:13]OFD Sender: No OFD packet to send [09:27:18]OFD Sender: No OFD packet to send [09:27:23]OFD Sender: No OFD packet to send [09:27:28]OFD Sender: No OFD packet to send [09:27:33]OFD Sender: No OFD packet to send [09:27:38]OFD Sender: No OFD packet to send [09:27:43]OFD Sender: No OFD packet to send [09:27:48]OFD Sender: No OFD packet to send [09:27:51]accept exits with 9 [09:27:51]New connection [09:27:51]New thread 3067243876 created [09:27:51]Thread 3067100516 joined [09:27:51]Waiting for new connection... [09:27:51] Sock 9.Parse request [09:27:51]Sock 9.Check first char [09:27:51]Sock 9.First char is OK [09:27:51]request: POST /json_proto HTTP/1.0 [09:27:51]Method: POST [09:27:51]URL: /json_proto [09:27:51]Method is POST - this is cgi request [09:27:51]url: /json_proto [09:27:51]query_string will be loaded in cgi processing [09:27:51]execute_cgi json_proto POST (null) [09:27:51]execute_cgi path=json_proto method=POST [09:27:51]POST find Content-Length [09:27:51]Host: 172.17.62.6:8080 [09:27:51]Content-Length: 619 [09:27:51]Content-Type: application/json [09:27:51] [09:27:51]POST finish read [09:27:51]Found Content-Length = 619 [09:27:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32782", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:27:51]execute_script... [09:27:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32782", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:27:51]POST & json_proto [09:27:51]process_json_proto [09:27:51]json parsed OK: [09:27:51]protocol is kg_v1.0 [09:27:51]action value=close_receipt [09:27:51]process_action close_receipt [09:27:51]cmd_close_receipt [09:27:51]MH_GetDate [09:27:51]Write to MH i2c: F0 00 00 6F 26 84 [09:27:51]Write i2c OK [09:27:51]MH_I2C_Read... [09:27:51]Read from MH i2c: F0 [09:27:51]MH_I2C_Read... [09:27:51]Read from MH i2c: F0 09 00 [09:27:51]MH_I2C_Read... [09:27:51]Read from MH i2c: F0 09 00 6F 26 00 26 39 22 66 61 69 D2 64 74 [09:27:51]GetLastDocTimeStamp 1713516649 [09:27:51]current date 1713518886 [09:27:51]FM_GetShiftState [09:27:51]SAM_PROTO_GetShiftState [09:27:51]wFMCommunicate request_size=4 [09:27:51]MH_SAM_APDU [09:27:51]CAPDU: 80 13 01 00 [09:27:51]Write to MH i2c: E2 08 00 70 26 80 13 01 00 00 00 00 00 13 [09:27:51]Write i2c OK [09:27:51]MH_I2C_Read... [09:27:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:27:51]Read from MH i2c: E2 [09:27:51]MH_I2C_Read... [09:27:51]Read from MH i2c: E2 0E 00 [09:27:51]MH_I2C_Read... [09:27:51]Read from MH i2c: E2 0E 00 70 26 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 09 [09:27:51]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [09:27:51]wFMCommunicate OK [09:27:51]SAM_PROTO_GetShiftState done [09:27:51]FM_GetShiftState done [09:27:51]opened in 1713485995 [09:27:51]opened+sec_in_day 1713572395 [09:27:51]quantity*price = 13000 [09:27:51]sum+1 = 13001 [09:27:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 8 19.04.2024 09:28 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12506 ФПД: 73884291793093 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T092806&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12506&fm=73884291793093&tin=02508201610067®Number=0000000000100748&sum=13000 0 [09:27:52]StoreToDocumentArchive [09:27:52]shift 279 fd 12506 [09:27:52]save to /storage/0279/doc_00012506 [09:27:52]save last doc name /storage/0279/doc_00012506 to /storage/kkm_last_doc_name [09:27:52]save OK [09:27:52]Clear old archive folders... [09:27:52]ProcessDocumentItem done err = 0, tmpTLVsize=272 [09:27:52]tlvbuf is 01CC0340 [09:27:52]SAM_PROTO_ClearQueue [09:27:52]wFMCommunicate request_size=4 [09:27:52]MH_SAM_APDU [09:27:52]CAPDU: 80 09 00 00 [09:27:52]Write to MH i2c: E2 08 00 7D 26 80 09 00 00 00 00 00 00 15 [09:27:52]Write i2c OK [09:27:52]MH_I2C_Read... [09:27:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:27:52]Read from MH i2c: E2 [09:27:52]MH_I2C_Read... [09:27:52]Read from MH i2c: E2 03 00 [09:27:52]MH_I2C_Read... [09:27:52]Read from MH i2c: E2 03 00 7D 26 00 90 00 17 [09:27:52]RAPDU: 90 00 [09:27:52]wFMCommunicate OK [09:27:52]SAM_PROTO_ClearQueue done [09:27:52]KKMCreateOFDPacket [09:27:52]OFDProtocolAddRootSTLVToBuf [09:27:52]FM_MakeSignedData [09:27:52]FM_MakeSignedData [09:27:52]SAM_PROTO_SignData [09:27:52]wFMCommunicate request_size=4 [09:27:52]MH_SAM_APDU [09:27:52]CAPDU: 80 0D 01 02 [09:27:52]Write to MH i2c: E2 08 00 7E 26 80 0D 01 02 00 00 00 00 1D [09:27:52]Write i2c OK [09:27:52]MH_I2C_Read... [09:27:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:27:52]Read from MH i2c: E2 [09:27:52]MH_I2C_Read... [09:27:52]Read from MH i2c: E2 03 00 [09:27:52]MH_I2C_Read... [09:27:52]Read from MH i2c: E2 03 00 7E 26 00 90 00 18 [09:27:52]RAPDU: 90 00 [09:27:52]wFMCommunicate OK [09:27:52]wFMCommunicate request_size=255 [09:27:52]MH_SAM_APDU [09:27:52]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 26 39 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 [09:27:52]Write to MH i2c: E2 02 01 7F 26 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 26 39 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 C8 [09:27:52]Write i2c OK [09:27:52]MH_I2C_Read... [09:27:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:27:53]Read from MH i2c: E2 [09:27:53]MH_I2C_Read... [09:27:53]Read from MH i2c: E2 03 00 [09:27:53]MH_I2C_Read... [09:27:53]Read from MH i2c: E2 03 00 7F 26 00 90 00 19 [09:27:53]RAPDU: 90 00 [09:27:53]wFMCommunicate OK [09:27:53]wFMCommunicate request_size=31 [09:27:53]MH_SAM_APDU [09:27:53]CAPDU: 80 0D 02 02 1A 30 30 39 36 35 36 38 35 10 04 04 00 DA 30 00 00 35 04 06 00 43 32 86 F7 80 C5 [09:27:53]Write to MH i2c: E2 22 00 80 26 80 0D 02 02 1A 00 30 30 39 36 35 36 38 35 10 04 04 00 DA 30 00 00 35 04 06 00 43 32 86 F7 80 C5 00 00 93 [09:27:53]Write i2c OK [09:27:53]MH_I2C_Read... [09:27:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:27:53]Read from MH i2c: E2 [09:27:53]MH_I2C_Read... [09:27:53]Read from MH i2c: E2 03 00 [09:27:53]MH_I2C_Read... [09:27:53]Read from MH i2c: E2 03 00 80 26 00 90 00 1A [09:27:53]RAPDU: 90 00 [09:27:53]wFMCommunicate OK [09:27:53]wFMCommunicate request_size=4 [09:27:53]MH_SAM_APDU [09:27:53]CAPDU: 80 0D 03 02 [09:27:53]Write to MH i2c: E2 08 00 81 26 80 0D 03 02 00 00 00 00 22 [09:27:53]Write i2c OK [09:27:53]MH_I2C_Read... [09:27:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:27:53]Read from MH i2c: E2 [09:27:53]MH_I2C_Read... [09:27:53]Read from MH i2c: E2 0B 00 [09:27:53]MH_I2C_Read... [09:27:53]Read from MH i2c: E2 0B 00 81 26 00 DE 67 E5 58 6E 0C 66 F0 90 00 75 [09:27:53]RAPDU: DE 67 E5 58 6E 0C 66 F0 90 00 [09:27:53]wFMCommunicate OK [09:27:53]SAM_PROTO_SignData done [09:27:53]FM_MakeSignedData done [09:27:53]CreateOFDProtocolMessage [09:27:53]wFMCommunicate request_size=4 [09:27:53]MH_SAM_APDU [09:27:53]CAPDU: 80 11 00 00 [09:27:53]Write to MH i2c: E2 08 00 82 26 80 11 00 00 00 00 00 00 22 [09:27:53]Write i2c OK [09:27:53]MH_I2C_Read... [09:27:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:27:53]Read from MH i2c: E2 [09:27:53]MH_I2C_Read... [09:27:53]Read from MH i2c: E2 17 00 [09:27:53]MH_I2C_Read... [09:27:53]Read from MH i2c: E2 17 00 82 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 7C [09:27:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [09:27:53]wFMCommunicate OK [09:27:53]CreateOFDProtocolMessage done [09:27:53]OFDSenderStorePacket 12506 [09:27:53]StoreOFDPacket docnum=12506 [09:27:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 24 01 00 00 AC 73 1C 01 FF B8 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 26 39 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DA 30 00 00 35 04 06 00 43 32 86 F7 80 C5 DE 67 E5 58 6E 0C 66 F0 [09:27:53]CheckFolder [09:27:53]dirname=/storage/ofd_packets [09:27:53]CheckFolder done [09:27:53]ProducePacketName [09:27:53]name=ofd_packets/00012506 [09:27:53]NVStorageSaveData ofd_packets/00012506 [09:27:53]File name is /storage/ofd_packets/00012506 [09:27:53]Write 322 bytes [09:27:53]NVStorageSaveData done [09:27:53]OFDSenderStorePacket done [09:27:53]KKMCreateOFDPacket done [09:27:53]NVStorageSaveData kkm_last_timestamp [09:27:53]File name is /storage/kkm_last_timestamp [09:27:53]Write 4 bytes [09:27:53]NVStorageSaveData done [09:27:53]ExternCall_PrintAddStr [09:27:53]wPrintStart [09:27:53]Write to MH i2c: 01 00 00 83 26 A9 [09:27:53]Write i2c OK [09:27:53]MH_I2C_Read... [09:27:53]Read from MH i2c: 01 [09:27:53]MH_I2C_Read... [09:27:53]Read from MH i2c: 01 07 00 [09:27:53]MH_I2C_Read... [09:27:53]Read from MH i2c: 01 07 00 83 26 00 00 00 00 00 FF 0F BE [09:27:53]RasterBufferAndPrint [09:27:53]line Счет N : (3)32782 [09:27:53]line ИНН: 02508201610067 [09:27:53]line Контрольно-Кассовый Чек [09:27:53]line ПРОДАЖА [09:27:53]line Товар: 48745000 [09:27:53]line Сигареты Winston Purple Mix [09:27:53]line 1.000 * 130.00 [09:27:53]line = 130.00 [09:27:53]line НДС 12% НСП 1% [09:27:53]line > о реализуемом товаре [09:27:53]line ИТОГО: 130.00 [09:27:53]line НСП 1% : 1.15 [09:27:53]line НДС 12% : 13.80 [09:27:53]line Наличными: 130.00 [09:27:53]line Безнал.: 0.00 [09:27:53]line Место: АЗС № 106 "Партнер Нефть" [09:27:53]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [09:27:53]line СНО: Общий режим [09:27:53]line Чек 8 19.04.2024 09:28 [09:27:53]line Смена: 279 ФФД: 1.0 [09:27:53]line ЗНМ: 0300000004 [09:27:53]line РНМ: 0000000000100748 [09:27:53]line Версия ККМ: 001 [09:27:53]line ФМ: 0000000000965685 [09:27:53]line ФД: 12506 [09:27:53]line ФПД: 73884291793093 [09:27:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T092806&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12506&fm=73884291793093&tin=02508201610067®Number=0000000000100748&sum=13000 [09:27:53]OFD Sender: Processing packet 12506 [packets to send 7, broken 6] [09:27:53]ProducePacketName [09:27:53]name=ofd_packets/00012506 [09:27:53]OFD Sender: To server: pG, [09:27:53]CommunicateWithHost lk.salyk.kg:30040 [09:27:53]ConnectInit lk.salyk.kg [09:27:53]line 0 [09:27:53]written 0, free lines is 4095 [09:27:53]Connected sock=10 [09:27:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 24 01 00 00 AC 73 1C 01 FF B8 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 26 39 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DA 30 00 00 35 04 06 00 43 32 86 F7 80 C5 DE 67 E5 58 6E 0C 66 F0 [09:27:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 87 3E 47 00 EB 4A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DA 30 00 00 F4 03 04 00 AE E1 21 66 B6 04 01 00 00 16 CC 0A C2 46 FB 0E 15 [09:27:53]CommunicateWithHost err = 0 [09:27:53]CheckOFDResponse [09:27:53]1017 (14) - 77093643461234 [09:27:53]1041 (16) - 0000000000965685 [09:27:53]1040 (4) - 12506 [09:27:53]1012 (4) - 19.04.2024 03:14 [09:27:53]1206 (1) - 0 [09:27:53]OFD Sender: Remove packet 12506 [09:27:53]ProducePacketName [09:27:53]name=ofd_packets/00012506 [09:27:53]NVStorageDeleteData [09:27:53]Write to MH i2c: 01 00 00 AA 26 D0 [09:27:54]Write i2c OK [09:27:54]MH_I2C_Read... [09:27:54]Read from MH i2c: 01 [09:27:54]MH_I2C_Read... [09:27:54]Read from MH i2c: 01 07 00 [09:27:54]MH_I2C_Read... [09:27:54]Read from MH i2c: 01 07 00 AA 26 00 00 00 00 00 F5 0C D8 [09:27:54]RasterBufferAndPrint [09:27:54]line [09:27:54]line [09:27:54]line [09:27:54]line [09:27:54]line [09:27:54]written 0, free lines is 3326 [09:27:54]MH_Cut [09:27:54]Write to MH i2c: D1 01 00 B1 26 01 A9 [09:27:54]Write i2c OK [09:27:54]MH_I2C_Read... [09:27:54]Read from MH i2c: D1 [09:27:54]MH_I2C_Read... [09:27:54]Read from MH i2c: D1 01 00 [09:27:54]MH_I2C_Read... [09:27:54]Read from MH i2c: D1 01 00 B1 26 00 A8 [09:27:54]Write to MH i2c: 01 00 00 B2 26 D8 [09:27:54]Write i2c OK [09:27:54]MH_I2C_Read... [09:27:54]OFD Sender: No OFD packet to send [09:27:54]*** Cut start [09:27:54]*** Partial cut [09:27:54]*** CUTSNS_PIN = 1 [09:27:54]*** CUTSNS_PIN = 0 [09:27:55]*** Brake cut motor [09:27:55]Read from MH i2c: 01 [09:27:55]MH_I2C_Read... [09:27:55]*** Stop cut motor [09:27:55]*** Cut end [09:27:55]Read from MH i2c: 01 07 00 [09:27:55]MH_I2C_Read... [09:27:55]Read from MH i2c: 01 07 00 B2 26 00 00 00 00 00 FF 0F ED [09:27:55]process_action close_receipt done [09:27:55]requested_data is exist [09:27:55]produce_requested_data [09:27:55]requested_item fm.sn is exist - process it [09:27:55]wFMCommunicate request_size=4 [09:27:55]MH_SAM_APDU [09:27:55]CAPDU: 80 11 00 00 [09:27:55]Write to MH i2c: E2 08 00 B3 26 80 11 00 00 00 00 00 00 53 [09:27:55]Write i2c OK [09:27:55]MH_I2C_Read... [09:27:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:27:55]Read from MH i2c: E2 [09:27:55]MH_I2C_Read... [09:27:55]Read from MH i2c: E2 17 00 [09:27:55]MH_I2C_Read... [09:27:55]Read from MH i2c: E2 17 00 B3 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 AD [09:27:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [09:27:55]wFMCommunicate OK [09:27:55]requested_item fd.num is exist - process it [09:27:55]SAM_PROTO_GetFieldsCounters [09:27:55]wFMCommunicate request_size=4 [09:27:55]MH_SAM_APDU [09:27:55]CAPDU: 80 13 00 00 [09:27:55]Write to MH i2c: E2 08 00 B4 26 80 13 00 00 00 00 00 00 56 [09:27:55]Write i2c OK [09:27:55]MH_I2C_Read... [09:27:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:27:55]Read from MH i2c: E2 [09:27:55]MH_I2C_Read... [09:27:55]Read from MH i2c: E2 62 00 [09:27:55]MH_I2C_Read... [09:27:55]Read from MH i2c: E2 62 00 B4 26 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 DA 30 00 00 0E 04 04 00 17 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 B3 [09:27:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 DA 30 00 00 0E 04 04 00 17 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:27:55]wFMCommunicate OK [09:27:55]SAM_PROTO_GetFieldsCounters done [09:27:55]requested_item shift.num is exist - process it [09:27:55]requested_item shift.opened is exist - process it [09:27:55]req_shift_opened [09:27:55]FM_GetShiftState [09:27:55]SAM_PROTO_GetShiftState [09:27:55]wFMCommunicate request_size=4 [09:27:55]MH_SAM_APDU [09:27:55]CAPDU: 80 13 01 00 [09:27:55]Write to MH i2c: E2 08 00 B5 26 80 13 01 00 00 00 00 00 58 [09:27:55]Write i2c OK [09:27:55]MH_I2C_Read... [09:27:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:27:55]Read from MH i2c: E2 [09:27:55]MH_I2C_Read... [09:27:55]Read from MH i2c: E2 0E 00 [09:27:55]MH_I2C_Read... [09:27:55]Read from MH i2c: E2 0E 00 B5 26 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 4E [09:27:55]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [09:27:55]wFMCommunicate OK [09:27:55]SAM_PROTO_GetShiftState done [09:27:55]FM_GetShiftState done [09:27:55]req_shift_opened done [09:27:55]requested_item shift.open_date is exist - process it [09:27:55]req_shift_open_date [09:27:55]req_shift_open_date done [09:27:55]produce_requested_data done [09:27:55]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12506,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [09:27:55]process_action_free close_receipt [09:27:55]json_value_free [09:27:55]json_value_free done [09:27:55]process_json_proto returns [09:27:55]Send response to host [09:27:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12506,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [09:27:55]free response buf [09:27:55]execute_script done [09:27:55]execute_script returns [09:27:55]free content buf [09:27:55]Sock 9.Close socket [09:27:55]Sock 9.Thread stoped [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:28:59]OFD Sender: No OFD packet to send [09:29:04]OFD Sender: No OFD packet to send [09:29:09]OFD Sender: No OFD packet to send [09:29:14]OFD Sender: No OFD packet to send [09:29:19]OFD Sender: No OFD packet to send [09:29:24]OFD Sender: No OFD packet to send [09:29:29]OFD Sender: No OFD packet to send [09:29:34]OFD Sender: No OFD packet to send [09:29:39]OFD Sender: No OFD packet to send [09:29:44]OFD Sender: No OFD packet to send [09:29:49]OFD Sender: No OFD packet to send [09:29:54]OFD Sender: No OFD packet to send [09:29:59]OFD Sender: No OFD packet to send [09:30:04]OFD Sender: No OFD packet to send [09:30:09]OFD Sender: No OFD packet to send [09:30:14]OFD Sender: No OFD packet to send [09:30:19]OFD Sender: No OFD packet to send [09:30:24]OFD Sender: No OFD packet to send [09:30:29]OFD Sender: No OFD packet to send [09:30:34]OFD Sender: No OFD packet to send [09:30:39]OFD Sender: No OFD packet to send [09:30:44]OFD Sender: No OFD packet to send [09:30:49]OFD Sender: No OFD packet to send [09:30:54]OFD Sender: No OFD packet to send [09:30:59]OFD Sender: No OFD packet to send [09:31:04]OFD Sender: No OFD packet to send [09:31:09]OFD Sender: No OFD packet to send [09:31:14]OFD Sender: No OFD packet to send [09:31:19]OFD Sender: No OFD packet to send [09:31:24]OFD Sender: No OFD packet to send [09:31:29]OFD Sender: No OFD packet to send [09:31:34]OFD Sender: No OFD packet to send [09:31:39]OFD Sender: No OFD packet to send [09:31:44]OFD Sender: No OFD packet to send [09:31:49]accept exits with 8 [09:31:49]New connection [09:31:49]New thread 3067100516 created [09:31:49]Thread 3067243876 joined [09:31:49]Waiting for new connection... [09:31:49] Sock 8.Parse request [09:31:49]Sock 8.Check first char [09:31:49]Sock 8.First char is OK [09:31:49]request: POST /json_proto HTTP/1.0 [09:31:49]Method: POST [09:31:49]URL: /json_proto [09:31:49]Method is POST - this is cgi request [09:31:49]url: /json_proto [09:31:49]query_string will be loaded in cgi processing [09:31:49]execute_cgi json_proto POST (null) [09:31:49]execute_cgi path=json_proto method=POST [09:31:49]POST find Content-Length [09:31:49]Host: 172.17.62.6:8080 [09:31:49]Content-Length: 215 [09:31:49]Content-Type: application/json [09:31:49] [09:31:49]POST finish read [09:31:49]Found Content-Length = 215 [09:31:49]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:31:49]execute_script... [09:31:49]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:31:49]POST & json_proto [09:31:49]process_json_proto [09:31:49]json parsed OK: [09:31:49]protocol is kg_v1.0 [09:31:49]action value=get_value [09:31:49]process_action get_value [09:31:49]cmd_get_value [09:31:49]process_action get_value done [09:31:49]requested_data is exist [09:31:49]produce_requested_data [09:31:49]requested_item kkm.sn is exist - process it [09:31:49]requested_item kkm.ver is exist - process it [09:31:49]requested_item fm.sn is exist - process it [09:31:49]wFMCommunicate request_size=4 [09:31:49]MH_SAM_APDU [09:31:49]CAPDU: 80 11 00 00 [09:31:49]Write to MH i2c: E2 08 00 B6 26 80 11 00 00 00 00 00 00 56 [09:31:49]Write i2c OK [09:31:49]MH_I2C_Read... [09:31:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:31:49]Read from MH i2c: E2 [09:31:49]MH_I2C_Read... [09:31:49]Read from MH i2c: E2 17 00 [09:31:49]MH_I2C_Read... [09:31:49]Read from MH i2c: E2 17 00 B6 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 B0 [09:31:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [09:31:49]wFMCommunicate OK [09:31:49]requested_item fd.num is exist - process it [09:31:49]SAM_PROTO_GetFieldsCounters [09:31:49]wFMCommunicate request_size=4 [09:31:49]MH_SAM_APDU [09:31:49]CAPDU: 80 13 00 00 [09:31:49]Write to MH i2c: E2 08 00 B7 26 80 13 00 00 00 00 00 00 59 [09:31:49]Write i2c OK [09:31:49]MH_I2C_Read... [09:31:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:31:49]Read from MH i2c: E2 [09:31:49]MH_I2C_Read... [09:31:49]Read from MH i2c: E2 62 00 [09:31:49]MH_I2C_Read... [09:31:49]Read from MH i2c: E2 62 00 B7 26 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 DA 30 00 00 0E 04 04 00 17 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 B6 [09:31:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 DA 30 00 00 0E 04 04 00 17 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:31:49]wFMCommunicate OK [09:31:49]SAM_PROTO_GetFieldsCounters done [09:31:49]requested_item shift.num is exist - process it [09:31:49]requested_item shift.opened is exist - process it [09:31:49]req_shift_opened [09:31:49]FM_GetShiftState [09:31:49]SAM_PROTO_GetShiftState [09:31:49]wFMCommunicate request_size=4 [09:31:49]MH_SAM_APDU [09:31:49]CAPDU: 80 13 01 00 [09:31:49]Write to MH i2c: E2 08 00 B8 26 80 13 01 00 00 00 00 00 5B [09:31:49]Write i2c OK [09:31:49]MH_I2C_Read... [09:31:49]OFD Sender: No OFD packet to send [09:31:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:31:49]Read from MH i2c: E2 [09:31:49]MH_I2C_Read... [09:31:49]Read from MH i2c: E2 0E 00 [09:31:49]MH_I2C_Read... [09:31:49]Read from MH i2c: E2 0E 00 B8 26 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 51 [09:31:49]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [09:31:49]wFMCommunicate OK [09:31:49]SAM_PROTO_GetShiftState done [09:31:49]FM_GetShiftState done [09:31:49]req_shift_opened done [09:31:49]requested_item shift.open_date is exist - process it [09:31:49]req_shift_open_date [09:31:49]req_shift_open_date done [09:31:49]produce_requested_data done [09:31:49]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12506,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [09:31:49]process_action_free get_value [09:31:49]json_value_free [09:31:49]json_value_free done [09:31:49]process_json_proto returns [09:31:49]Send response to host [09:31:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12506,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [09:31:49]free response buf [09:31:49]execute_script done [09:31:49]execute_script returns [09:31:49]free content buf [09:31:49]Sock 8.Close socket [09:31:49]Sock 8.Thread stoped [09:31:52]accept exits with 9 [09:31:52]New connection [09:31:52]New thread 3067243876 created [09:31:52]Thread 3067100516 joined [09:31:52]Waiting for new connection... [09:31:52] Sock 9.Parse request [09:31:52]Sock 9.Check first char [09:31:52]Sock 9.First char is OK [09:31:52]request: POST /json_proto HTTP/1.0 [09:31:52]Method: POST [09:31:52]URL: /json_proto [09:31:52]Method is POST - this is cgi request [09:31:52]url: /json_proto [09:31:52]query_string will be loaded in cgi processing [09:31:52]execute_cgi json_proto POST (null) [09:31:52]execute_cgi path=json_proto method=POST [09:31:52]POST find Content-Length [09:31:52]Host: 172.17.62.6:8080 [09:31:52]Content-Length: 331 [09:31:52]Content-Type: application/json [09:31:52] [09:31:52]POST finish read [09:31:52]Found Content-Length = 331 [09:31:52]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:31:52]execute_script... [09:31:52]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:31:52]POST & json_proto [09:31:52]process_json_proto [09:31:52]json parsed OK: [09:31:52]protocol is kg_v1.0 [09:31:52]action value=get_value [09:31:52]process_action get_value [09:31:52]cmd_get_value [09:31:52]process_action get_value done [09:31:52]requested_data is exist [09:31:52]produce_requested_data [09:31:52]requested_item fm.sale.total is exist - process it [09:31:52]SAM_PROTO_GetFMData [09:31:52]wFMCommunicate request_size=4 [09:31:52]MH_SAM_APDU [09:31:52]CAPDU: 80 13 03 00 [09:31:52]Write to MH i2c: E2 08 00 B9 26 80 13 03 00 00 00 00 00 5E [09:31:52]Write i2c OK [09:31:52]MH_I2C_Read... [09:31:53]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [09:31:53]Read from MH i2c: E2 [09:31:53]MH_I2C_Read... [09:31:53]Read from MH i2c: E2 FD 00 [09:31:53]MH_I2C_Read... [09:31:53]Read from MH i2c: E2 FD 00 B9 26 00 C1 04 85 04 BD 04 6E 04 04 00 AC 2E 00 00 69 04 A0 00 6F 04 04 00 60 2E 00 00 B1 04 04 00 5B 60 A7 0E 70 04 04 00 B2 89 A3 0C 72 04 04 00 A9 D6 03 02 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 5F 8E 01 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 89 2E 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 DE [09:31:53]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 AC 2E 00 00 69 04 A0 00 6F 04 04 00 60 2E 00 00 B1 04 04 00 5B 60 A7 0E 70 04 04 00 B2 89 A3 0C 72 04 04 00 A9 D6 03 02 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 5F 8E 01 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 89 2E 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 [09:31:53]wFMCommunicate OK [09:31:53]wFMCommunicate request_size=4 [09:31:53]MH_SAM_APDU [09:31:53]CAPDU: 80 17 00 00 [09:31:53]Write to MH i2c: E2 08 00 BA 26 80 17 00 00 00 00 00 00 60 [09:31:53]Write i2c OK [09:31:53]MH_I2C_Read... [09:31:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:31:53]Read from MH i2c: E2 [09:31:53]MH_I2C_Read... [09:31:53]Read from MH i2c: E2 FD 00 [09:31:53]MH_I2C_Read... [09:31:53]Read from MH i2c: E2 FD 00 BA 26 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FE [09:31:53]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:31:53]wFMCommunicate OK [09:31:53]wFMCommunicate request_size=4 [09:31:53]MH_SAM_APDU [09:31:53]CAPDU: 80 17 00 00 [09:31:53]Write to MH i2c: E2 08 00 BB 26 80 17 00 00 00 00 00 00 61 [09:31:53]Write i2c OK [09:31:53]MH_I2C_Read... [09:31:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:31:53]Read from MH i2c: E2 [09:31:53]MH_I2C_Read... [09:31:53]Read from MH i2c: E2 FD 00 [09:31:53]MH_I2C_Read... [09:31:53]Read from MH i2c: E2 FD 00 BB 26 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 01 [09:31:53]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:31:53]wFMCommunicate OK [09:31:53]wFMCommunicate request_size=4 [09:31:53]MH_SAM_APDU [09:31:53]CAPDU: 80 17 00 00 [09:31:53]Write to MH i2c: E2 08 00 BC 26 80 17 00 00 00 00 00 00 62 [09:31:53]Write i2c OK [09:31:53]MH_I2C_Read... [09:31:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:31:54]Read from MH i2c: E2 [09:31:54]MH_I2C_Read... [09:31:54]Read from MH i2c: E2 FD 00 [09:31:54]MH_I2C_Read... [09:31:54]Read from MH i2c: E2 FD 00 BC 26 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E7 [09:31:54]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:31:54]wFMCommunicate OK [09:31:54]wFMCommunicate request_size=4 [09:31:54]MH_SAM_APDU [09:31:54]CAPDU: 80 17 00 00 [09:31:54]Write to MH i2c: E2 08 00 BD 26 80 17 00 00 00 00 00 00 63 [09:31:54]Write i2c OK [09:31:54]MH_I2C_Read... [09:31:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [09:31:54]Read from MH i2c: E2 [09:31:54]MH_I2C_Read... [09:31:54]Read from MH i2c: E2 DE 00 [09:31:54]MH_I2C_Read... [09:31:54]Read from MH i2c: E2 DE 00 BD 26 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 42 [09:31:54]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:31:54]wFMCommunicate OK [09:31:54]SAM_PROTO_GetFMData done [09:31:54]requested_item fm.sale_refund.total is exist - process it [09:31:54]requested_item fm.buy.total is exist - process it [09:31:54]requested_item shift.sale.total is exist - process it [09:31:54]SAM_PROTO_GetShiftData [09:31:54]wFMCommunicate request_size=4 [09:31:54]MH_SAM_APDU [09:31:54]CAPDU: 80 13 02 00 [09:31:54]Write to MH i2c: E2 08 00 BE 26 80 13 02 00 00 00 00 00 62 [09:31:54]Write i2c OK [09:31:54]MH_I2C_Read... [09:31:54]OFD Sender: No OFD packet to send [09:31:54]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:31:54]Read from MH i2c: E2 [09:31:54]MH_I2C_Read... [09:31:54]Read from MH i2c: E2 FD 00 [09:31:54]MH_I2C_Read... [09:31:54]Read from MH i2c: E2 FD 00 BE 26 00 AD 04 AA 04 A9 04 6E 04 04 00 08 00 00 00 69 04 9A 00 6F 04 04 00 08 00 00 00 B1 04 03 00 E4 5E 03 70 04 03 00 38 57 02 72 04 03 00 AC 07 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 A3 5B 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 A3 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 62 [09:31:54]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 08 00 00 00 69 04 9A 00 6F 04 04 00 08 00 00 00 B1 04 03 00 E4 5E 03 70 04 03 00 38 57 02 72 04 03 00 AC 07 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 A3 5B 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 A3 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:31:54]wFMCommunicate OK [09:31:54]wFMCommunicate request_size=4 [09:31:54]MH_SAM_APDU [09:31:54]CAPDU: 80 17 00 00 [09:31:54]Write to MH i2c: E2 08 00 BF 26 80 17 00 00 00 00 00 00 65 [09:31:54]Write i2c OK [09:31:54]MH_I2C_Read... [09:31:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:31:55]Read from MH i2c: E2 [09:31:55]MH_I2C_Read... [09:31:55]Read from MH i2c: E2 FD 00 [09:31:55]MH_I2C_Read... [09:31:55]Read from MH i2c: E2 FD 00 BF 26 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 77 [09:31:55]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 90 00 [09:31:55]wFMCommunicate OK [09:31:55]wFMCommunicate request_size=4 [09:31:55]MH_SAM_APDU [09:31:55]CAPDU: 80 17 00 00 [09:31:55]Write to MH i2c: E2 08 00 C0 26 80 17 00 00 00 00 00 00 66 [09:31:55]Write i2c OK [09:31:55]MH_I2C_Read... [09:31:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:31:55]Read from MH i2c: E2 [09:31:55]MH_I2C_Read... [09:31:55]Read from MH i2c: E2 FD 00 [09:31:55]MH_I2C_Read... [09:31:55]Read from MH i2c: E2 FD 00 C0 26 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 2A [09:31:55]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:31:55]wFMCommunicate OK [09:31:55]wFMCommunicate request_size=4 [09:31:55]MH_SAM_APDU [09:31:55]CAPDU: 80 17 00 00 [09:31:55]Write to MH i2c: E2 08 00 C1 26 80 17 00 00 00 00 00 00 67 [09:31:55]Write i2c OK [09:31:55]MH_I2C_Read... [09:31:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:31:55]Read from MH i2c: E2 [09:31:55]MH_I2C_Read... [09:31:55]Read from MH i2c: E2 FD 00 [09:31:55]MH_I2C_Read... [09:31:55]Read from MH i2c: E2 FD 00 C1 26 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 DC [09:31:55]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:31:55]wFMCommunicate OK [09:31:55]wFMCommunicate request_size=4 [09:31:55]MH_SAM_APDU [09:31:55]CAPDU: 80 17 00 00 [09:31:55]Write to MH i2c: E2 08 00 C2 26 80 17 00 00 00 00 00 00 68 [09:31:55]Write i2c OK [09:31:55]MH_I2C_Read... [09:31:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [09:31:55]Read from MH i2c: E2 [09:31:55]MH_I2C_Read... [09:31:55]Read from MH i2c: E2 CA 00 [09:31:55]MH_I2C_Read... [09:31:55]Read from MH i2c: E2 CA 00 C2 26 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 4D [09:31:55]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:31:55]wFMCommunicate OK [09:31:55]SAM_PROTO_GetShiftData done [09:31:55]requested_item shift.sale.total_cash is exist - process it [09:31:55]requested_item shift.sale_refund.total is exist - process it [09:31:55]requested_item shift.sale_refund.total_cash is exist - process it [09:31:55]requested_item shift.buy.total is exist - process it [09:31:55]requested_item shift.buy.total_cash is exist - process it [09:31:55]produce_requested_data done [09:31:55]produce_requested_data return {"fm.sale.total":2458502.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":2209.00,"shift.sale.total_cash":1534.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:31:55]process_action_free get_value [09:31:55]json_value_free [09:31:55]json_value_free done [09:31:55]process_json_proto returns [09:31:55]Send response to host [09:31:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2458502.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":2209.00,"shift.sale.total_cash":1534.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:31:55]free response buf [09:31:55]execute_script done [09:31:55]execute_script returns [09:31:55]free content buf [09:31:55]Sock 9.Close socket [09:31:55]Sock 9.Thread stoped [09:31:59]OFD Sender: No OFD packet to send [09:32:04]OFD Sender: No OFD packet to send [09:32:09]OFD Sender: No OFD packet to send [09:32:14]OFD Sender: No OFD packet to send [09:32:19]OFD Sender: No OFD packet to send [09:32:24]OFD Sender: No OFD packet to send [09:32:29]OFD Sender: No OFD packet to send [09:32:34]OFD Sender: No OFD packet to send [09:32:39]OFD Sender: No OFD packet to send [09:32:44]OFD Sender: No OFD packet to send [09:32:49]OFD Sender: No OFD packet to send [09:32:54]OFD Sender: No OFD packet to send [09:32:59]OFD Sender: No OFD packet to send [09:33:04]OFD Sender: No OFD packet to send [09:33:09]OFD Sender: No OFD packet to send [09:33:14]OFD Sender: No OFD packet to send [09:33:19]OFD Sender: No OFD packet to send [09:33:24]OFD Sender: No OFD packet to send [09:33:29]OFD Sender: No OFD packet to send [09:33:34]OFD Sender: No OFD packet to send [09:33:39]OFD Sender: No OFD packet to send [09:33:44]OFD Sender: No OFD packet to send [09:33:49]OFD Sender: No OFD packet to send [09:33:54]OFD Sender: No OFD packet to send [09:33:59]OFD Sender: No OFD packet to send [09:34:00]accept exits with 8 [09:34:00]New connection [09:34:00]New thread 3067100516 created [09:34:00]Thread 3067243876 joined [09:34:00]Waiting for new connection... [09:34:00] Sock 8.Parse request [09:34:00]Sock 8.Check first char [09:34:00]Sock 8.First char is OK [09:34:00]request: POST /json_proto HTTP/1.0 [09:34:00]Method: POST [09:34:00]URL: /json_proto [09:34:00]Method is POST - this is cgi request [09:34:00]url: /json_proto [09:34:00]query_string will be loaded in cgi processing [09:34:00]execute_cgi json_proto POST (null) [09:34:00]execute_cgi path=json_proto method=POST [09:34:00]POST find Content-Length [09:34:00]Host: 172.17.62.6:8080 [09:34:00]Content-Length: 645 [09:34:00]Content-Type: application/json [09:34:00] [09:34:00]POST finish read [09:34:00]Found Content-Length = 645 [09:34:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32783", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:34:00]execute_script... [09:34:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32783", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:34:00]POST & json_proto [09:34:00]process_json_proto [09:34:00]json parsed OK: [09:34:00]protocol is kg_v1.0 [09:34:00]action value=close_receipt [09:34:00]process_action close_receipt [09:34:00]cmd_close_receipt [09:34:00]MH_GetDate [09:34:00]Write to MH i2c: F0 00 00 C3 26 D8 [09:34:00]Write i2c OK [09:34:00]MH_I2C_Read... [09:34:00]Read from MH i2c: F0 [09:34:00]MH_I2C_Read... [09:34:00]Read from MH i2c: F0 09 00 [09:34:00]MH_I2C_Read... [09:34:00]Read from MH i2c: F0 09 00 C3 26 00 98 3A 22 66 61 69 D2 64 3B [09:34:00]GetLastDocTimeStamp 1713518886 [09:34:00]current date 1713519256 [09:34:00]FM_GetShiftState [09:34:00]SAM_PROTO_GetShiftState [09:34:00]wFMCommunicate request_size=4 [09:34:00]MH_SAM_APDU [09:34:00]CAPDU: 80 13 01 00 [09:34:00]Write to MH i2c: E2 08 00 C4 26 80 13 01 00 00 00 00 00 67 [09:34:00]Write i2c OK [09:34:00]MH_I2C_Read... [09:34:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:34:01]Read from MH i2c: E2 [09:34:01]MH_I2C_Read... [09:34:01]Read from MH i2c: E2 0E 00 [09:34:01]MH_I2C_Read... [09:34:01]Read from MH i2c: E2 0E 00 C4 26 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 5D [09:34:01]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [09:34:01]wFMCommunicate OK [09:34:01]SAM_PROTO_GetShiftState done [09:34:01]FM_GetShiftState done [09:34:01]opened in 1713485995 [09:34:01]opened+sec_in_day 1713572395 [09:34:01]quantity*price = 26000 [09:34:01]sum+1 = 26001 [09:34:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 260.00 НСП 1% : 2.30 НДС 12% : 27.61 Наличными: 260.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 9 19.04.2024 09:34 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12507 ФПД: 175298941017864 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T093416&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12507&fm=175298941017864&tin=02508201610067®Number=0000000000100748&sum=26000 0 [09:34:02]StoreToDocumentArchive [09:34:02]shift 279 fd 12507 [09:34:02]save to /storage/0279/doc_00012507 [09:34:02]save last doc name /storage/0279/doc_00012507 to /storage/kkm_last_doc_name [09:34:02]save OK [09:34:02]Clear old archive folders... [09:34:02]ProcessDocumentItem done err = 0, tmpTLVsize=282 [09:34:02]tlvbuf is 01D18030 [09:34:02]SAM_PROTO_ClearQueue [09:34:02]wFMCommunicate request_size=4 [09:34:02]MH_SAM_APDU [09:34:02]CAPDU: 80 09 00 00 [09:34:02]Write to MH i2c: E2 08 00 D1 26 80 09 00 00 00 00 00 00 69 [09:34:02]Write i2c OK [09:34:02]MH_I2C_Read... [09:34:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:34:02]Read from MH i2c: E2 [09:34:02]MH_I2C_Read... [09:34:02]Read from MH i2c: E2 03 00 [09:34:02]MH_I2C_Read... [09:34:02]Read from MH i2c: E2 03 00 D1 26 00 90 00 6B [09:34:02]RAPDU: 90 00 [09:34:02]wFMCommunicate OK [09:34:02]SAM_PROTO_ClearQueue done [09:34:02]KKMCreateOFDPacket [09:34:02]OFDProtocolAddRootSTLVToBuf [09:34:02]FM_MakeSignedData [09:34:02]FM_MakeSignedData [09:34:02]SAM_PROTO_SignData [09:34:02]wFMCommunicate request_size=4 [09:34:02]MH_SAM_APDU [09:34:02]CAPDU: 80 0D 01 02 [09:34:02]Write to MH i2c: E2 08 00 D2 26 80 0D 01 02 00 00 00 00 71 [09:34:02]Write i2c OK [09:34:02]MH_I2C_Read... [09:34:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:34:02]Read from MH i2c: E2 [09:34:02]MH_I2C_Read... [09:34:02]Read from MH i2c: E2 03 00 [09:34:02]MH_I2C_Read... [09:34:02]Read from MH i2c: E2 03 00 D2 26 00 90 00 6C [09:34:02]RAPDU: 90 00 [09:34:02]wFMCommunicate OK [09:34:02]wFMCommunicate request_size=255 [09:34:02]MH_SAM_APDU [09:34:02]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 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 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 98 3A 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 [09:34:02]Write to MH i2c: E2 02 01 D3 26 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 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 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 98 3A 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 00 00 B0 [09:34:02]Write i2c OK [09:34:02]MH_I2C_Read... [09:34:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:34:02]Read from MH i2c: E2 [09:34:02]MH_I2C_Read... [09:34:02]Read from MH i2c: E2 03 00 [09:34:02]MH_I2C_Read... [09:34:02]Read from MH i2c: E2 03 00 D3 26 00 90 00 6D [09:34:02]RAPDU: 90 00 [09:34:02]wFMCommunicate OK [09:34:02]wFMCommunicate request_size=41 [09:34:02]MH_SAM_APDU [09:34:02]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DB 30 00 00 35 04 06 00 9F 6E F7 1B DF 08 [09:34:02]Write to MH i2c: E2 2C 00 D4 26 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DB 30 00 00 35 04 06 00 9F 6E F7 1B DF 08 00 00 5B [09:34:02]Write i2c OK [09:34:02]MH_I2C_Read... [09:34:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:34:02]Read from MH i2c: E2 [09:34:02]MH_I2C_Read... [09:34:02]Read from MH i2c: E2 03 00 [09:34:02]MH_I2C_Read... [09:34:02]Read from MH i2c: E2 03 00 D4 26 00 90 00 6E [09:34:02]RAPDU: 90 00 [09:34:02]wFMCommunicate OK [09:34:02]wFMCommunicate request_size=4 [09:34:02]MH_SAM_APDU [09:34:02]CAPDU: 80 0D 03 02 [09:34:02]Write to MH i2c: E2 08 00 D5 26 80 0D 03 02 00 00 00 00 76 [09:34:02]Write i2c OK [09:34:02]MH_I2C_Read... [09:34:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:34:02]Read from MH i2c: E2 [09:34:02]MH_I2C_Read... [09:34:02]Read from MH i2c: E2 0B 00 [09:34:02]MH_I2C_Read... [09:34:02]Read from MH i2c: E2 0B 00 D5 26 00 84 1C 43 BA 0F 61 E8 B4 90 00 20 [09:34:02]RAPDU: 84 1C 43 BA 0F 61 E8 B4 90 00 [09:34:02]wFMCommunicate OK [09:34:02]SAM_PROTO_SignData done [09:34:02]FM_MakeSignedData done [09:34:02]CreateOFDProtocolMessage [09:34:02]wFMCommunicate request_size=4 [09:34:02]MH_SAM_APDU [09:34:02]CAPDU: 80 11 00 00 [09:34:02]Write to MH i2c: E2 08 00 D6 26 80 11 00 00 00 00 00 00 76 [09:34:02]Write i2c OK [09:34:02]MH_I2C_Read... [09:34:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:34:02]Read from MH i2c: E2 [09:34:02]MH_I2C_Read... [09:34:02]Read from MH i2c: E2 17 00 [09:34:02]MH_I2C_Read... [09:34:02]Read from MH i2c: E2 17 00 D6 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 D0 [09:34:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [09:34:02]wFMCommunicate OK [09:34:02]CreateOFDProtocolMessage done [09:34:02]OFDSenderStorePacket 12507 [09:34:02]StoreOFDPacket docnum=12507 [09:34:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2E 01 00 00 4A F0 26 01 F5 AA 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 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 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 98 3A 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DB 30 00 00 35 04 06 00 9F 6E F7 1B DF 08 84 1C 43 BA 0F 61 E8 B4 [09:34:02]CheckFolder [09:34:02]dirname=/storage/ofd_packets [09:34:02]CheckFolder done [09:34:02]ProducePacketName [09:34:02]name=ofd_packets/00012507 [09:34:02]NVStorageSaveData ofd_packets/00012507 [09:34:02]File name is /storage/ofd_packets/00012507 [09:34:02]Write 332 bytes [09:34:02]NVStorageSaveData done [09:34:02]OFDSenderStorePacket done [09:34:02]KKMCreateOFDPacket done [09:34:02]NVStorageSaveData kkm_last_timestamp [09:34:02]File name is /storage/kkm_last_timestamp [09:34:02]Write 4 bytes [09:34:02]NVStorageSaveData done [09:34:02]ExternCall_PrintAddStr [09:34:02]wPrintStart [09:34:02]Write to MH i2c: 01 00 00 D7 26 FD [09:34:02]Write i2c OK [09:34:02]MH_I2C_Read... [09:34:02]Read from MH i2c: 01 [09:34:02]MH_I2C_Read... [09:34:02]Read from MH i2c: 01 07 00 [09:34:02]MH_I2C_Read... [09:34:02]Read from MH i2c: 01 07 00 D7 26 00 00 00 00 00 FF 0F 12 [09:34:02]RasterBufferAndPrint [09:34:02]line Счет N : (3)32783 [09:34:02]line ИНН: 02508201610067 [09:34:02]line Контрольно-Кассовый Чек [09:34:02]line ПРОДАЖА [09:34:02]line Товар: 2000036220012 [09:34:02]line Кофе Капучино XL(GABB TRADE) [09:34:02]line 2.000 * 130.00 [09:34:02]line = 260.00 [09:34:02]line НДС 12% НСП 1% [09:34:02]line > о реализуемом товаре [09:34:02]line ИТОГО: 260.00 [09:34:02]line НСП 1% : 2.30 [09:34:02]line НДС 12% : 27.61 [09:34:02]line Наличными: 260.00 [09:34:02]line Безнал.: 0.00 [09:34:02]line Место: АЗС № 106 "Партнер Нефть" [09:34:02]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [09:34:02]line СНО: Общий режим [09:34:02]line Чек 9 19.04.2024 09:34 [09:34:02]line Смена: 279 ФФД: 1.0 [09:34:02]line ЗНМ: 0300000004 [09:34:02]line РНМ: 0000000000100748 [09:34:02]line Версия ККМ: 001 [09:34:02]line ФМ: 0000000000965685 [09:34:02]line ФД: 12507 [09:34:02]line ФПД: 175298941017864 [09:34:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T093416&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12507&fm=175298941017864&tin=02508201610067®Number=0000000000100748&sum=26000 [09:34:03]line 0 [09:34:03]OFD Sender: Processing packet 12507 [packets to send 7, broken 6] [09:34:03]ProducePacketName [09:34:03]name=ofd_packets/00012507 [09:34:03]OFD Sender: To server: pG, [09:34:03]CommunicateWithHost lk.salyk.kg:30040 [09:34:03]ConnectInit lk.salyk.kg [09:34:03]written 0, free lines is 4095 [09:34:03]Connected sock=10 [09:34:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2E 01 00 00 4A F0 26 01 F5 AA 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 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 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 98 3A 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DB 30 00 00 35 04 06 00 9F 6E F7 1B DF 08 84 1C 43 BA 0F 61 E8 B4 [09:34:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 7D 4C 47 00 6F 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 36 35 36 38 35 10 04 04 00 DB 30 00 00 F4 03 04 00 20 E3 21 66 B6 04 01 00 00 D4 4C C2 FA 46 4A 9A 06 [09:34:03]CommunicateWithHost err = 0 [09:34:03]CheckOFDResponse [09:34:03]1017 (14) - 77093643461234 [09:34:03]1041 (16) - 0000000000965685 [09:34:03]1040 (4) - 12507 [09:34:03]1012 (4) - 19.04.2024 03:21 [09:34:03]1206 (1) - 0 [09:34:03]OFD Sender: Remove packet 12507 [09:34:03]ProducePacketName [09:34:03]name=ofd_packets/00012507 [09:34:03]NVStorageDeleteData [09:34:03]Write to MH i2c: 01 00 00 FF 26 25 [09:34:03]Write i2c OK [09:34:03]MH_I2C_Read... [09:34:03]Read from MH i2c: 01 [09:34:03]MH_I2C_Read... [09:34:03]Read from MH i2c: 01 07 00 [09:34:03]MH_I2C_Read... [09:34:03]Read from MH i2c: 01 07 00 FF 26 00 00 00 00 00 07 0D 40 [09:34:03]RasterBufferAndPrint [09:34:03]line [09:34:03]line [09:34:03]line [09:34:03]line [09:34:03]line [09:34:03]written 0, free lines is 3344 [09:34:03]MH_Cut [09:34:03]Write to MH i2c: D1 01 00 06 27 01 FF [09:34:03]Write i2c OK [09:34:03]MH_I2C_Read... [09:34:03]Read from MH i2c: D1 [09:34:03]MH_I2C_Read... [09:34:03]Read from MH i2c: D1 01 00 [09:34:03]MH_I2C_Read... [09:34:03]Read from MH i2c: D1 01 00 06 27 00 FE [09:34:03]Write to MH i2c: 01 00 00 07 27 2E [09:34:03]Write i2c OK [09:34:03]MH_I2C_Read... [09:34:03]OFD Sender: No OFD packet to send [09:34:04]*** Cut start [09:34:04]*** Partial cut [09:34:04]*** CUTSNS_PIN = 1 [09:34:04]*** CUTSNS_PIN = 0 [09:34:04]*** Brake cut motor [09:34:04]Read from MH i2c: 01 [09:34:04]MH_I2C_Read... [09:34:04]*** Stop cut motor [09:34:04]*** Cut end [09:34:04]Read from MH i2c: 01 07 00 [09:34:04]MH_I2C_Read... [09:34:04]Read from MH i2c: 01 07 00 07 27 00 00 00 00 00 FF 0F 43 [09:34:04]process_action close_receipt done [09:34:04]requested_data is exist [09:34:04]produce_requested_data [09:34:04]requested_item fm.sn is exist - process it [09:34:04]wFMCommunicate request_size=4 [09:34:04]MH_SAM_APDU [09:34:04]CAPDU: 80 11 00 00 [09:34:04]Write to MH i2c: E2 08 00 08 27 80 11 00 00 00 00 00 00 A9 [09:34:04]Write i2c OK [09:34:04]MH_I2C_Read... [09:34:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:34:04]Read from MH i2c: E2 [09:34:04]MH_I2C_Read... [09:34:04]Read from MH i2c: E2 17 00 [09:34:04]MH_I2C_Read... [09:34:04]Read from MH i2c: E2 17 00 08 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 03 [09:34:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [09:34:04]wFMCommunicate OK [09:34:04]requested_item fd.num is exist - process it [09:34:04]SAM_PROTO_GetFieldsCounters [09:34:04]wFMCommunicate request_size=4 [09:34:04]MH_SAM_APDU [09:34:04]CAPDU: 80 13 00 00 [09:34:04]Write to MH i2c: E2 08 00 09 27 80 13 00 00 00 00 00 00 AC [09:34:04]Write i2c OK [09:34:04]MH_I2C_Read... [09:34:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:34:05]Read from MH i2c: E2 [09:34:05]MH_I2C_Read... [09:34:05]Read from MH i2c: E2 62 00 [09:34:05]MH_I2C_Read... [09:34:05]Read from MH i2c: E2 62 00 09 27 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 DB 30 00 00 0E 04 04 00 17 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 0D [09:34:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 DB 30 00 00 0E 04 04 00 17 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:34:05]wFMCommunicate OK [09:34:05]SAM_PROTO_GetFieldsCounters done [09:34:05]requested_item shift.num is exist - process it [09:34:05]requested_item shift.opened is exist - process it [09:34:05]req_shift_opened [09:34:05]FM_GetShiftState [09:34:05]SAM_PROTO_GetShiftState [09:34:05]wFMCommunicate request_size=4 [09:34:05]MH_SAM_APDU [09:34:05]CAPDU: 80 13 01 00 [09:34:05]Write to MH i2c: E2 08 00 0A 27 80 13 01 00 00 00 00 00 AE [09:34:05]Write i2c OK [09:34:05]MH_I2C_Read... [09:34:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:34:05]Read from MH i2c: E2 [09:34:05]MH_I2C_Read... [09:34:05]Read from MH i2c: E2 0E 00 [09:34:05]MH_I2C_Read... [09:34:05]Read from MH i2c: E2 0E 00 0A 27 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 A4 [09:34:05]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [09:34:05]wFMCommunicate OK [09:34:05]SAM_PROTO_GetShiftState done [09:34:05]FM_GetShiftState done [09:34:05]req_shift_opened done [09:34:05]requested_item shift.open_date is exist - process it [09:34:05]req_shift_open_date [09:34:05]req_shift_open_date done [09:34:05]produce_requested_data done [09:34:05]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12507,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [09:34:05]process_action_free close_receipt [09:34:05]json_value_free [09:34:05]json_value_free done [09:34:05]process_json_proto returns [09:34:05]Send response to host [09:34:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12507,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [09:34:05]free response buf [09:34:05]execute_script done [09:34:05]execute_script returns [09:34:05]free content buf [09:34:05]Sock 8.Close socket [09:34:05]Sock 8.Thread stoped [09:34:08]OFD Sender: No OFD packet to send [09:34:13]OFD Sender: No OFD packet to send [09:34:18]OFD Sender: No OFD packet to send [09:34:23]OFD Sender: No OFD packet to send [09:34:28]OFD Sender: No OFD packet to send [09:34:33]OFD Sender: No OFD packet to send [09:34:38]OFD Sender: No OFD packet to send [09:34:43]OFD Sender: No OFD packet to send [09:34:48]OFD Sender: No OFD packet to send [09:34:53]OFD Sender: No OFD packet to send [09:34:58]OFD Sender: No OFD packet to send [09:35:03]OFD Sender: No OFD packet to send [09:35:08]OFD Sender: No OFD packet to send [09:35:13]OFD Sender: No OFD packet to send [09:35:18]OFD Sender: No OFD packet to send [09:35:23]OFD Sender: No OFD packet to send [09:35:28]OFD Sender: No OFD packet to send [09:35:33]OFD Sender: No OFD packet to send [09:35:38]OFD Sender: No OFD packet to send [09:35:43]OFD Sender: No OFD packet to send [09:35:48]OFD Sender: No OFD packet to send [09:35:54]OFD Sender: No OFD packet to send [09:35:59]OFD Sender: No OFD packet to send [09:36:04]OFD Sender: No OFD packet to send [09:36:09]OFD Sender: No OFD packet to send [09:36:14]OFD Sender: No OFD packet to send [09:36:19]OFD Sender: No OFD packet to send [09:36:24]OFD Sender: No OFD packet to send [09:36:29]OFD Sender: No OFD packet to send [09:36:34]OFD Sender: No OFD packet to send [09:36:39]OFD Sender: No OFD packet to send [09:36:44]OFD Sender: No OFD packet to send [09:36:49]OFD Sender: No OFD packet to send [09:36:54]OFD Sender: No OFD packet to send [09:36:59]OFD Sender: No OFD packet to send [09:37:04]OFD Sender: No OFD packet to send [09:37:09]OFD Sender: No OFD packet to send [09:37:14]OFD Sender: No OFD packet to send [09:37:19]OFD Sender: No OFD packet to send [09:37:24]OFD Sender: No OFD packet to send [09:37:29]OFD Sender: No OFD packet to send [09:37:34]OFD Sender: No OFD packet to send [09:37:39]OFD Sender: No OFD packet to send [09:37:44]OFD Sender: No OFD packet to send [09:37:49]OFD Sender: No OFD packet to send [09:37:54]OFD Sender: No OFD packet to send [09:37:59]OFD Sender: No OFD packet to send [09:38:04]OFD Sender: No OFD packet to send [09:38:09]OFD Sender: No OFD packet to send [09:38:14]OFD Sender: No OFD packet to send [09:38:19]OFD Sender: No OFD packet to send [09:38:24]OFD Sender: No OFD packet to send [09:38:29]OFD Sender: No OFD packet to send [09:38:34]OFD Sender: No OFD packet to send [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:24]OFD Sender: No OFD packet to send [09:40:26]accept exits with 9 [09:40:26]New connection [09:40:26]New thread 3067243876 created [09:40:26]Thread 3067100516 joined [09:40:26]Waiting for new connection... [09:40:26] Sock 9.Parse request [09:40:26]Sock 9.Check first char [09:40:26]Sock 9.First char is OK [09:40:26]request: POST /json_proto HTTP/1.0 [09:40:26]Method: POST [09:40:26]URL: /json_proto [09:40:26]Method is POST - this is cgi request [09:40:26]url: /json_proto [09:40:26]query_string will be loaded in cgi processing [09:40:26]execute_cgi json_proto POST (null) [09:40:26]execute_cgi path=json_proto method=POST [09:40:26]POST find Content-Length [09:40:26]Host: 172.17.62.6:8080 [09:40:26]Content-Length: 682 [09:40:26]Content-Type: application/json [09:40:26] [09:40:26]POST finish read [09:40:26]Found Content-Length = 682 [09:40:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32784", "tax_sys" : 0, "items" : [ { "code": "4870002328398", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:40:26]execute_script... [09:40:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32784", "tax_sys" : 0, "items" : [ { "code": "4870002328398", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:40:26]POST & json_proto [09:40:26]process_json_proto [09:40:26]json parsed OK: [09:40:26]protocol is kg_v1.0 [09:40:26]action value=close_receipt [09:40:26]process_action close_receipt [09:40:26]cmd_close_receipt [09:40:26]MH_GetDate [09:40:26]Write to MH i2c: F0 00 00 0B 27 21 [09:40:26]Write i2c OK [09:40:26]MH_I2C_Read... [09:40:26]Read from MH i2c: F0 [09:40:26]MH_I2C_Read... [09:40:26]Read from MH i2c: F0 09 00 [09:40:26]MH_I2C_Read... [09:40:26]Read from MH i2c: F0 09 00 0B 27 00 19 3C 22 66 61 69 D2 64 07 [09:40:26]GetLastDocTimeStamp 1713519256 [09:40:26]current date 1713519641 [09:40:26]FM_GetShiftState [09:40:26]SAM_PROTO_GetShiftState [09:40:26]wFMCommunicate request_size=4 [09:40:26]MH_SAM_APDU [09:40:26]CAPDU: 80 13 01 00 [09:40:26]Write to MH i2c: E2 08 00 0C 27 80 13 01 00 00 00 00 00 B0 [09:40:26]Write i2c OK [09:40:26]MH_I2C_Read... [09:40:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:40:26]Read from MH i2c: E2 [09:40:26]MH_I2C_Read... [09:40:26]Read from MH i2c: E2 0E 00 [09:40:26]MH_I2C_Read... [09:40:26]Read from MH i2c: E2 0E 00 0C 27 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 A6 [09:40:26]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [09:40:26]wFMCommunicate OK [09:40:26]SAM_PROTO_GetShiftState done [09:40:26]FM_GetShiftState done [09:40:26]opened in 1713485995 [09:40:26]opened+sec_in_day 1713572395 [09:40:26]quantity*price = 10000 [09:40:26]sum+1 = 10001 [09:40:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 10 19.04.2024 09:40 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12508 ФПД: 161232815966216 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T094041&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12508&fm=161232815966216&tin=02508201610067®Number=0000000000100748&sum=10000 0 [09:40:27]StoreToDocumentArchive [09:40:27]shift 279 fd 12508 [09:40:27]save to /storage/0279/doc_00012508 [09:40:27]save last doc name /storage/0279/doc_00012508 to /storage/kkm_last_doc_name [09:40:27]save OK [09:40:27]Clear old archive folders... [09:40:27]ProcessDocumentItem done err = 0, tmpTLVsize=291 [09:40:27]tlvbuf is 01D09B20 [09:40:27]SAM_PROTO_ClearQueue [09:40:27]wFMCommunicate request_size=4 [09:40:27]MH_SAM_APDU [09:40:27]CAPDU: 80 09 00 00 [09:40:27]Write to MH i2c: E2 08 00 19 27 80 09 00 00 00 00 00 00 B2 [09:40:27]Write i2c OK [09:40:27]MH_I2C_Read... [09:40:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:40:27]Read from MH i2c: E2 [09:40:27]MH_I2C_Read... [09:40:27]Read from MH i2c: E2 03 00 [09:40:27]MH_I2C_Read... [09:40:27]Read from MH i2c: E2 03 00 19 27 00 90 00 B4 [09:40:27]RAPDU: 90 00 [09:40:27]wFMCommunicate OK [09:40:27]SAM_PROTO_ClearQueue done [09:40:27]KKMCreateOFDPacket [09:40:27]OFDProtocolAddRootSTLVToBuf [09:40:27]FM_MakeSignedData [09:40:27]FM_MakeSignedData [09:40:27]SAM_PROTO_SignData [09:40:27]wFMCommunicate request_size=4 [09:40:27]MH_SAM_APDU [09:40:27]CAPDU: 80 0D 01 02 [09:40:27]Write to MH i2c: E2 08 00 1A 27 80 0D 01 02 00 00 00 00 BA [09:40:27]Write i2c OK [09:40:27]MH_I2C_Read... [09:40:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:40:27]Read from MH i2c: E2 [09:40:27]MH_I2C_Read... [09:40:27]Read from MH i2c: E2 03 00 [09:40:27]MH_I2C_Read... [09:40:27]Read from MH i2c: E2 03 00 1A 27 00 90 00 B5 [09:40:27]RAPDU: 90 00 [09:40:27]wFMCommunicate OK [09:40:27]wFMCommunicate request_size=255 [09:40:27]MH_SAM_APDU [09:40:27]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 30 30 32 33 32 38 33 39 38 06 04 31 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 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 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 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 0A 00 00 00 F4 03 04 00 19 3C 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 [09:40:27]Write to MH i2c: E2 02 01 1B 27 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 30 30 32 33 32 38 33 39 38 06 04 31 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 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 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 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 0A 00 00 00 F4 03 04 00 19 3C 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 00 00 DD [09:40:27]Write i2c OK [09:40:27]MH_I2C_Read... [09:40:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:40:27]Read from MH i2c: E2 [09:40:27]MH_I2C_Read... [09:40:27]Read from MH i2c: E2 03 00 [09:40:27]MH_I2C_Read... [09:40:27]Read from MH i2c: E2 03 00 1B 27 00 90 00 B6 [09:40:27]RAPDU: 90 00 [09:40:27]wFMCommunicate OK [09:40:27]wFMCommunicate request_size=50 [09:40:27]MH_SAM_APDU [09:40:27]CAPDU: 80 0D 02 02 2D 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DC 30 00 00 35 04 06 00 92 A3 F0 B8 C8 08 [09:40:27]Write to MH i2c: E2 35 00 1C 27 80 0D 02 02 2D 00 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DC 30 00 00 35 04 06 00 92 A3 F0 B8 C8 08 00 00 D7 [09:40:27]Write i2c OK [09:40:27]MH_I2C_Read... [09:40:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:40:27]Read from MH i2c: E2 [09:40:27]MH_I2C_Read... [09:40:27]Read from MH i2c: E2 03 00 [09:40:27]MH_I2C_Read... [09:40:27]Read from MH i2c: E2 03 00 1C 27 00 90 00 B7 [09:40:27]RAPDU: 90 00 [09:40:27]wFMCommunicate OK [09:40:27]wFMCommunicate request_size=4 [09:40:27]MH_SAM_APDU [09:40:27]CAPDU: 80 0D 03 02 [09:40:27]Write to MH i2c: E2 08 00 1D 27 80 0D 03 02 00 00 00 00 BF [09:40:27]Write i2c OK [09:40:27]MH_I2C_Read... [09:40:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:40:27]Read from MH i2c: E2 [09:40:27]MH_I2C_Read... [09:40:27]Read from MH i2c: E2 0B 00 [09:40:27]MH_I2C_Read... [09:40:27]Read from MH i2c: E2 0B 00 1D 27 00 7A 51 BD 7C 7B F8 C9 FC 90 00 FC [09:40:27]RAPDU: 7A 51 BD 7C 7B F8 C9 FC 90 00 [09:40:27]wFMCommunicate OK [09:40:27]SAM_PROTO_SignData done [09:40:27]FM_MakeSignedData done [09:40:27]CreateOFDProtocolMessage [09:40:27]wFMCommunicate request_size=4 [09:40:27]MH_SAM_APDU [09:40:27]CAPDU: 80 11 00 00 [09:40:27]Write to MH i2c: E2 08 00 1E 27 80 11 00 00 00 00 00 00 BF [09:40:27]Write i2c OK [09:40:27]MH_I2C_Read... [09:40:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:40:27]Read from MH i2c: E2 [09:40:27]MH_I2C_Read... [09:40:27]Read from MH i2c: E2 17 00 [09:40:27]MH_I2C_Read... [09:40:27]Read from MH i2c: E2 17 00 1E 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 19 [09:40:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [09:40:27]wFMCommunicate OK [09:40:27]CreateOFDProtocolMessage done [09:40:27]OFDSenderStorePacket 12508 [09:40:27]StoreOFDPacket docnum=12508 [09:40:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 37 01 00 00 55 99 2F 01 AC 6E 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 30 30 32 33 32 38 33 39 38 06 04 31 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 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 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 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 0A 00 00 00 F4 03 04 00 19 3C 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DC 30 00 00 35 04 06 00 92 A3 F0 B8 C8 08 7A 51 BD 7C 7B F8 C9 FC [09:40:27]CheckFolder [09:40:27]dirname=/storage/ofd_packets [09:40:27]CheckFolder done [09:40:27]ProducePacketName [09:40:27]name=ofd_packets/00012508 [09:40:27]NVStorageSaveData ofd_packets/00012508 [09:40:27]File name is /storage/ofd_packets/00012508 [09:40:27]Write 341 bytes [09:40:27]NVStorageSaveData done [09:40:27]OFDSenderStorePacket done [09:40:27]KKMCreateOFDPacket done [09:40:27]NVStorageSaveData kkm_last_timestamp [09:40:27]File name is /storage/kkm_last_timestamp [09:40:27]Write 4 bytes [09:40:27]NVStorageSaveData done [09:40:27]ExternCall_PrintAddStr [09:40:27]wPrintStart [09:40:27]Write to MH i2c: 01 00 00 1F 27 46 [09:40:27]Write i2c OK [09:40:27]MH_I2C_Read... [09:40:27]Read from MH i2c: 01 [09:40:27]MH_I2C_Read... [09:40:27]Read from MH i2c: 01 07 00 [09:40:27]MH_I2C_Read... [09:40:27]Read from MH i2c: 01 07 00 1F 27 00 00 00 00 00 FF 0F 5B [09:40:27]RasterBufferAndPrint [09:40:27]line Счет N : (3)32784 [09:40:27]line ИНН: 02508201610067 [09:40:27]line Контрольно-Кассовый Чек [09:40:27]line ПРОДАЖА [09:40:27]line Товар: 4870002328398 [09:40:27]line Вода ASU пит н.газ мята ПЭТ 1л [09:40:27]line 1.000 * 100.00 [09:40:27]line = 100.00 [09:40:27]line НДС 12% НСП 1% [09:40:27]line > о реализуемом товаре [09:40:27]line ИТОГО: 100.00 [09:40:27]line НСП 1% : 0.88 [09:40:27]line НДС 12% : 10.62 [09:40:27]line Наличными: 100.00 [09:40:27]line Безнал.: 0.00 [09:40:27]line Место: АЗС № 106 "Партнер Нефть" [09:40:27]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [09:40:27]line СНО: Общий режим [09:40:27]line Чек 10 19.04.2024 09:40 [09:40:27]line Смена: 279 ФФД: 1.0 [09:40:27]line ЗНМ: 0300000004 [09:40:27]line РНМ: 0000000000100748 [09:40:27]line Версия ККМ: 001 [09:40:27]line ФМ: 0000000000965685 [09:40:27]line ФД: 12508 [09:40:27]line ФПД: 161232815966216 [09:40:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T094041&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12508&fm=161232815966216&tin=02508201610067®Number=0000000000100748&sum=10000 [09:40:28]line 0 [09:40:28]OFD Sender: Processing packet 12508 [packets to send 7, broken 6] [09:40:28]ProducePacketName [09:40:28]name=ofd_packets/00012508 [09:40:28]OFD Sender: To server: pG, [09:40:28]CommunicateWithHost lk.salyk.kg:30040 [09:40:28]ConnectInit lk.salyk.kg [09:40:28]written 0, free lines is 4095 [09:40:28]Connected sock=10 [09:40:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 37 01 00 00 55 99 2F 01 AC 6E 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 30 30 32 33 32 38 33 39 38 06 04 31 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 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 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 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 0A 00 00 00 F4 03 04 00 19 3C 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DC 30 00 00 35 04 06 00 92 A3 F0 B8 C8 08 7A 51 BD 7C 7B F8 C9 FC [09:40:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 69 51 47 00 7B CB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 36 38 35 10 04 04 00 DC 30 00 00 F4 03 04 00 A1 E4 21 66 B6 04 01 00 00 FF F4 BD F6 31 96 3D EA [09:40:28]CommunicateWithHost err = 0 [09:40:28]CheckOFDResponse [09:40:28]1017 (14) - 77093643461234 [09:40:28]1041 (16) - 0000000000965685 [09:40:28]1040 (4) - 12508 [09:40:28]1012 (4) - 19.04.2024 03:27 [09:40:28]1206 (1) - 0 [09:40:28]OFD Sender: Remove packet 12508 [09:40:28]ProducePacketName [09:40:28]name=ofd_packets/00012508 [09:40:28]NVStorageDeleteData [09:40:28]Write to MH i2c: 01 00 00 47 27 6E [09:40:28]Write i2c OK [09:40:28]MH_I2C_Read... [09:40:28]Read from MH i2c: 01 [09:40:28]MH_I2C_Read... [09:40:28]Read from MH i2c: 01 07 00 [09:40:28]MH_I2C_Read... [09:40:28]Read from MH i2c: 01 07 00 47 27 00 00 00 00 00 EA 0C 6B [09:40:28]RasterBufferAndPrint [09:40:28]line [09:40:28]line [09:40:28]line [09:40:28]line [09:40:28]line [09:40:28]written 0, free lines is 3311 [09:40:28]MH_Cut [09:40:28]Write to MH i2c: D1 01 00 4E 27 01 47 [09:40:28]Write i2c OK [09:40:28]MH_I2C_Read... [09:40:28]Read from MH i2c: D1 [09:40:28]MH_I2C_Read... [09:40:28]Read from MH i2c: D1 01 00 [09:40:28]MH_I2C_Read... [09:40:28]Read from MH i2c: D1 01 00 4E 27 00 46 [09:40:28]Write to MH i2c: 01 00 00 4F 27 76 [09:40:28]Write i2c OK [09:40:28]MH_I2C_Read... [09:40:28]OFD Sender: No OFD packet to send [09:40:29]*** Cut start [09:40:29]*** Partial cut [09:40:29]*** CUTSNS_PIN = 1 [09:40:29]*** CUTSNS_PIN = 0 [09:40:29]*** Brake cut motor [09:40:29]Read from MH i2c: 01 [09:40:29]MH_I2C_Read... [09:40:29]*** Stop cut motor [09:40:29]*** Cut end [09:40:29]Read from MH i2c: 01 07 00 [09:40:29]MH_I2C_Read... [09:40:29]Read from MH i2c: 01 07 00 4F 27 00 00 00 00 00 FF 0F 8B [09:40:29]process_action close_receipt done [09:40:29]requested_data is exist [09:40:29]produce_requested_data [09:40:29]requested_item fm.sn is exist - process it [09:40:29]wFMCommunicate request_size=4 [09:40:29]MH_SAM_APDU [09:40:29]CAPDU: 80 11 00 00 [09:40:29]Write to MH i2c: E2 08 00 50 27 80 11 00 00 00 00 00 00 F1 [09:40:29]Write i2c OK [09:40:29]MH_I2C_Read... [09:40:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:40:30]Read from MH i2c: E2 [09:40:30]MH_I2C_Read... [09:40:30]Read from MH i2c: E2 17 00 [09:40:30]MH_I2C_Read... [09:40:30]Read from MH i2c: E2 17 00 50 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 4B [09:40:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [09:40:30]wFMCommunicate OK [09:40:30]requested_item fd.num is exist - process it [09:40:30]SAM_PROTO_GetFieldsCounters [09:40:30]wFMCommunicate request_size=4 [09:40:30]MH_SAM_APDU [09:40:30]CAPDU: 80 13 00 00 [09:40:30]Write to MH i2c: E2 08 00 51 27 80 13 00 00 00 00 00 00 F4 [09:40:30]Write i2c OK [09:40:30]MH_I2C_Read... [09:40:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:40:30]Read from MH i2c: E2 [09:40:30]MH_I2C_Read... [09:40:30]Read from MH i2c: E2 62 00 [09:40:30]MH_I2C_Read... [09:40:30]Read from MH i2c: E2 62 00 51 27 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 DC 30 00 00 0E 04 04 00 17 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 59 [09:40:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 DC 30 00 00 0E 04 04 00 17 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:40:30]wFMCommunicate OK [09:40:30]SAM_PROTO_GetFieldsCounters done [09:40:30]requested_item shift.num is exist - process it [09:40:30]requested_item shift.opened is exist - process it [09:40:30]req_shift_opened [09:40:30]FM_GetShiftState [09:40:30]SAM_PROTO_GetShiftState [09:40:30]wFMCommunicate request_size=4 [09:40:30]MH_SAM_APDU [09:40:30]CAPDU: 80 13 01 00 [09:40:30]Write to MH i2c: E2 08 00 52 27 80 13 01 00 00 00 00 00 F6 [09:40:30]Write i2c OK [09:40:30]MH_I2C_Read... [09:40:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:40:30]Read from MH i2c: E2 [09:40:30]MH_I2C_Read... [09:40:30]Read from MH i2c: E2 0E 00 [09:40:30]MH_I2C_Read... [09:40:30]Read from MH i2c: E2 0E 00 52 27 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 EC [09:40:30]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [09:40:30]wFMCommunicate OK [09:40:30]SAM_PROTO_GetShiftState done [09:40:30]FM_GetShiftState done [09:40:30]req_shift_opened done [09:40:30]requested_item shift.open_date is exist - process it [09:40:30]req_shift_open_date [09:40:30]req_shift_open_date done [09:40:30]produce_requested_data done [09:40:30]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12508,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [09:40:30]process_action_free close_receipt [09:40:30]json_value_free [09:40:30]json_value_free done [09:40:30]process_json_proto returns [09:40:30]Send response to host [09:40:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12508,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [09:40:30]free response buf [09:40:30]execute_script done [09:40:30]execute_script returns [09:40:30]free content buf [09:40:30]Sock 9.Close socket [09:40:30]Sock 9.Thread stoped [09:40:33]OFD Sender: No OFD packet to send [09:40:38]OFD Sender: No OFD packet to send [09:40:43]OFD Sender: No OFD packet to send [09:40:49]OFD Sender: No OFD packet to send [09:40:54]OFD Sender: No OFD packet to send [09:40:59]OFD Sender: No OFD packet to send [09:41:04]OFD Sender: No OFD packet to send [09:41:09]OFD Sender: No OFD packet to send [09:41:14]OFD Sender: No OFD packet to send [09:41:19]OFD Sender: No OFD packet to send [09:41:24]OFD Sender: No OFD packet to send [09:41:29]OFD Sender: No OFD packet to send [09:41:34]OFD Sender: No OFD packet to send [09:41:39]OFD Sender: No OFD packet to send [09:41:44]OFD Sender: No OFD packet to send [09:41:49]OFD Sender: No OFD packet to send [09:41:54]OFD Sender: No OFD packet to send [09:41:59]OFD Sender: No OFD packet to send [09:42:04]OFD Sender: No OFD packet to send [09:42:09]OFD Sender: No OFD packet to send [09:42:14]OFD Sender: No OFD packet to send [09:42:19]OFD Sender: No OFD packet to send [09:42:24]OFD Sender: No OFD packet to send [09:42:29]OFD Sender: No OFD packet to send [09:42:34]OFD Sender: No OFD packet to send [09:42:39]OFD Sender: No OFD packet to send [09:42:44]OFD Sender: No OFD packet to send [09:42:49]OFD Sender: No OFD packet to send [09:42:54]OFD Sender: No OFD packet to send [09:42:59]OFD Sender: No OFD packet to send [09:43:04]OFD Sender: No OFD packet to send [09:43:09]OFD Sender: No OFD packet to send [09:43:14]OFD Sender: No OFD packet to send [09:43:19]OFD Sender: No OFD packet to send [09:43:24]OFD Sender: No OFD packet to send [09:43:29]OFD Sender: No OFD packet to send [09:43:34]OFD Sender: No OFD packet to send [09:43:39]OFD Sender: No OFD packet to send [09:43:44]OFD Sender: No OFD packet to send [09:43:49]OFD Sender: No OFD packet to send [09:43:54]OFD Sender: No OFD packet to send [09:43:59]OFD Sender: No OFD packet to send [09:44:04]OFD Sender: No OFD packet to send [09:44:09]OFD Sender: No OFD packet to send [09:44:14]OFD Sender: No OFD packet to send [09:44:19]OFD Sender: No OFD packet to send [09:44:24]OFD Sender: No OFD packet to send [09:44:29]OFD Sender: No OFD packet to send [09:44:34]OFD Sender: No OFD packet to send [09:44:39]OFD Sender: No OFD packet to send [09:44:44]OFD Sender: No OFD packet to send [09:44:49]OFD Sender: No OFD packet to send [09:44:54]OFD Sender: No OFD packet to send [09:44:59]OFD Sender: No OFD packet to send [09:45:04]OFD Sender: No OFD packet to send [09:45:09]OFD Sender: No OFD packet to send [09:45:14]OFD Sender: No OFD packet to send [09:45:19]OFD Sender: No OFD packet to send [09:45:24]OFD Sender: No OFD packet to send [09:45:29]OFD Sender: No OFD packet to send [09:45:34]OFD Sender: No OFD packet to send [09:45:39]OFD Sender: No OFD packet to send [09:45:44]OFD Sender: No OFD packet to send [09:45:49]OFD Sender: No OFD packet to send [09:45:54]OFD Sender: No OFD packet to send [09:45:59]OFD Sender: No OFD packet to send [09:46:04]OFD Sender: No OFD packet to send [09:46:09]OFD Sender: No OFD packet to send [09:46:14]OFD Sender: No OFD packet to send [09:46:19]OFD Sender: No OFD packet to send [09:46:24]OFD Sender: No OFD packet to send [09:46:29]OFD Sender: No OFD packet to send [09:46:34]OFD Sender: No OFD packet to send [09:46:39]OFD Sender: No OFD packet to send [09:46:44]OFD Sender: No OFD packet to send [09:46:49]OFD Sender: No OFD packet to send [09:46:54]OFD Sender: No OFD packet to send [09:46:59]OFD Sender: No OFD packet to send [09:47:04]OFD Sender: No OFD packet to send [09:47:09]OFD Sender: No OFD packet to send [09:47:14]OFD Sender: No OFD packet to send [09:47:19]OFD Sender: No OFD packet to send [09:47:24]OFD Sender: No OFD packet to send [09:47:29]OFD Sender: No OFD packet to send [09:47:34]OFD Sender: No OFD packet to send [09:47:39]OFD Sender: No OFD packet to send [09:47:44]OFD Sender: No OFD packet to send [09:47:49]OFD Sender: No OFD packet to send [09:47:54]OFD Sender: No OFD packet to send [09:47:59]OFD Sender: No OFD packet to send [09:48:04]OFD Sender: No OFD packet to send [09:48:09]OFD Sender: No OFD packet to send [09:48:14]OFD Sender: No OFD packet to send [09:48:19]OFD Sender: No OFD packet to send [09:48:24]OFD Sender: No OFD packet to send [09:48:29]OFD Sender: No OFD packet to send [09:48:34]OFD Sender: No OFD packet to send [09:48:39]OFD Sender: No OFD packet to send [09:48:44]OFD Sender: No OFD packet to send [09:48:49]OFD Sender: No OFD packet to send [09:48:54]OFD Sender: No OFD packet to send [09:48:59]OFD Sender: No OFD packet to send [09:49:04]OFD Sender: No OFD packet to send [09:49:09]OFD Sender: No OFD packet to send [09:49:14]OFD Sender: No OFD packet to send [09:49:19]OFD Sender: No OFD packet to send [09:49:24]OFD Sender: No OFD packet to send [09:49:29]OFD Sender: No OFD packet to send [09:49:34]OFD Sender: No OFD packet to send [09:49:39]OFD Sender: No OFD packet to send [09:49:44]OFD Sender: No OFD packet to send [09:49:49]OFD Sender: No OFD packet to send [09:49:54]OFD Sender: No OFD packet to send [09:49:59]OFD Sender: No OFD packet to send [09:50:04]OFD Sender: No OFD packet to send [09:50:09]OFD Sender: No OFD packet to send [09:50:14]OFD Sender: No OFD packet to send [09:50:19]OFD Sender: No OFD packet to send [09:50:24]OFD Sender: No OFD packet to send [09:50:29]OFD Sender: No OFD packet to send [09:50:34]OFD Sender: No OFD packet to send [09:50:39]OFD Sender: No OFD packet to send [09:50:44]OFD Sender: No OFD packet to send [09:50:49]OFD Sender: No OFD packet to send [09:50:54]OFD Sender: No OFD packet to send [09:50:59]OFD Sender: No OFD packet to send [09:51:04]OFD Sender: No OFD packet to send [09:51:09]OFD Sender: No OFD packet to send [09:51:14]OFD Sender: No OFD packet to send [09:51:19]OFD Sender: No OFD packet to send [09:51:24]OFD Sender: No OFD packet to send [09:51:29]OFD Sender: No OFD packet to send [09:51:34]OFD Sender: No OFD packet to send [09:51:39]OFD Sender: No OFD packet to send [09:51:44]OFD Sender: No OFD packet to send [09:51:49]OFD Sender: No OFD packet to send [09:51:54]OFD Sender: No OFD packet to send [09:51:59]OFD Sender: No OFD packet to send [09:52:04]OFD Sender: No OFD packet to send [09:52:09]OFD Sender: No OFD packet to send [09:52:14]OFD Sender: No OFD packet to send [09:52:19]OFD Sender: No OFD packet to send [09:52:24]OFD Sender: No OFD packet to send [09:52:29]OFD Sender: No OFD packet to send [09:52:34]OFD Sender: No OFD packet to send [09:52:39]OFD Sender: No OFD packet to send [09:52:44]OFD Sender: No OFD packet to send [09:52:49]OFD Sender: No OFD packet to send [09:52:54]OFD Sender: No OFD packet to send [09:52:59]OFD Sender: No OFD packet to send [09:53:04]OFD Sender: No OFD packet to send [09:53:09]OFD Sender: No OFD packet to send [09:53:14]OFD Sender: No OFD packet to send [09:53:19]OFD Sender: No OFD packet to send [09:53:24]OFD Sender: No OFD packet to send [09:53:29]OFD Sender: No OFD packet to send [09:53:34]OFD Sender: No OFD packet to send [09:53:39]OFD Sender: No OFD packet to send [09:53:44]OFD Sender: No OFD packet to send [09:53:49]OFD Sender: No OFD packet to send [09:53:54]OFD Sender: No OFD packet to send [09:53:59]OFD Sender: No OFD packet to send [09:54:04]OFD Sender: No OFD packet to send [09:54:09]OFD Sender: No OFD packet to send [09:54:14]OFD Sender: No OFD packet to send [09:54:19]OFD Sender: No OFD packet to send [09:54:24]OFD Sender: No OFD packet to send [09:54:29]OFD Sender: No OFD packet to send [09:54:34]OFD Sender: No OFD packet to send [09:54:39]OFD Sender: No OFD packet to send [09:54:44]OFD Sender: No OFD packet to send [09:54:49]OFD Sender: No OFD packet to send [09:54:54]OFD Sender: No OFD packet to send [09:54:59]OFD Sender: No OFD packet to send [09:55:04]OFD Sender: No OFD packet to send [09:55:09]OFD Sender: No OFD packet to send [09:55:14]OFD Sender: No OFD packet to send [09:55:19]OFD Sender: No OFD packet to send [09:55:24]OFD Sender: No OFD packet to send [09:55:29]OFD Sender: No OFD packet to send [09:55:34]OFD Sender: No OFD packet to send [09:55:39]OFD Sender: No OFD packet to send [09:55:44]OFD Sender: No OFD packet to send [09:55:49]OFD Sender: No OFD packet to send [09:55:54]OFD Sender: No OFD packet to send [09:55:59]OFD Sender: No OFD packet to send [09:56:04]OFD Sender: No OFD packet to send [09:56:09]OFD Sender: No OFD packet to send [09:56:14]OFD Sender: No OFD packet to send [09:56:19]OFD Sender: No OFD packet to send [09:56:24]OFD Sender: No OFD packet to send [09:56:29]OFD Sender: No OFD packet to send [09:56:34]OFD Sender: No OFD packet to send [09:56:39]OFD Sender: No OFD packet to send [09:56:44]OFD Sender: No OFD packet to send [09:56:49]OFD Sender: No OFD packet to send [09:56:54]OFD Sender: No OFD packet to send [09:56:59]OFD Sender: No OFD packet to send [09:57:04]OFD Sender: No OFD packet to send [09:57:09]OFD Sender: No OFD packet to send [09:57:14]OFD Sender: No OFD packet to send [09:57:19]OFD Sender: No OFD packet to send [09:57:24]OFD Sender: No OFD packet to send [09:57:29]OFD Sender: No OFD packet to send [09:57:34]OFD Sender: No OFD packet to send [09:57:39]OFD Sender: No OFD packet to send [09:57:44]OFD Sender: No OFD packet to send [09:57:49]OFD Sender: No OFD packet to send [09:57:54]OFD Sender: No OFD packet to send [09:57:59]OFD Sender: No OFD packet to send [09:58:04]OFD Sender: No OFD packet to send [09:58:09]OFD Sender: No OFD packet to send [09:58:14]OFD Sender: No OFD packet to send [09:58:19]OFD Sender: No OFD packet to send [09:58:24]OFD Sender: No OFD packet to send [09:58:29]OFD Sender: No OFD packet to send [09:58:34]OFD Sender: No OFD packet to send [09:58:39]OFD Sender: No OFD packet to send [09:58:44]OFD Sender: No OFD packet to send [09:58:49]OFD Sender: No OFD packet to send [09:58:54]OFD Sender: No OFD packet to send [09:58:59]OFD Sender: No OFD packet to send [09:59:04]OFD Sender: No OFD packet to send [09:59:09]OFD Sender: No OFD packet to send [09:59:14]OFD Sender: No OFD packet to send [09:59:19]OFD Sender: No OFD packet to send [09:59:24]OFD Sender: No OFD packet to send [09:59:29]OFD Sender: No OFD packet to send [09:59:34]OFD Sender: No OFD packet to send [09:59:39]OFD Sender: No OFD packet to send [09:59:44]OFD Sender: No OFD packet to send [09:59:49]OFD Sender: No OFD packet to send [09:59:54]OFD Sender: No OFD packet to send [09:59:59]OFD Sender: No OFD packet to send [10:00:04]OFD Sender: No OFD packet to send [10:00:09]OFD Sender: No OFD packet to send [10:00:14]OFD Sender: No OFD packet to send [10:00:19]OFD Sender: No OFD packet to send [10:00:24]OFD Sender: No OFD packet to send [10:00:29]OFD Sender: No OFD packet to send [10:00:34]OFD Sender: No OFD packet to send [10:00:39]OFD Sender: No OFD packet to send [10:00:44]OFD Sender: No OFD packet to send [10:00:49]OFD Sender: No OFD packet to send [10:00:54]OFD Sender: No OFD packet to send [10:00:59]OFD Sender: No OFD packet to send [10:01:04]OFD Sender: No OFD packet to send [10:01:09]OFD Sender: No OFD packet to send [10:01:14]OFD Sender: No OFD packet to send [10:01:19]OFD Sender: No OFD packet to send [10:01:24]OFD Sender: No OFD packet to send [10:01:29]OFD Sender: No OFD packet to send [10:01:34]OFD Sender: No OFD packet to send [10:01:39]OFD Sender: No OFD packet to send [10:01:44]OFD Sender: No OFD packet to send [10:01:49]OFD Sender: No OFD packet to send [10:01:54]OFD Sender: No OFD packet to send [10:01:59]OFD Sender: No OFD packet to send [10:02:04]OFD Sender: No OFD packet to send [10:02:09]OFD Sender: No OFD packet to send [10:02:15]OFD Sender: No OFD packet to send [10:02:20]OFD Sender: No OFD packet to send [10:02:25]OFD Sender: No OFD packet to send [10:02:30]OFD Sender: No OFD packet to send [10:02:35]OFD Sender: No OFD packet to send [10:02:40]OFD Sender: No OFD packet to send [10:02:45]OFD Sender: No OFD packet to send [10:02:50]OFD Sender: No OFD packet to send [10:02:55]OFD Sender: No OFD packet to send [10:03:00]OFD Sender: No OFD packet to send [10:03:05]OFD Sender: No OFD packet to send [10:03:10]OFD Sender: No OFD packet to send [10:03:15]OFD Sender: No OFD packet to send [10:03:20]OFD Sender: No OFD packet to send [10:03:25]OFD Sender: No OFD packet to send [10:03:30]OFD Sender: No OFD packet to send [10:03:35]OFD Sender: No OFD packet to send [10:03:40]OFD Sender: No OFD packet to send [10:03:45]OFD Sender: No OFD packet to send [10:03:50]OFD Sender: No OFD packet to send [10:03:55]OFD Sender: No OFD packet to send [10:04:00]OFD Sender: No OFD packet to send [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:40]OFD Sender: No OFD packet to send [10:11:45]OFD Sender: No OFD packet to send [10:11:50]OFD Sender: No OFD packet to send [10:11:55]OFD Sender: No OFD packet to send [10:12:00]OFD Sender: No OFD packet to send [10:12:05]OFD Sender: No OFD packet to send [10:12:10]OFD Sender: No OFD packet to send [10:12:15]OFD Sender: No OFD packet to send [10:12:20]OFD Sender: No OFD packet to send [10:12:25]OFD Sender: No OFD packet to send [10:12:30]OFD Sender: No OFD packet to send [10:12:35]OFD Sender: No OFD packet to send [10:12:40]OFD Sender: No OFD packet to send [10:12:45]OFD Sender: No OFD packet to send [10:12:50]OFD Sender: No OFD packet to send [10:12:55]OFD Sender: No OFD packet to send [10:13:00]OFD Sender: No OFD packet to send [10:13:05]OFD Sender: No OFD packet to send [10:13:10]OFD Sender: No OFD packet to send [10:13:15]OFD Sender: No OFD packet to send [10:13:20]OFD Sender: No OFD packet to send [10:13:25]OFD Sender: No OFD packet to send [10:13:30]OFD Sender: No OFD packet to send [10:13:35]OFD Sender: No OFD packet to send [10:13:40]OFD Sender: No OFD packet to send [10:13:45]OFD Sender: No OFD packet to send [10:13:50]OFD Sender: No OFD packet to send [10:13:55]OFD Sender: No OFD packet to send [10:14:00]OFD Sender: No OFD packet to send [10:14:05]OFD Sender: No OFD packet to send [10:14:10]OFD Sender: No OFD packet to send [10:14:15]OFD Sender: No OFD packet to send [10:14:20]OFD Sender: No OFD packet to send [10:14:25]OFD Sender: No OFD packet to send [10:14:30]OFD Sender: No OFD packet to send [10:14:35]OFD Sender: No OFD packet to send [10:14:40]OFD Sender: No OFD packet to send [10:14:45]OFD Sender: No OFD packet to send [10:14:50]OFD Sender: No OFD packet to send [10:14:55]OFD Sender: No OFD packet to send [10:15:00]OFD Sender: No OFD packet to send [10:15:05]OFD Sender: No OFD packet to send [10:15:10]OFD Sender: No OFD packet to send [10:15:15]OFD Sender: No OFD packet to send [10:15:20]OFD Sender: No OFD packet to send [10:15:25]OFD Sender: No OFD packet to send [10:15:30]OFD Sender: No OFD packet to send [10:15:35]OFD Sender: No OFD packet to send [10:15:40]OFD Sender: No OFD packet to send [10:15:45]OFD Sender: No OFD packet to send [10:15:50]OFD Sender: No OFD packet to send [10:15:55]OFD Sender: No OFD packet to send [10:16:00]OFD Sender: No OFD packet to send [10:16:05]OFD Sender: No OFD packet to send [10:16:10]OFD Sender: No OFD packet to send [10:16:15]OFD Sender: No OFD packet to send [10:16:20]OFD Sender: No OFD packet to send [10:16:25]OFD Sender: No OFD packet to send [10:16:30]OFD Sender: No OFD packet to send [10:16:35]OFD Sender: No OFD packet to send [10:16:40]OFD Sender: No OFD packet to send [10:16:45]OFD Sender: No OFD packet to send [10:16:50]OFD Sender: No OFD packet to send [10:16:55]OFD Sender: No OFD packet to send [10:17:00]OFD Sender: No OFD packet to send [10:17:05]OFD Sender: No OFD packet to send [10:17:10]OFD Sender: No OFD packet to send [10:17:15]OFD Sender: No OFD packet to send [10:17:20]OFD Sender: No OFD packet to send [10:17:25]OFD Sender: No OFD packet to send [10:17:30]OFD Sender: No OFD packet to send [10:17:35]OFD Sender: No OFD packet to send [10:17:40]OFD Sender: No OFD packet to send [10:17:45]OFD Sender: No OFD packet to send [10:17:50]OFD Sender: No OFD packet to send [10:17:55]OFD Sender: No OFD packet to send [10:18:00]OFD Sender: No OFD packet to send [10:18:05]OFD Sender: No OFD packet to send [10:18:10]OFD Sender: No OFD packet to send [10:18:15]OFD Sender: No OFD packet to send [10:18:20]OFD Sender: No OFD packet to send [10:18:25]OFD Sender: No OFD packet to send [10:18:30]OFD Sender: No OFD packet to send [10:18:35]OFD Sender: No OFD packet to send [10:18:40]OFD Sender: No OFD packet to send [10:18:45]OFD Sender: No OFD packet to send [10:18:50]OFD Sender: No OFD packet to send [10:18:55]OFD Sender: No OFD packet to send [10:19:00]OFD Sender: No OFD packet to send [10:19:05]OFD Sender: No OFD packet to send [10:19:10]OFD Sender: No OFD packet to send [10:19:15]OFD Sender: No OFD packet to send [10:19:20]OFD Sender: No OFD packet to send [10:19:25]OFD Sender: No OFD packet to send [10:19:30]OFD Sender: No OFD packet to send [10:19:35]OFD Sender: No OFD packet to send [10:19:40]OFD Sender: No OFD packet to send [10:19:45]OFD Sender: No OFD packet to send [10:19:50]OFD Sender: No OFD packet to send [10:19:55]OFD Sender: No OFD packet to send [10:20:00]OFD Sender: No OFD packet to send [10:20:05]OFD Sender: No OFD packet to send [10:20:10]OFD Sender: No OFD packet to send [10:20:15]OFD Sender: No OFD packet to send [10:20:20]OFD Sender: No OFD packet to send [10:20:25]OFD Sender: No OFD packet to send [10:20:30]OFD Sender: No OFD packet to send [10:20:35]OFD Sender: No OFD packet to send [10:20:40]OFD Sender: No OFD packet to send [10:20:45]OFD Sender: No OFD packet to send [10:20:50]OFD Sender: No OFD packet to send [10:20:55]OFD Sender: No OFD packet to send [10:21:00]OFD Sender: No OFD packet to send [10:21:05]OFD Sender: No OFD packet to send [10:21:10]OFD Sender: No OFD packet to send [10:21:15]OFD Sender: No OFD packet to send [10:21:20]OFD Sender: No OFD packet to send [10:21:25]OFD Sender: No OFD packet to send [10:21:30]OFD Sender: No OFD packet to send [10:21:35]OFD Sender: No OFD packet to send [10:21:40]OFD Sender: No OFD packet to send [10:21:45]OFD Sender: No OFD packet to send [10:21:50]OFD Sender: No OFD packet to send [10:21:55]OFD Sender: No OFD packet to send [10:22:00]OFD Sender: No OFD packet to send [10:22:05]OFD Sender: No OFD packet to send [10:22:10]accept exits with 8 [10:22:10]New connection [10:22:10]New thread 3067100516 created [10:22:10]Thread 3067243876 joined [10:22:10]Waiting for new connection... [10:22:10] Sock 8.Parse request [10:22:10]Sock 8.Check first char [10:22:10]Sock 8.First char is OK [10:22:10]request: POST /json_proto HTTP/1.0 [10:22:10]Method: POST [10:22:10]URL: /json_proto [10:22:10]Method is POST - this is cgi request [10:22:10]url: /json_proto [10:22:10]query_string will be loaded in cgi processing [10:22:10]execute_cgi json_proto POST (null) [10:22:10]execute_cgi path=json_proto method=POST [10:22:10]POST find Content-Length [10:22:10]Host: 172.17.62.6:8080 [10:22:10]Content-Length: 625 [10:22:10]Content-Type: application/json [10:22:10] [10:22:10]POST finish read [10:22:10]Found Content-Length = 625 [10:22:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32785", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:22:10]execute_script... [10:22:10]execute_script path=json_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)32785", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:22:10]POST & json_proto [10:22:10]process_json_proto [10:22:10]json parsed OK: [10:22:10]protocol is kg_v1.0 [10:22:10]action value=close_receipt [10:22:10]process_action close_receipt [10:22:10]cmd_close_receipt [10:22:10]MH_GetDate [10:22:10]Write to MH i2c: F0 00 00 53 27 69 [10:22:10]Write i2c OK [10:22:10]MH_I2C_Read... [10:22:10]Read from MH i2c: F0 [10:22:10]MH_I2C_Read... [10:22:10]Read from MH i2c: F0 09 00 [10:22:10]MH_I2C_Read... [10:22:10]Read from MH i2c: F0 09 00 53 27 00 E2 45 22 66 61 69 D2 64 21 [10:22:10]GetLastDocTimeStamp 1713519641 [10:22:10]current date 1713522146 [10:22:10]FM_GetShiftState [10:22:10]SAM_PROTO_GetShiftState [10:22:10]wFMCommunicate request_size=4 [10:22:10]MH_SAM_APDU [10:22:10]CAPDU: 80 13 01 00 [10:22:10]Write to MH i2c: E2 08 00 54 27 80 13 01 00 00 00 00 00 F8 [10:22:10]Write i2c OK [10:22:10]MH_I2C_Read... [10:22:10]OFD Sender: No OFD packet to send [10:22:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:22:10]Read from MH i2c: E2 [10:22:10]MH_I2C_Read... [10:22:10]Read from MH i2c: E2 0E 00 [10:22:10]MH_I2C_Read... [10:22:10]Read from MH i2c: E2 0E 00 54 27 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 EE [10:22:10]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [10:22:10]wFMCommunicate OK [10:22:10]SAM_PROTO_GetShiftState done [10:22:10]FM_GetShiftState done [10:22:10]opened in 1713485995 [10:22:10]opened+sec_in_day 1713572395 [10:22:10]quantity*price = 10500 [10:22:10]sum+1 = 10501 [10:22:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 11 19.04.2024 10:22 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12509 ФПД: 226089401669276 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T102226&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12509&fm=226089401669276&tin=02508201610067®Number=0000000000100748&sum=10500 0 [10:22:12]StoreToDocumentArchive [10:22:12]shift 279 fd 12509 [10:22:12]save to /storage/0279/doc_00012509 [10:22:12]save last doc name /storage/0279/doc_00012509 to /storage/kkm_last_doc_name [10:22:12]save OK [10:22:12]Clear old archive folders... [10:22:12]ProcessDocumentItem done err = 0, tmpTLVsize=274 [10:22:12]tlvbuf is 01D028C0 [10:22:12]SAM_PROTO_ClearQueue [10:22:12]wFMCommunicate request_size=4 [10:22:12]MH_SAM_APDU [10:22:12]CAPDU: 80 09 00 00 [10:22:12]Write to MH i2c: E2 08 00 61 27 80 09 00 00 00 00 00 00 FA [10:22:12]Write i2c OK [10:22:12]MH_I2C_Read... [10:22:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:22:12]Read from MH i2c: E2 [10:22:12]MH_I2C_Read... [10:22:12]Read from MH i2c: E2 03 00 [10:22:12]MH_I2C_Read... [10:22:12]Read from MH i2c: E2 03 00 61 27 00 90 00 FC [10:22:12]RAPDU: 90 00 [10:22:12]wFMCommunicate OK [10:22:12]SAM_PROTO_ClearQueue done [10:22:12]KKMCreateOFDPacket [10:22:12]OFDProtocolAddRootSTLVToBuf [10:22:12]FM_MakeSignedData [10:22:12]FM_MakeSignedData [10:22:12]SAM_PROTO_SignData [10:22:12]wFMCommunicate request_size=4 [10:22:12]MH_SAM_APDU [10:22:12]CAPDU: 80 0D 01 02 [10:22:12]Write to MH i2c: E2 08 00 62 27 80 0D 01 02 00 00 00 00 02 [10:22:12]Write i2c OK [10:22:12]MH_I2C_Read... [10:22:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:22:12]Read from MH i2c: E2 [10:22:12]MH_I2C_Read... [10:22:12]Read from MH i2c: E2 03 00 [10:22:12]MH_I2C_Read... [10:22:12]Read from MH i2c: E2 03 00 62 27 00 90 00 FD [10:22:12]RAPDU: 90 00 [10:22:12]wFMCommunicate OK [10:22:12]wFMCommunicate request_size=255 [10:22:12]MH_SAM_APDU [10:22:12]CAPDU: 80 0D 02 02 FA 03 00 12 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 E2 45 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 [10:22:12]Write to MH i2c: E2 02 01 63 27 80 0D 02 02 FA 00 03 00 12 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 E2 45 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 00 00 4C [10:22:12]Write i2c OK [10:22:12]MH_I2C_Read... [10:22:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:22:12]Read from MH i2c: E2 [10:22:12]MH_I2C_Read... [10:22:12]Read from MH i2c: E2 03 00 [10:22:12]MH_I2C_Read... [10:22:12]Read from MH i2c: E2 03 00 63 27 00 90 00 FE [10:22:12]RAPDU: 90 00 [10:22:12]wFMCommunicate OK [10:22:12]wFMCommunicate request_size=33 [10:22:12]MH_SAM_APDU [10:22:12]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DD 30 00 00 35 04 06 00 CD A0 8A 79 56 9C [10:22:12]Write to MH i2c: E2 24 00 64 27 80 0D 02 02 1C 00 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DD 30 00 00 35 04 06 00 CD A0 8A 79 56 9C 00 00 0A [10:22:12]Write i2c OK [10:22:12]MH_I2C_Read... [10:22:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:22:12]Read from MH i2c: E2 [10:22:12]MH_I2C_Read... [10:22:12]Read from MH i2c: E2 03 00 [10:22:12]MH_I2C_Read... [10:22:12]Read from MH i2c: E2 03 00 64 27 00 90 00 FF [10:22:12]RAPDU: 90 00 [10:22:12]wFMCommunicate OK [10:22:12]wFMCommunicate request_size=4 [10:22:12]MH_SAM_APDU [10:22:12]CAPDU: 80 0D 03 02 [10:22:12]Write to MH i2c: E2 08 00 65 27 80 0D 03 02 00 00 00 00 07 [10:22:12]Write i2c OK [10:22:12]MH_I2C_Read... [10:22:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:22:12]Read from MH i2c: E2 [10:22:12]MH_I2C_Read... [10:22:12]Read from MH i2c: E2 0B 00 [10:22:12]MH_I2C_Read... [10:22:12]Read from MH i2c: E2 0B 00 65 27 00 C3 DB B3 CB AD 1B 9E 77 90 00 01 [10:22:12]RAPDU: C3 DB B3 CB AD 1B 9E 77 90 00 [10:22:12]wFMCommunicate OK [10:22:12]SAM_PROTO_SignData done [10:22:12]FM_MakeSignedData done [10:22:12]CreateOFDProtocolMessage [10:22:12]wFMCommunicate request_size=4 [10:22:12]MH_SAM_APDU [10:22:12]CAPDU: 80 11 00 00 [10:22:12]Write to MH i2c: E2 08 00 66 27 80 11 00 00 00 00 00 00 07 [10:22:12]Write i2c OK [10:22:12]MH_I2C_Read... [10:22:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:22:12]Read from MH i2c: E2 [10:22:12]MH_I2C_Read... [10:22:12]Read from MH i2c: E2 17 00 [10:22:12]MH_I2C_Read... [10:22:12]Read from MH i2c: E2 17 00 66 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 61 [10:22:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [10:22:12]wFMCommunicate OK [10:22:12]CreateOFDProtocolMessage done [10:22:12]OFDSenderStorePacket 12509 [10:22:12]StoreOFDPacket docnum=12509 [10:22:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 26 01 00 00 C4 67 1E 01 66 42 5A 03 01 00 03 00 12 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 E2 45 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DD 30 00 00 35 04 06 00 CD A0 8A 79 56 9C C3 DB B3 CB AD 1B 9E 77 [10:22:12]CheckFolder [10:22:12]dirname=/storage/ofd_packets [10:22:12]CheckFolder done [10:22:12]ProducePacketName [10:22:12]name=ofd_packets/00012509 [10:22:12]NVStorageSaveData ofd_packets/00012509 [10:22:12]File name is /storage/ofd_packets/00012509 [10:22:12]Write 324 bytes [10:22:12]NVStorageSaveData done [10:22:12]OFDSenderStorePacket done [10:22:12]KKMCreateOFDPacket done [10:22:12]NVStorageSaveData kkm_last_timestamp [10:22:12]File name is /storage/kkm_last_timestamp [10:22:12]Write 4 bytes [10:22:12]NVStorageSaveData done [10:22:12]ExternCall_PrintAddStr [10:22:12]wPrintStart [10:22:12]Write to MH i2c: 01 00 00 67 27 8E [10:22:12]Write i2c OK [10:22:12]MH_I2C_Read... [10:22:12]Read from MH i2c: 01 [10:22:12]MH_I2C_Read... [10:22:12]Read from MH i2c: 01 07 00 [10:22:12]MH_I2C_Read... [10:22:12]Read from MH i2c: 01 07 00 67 27 00 00 00 00 00 FF 0F A3 [10:22:12]RasterBufferAndPrint [10:22:12]line Счет N : (3)32785 [10:22:12]line ИНН: 02508201610067 [10:22:12]line Контрольно-Кассовый Чек [10:22:12]line ПРОДАЖА [10:22:12]line Товар: 2000036240010 [10:22:12]line Кофе Латте (GABB TRADE) [10:22:12]line 1.000 * 105.00 [10:22:12]line = 105.00 [10:22:12]line НДС 12% НСП 1% [10:22:12]line > о реализуемом товаре [10:22:12]line ИТОГО: 105.00 [10:22:12]line НСП 1% : 0.93 [10:22:12]line НДС 12% : 11.15 [10:22:12]line Наличными: 105.00 [10:22:12]line Безнал.: 0.00 [10:22:12]line Место: АЗС № 106 "Партнер Нефть" [10:22:12]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [10:22:12]line СНО: Общий режим [10:22:12]line Чек 11 19.04.2024 10:22 [10:22:12]line Смена: 279 ФФД: 1.0 [10:22:12]line ЗНМ: 0300000004 [10:22:12]line РНМ: 0000000000100748 [10:22:12]line Версия ККМ: 001 [10:22:12]line ФМ: 0000000000965685 [10:22:12]line ФД: 12509 [10:22:12]line ФПД: 226089401669276 [10:22:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T102226&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12509&fm=226089401669276&tin=02508201610067®Number=0000000000100748&sum=10500 [10:22:12]line 0 [10:22:12]OFD Sender: Processing packet 12509 [packets to send 7, broken 6] [10:22:12]ProducePacketName [10:22:12]name=ofd_packets/00012509 [10:22:12]OFD Sender: To server: pG, [10:22:12]CommunicateWithHost lk.salyk.kg:30040 [10:22:12]ConnectInit lk.salyk.kg [10:22:12]written 0, free lines is 4095 [10:22:13]Connected sock=10 [10:22:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 26 01 00 00 C4 67 1E 01 66 42 5A 03 01 00 03 00 12 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 E2 45 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DD 30 00 00 35 04 06 00 CD A0 8A 79 56 9C C3 DB B3 CB AD 1B 9E 77 [10:22:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 7D 64 47 00 50 10 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DD 30 00 00 F4 03 04 00 6A EE 21 66 B6 04 01 00 00 07 ED 18 5D 49 BA 90 C0 [10:22:13]CommunicateWithHost err = 0 [10:22:13]CheckOFDResponse [10:22:13]1017 (14) - 77093643461234 [10:22:13]1041 (16) - 0000000000965685 [10:22:13]1040 (4) - 12509 [10:22:13]1012 (4) - 19.04.2024 04:09 [10:22:13]1206 (1) - 0 [10:22:13]OFD Sender: Remove packet 12509 [10:22:13]ProducePacketName [10:22:13]name=ofd_packets/00012509 [10:22:13]NVStorageDeleteData [10:22:13]Write to MH i2c: 01 00 00 8E 27 B5 [10:22:13]Write i2c OK [10:22:13]MH_I2C_Read... [10:22:13]Read from MH i2c: 01 [10:22:13]MH_I2C_Read... [10:22:13]Read from MH i2c: 01 07 00 [10:22:13]MH_I2C_Read... [10:22:13]Read from MH i2c: 01 07 00 8E 27 00 00 00 00 00 21 0D EA [10:22:13]RasterBufferAndPrint [10:22:13]line [10:22:13]line [10:22:13]line [10:22:13]line [10:22:13]line [10:22:13]written 0, free lines is 3370 [10:22:13]MH_Cut [10:22:13]Write to MH i2c: D1 01 00 95 27 01 8E [10:22:13]Write i2c OK [10:22:13]MH_I2C_Read... [10:22:13]Read from MH i2c: D1 [10:22:13]MH_I2C_Read... [10:22:13]Read from MH i2c: D1 01 00 [10:22:13]MH_I2C_Read... [10:22:13]Read from MH i2c: D1 01 00 95 27 00 8D [10:22:13]Write to MH i2c: 01 00 00 96 27 BD [10:22:13]Write i2c OK [10:22:13]MH_I2C_Read... [10:22:13]OFD Sender: No OFD packet to send [10:22:14]*** Cut start [10:22:14]*** Partial cut [10:22:14]*** CUTSNS_PIN = 1 [10:22:14]*** CUTSNS_PIN = 0 [10:22:14]*** Brake cut motor [10:22:14]Read from MH i2c: 01 [10:22:14]MH_I2C_Read... [10:22:14]*** Stop cut motor [10:22:14]*** Cut end [10:22:14]Read from MH i2c: 01 07 00 [10:22:14]MH_I2C_Read... [10:22:14]Read from MH i2c: 01 07 00 96 27 00 00 00 00 00 FF 0F D2 [10:22:14]process_action close_receipt done [10:22:14]requested_data is exist [10:22:14]produce_requested_data [10:22:14]requested_item fm.sn is exist - process it [10:22:14]wFMCommunicate request_size=4 [10:22:14]MH_SAM_APDU [10:22:14]CAPDU: 80 11 00 00 [10:22:14]Write to MH i2c: E2 08 00 97 27 80 11 00 00 00 00 00 00 38 [10:22:14]Write i2c OK [10:22:14]MH_I2C_Read... [10:22:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:22:14]Read from MH i2c: E2 [10:22:14]MH_I2C_Read... [10:22:14]Read from MH i2c: E2 17 00 [10:22:14]MH_I2C_Read... [10:22:14]Read from MH i2c: E2 17 00 97 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 92 [10:22:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [10:22:14]wFMCommunicate OK [10:22:14]requested_item fd.num is exist - process it [10:22:14]SAM_PROTO_GetFieldsCounters [10:22:14]wFMCommunicate request_size=4 [10:22:14]MH_SAM_APDU [10:22:14]CAPDU: 80 13 00 00 [10:22:14]Write to MH i2c: E2 08 00 98 27 80 13 00 00 00 00 00 00 3B [10:22:14]Write i2c OK [10:22:14]MH_I2C_Read... [10:22:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:22:14]Read from MH i2c: E2 [10:22:14]MH_I2C_Read... [10:22:14]Read from MH i2c: E2 62 00 [10:22:14]MH_I2C_Read... [10:22:14]Read from MH i2c: E2 62 00 98 27 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 DD 30 00 00 0E 04 04 00 17 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 A4 [10:22:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 DD 30 00 00 0E 04 04 00 17 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 [10:22:15]wFMCommunicate OK [10:22:15]SAM_PROTO_GetFieldsCounters done [10:22:15]requested_item shift.num is exist - process it [10:22:15]requested_item shift.opened is exist - process it [10:22:15]req_shift_opened [10:22:15]FM_GetShiftState [10:22:15]SAM_PROTO_GetShiftState [10:22:15]wFMCommunicate request_size=4 [10:22:15]MH_SAM_APDU [10:22:15]CAPDU: 80 13 01 00 [10:22:15]Write to MH i2c: E2 08 00 99 27 80 13 01 00 00 00 00 00 3D [10:22:15]Write i2c OK [10:22:15]MH_I2C_Read... [10:22:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:22:15]Read from MH i2c: E2 [10:22:15]MH_I2C_Read... [10:22:15]Read from MH i2c: E2 0E 00 [10:22:15]MH_I2C_Read... [10:22:15]Read from MH i2c: E2 0E 00 99 27 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 33 [10:22:15]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [10:22:15]wFMCommunicate OK [10:22:15]SAM_PROTO_GetShiftState done [10:22:15]FM_GetShiftState done [10:22:15]req_shift_opened done [10:22:15]requested_item shift.open_date is exist - process it [10:22:15]req_shift_open_date [10:22:15]req_shift_open_date done [10:22:15]produce_requested_data done [10:22:15]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12509,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [10:22:15]process_action_free close_receipt [10:22:15]json_value_free [10:22:15]json_value_free done [10:22:15]process_json_proto returns [10:22:15]Send response to host [10:22:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12509,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [10:22:15]free response buf [10:22:15]execute_script done [10:22:15]execute_script returns [10:22:15]free content buf [10:22:15]Sock 8.Close socket [10:22:15]Sock 8.Thread stoped [10:22:18]OFD Sender: No OFD packet to send [10:22:23]OFD Sender: No OFD packet to send [10:22:28]OFD Sender: No OFD packet to send [10:22:33]OFD Sender: No OFD packet to send [10:22:38]OFD Sender: No OFD packet to send [10:22:43]OFD Sender: No OFD packet to send [10:22:48]OFD Sender: No OFD packet to send [10:22:53]OFD Sender: No OFD packet to send [10:22:58]OFD Sender: No OFD packet to send [10:23:03]OFD Sender: No OFD packet to send [10:23:08]OFD Sender: No OFD packet to send [10:23:13]OFD Sender: No OFD packet to send [10:23:18]OFD Sender: No OFD packet to send [10:23:23]OFD Sender: No OFD packet to send [10:23:28]OFD Sender: No OFD packet to send [10:23:33]OFD Sender: No OFD packet to send [10:23:38]OFD Sender: No OFD packet to send [10:23:43]OFD Sender: No OFD packet to send [10:23:48]OFD Sender: No OFD packet to send [10:23:53]OFD Sender: No OFD packet to send [10:23:58]OFD Sender: No OFD packet to send [10:24:03]OFD Sender: No OFD packet to send [10:24:08]OFD Sender: No OFD packet to send [10:24:13]OFD Sender: No OFD packet to send [10:24:18]OFD Sender: No OFD packet to send [10:24:23]OFD Sender: No OFD packet to send [10:24:28]OFD Sender: No OFD packet to send [10:24:33]OFD Sender: No OFD packet to send [10:24:38]OFD Sender: No OFD packet to send [10:24:43]OFD Sender: No OFD packet to send [10:24:48]OFD Sender: No OFD packet to send [10:24:53]OFD Sender: No OFD packet to send [10:24:58]OFD Sender: No OFD packet to send [10:25:03]OFD Sender: No OFD packet to send [10:25:08]OFD Sender: No OFD packet to send [10:25:13]OFD Sender: No OFD packet to send [10:25:19]OFD Sender: No OFD packet to send [10:25:24]OFD Sender: No OFD packet to send [10:25:29]OFD Sender: No OFD packet to send [10:25:34]OFD Sender: No OFD packet to send [10:25:39]OFD Sender: No OFD packet to send [10:25:44]OFD Sender: No OFD packet to send [10:25:49]OFD Sender: No OFD packet to send [10:25:54]OFD Sender: No OFD packet to send [10:25:59]OFD Sender: No OFD packet to send [10:26:04]OFD Sender: No OFD packet to send [10:26:09]OFD Sender: No OFD packet to send [10:26:14]OFD Sender: No OFD packet to send [10:26:19]OFD Sender: No OFD packet to send [10:26:24]OFD Sender: No OFD packet to send [10:26:29]OFD Sender: No OFD packet to send [10:26:34]OFD Sender: No OFD packet to send [10:26:39]OFD Sender: No OFD packet to send [10:26:44]OFD Sender: No OFD packet to send [10:26:49]OFD Sender: No OFD packet to send [10:26:54]OFD Sender: No OFD packet to send [10:26:59]OFD Sender: No OFD packet to send [10:27:04]OFD Sender: No OFD packet to send [10:27:09]OFD Sender: No OFD packet to send [10:27:14]OFD Sender: No OFD packet to send [10:27:19]OFD Sender: No OFD packet to send [10:27:24]OFD Sender: No OFD packet to send [10:27:29]OFD Sender: No OFD packet to send [10:27:34]OFD Sender: No OFD packet to send [10:27:39]OFD Sender: No OFD packet to send [10:27:44]OFD Sender: No OFD packet to send [10:27:49]OFD Sender: No OFD packet to send [10:27:54]OFD Sender: No OFD packet to send [10:27:59]OFD Sender: No OFD packet to send [10:28:04]OFD Sender: No OFD packet to send [10:28:09]OFD Sender: No OFD packet to send [10:28:14]OFD Sender: No OFD packet to send [10:28:19]OFD Sender: No OFD packet to send [10:28:24]OFD Sender: No OFD packet to send [10:28:29]OFD Sender: No OFD packet to send [10:28:34]OFD Sender: No OFD packet to send [10:28:39]OFD Sender: No OFD packet to send [10:28:44]OFD Sender: No OFD packet to send [10:28:49]OFD Sender: No OFD packet to send [10:28:54]OFD Sender: No OFD packet to send [10:28:59]OFD Sender: No OFD packet to send [10:29:04]OFD Sender: No OFD packet to send [10:29:09]OFD Sender: No OFD packet to send [10:29:14]OFD Sender: No OFD packet to send [10:29:19]OFD Sender: No OFD packet to send [10:29:24]OFD Sender: No OFD packet to send [10:29:29]OFD Sender: No OFD packet to send [10:29:34]OFD Sender: No OFD packet to send [10:29:39]OFD Sender: No OFD packet to send [10:29:44]OFD Sender: No OFD packet to send [10:29:49]OFD Sender: No OFD packet to send [10:29:54]OFD Sender: No OFD packet to send [10:29:59]OFD Sender: No OFD packet to send [10:30:04]OFD Sender: No OFD packet to send [10:30:09]OFD Sender: No OFD packet to send [10:30:14]OFD Sender: No OFD packet to send [10:30:19]OFD Sender: No OFD packet to send [10:30:24]OFD Sender: No OFD packet to send [10:30:29]OFD Sender: No OFD packet to send [10:30:34]OFD Sender: No OFD packet to send [10:30:39]OFD Sender: No OFD packet to send [10:30:44]OFD Sender: No OFD packet to send [10:30:49]OFD Sender: No OFD packet to send [10:30:54]OFD Sender: No OFD packet to send [10:30:59]OFD Sender: No OFD packet to send [10:31:04]OFD Sender: No OFD packet to send [10:31:09]OFD Sender: No OFD packet to send [10:31:14]OFD Sender: No OFD packet to send [10:31:19]OFD Sender: No OFD packet to send [10:31:24]OFD Sender: No OFD packet to send [10:31:29]OFD Sender: No OFD packet to send [10:31:34]OFD Sender: No OFD packet to send [10:31:39]OFD Sender: No OFD packet to send [10:31:44]OFD Sender: No OFD packet to send [10:31:49]OFD Sender: No OFD packet to send [10:31:54]OFD Sender: No OFD packet to send [10:31:59]OFD Sender: No OFD packet to send [10:32:04]OFD Sender: No OFD packet to send [10:32:09]OFD Sender: No OFD packet to send [10:32:14]OFD Sender: No OFD packet to send [10:32:19]OFD Sender: No OFD packet to send [10:32:24]OFD Sender: No OFD packet to send [10:32:29]OFD Sender: No OFD packet to send [10:32:34]OFD Sender: No OFD packet to send [10:32:39]OFD Sender: No OFD packet to send [10:32:44]OFD Sender: No OFD packet to send [10:32:49]OFD Sender: No OFD packet to send [10:32:54]OFD Sender: No OFD packet to send [10:32:59]OFD Sender: No OFD packet to send [10:33:04]OFD Sender: No OFD packet to send [10:33:09]OFD Sender: No OFD packet to send [10:33:14]OFD Sender: No OFD packet to send [10:33:19]OFD Sender: No OFD packet to send [10:33:24]OFD Sender: No OFD packet to send [10:33:29]OFD Sender: No OFD packet to send [10:33:34]OFD Sender: No OFD packet to send [10:33:39]OFD Sender: No OFD packet to send [10:33:44]OFD Sender: No OFD packet to send [10:33:49]OFD Sender: No OFD packet to send [10:33:54]OFD Sender: No OFD packet to send [10:33:59]OFD Sender: No OFD packet to send [10:34:04]OFD Sender: No OFD packet to send [10:34:09]OFD Sender: No OFD packet to send [10:34:14]OFD Sender: No OFD packet to send [10:34:19]OFD Sender: No OFD packet to send [10:34:24]OFD Sender: No OFD packet to send [10:34:29]OFD Sender: No OFD packet to send [10:34:34]OFD Sender: No OFD packet to send [10:34:39]OFD Sender: No OFD packet to send [10:34:44]OFD Sender: No OFD packet to send [10:34:49]OFD Sender: No OFD packet to send [10:34:54]OFD Sender: No OFD packet to send [10:34:59]OFD Sender: No OFD packet to send [10:35:04]OFD Sender: No OFD packet to send [10:35:09]OFD Sender: No OFD packet to send [10:35:14]OFD Sender: No OFD packet to send [10:35:19]OFD Sender: No OFD packet to send [10:35:24]OFD Sender: No OFD packet to send [10:35:29]OFD Sender: No OFD packet to send [10:35:34]OFD Sender: No OFD packet to send [10:35:39]OFD Sender: No OFD packet to send [10:35:44]OFD Sender: No OFD packet to send [10:35:49]OFD Sender: No OFD packet to send [10:35:54]OFD Sender: No OFD packet to send [10:35:59]OFD Sender: No OFD packet to send [10:36:04]OFD Sender: No OFD packet to send [10:36:05]accept exits with 9 [10:36:05]New connection [10:36:05]New thread 3067243876 created [10:36:05]Thread 3067100516 joined [10:36:05]Waiting for new connection... [10:36:05] Sock 9.Parse request [10:36:05]Sock 9.Check first char [10:36:05]Sock 9.First char is OK [10:36:05]request: POST /json_proto HTTP/1.0 [10:36:05]Method: POST [10:36:05]URL: /json_proto [10:36:05]Method is POST - this is cgi request [10:36:05]url: /json_proto [10:36:05]query_string will be loaded in cgi processing [10:36:05]execute_cgi json_proto POST (null) [10:36:05]execute_cgi path=json_proto method=POST [10:36:05]POST find Content-Length [10:36:05]Host: 172.17.62.6:8080 [10:36:05]Content-Length: 215 [10:36:05]Content-Type: application/json [10:36:05] [10:36:05]POST finish read [10:36:05]Found Content-Length = 215 [10:36:05]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" ] } } [10:36:05]execute_script... [10:36:05]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" ] } } [10:36:05]POST & json_proto [10:36:05]process_json_proto [10:36:05]json parsed OK: [10:36:05]protocol is kg_v1.0 [10:36:05]action value=get_value [10:36:05]process_action get_value [10:36:05]cmd_get_value [10:36:05]process_action get_value done [10:36:05]requested_data is exist [10:36:05]produce_requested_data [10:36:05]requested_item kkm.sn is exist - process it [10:36:05]requested_item kkm.ver is exist - process it [10:36:05]requested_item fm.sn is exist - process it [10:36:05]wFMCommunicate request_size=4 [10:36:05]MH_SAM_APDU [10:36:05]CAPDU: 80 11 00 00 [10:36:05]Write to MH i2c: E2 08 00 9A 27 80 11 00 00 00 00 00 00 3B [10:36:05]Write i2c OK [10:36:05]MH_I2C_Read... [10:36:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:36:05]Read from MH i2c: E2 [10:36:05]MH_I2C_Read... [10:36:05]Read from MH i2c: E2 17 00 [10:36:05]MH_I2C_Read... [10:36:05]Read from MH i2c: E2 17 00 9A 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 95 [10:36:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [10:36:05]wFMCommunicate OK [10:36:05]requested_item fd.num is exist - process it [10:36:05]SAM_PROTO_GetFieldsCounters [10:36:05]wFMCommunicate request_size=4 [10:36:05]MH_SAM_APDU [10:36:05]CAPDU: 80 13 00 00 [10:36:05]Write to MH i2c: E2 08 00 9B 27 80 13 00 00 00 00 00 00 3E [10:36:05]Write i2c OK [10:36:05]MH_I2C_Read... [10:36:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:36:05]Read from MH i2c: E2 [10:36:05]MH_I2C_Read... [10:36:05]Read from MH i2c: E2 62 00 [10:36:05]MH_I2C_Read... [10:36:05]Read from MH i2c: E2 62 00 9B 27 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 DD 30 00 00 0E 04 04 00 17 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 A7 [10:36:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 DD 30 00 00 0E 04 04 00 17 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 [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 9C 27 80 13 01 00 00 00 00 00 40 [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 9C 27 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 36 [10:36:06]RAPDU: 09 00 01 AB B8 21 66 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 {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12509,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [10:36:06]process_action_free get_value [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":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12509,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [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 9.Close socket [10:36:06]Sock 9.Thread stoped [10:36:09]accept exits with 8 [10:36:09]New connection [10:36:09]New thread 3067100516 created [10:36:09]Thread 3067243876 joined [10:36:09]Waiting for new connection... [10:36:09] Sock 8.Parse request [10:36:09]Sock 8.Check first char [10:36:09]Sock 8.First char is OK [10:36:09]request: POST /json_proto HTTP/1.0 [10:36:09]Method: POST [10:36:09]URL: /json_proto [10:36:09]Method is POST - this is cgi request [10:36:09]url: /json_proto [10:36:09]query_string will be loaded in cgi processing [10:36:09]execute_cgi json_proto POST (null) [10:36:09]execute_cgi path=json_proto method=POST [10:36:09]POST find Content-Length [10:36:09]Host: 172.17.62.6:8080 [10:36:09]Content-Length: 331 [10:36:09]Content-Type: application/json [10:36:09] [10:36:09]POST finish read [10:36:09]Found Content-Length = 331 [10:36:09]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" ] } } [10:36:09]execute_script... [10:36:09]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" ] } } [10:36:09]POST & json_proto [10:36:09]process_json_proto [10:36:09]json parsed OK: [10:36:09]protocol is kg_v1.0 [10:36:09]action value=get_value [10:36:09]process_action get_value [10:36:09]cmd_get_value [10:36:09]process_action get_value done [10:36:09]requested_data is exist [10:36:09]produce_requested_data [10:36:09]requested_item fm.sale.total is exist - process it [10:36:09]SAM_PROTO_GetFMData [10:36:09]wFMCommunicate request_size=4 [10:36:09]MH_SAM_APDU [10:36:09]CAPDU: 80 13 03 00 [10:36:09]Write to MH i2c: E2 08 00 9D 27 80 13 03 00 00 00 00 00 43 [10:36:09]Write i2c OK [10:36:09]MH_I2C_Read... [10:36:09]OFD Sender: No OFD packet to send [10:36:09]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [10:36:09]Read from MH i2c: E2 [10:36:09]MH_I2C_Read... [10:36:09]Read from MH i2c: E2 FD 00 [10:36:09]MH_I2C_Read... [10:36:09]Read from MH i2c: E2 FD 00 9D 27 00 C1 04 85 04 BD 04 6E 04 04 00 AF 2E 00 00 69 04 A0 00 6F 04 04 00 63 2E 00 00 B1 04 04 00 FF 15 A8 0E 70 04 04 00 56 3F A4 0C 72 04 04 00 A9 D6 03 02 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 8A 72 8E 01 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 24 30 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 78 [10:36:09]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 AF 2E 00 00 69 04 A0 00 6F 04 04 00 63 2E 00 00 B1 04 04 00 FF 15 A8 0E 70 04 04 00 56 3F A4 0C 72 04 04 00 A9 D6 03 02 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 8A 72 8E 01 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 24 30 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 [10:36:09]wFMCommunicate OK [10:36:09]wFMCommunicate request_size=4 [10:36:09]MH_SAM_APDU [10:36:09]CAPDU: 80 17 00 00 [10:36:09]Write to MH i2c: E2 08 00 9E 27 80 17 00 00 00 00 00 00 45 [10:36:09]Write i2c OK [10:36:09]MH_I2C_Read... [10:36:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:36:09]Read from MH i2c: E2 [10:36:09]MH_I2C_Read... [10:36:09]Read from MH i2c: E2 FD 00 [10:36:09]MH_I2C_Read... [10:36:09]Read from MH i2c: E2 FD 00 9E 27 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E3 [10:36:09]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:36:09]wFMCommunicate OK [10:36:09]wFMCommunicate request_size=4 [10:36:09]MH_SAM_APDU [10:36:09]CAPDU: 80 17 00 00 [10:36:09]Write to MH i2c: E2 08 00 9F 27 80 17 00 00 00 00 00 00 46 [10:36:09]Write i2c OK [10:36:09]MH_I2C_Read... [10:36:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:36:10]Read from MH i2c: E2 [10:36:10]MH_I2C_Read... [10:36:10]Read from MH i2c: E2 FD 00 [10:36:10]MH_I2C_Read... [10:36:10]Read from MH i2c: E2 FD 00 9F 27 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E6 [10:36:10]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:36:10]wFMCommunicate OK [10:36:10]wFMCommunicate request_size=4 [10:36:10]MH_SAM_APDU [10:36:10]CAPDU: 80 17 00 00 [10:36:10]Write to MH i2c: E2 08 00 A0 27 80 17 00 00 00 00 00 00 47 [10:36:10]Write i2c OK [10:36:10]MH_I2C_Read... [10:36:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:36:10]Read from MH i2c: E2 [10:36:10]MH_I2C_Read... [10:36:10]Read from MH i2c: E2 FD 00 [10:36:10]MH_I2C_Read... [10:36:10]Read from MH i2c: E2 FD 00 A0 27 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CC [10:36:10]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:36:10]wFMCommunicate OK [10:36:10]wFMCommunicate request_size=4 [10:36:10]MH_SAM_APDU [10:36:10]CAPDU: 80 17 00 00 [10:36:10]Write to MH i2c: E2 08 00 A1 27 80 17 00 00 00 00 00 00 48 [10:36:10]Write i2c OK [10:36:10]MH_I2C_Read... [10:36:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [10:36:10]Read from MH i2c: E2 [10:36:10]MH_I2C_Read... [10:36:10]Read from MH i2c: E2 DE 00 [10:36:10]MH_I2C_Read... [10:36:10]Read from MH i2c: E2 DE 00 A1 27 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 27 [10:36:10]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:36:10]wFMCommunicate OK [10:36:10]SAM_PROTO_GetFMData done [10:36:10]requested_item fm.sale_refund.total is exist - process it [10:36:10]requested_item fm.buy.total is exist - process it [10:36:10]requested_item shift.sale.total is exist - process it [10:36:10]SAM_PROTO_GetShiftData [10:36:10]wFMCommunicate request_size=4 [10:36:10]MH_SAM_APDU [10:36:10]CAPDU: 80 13 02 00 [10:36:10]Write to MH i2c: E2 08 00 A2 27 80 13 02 00 00 00 00 00 47 [10:36:10]Write i2c OK [10:36:10]MH_I2C_Read... [10:36:11]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:36:11]Read from MH i2c: E2 [10:36:11]MH_I2C_Read... [10:36:11]Read from MH i2c: E2 FD 00 [10:36:11]MH_I2C_Read... [10:36:11]Read from MH i2c: E2 FD 00 A2 27 00 AD 04 AA 04 A9 04 6E 04 04 00 0B 00 00 00 69 04 9A 00 6F 04 04 00 0B 00 00 00 B1 04 03 00 88 14 04 70 04 03 00 DC 0C 03 72 04 03 00 AC 07 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 ED 6E 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 3E 09 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 FC [10:36:11]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0B 00 00 00 69 04 9A 00 6F 04 04 00 0B 00 00 00 B1 04 03 00 88 14 04 70 04 03 00 DC 0C 03 72 04 03 00 AC 07 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 ED 6E 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 3E 09 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [10:36:11]wFMCommunicate OK [10:36:11]wFMCommunicate request_size=4 [10:36:11]MH_SAM_APDU [10:36:11]CAPDU: 80 17 00 00 [10:36:11]Write to MH i2c: E2 08 00 A3 27 80 17 00 00 00 00 00 00 4A [10:36:11]Write i2c OK [10:36:11]MH_I2C_Read... [10:36:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:36:11]Read from MH i2c: E2 [10:36:11]MH_I2C_Read... [10:36:11]Read from MH i2c: E2 FD 00 [10:36:11]MH_I2C_Read... [10:36:11]Read from MH i2c: E2 FD 00 A3 27 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 5C [10:36:11]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 [10:36:11]wFMCommunicate OK [10:36:11]wFMCommunicate request_size=4 [10:36:11]MH_SAM_APDU [10:36:11]CAPDU: 80 17 00 00 [10:36:11]Write to MH i2c: E2 08 00 A4 27 80 17 00 00 00 00 00 00 4B [10:36:11]Write i2c OK [10:36:11]MH_I2C_Read... [10:36:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:36:11]Read from MH i2c: E2 [10:36:11]MH_I2C_Read... [10:36:11]Read from MH i2c: E2 FD 00 [10:36:11]MH_I2C_Read... [10:36:11]Read from MH i2c: E2 FD 00 A4 27 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 0F [10:36:11]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 [10:36:11]wFMCommunicate OK [10:36:11]wFMCommunicate request_size=4 [10:36:11]MH_SAM_APDU [10:36:11]CAPDU: 80 17 00 00 [10:36:11]Write to MH i2c: E2 08 00 A5 27 80 17 00 00 00 00 00 00 4C [10:36:11]Write i2c OK [10:36:11]MH_I2C_Read... [10:36:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:36:11]Read from MH i2c: E2 [10:36:11]MH_I2C_Read... [10:36:11]Read from MH i2c: E2 FD 00 [10:36:11]MH_I2C_Read... [10:36:11]Read from MH i2c: E2 FD 00 A5 27 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 C1 [10:36:12]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 [10:36:12]wFMCommunicate OK [10:36:12]wFMCommunicate request_size=4 [10:36:12]MH_SAM_APDU [10:36:12]CAPDU: 80 17 00 00 [10:36:12]Write to MH i2c: E2 08 00 A6 27 80 17 00 00 00 00 00 00 4D [10:36:12]Write i2c OK [10:36:12]MH_I2C_Read... [10:36:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [10:36:12]Read from MH i2c: E2 [10:36:12]MH_I2C_Read... [10:36:12]Read from MH i2c: E2 CA 00 [10:36:12]MH_I2C_Read... [10:36:12]Read from MH i2c: E2 CA 00 A6 27 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 32 [10:36:12]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 [10:36:12]wFMCommunicate OK [10:36:12]SAM_PROTO_GetShiftData done [10:36:12]requested_item shift.sale.total_cash is exist - process it [10:36:12]requested_item shift.sale_refund.total is exist - process it [10:36:12]requested_item shift.sale_refund.total_cash is exist - process it [10:36:12]requested_item shift.buy.total is exist - process it [10:36:12]requested_item shift.buy.total_cash is exist - process it [10:36:12]produce_requested_data done [10:36:12]produce_requested_data return {"fm.sale.total":2458967.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":2674.00,"shift.sale.total_cash":1999.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} [10:36:12]process_action_free get_value [10:36:12]json_value_free [10:36:12]json_value_free done [10:36:12]process_json_proto returns [10:36:12]Send response to host [10:36:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2458967.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":2674.00,"shift.sale.total_cash":1999.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}}} [10:36:12]free response buf [10:36:12]execute_script done [10:36:12]execute_script returns [10:36:12]free content buf [10:36:12]Sock 8.Close socket [10:36:12]Sock 8.Thread stoped [10:36:14]OFD Sender: No OFD packet to send [10:36:19]OFD Sender: No OFD packet to send [10:36:24]OFD Sender: No OFD packet to send [10:36:29]OFD Sender: No OFD packet to send [10:36:34]OFD Sender: No OFD packet to send [10:36:39]OFD Sender: No OFD packet to send [10:36:44]OFD Sender: No OFD packet to send [10:36:49]OFD Sender: No OFD packet to send [10:36:54]OFD Sender: No OFD packet to send [10:36:59]OFD Sender: No OFD packet to send [10:37:04]OFD Sender: No OFD packet to send [10:37:09]OFD Sender: No OFD packet to send [10:37:14]OFD Sender: No OFD packet to send [10:37:19]OFD Sender: No OFD packet to send [10:37:24]OFD Sender: No OFD packet to send [10:37:29]OFD Sender: No OFD packet to send [10:37:34]OFD Sender: No OFD packet to send [10:37:39]OFD Sender: No OFD packet to send [10:37:44]OFD Sender: No OFD packet to send [10:37:49]OFD Sender: No OFD packet to send [10:37:54]OFD Sender: No OFD packet to send [10:37:59]OFD Sender: No OFD packet to send [10:38:04]OFD Sender: No OFD packet to send [10:38:09]OFD Sender: No OFD packet to send [10:38:14]OFD Sender: No OFD packet to send [10:38:19]OFD Sender: No OFD packet to send [10:38:24]OFD Sender: No OFD packet to send [10:38:29]OFD Sender: No OFD packet to send [10:38:34]OFD Sender: No OFD packet to send [10:38:39]OFD Sender: No OFD packet to send [10:38:44]OFD Sender: No OFD packet to send [10:38:49]OFD Sender: No OFD packet to send [10:38:54]OFD Sender: No OFD packet to send [10:38:59]OFD Sender: No OFD packet to send [10:39:04]OFD Sender: No OFD packet to send [10:39:09]OFD Sender: No OFD packet to send [10:39:14]OFD Sender: No OFD packet to send [10:39:19]OFD Sender: No OFD packet to send [10:39:24]OFD Sender: No OFD packet to send [10:39:29]OFD Sender: No OFD packet to send [10:39:34]OFD Sender: No OFD packet to send [10:39:39]OFD Sender: No OFD packet to send [10:39:44]OFD Sender: No OFD packet to send [10:39:49]OFD Sender: No OFD packet to send [10:39:54]OFD Sender: No OFD packet to send [10:39:59]OFD Sender: No OFD packet to send [10:40:04]OFD Sender: No OFD packet to send [10:40:09]OFD Sender: No OFD packet to send [10:40:14]OFD Sender: No OFD packet to send [10:40:19]OFD Sender: No OFD packet to send [10:40:24]OFD Sender: No OFD packet to send [10:40:29]OFD Sender: No OFD packet to send [10:40:34]OFD Sender: No OFD packet to send [10:40:39]OFD Sender: No OFD packet to send [10:40:44]OFD Sender: No OFD packet to send [10:40:49]OFD Sender: No OFD packet to send [10:40:54]OFD Sender: No OFD packet to send [10:40:59]OFD Sender: No OFD packet to send [10:41:04]OFD Sender: No OFD packet to send [10:41:09]OFD Sender: No OFD packet to send [10:41:14]OFD Sender: No OFD packet to send [10:41:19]OFD Sender: No OFD packet to send [10:41:22]accept exits with 9 [10:41:22]New connection [10:41:22]New thread 3067243876 created [10:41:22]Thread 3067100516 joined [10:41:22]Waiting for new connection... [10:41:22] Sock 9.Parse request [10:41:22]Sock 9.Check first char [10:41:22]Sock 9.First char is OK [10:41:22]request: POST /json_proto HTTP/1.0 [10:41:22]Method: POST [10:41:22]URL: /json_proto [10:41:22]Method is POST - this is cgi request [10:41:22]url: /json_proto [10:41:22]query_string will be loaded in cgi processing [10:41:22]execute_cgi json_proto POST (null) [10:41:22]execute_cgi path=json_proto method=POST [10:41:22]POST find Content-Length [10:41:22]Host: 172.17.62.6:8080 [10:41:22]Content-Length: 625 [10:41:22]Content-Type: application/json [10:41:22] [10:41:22]POST finish read [10:41:22]Found Content-Length = 625 [10:41:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32786", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:41:22]execute_script... [10:41: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)32786", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:41:22]POST & json_proto [10:41:22]process_json_proto [10:41:22]json parsed OK: [10:41:22]protocol is kg_v1.0 [10:41:22]action value=close_receipt [10:41:22]process_action close_receipt [10:41:22]cmd_close_receipt [10:41:22]MH_GetDate [10:41:22]Write to MH i2c: F0 00 00 A7 27 BD [10:41:22]Write i2c OK [10:41:22]MH_I2C_Read... [10:41:22]Read from MH i2c: F0 [10:41:22]MH_I2C_Read... [10:41:22]Read from MH i2c: F0 09 00 [10:41:22]MH_I2C_Read... [10:41:22]Read from MH i2c: F0 09 00 A7 27 00 62 4A 22 66 61 69 D2 64 FA [10:41:22]GetLastDocTimeStamp 1713522146 [10:41:22]current date 1713523298 [10:41:22]FM_GetShiftState [10:41:22]SAM_PROTO_GetShiftState [10:41:22]wFMCommunicate request_size=4 [10:41:22]MH_SAM_APDU [10:41:22]CAPDU: 80 13 01 00 [10:41:22]Write to MH i2c: E2 08 00 A8 27 80 13 01 00 00 00 00 00 4C [10:41:22]Write i2c OK [10:41:22]MH_I2C_Read... [10:41:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:41:22]Read from MH i2c: E2 [10:41:22]MH_I2C_Read... [10:41:22]Read from MH i2c: E2 0E 00 [10:41:22]MH_I2C_Read... [10:41:22]Read from MH i2c: E2 0E 00 A8 27 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 42 [10:41:22]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [10:41:22]wFMCommunicate OK [10:41:22]SAM_PROTO_GetShiftState done [10:41:22]FM_GetShiftState done [10:41:22]opened in 1713485995 [10:41:22]opened+sec_in_day 1713572395 [10:41:22]quantity*price = 10500 [10:41:22]sum+1 = 10501 [10:41:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 12 19.04.2024 10:41 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12510 ФПД: 113943309627973 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T104138&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12510&fm=113943309627973&tin=02508201610067®Number=0000000000100748&sum=10500 0 [10:41:24]StoreToDocumentArchive [10:41:24]shift 279 fd 12510 [10:41:24]save to /storage/0279/doc_00012510 [10:41:24]save last doc name /storage/0279/doc_00012510 to /storage/kkm_last_doc_name [10:41:24]save OK [10:41:24]Clear old archive folders... [10:41:24]ProcessDocumentItem done err = 0, tmpTLVsize=274 [10:41:24]tlvbuf is 01D18350 [10:41:24]SAM_PROTO_ClearQueue [10:41:24]wFMCommunicate request_size=4 [10:41:24]MH_SAM_APDU [10:41:24]CAPDU: 80 09 00 00 [10:41:24]Write to MH i2c: E2 08 00 B5 27 80 09 00 00 00 00 00 00 4E [10:41:24]Write i2c OK [10:41:24]MH_I2C_Read... [10:41:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:41:24]Read from MH i2c: E2 [10:41:24]MH_I2C_Read... [10:41:24]Read from MH i2c: E2 03 00 [10:41:24]MH_I2C_Read... [10:41:24]Read from MH i2c: E2 03 00 B5 27 00 90 00 50 [10:41:24]RAPDU: 90 00 [10:41:24]wFMCommunicate OK [10:41:24]SAM_PROTO_ClearQueue done [10:41:24]KKMCreateOFDPacket [10:41:24]OFDProtocolAddRootSTLVToBuf [10:41:24]FM_MakeSignedData [10:41:24]FM_MakeSignedData [10:41:24]SAM_PROTO_SignData [10:41:24]wFMCommunicate request_size=4 [10:41:24]MH_SAM_APDU [10:41:24]CAPDU: 80 0D 01 02 [10:41:24]Write to MH i2c: E2 08 00 B6 27 80 0D 01 02 00 00 00 00 56 [10:41:24]Write i2c OK [10:41:24]MH_I2C_Read... [10:41:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:41:24]Read from MH i2c: E2 [10:41:24]MH_I2C_Read... [10:41:24]Read from MH i2c: E2 03 00 [10:41:24]MH_I2C_Read... [10:41:24]Read from MH i2c: E2 03 00 B6 27 00 90 00 51 [10:41:24]RAPDU: 90 00 [10:41:24]wFMCommunicate OK [10:41:24]wFMCommunicate request_size=255 [10:41:24]MH_SAM_APDU [10:41:24]CAPDU: 80 0D 02 02 FA 03 00 12 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 62 4A 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 [10:41:24]Write to MH i2c: E2 02 01 B7 27 80 0D 02 02 FA 00 03 00 12 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 62 4A 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 00 00 26 [10:41:24]Write i2c OK [10:41:24]MH_I2C_Read... [10:41:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:41:24]Read from MH i2c: E2 [10:41:24]MH_I2C_Read... [10:41:24]Read from MH i2c: E2 03 00 [10:41:24]MH_I2C_Read... [10:41:24]Read from MH i2c: E2 03 00 B7 27 00 90 00 52 [10:41:24]RAPDU: 90 00 [10:41:24]wFMCommunicate OK [10:41:24]wFMCommunicate request_size=33 [10:41:24]MH_SAM_APDU [10:41:24]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DE 30 00 00 35 04 06 00 67 A1 7E 7E B2 45 [10:41:24]Write to MH i2c: E2 24 00 B8 27 80 0D 02 02 1C 00 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DE 30 00 00 35 04 06 00 67 A1 7E 7E B2 45 00 00 F8 [10:41:24]Write i2c OK [10:41:24]MH_I2C_Read... [10:41:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:41:24]Read from MH i2c: E2 [10:41:24]MH_I2C_Read... [10:41:24]Read from MH i2c: E2 03 00 [10:41:24]MH_I2C_Read... [10:41:24]Read from MH i2c: E2 03 00 B8 27 00 90 00 53 [10:41:24]RAPDU: 90 00 [10:41:24]wFMCommunicate OK [10:41:24]wFMCommunicate request_size=4 [10:41:24]MH_SAM_APDU [10:41:24]CAPDU: 80 0D 03 02 [10:41:24]Write to MH i2c: E2 08 00 B9 27 80 0D 03 02 00 00 00 00 5B [10:41:24]Write i2c OK [10:41:24]MH_I2C_Read... [10:41:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:41:24]Read from MH i2c: E2 [10:41:24]MH_I2C_Read... [10:41:24]Read from MH i2c: E2 0B 00 [10:41:24]MH_I2C_Read... [10:41:24]Read from MH i2c: E2 0B 00 B9 27 00 84 ED 7A A1 DE F9 9F 35 90 00 93 [10:41:24]RAPDU: 84 ED 7A A1 DE F9 9F 35 90 00 [10:41:24]wFMCommunicate OK [10:41:24]SAM_PROTO_SignData done [10:41:24]FM_MakeSignedData done [10:41:24]CreateOFDProtocolMessage [10:41:24]wFMCommunicate request_size=4 [10:41:24]MH_SAM_APDU [10:41:24]CAPDU: 80 11 00 00 [10:41:24]Write to MH i2c: E2 08 00 BA 27 80 11 00 00 00 00 00 00 5B [10:41:24]Write i2c OK [10:41:24]MH_I2C_Read... [10:41:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:41:24]Read from MH i2c: E2 [10:41:24]MH_I2C_Read... [10:41:24]Read from MH i2c: E2 17 00 [10:41:24]MH_I2C_Read... [10:41:24]Read from MH i2c: E2 17 00 BA 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 B5 [10:41:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [10:41:24]wFMCommunicate OK [10:41:24]CreateOFDProtocolMessage done [10:41:24]OFDSenderStorePacket 12510 [10:41:24]StoreOFDPacket docnum=12510 [10:41:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 26 01 00 00 2C CE 1E 01 4B E8 5A 03 01 00 03 00 12 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 62 4A 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DE 30 00 00 35 04 06 00 67 A1 7E 7E B2 45 84 ED 7A A1 DE F9 9F 35 [10:41:24]CheckFolder [10:41:24]dirname=/storage/ofd_packets [10:41:24]CheckFolder done [10:41:24]ProducePacketName [10:41:24]name=ofd_packets/00012510 [10:41:24]NVStorageSaveData ofd_packets/00012510 [10:41:24]File name is /storage/ofd_packets/00012510 [10:41:24]Write 324 bytes [10:41:24]NVStorageSaveData done [10:41:24]OFDSenderStorePacket done [10:41:24]KKMCreateOFDPacket done [10:41:24]NVStorageSaveData kkm_last_timestamp [10:41:24]File name is /storage/kkm_last_timestamp [10:41:24]Write 4 bytes [10:41:24]NVStorageSaveData done [10:41:24]ExternCall_PrintAddStr [10:41:24]wPrintStart [10:41:24]Write to MH i2c: 01 00 00 BB 27 E2 [10:41:24]Write i2c OK [10:41:24]MH_I2C_Read... [10:41:24]Read from MH i2c: 01 [10:41:24]MH_I2C_Read... [10:41:24]Read from MH i2c: 01 07 00 [10:41:24]MH_I2C_Read... [10:41:24]Read from MH i2c: 01 07 00 BB 27 00 00 00 00 00 FF 0F F7 [10:41:24]RasterBufferAndPrint [10:41:24]line Счет N : (3)32786 [10:41:24]line ИНН: 02508201610067 [10:41:24]line Контрольно-Кассовый Чек [10:41:24]line ПРОДАЖА [10:41:24]line Товар: 2000036240010 [10:41:24]line Кофе Латте (GABB TRADE) [10:41:24]line 1.000 * 105.00 [10:41:24]line = 105.00 [10:41:24]line НДС 12% НСП 1% [10:41:24]line > о реализуемом товаре [10:41:24]line ИТОГО: 105.00 [10:41:24]line НСП 1% : 0.93 [10:41:24]line НДС 12% : 11.15 [10:41:24]line Наличными: 105.00 [10:41:24]line Безнал.: 0.00 [10:41:24]line Место: АЗС № 106 "Партнер Нефть" [10:41:24]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [10:41:24]line СНО: Общий режим [10:41:24]line Чек 12 19.04.2024 10:41 [10:41:24]line Смена: 279 ФФД: 1.0 [10:41:24]line ЗНМ: 0300000004 [10:41:24]line РНМ: 0000000000100748 [10:41:24]line Версия ККМ: 001 [10:41:24]line ФМ: 0000000000965685 [10:41:24]line ФД: 12510 [10:41:24]line ФПД: 113943309627973 [10:41:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T104138&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12510&fm=113943309627973&tin=02508201610067®Number=0000000000100748&sum=10500 [10:41:24]OFD Sender: Processing packet 12510 [packets to send 7, broken 6] [10:41:24]ProducePacketName [10:41:24]name=ofd_packets/00012510 [10:41:24]OFD Sender: To server: pG, [10:41:24]CommunicateWithHost lk.salyk.kg:30040 [10:41:24]ConnectInit lk.salyk.kg [10:41:24]line 0 [10:41:24]written 0, free lines is 4095 [10:41:25]Connected sock=10 [10:41:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 26 01 00 00 2C CE 1E 01 4B E8 5A 03 01 00 03 00 12 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 62 4A 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DE 30 00 00 35 04 06 00 67 A1 7E 7E B2 45 84 ED 7A A1 DE F9 9F 35 [10:41:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 5A 13 47 00 B6 26 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DE 30 00 00 F4 03 04 00 EA F2 21 66 B6 04 01 00 00 F9 96 38 F5 D2 A6 7C 49 [10:41:25]CommunicateWithHost err = 0 [10:41:25]CheckOFDResponse [10:41:25]1017 (14) - 77093643461234 [10:41:25]1041 (16) - 0000000000965685 [10:41:25]1040 (4) - 12510 [10:41:25]1012 (4) - 19.04.2024 04:28 [10:41:25]1206 (1) - 0 [10:41:25]OFD Sender: Remove packet 12510 [10:41:25]ProducePacketName [10:41:25]name=ofd_packets/00012510 [10:41:25]NVStorageDeleteData [10:41:25]Write to MH i2c: 01 00 00 E2 27 09 [10:41:25]Write i2c OK [10:41:25]MH_I2C_Read... [10:41:25]Read from MH i2c: 01 [10:41:25]MH_I2C_Read... [10:41:25]Read from MH i2c: 01 07 00 [10:41:25]MH_I2C_Read... [10:41:25]Read from MH i2c: 01 07 00 E2 27 00 00 00 00 00 16 0D 33 [10:41:25]RasterBufferAndPrint [10:41:25]line [10:41:25]line [10:41:25]line [10:41:25]line [10:41:25]line [10:41:25]written 0, free lines is 3359 [10:41:25]MH_Cut [10:41:25]Write to MH i2c: D1 01 00 E9 27 01 E2 [10:41:25]Write i2c OK [10:41:25]MH_I2C_Read... [10:41:25]Read from MH i2c: D1 [10:41:25]MH_I2C_Read... [10:41:25]Read from MH i2c: D1 01 00 [10:41:25]MH_I2C_Read... [10:41:25]Read from MH i2c: D1 01 00 E9 27 00 E1 [10:41:25]Write to MH i2c: 01 00 00 EA 27 11 [10:41:25]Write i2c OK [10:41:25]MH_I2C_Read... [10:41:25]OFD Sender: No OFD packet to send [10:41:26]*** Cut start [10:41:26]*** Partial cut [10:41:26]*** CUTSNS_PIN = 1 [10:41:26]*** CUTSNS_PIN = 0 [10:41:26]*** Brake cut motor [10:41:26]Read from MH i2c: 01 [10:41:26]MH_I2C_Read... [10:41:26]*** Stop cut motor [10:41:26]*** Cut end [10:41:26]Read from MH i2c: 01 07 00 [10:41:26]MH_I2C_Read... [10:41:26]Read from MH i2c: 01 07 00 EA 27 00 00 00 00 00 FF 0F 26 [10:41:26]process_action close_receipt done [10:41:26]requested_data is exist [10:41:26]produce_requested_data [10:41:26]requested_item fm.sn is exist - process it [10:41:26]wFMCommunicate request_size=4 [10:41:26]MH_SAM_APDU [10:41:26]CAPDU: 80 11 00 00 [10:41:26]Write to MH i2c: E2 08 00 EB 27 80 11 00 00 00 00 00 00 8C [10:41:26]Write i2c OK [10:41:26]MH_I2C_Read... [10:41:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:41:26]Read from MH i2c: E2 [10:41:26]MH_I2C_Read... [10:41:26]Read from MH i2c: E2 17 00 [10:41:26]MH_I2C_Read... [10:41:26]Read from MH i2c: E2 17 00 EB 27 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 E6 [10:41:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [10:41:26]wFMCommunicate OK [10:41:26]requested_item fd.num is exist - process it [10:41:26]SAM_PROTO_GetFieldsCounters [10:41:26]wFMCommunicate request_size=4 [10:41:26]MH_SAM_APDU [10:41:26]CAPDU: 80 13 00 00 [10:41:26]Write to MH i2c: E2 08 00 EC 27 80 13 00 00 00 00 00 00 8F [10:41:26]Write i2c OK [10:41:26]MH_I2C_Read... [10:41:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:41:26]Read from MH i2c: E2 [10:41:26]MH_I2C_Read... [10:41:26]Read from MH i2c: E2 62 00 [10:41:26]MH_I2C_Read... [10:41:26]Read from MH i2c: E2 62 00 EC 27 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 DE 30 00 00 0E 04 04 00 17 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 FC [10:41:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 DE 30 00 00 0E 04 04 00 17 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:41:26]wFMCommunicate OK [10:41:26]SAM_PROTO_GetFieldsCounters done [10:41:26]requested_item shift.num is exist - process it [10:41:26]requested_item shift.opened is exist - process it [10:41:26]req_shift_opened [10:41:26]FM_GetShiftState [10:41:26]SAM_PROTO_GetShiftState [10:41:26]wFMCommunicate request_size=4 [10:41:26]MH_SAM_APDU [10:41:26]CAPDU: 80 13 01 00 [10:41:26]Write to MH i2c: E2 08 00 ED 27 80 13 01 00 00 00 00 00 91 [10:41:26]Write i2c OK [10:41:26]MH_I2C_Read... [10:41:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:41:26]Read from MH i2c: E2 [10:41:26]MH_I2C_Read... [10:41:26]Read from MH i2c: E2 0E 00 [10:41:26]MH_I2C_Read... [10:41:26]Read from MH i2c: E2 0E 00 ED 27 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 87 [10:41:26]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [10:41:26]wFMCommunicate OK [10:41:26]SAM_PROTO_GetShiftState done [10:41:26]FM_GetShiftState done [10:41:26]req_shift_opened done [10:41:26]requested_item shift.open_date is exist - process it [10:41:26]req_shift_open_date [10:41:26]req_shift_open_date done [10:41:26]produce_requested_data done [10:41:26]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12510,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [10:41:26]process_action_free close_receipt [10:41:26]json_value_free [10:41:26]json_value_free done [10:41:26]process_json_proto returns [10:41:26]Send response to host [10:41:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12510,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [10:41:26]free response buf [10:41:26]execute_script done [10:41:26]execute_script returns [10:41:26]free content buf [10:41:26]Sock 9.Close socket [10:41:26]Sock 9.Thread stoped [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:45]OFD Sender: No OFD packet to send [10:42:50]OFD Sender: No OFD packet to send [10:42:55]OFD Sender: No OFD packet to send [10:43:00]OFD Sender: No OFD packet to send [10:43:05]OFD Sender: No OFD packet to send [10:43:10]OFD Sender: No OFD packet to send [10:43:15]OFD Sender: No OFD packet to send [10:43:20]OFD Sender: No OFD packet to send [10:43:25]OFD Sender: No OFD packet to send [10:43:30]OFD Sender: No OFD packet to send [10:43:35]OFD Sender: No OFD packet to send [10:43:40]OFD Sender: No OFD packet to send [10:43:45]OFD Sender: No OFD packet to send [10:43:50]OFD Sender: No OFD packet to send [10:43:55]OFD Sender: No OFD packet to send [10:44:00]OFD Sender: No OFD packet to send [10:44:05]OFD Sender: No OFD packet to send [10:44:10]OFD Sender: No OFD packet to send [10:44:15]OFD Sender: No OFD packet to send [10:44:20]OFD Sender: No OFD packet to send [10:44:25]OFD Sender: No OFD packet to send [10:44:30]OFD Sender: No OFD packet to send [10:44:35]OFD Sender: No OFD packet to send [10:44:40]OFD Sender: No OFD packet to send [10:44:45]OFD Sender: No OFD packet to send [10:44:50]OFD Sender: No OFD packet to send [10:44:55]OFD Sender: No OFD packet to send [10:45:00]OFD Sender: No OFD packet to send [10:45:05]OFD Sender: No OFD packet to send [10:45:10]OFD Sender: No OFD packet to send [10:45:15]OFD Sender: No OFD packet to send [10:45:20]OFD Sender: No OFD packet to send [10:45:25]OFD Sender: No OFD packet to send [10:45:30]OFD Sender: No OFD packet to send [10:45:35]OFD Sender: No OFD packet to send [10:45:40]OFD Sender: No OFD packet to send [10:45:45]OFD Sender: No OFD packet to send [10:45:50]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:21]OFD Sender: No OFD packet to send [10:48:26]OFD Sender: No OFD packet to send [10:48:31]OFD Sender: No OFD packet to send [10:48:36]OFD Sender: No OFD packet to send [10:48:41]OFD Sender: No OFD packet to send [10:48:46]OFD Sender: No OFD packet to send [10:48:48]accept exits with 8 [10:48:48]New connection [10:48:48]New thread 3067100516 created [10:48:48]Thread 3067243876 joined [10:48:48]Waiting for new connection... [10:48:48] Sock 8.Parse request [10:48:48]Sock 8.Check first char [10:48:48]Sock 8.First char is OK [10:48:48]request: POST /json_proto HTTP/1.0 [10:48:48]Method: POST [10:48:48]URL: /json_proto [10:48:48]Method is POST - this is cgi request [10:48:48]url: /json_proto [10:48:48]query_string will be loaded in cgi processing [10:48:48]execute_cgi json_proto POST (null) [10:48:48]execute_cgi path=json_proto method=POST [10:48:48]POST find Content-Length [10:48:48]Host: 172.17.62.6:8080 [10:48:48]Content-Length: 621 [10:48:48]Content-Type: application/json [10:48:48] [10:48:48]POST finish read [10:48:48]Found Content-Length = 621 [10:48:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32787", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:48:48]execute_script... [10:48: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)32787", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:48:48]POST & json_proto [10:48:48]process_json_proto [10:48:48]json parsed OK: [10:48:48]protocol is kg_v1.0 [10:48:48]action value=close_receipt [10:48:48]process_action close_receipt [10:48:48]cmd_close_receipt [10:48:48]MH_GetDate [10:48:48]Write to MH i2c: F0 00 00 EE 27 04 [10:48:48]Write i2c OK [10:48:48]MH_I2C_Read... [10:48:48]Read from MH i2c: F0 [10:48:48]MH_I2C_Read... [10:48:48]Read from MH i2c: F0 09 00 [10:48:48]MH_I2C_Read... [10:48:48]Read from MH i2c: F0 09 00 EE 27 00 20 4C 22 66 61 69 D2 64 01 [10:48:48]GetLastDocTimeStamp 1713523298 [10:48:48]current date 1713523744 [10:48:48]FM_GetShiftState [10:48:48]SAM_PROTO_GetShiftState [10:48:48]wFMCommunicate request_size=4 [10:48:48]MH_SAM_APDU [10:48:48]CAPDU: 80 13 01 00 [10:48:48]Write to MH i2c: E2 08 00 EF 27 80 13 01 00 00 00 00 00 93 [10:48:48]Write i2c OK [10:48:48]MH_I2C_Read... [10:48:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:48:48]Read from MH i2c: E2 [10:48:48]MH_I2C_Read... [10:48:48]Read from MH i2c: E2 0E 00 [10:48:48]MH_I2C_Read... [10:48:48]Read from MH i2c: E2 0E 00 EF 27 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 89 [10:48:48]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [10:48:48]wFMCommunicate OK [10:48:48]SAM_PROTO_GetShiftState done [10:48:48]FM_GetShiftState done [10:48:48]opened in 1713485995 [10:48:48]opened+sec_in_day 1713572395 [10:48:48]quantity*price = 13800 [10:48:48]sum+1 = 13801 [10:48:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 13 19.04.2024 10:49 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12511 ФПД: 61114490086838 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T104904&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12511&fm=61114490086838&tin=02508201610067®Number=0000000000100748&sum=13800 0 [10:48:50]StoreToDocumentArchive [10:48:50]shift 279 fd 12511 [10:48:50]save to /storage/0279/doc_00012511 [10:48:50]save last doc name /storage/0279/doc_00012511 to /storage/kkm_last_doc_name [10:48:50]save OK [10:48:50]Clear old archive folders... [10:48:50]ProcessDocumentItem done err = 0, tmpTLVsize=274 [10:48:50]tlvbuf is 01D18230 [10:48:50]SAM_PROTO_ClearQueue [10:48:50]wFMCommunicate request_size=4 [10:48:50]MH_SAM_APDU [10:48:50]CAPDU: 80 09 00 00 [10:48:50]Write to MH i2c: E2 08 00 FC 27 80 09 00 00 00 00 00 00 95 [10:48:50]Write i2c OK [10:48:50]MH_I2C_Read... [10:48:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:48:50]Read from MH i2c: E2 [10:48:50]MH_I2C_Read... [10:48:50]Read from MH i2c: E2 03 00 [10:48:50]MH_I2C_Read... [10:48:50]Read from MH i2c: E2 03 00 FC 27 00 90 00 97 [10:48:50]RAPDU: 90 00 [10:48:50]wFMCommunicate OK [10:48:50]SAM_PROTO_ClearQueue done [10:48:50]KKMCreateOFDPacket [10:48:50]OFDProtocolAddRootSTLVToBuf [10:48:50]FM_MakeSignedData [10:48:50]FM_MakeSignedData [10:48:50]SAM_PROTO_SignData [10:48:50]wFMCommunicate request_size=4 [10:48:50]MH_SAM_APDU [10:48:50]CAPDU: 80 0D 01 02 [10:48:50]Write to MH i2c: E2 08 00 FD 27 80 0D 01 02 00 00 00 00 9D [10:48:50]Write i2c OK [10:48:50]MH_I2C_Read... [10:48:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:48:50]Read from MH i2c: E2 [10:48:50]MH_I2C_Read... [10:48:50]Read from MH i2c: E2 03 00 [10:48:50]MH_I2C_Read... [10:48:50]Read from MH i2c: E2 03 00 FD 27 00 90 00 98 [10:48:50]RAPDU: 90 00 [10:48:50]wFMCommunicate OK [10:48:50]wFMCommunicate request_size=255 [10:48:50]MH_SAM_APDU [10:48:50]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 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 20 4C 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 [10:48:50]Write to MH i2c: E2 02 01 FE 27 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 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 20 4C 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 00 00 EE [10:48:50]Write i2c OK [10:48:50]MH_I2C_Read... [10:48:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:48:50]Read from MH i2c: E2 [10:48:50]MH_I2C_Read... [10:48:50]Read from MH i2c: E2 03 00 [10:48:50]MH_I2C_Read... [10:48:50]Read from MH i2c: E2 03 00 FE 27 00 90 00 99 [10:48:50]RAPDU: 90 00 [10:48:50]wFMCommunicate OK [10:48:50]wFMCommunicate request_size=33 [10:48:50]MH_SAM_APDU [10:48:50]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DF 30 00 00 35 04 06 00 37 95 53 78 E5 B6 [10:48:50]Write to MH i2c: E2 24 00 FF 27 80 0D 02 02 1C 00 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DF 30 00 00 35 04 06 00 37 95 53 78 E5 B6 00 00 77 [10:48:50]Write i2c OK [10:48:50]MH_I2C_Read... [10:48:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:48:50]Read from MH i2c: E2 [10:48:50]MH_I2C_Read... [10:48:50]Read from MH i2c: E2 03 00 [10:48:50]MH_I2C_Read... [10:48:50]Read from MH i2c: E2 03 00 FF 27 00 90 00 9A [10:48:50]RAPDU: 90 00 [10:48:50]wFMCommunicate OK [10:48:50]wFMCommunicate request_size=4 [10:48:50]MH_SAM_APDU [10:48:50]CAPDU: 80 0D 03 02 [10:48:50]Write to MH i2c: E2 08 00 00 28 80 0D 03 02 00 00 00 00 A3 [10:48:50]Write i2c OK [10:48:50]MH_I2C_Read... [10:48:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:48:50]Read from MH i2c: E2 [10:48:50]MH_I2C_Read... [10:48:50]Read from MH i2c: E2 0B 00 [10:48:50]MH_I2C_Read... [10:48:50]Read from MH i2c: E2 0B 00 00 28 00 14 2D 95 4F 49 F2 1C C7 90 00 E7 [10:48:50]RAPDU: 14 2D 95 4F 49 F2 1C C7 90 00 [10:48:50]wFMCommunicate OK [10:48:50]SAM_PROTO_SignData done [10:48:50]FM_MakeSignedData done [10:48:50]CreateOFDProtocolMessage [10:48:50]wFMCommunicate request_size=4 [10:48:50]MH_SAM_APDU [10:48:50]CAPDU: 80 11 00 00 [10:48:50]Write to MH i2c: E2 08 00 01 28 80 11 00 00 00 00 00 00 A3 [10:48:50]Write i2c OK [10:48:50]MH_I2C_Read... [10:48:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:48:50]Read from MH i2c: E2 [10:48:50]MH_I2C_Read... [10:48:50]Read from MH i2c: E2 17 00 [10:48:50]MH_I2C_Read... [10:48:50]Read from MH i2c: E2 17 00 01 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 FD [10:48:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [10:48:50]wFMCommunicate OK [10:48:50]CreateOFDProtocolMessage done [10:48:50]OFDSenderStorePacket 12511 [10:48:50]StoreOFDPacket docnum=12511 [10:48:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 26 01 00 00 1E 22 1E 01 51 2B 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 20 4C 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DF 30 00 00 35 04 06 00 37 95 53 78 E5 B6 14 2D 95 4F 49 F2 1C C7 [10:48:50]CheckFolder [10:48:50]dirname=/storage/ofd_packets [10:48:50]CheckFolder done [10:48:50]ProducePacketName [10:48:50]name=ofd_packets/00012511 [10:48:50]NVStorageSaveData ofd_packets/00012511 [10:48:50]File name is /storage/ofd_packets/00012511 [10:48:50]Write 324 bytes [10:48:50]NVStorageSaveData done [10:48:50]OFDSenderStorePacket done [10:48:50]KKMCreateOFDPacket done [10:48:50]NVStorageSaveData kkm_last_timestamp [10:48:50]File name is /storage/kkm_last_timestamp [10:48:50]Write 4 bytes [10:48:50]NVStorageSaveData done [10:48:50]ExternCall_PrintAddStr [10:48:50]wPrintStart [10:48:50]Write to MH i2c: 01 00 00 02 28 2A [10:48:50]Write i2c OK [10:48:50]MH_I2C_Read... [10:48:50]Read from MH i2c: 01 [10:48:50]MH_I2C_Read... [10:48:50]Read from MH i2c: 01 07 00 [10:48:50]MH_I2C_Read... [10:48:50]Read from MH i2c: 01 07 00 02 28 00 00 00 00 00 FF 0F 3F [10:48:50]RasterBufferAndPrint [10:48:50]line Счет N : (3)32787 [10:48:50]line ИНН: 02508201610067 [10:48:50]line Контрольно-Кассовый Чек [10:48:50]line ПРОДАЖА [10:48:50]line Товар: 4640030091645 [10:48:50]line Сигареты ESSE Exchange M [10:48:50]line 1.000 * 138.00 [10:48:50]line = 138.00 [10:48:50]line НДС 12% НСП 1% [10:48:50]line > о реализуемом товаре [10:48:50]line ИТОГО: 138.00 [10:48:50]line НСП 1% : 1.22 [10:48:50]line НДС 12% : 14.65 [10:48:50]line Наличными: 138.00 [10:48:50]line Безнал.: 0.00 [10:48:50]line Место: АЗС № 106 "Партнер Нефть" [10:48:50]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [10:48:50]line СНО: Общий режим [10:48:50]line Чек 13 19.04.2024 10:49 [10:48:50]line Смена: 279 ФФД: 1.0 [10:48:50]line ЗНМ: 0300000004 [10:48:50]line РНМ: 0000000000100748 [10:48:50]line Версия ККМ: 001 [10:48:50]line ФМ: 0000000000965685 [10:48:50]line ФД: 12511 [10:48:50]line ФПД: 61114490086838 [10:48:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T104904&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12511&fm=61114490086838&tin=02508201610067®Number=0000000000100748&sum=13800 [10:48:50]OFD Sender: Processing packet 12511 [packets to send 7, broken 6] [10:48:50]ProducePacketName [10:48:50]name=ofd_packets/00012511 [10:48:50]OFD Sender: To server: pG, [10:48:50]CommunicateWithHost lk.salyk.kg:30040 [10:48:50]ConnectInit lk.salyk.kg [10:48:50]line 0 [10:48:50]written 0, free lines is 4095 [10:48:51]Connected sock=10 [10:48:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 26 01 00 00 1E 22 1E 01 51 2B 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 20 4C 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DF 30 00 00 35 04 06 00 37 95 53 78 E5 B6 14 2D 95 4F 49 F2 1C C7 [10:48:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 A9 FB 47 00 9B C9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 DF 30 00 00 F4 03 04 00 A8 F4 21 66 B6 04 01 00 00 95 43 EF C2 26 16 14 06 [10:48:51]CommunicateWithHost err = 0 [10:48:51]CheckOFDResponse [10:48:51]1017 (14) - 77093643461234 [10:48:51]1041 (16) - 0000000000965685 [10:48:51]1040 (4) - 12511 [10:48:51]1012 (4) - 19.04.2024 04:35 [10:48:51]1206 (1) - 0 [10:48:51]OFD Sender: Remove packet 12511 [10:48:51]ProducePacketName [10:48:51]name=ofd_packets/00012511 [10:48:51]NVStorageDeleteData [10:48:51]Write to MH i2c: 01 00 00 29 28 51 [10:48:51]Write i2c OK [10:48:51]MH_I2C_Read... [10:48:51]Read from MH i2c: 01 [10:48:51]MH_I2C_Read... [10:48:51]Read from MH i2c: 01 07 00 [10:48:51]MH_I2C_Read... [10:48:51]Read from MH i2c: 01 07 00 29 28 00 00 00 00 00 18 0D 7D [10:48:51]RasterBufferAndPrint [10:48:51]line [10:48:51]line [10:48:51]line [10:48:51]line [10:48:51]line [10:48:51]written 0, free lines is 3362 [10:48:51]MH_Cut [10:48:51]Write to MH i2c: D1 01 00 30 28 01 2A [10:48:51]Write i2c OK [10:48:51]MH_I2C_Read... [10:48:51]Read from MH i2c: D1 [10:48:51]MH_I2C_Read... [10:48:51]Read from MH i2c: D1 01 00 [10:48:51]MH_I2C_Read... [10:48:51]Read from MH i2c: D1 01 00 30 28 00 29 [10:48:51]Write to MH i2c: 01 00 00 31 28 59 [10:48:51]Write i2c OK [10:48:51]MH_I2C_Read... [10:48:51]OFD Sender: No OFD packet to send [10:48:52]*** Cut start [10:48:52]*** Partial cut [10:48:52]*** CUTSNS_PIN = 1 [10:48:52]*** CUTSNS_PIN = 0 [10:48:52]*** Brake cut motor [10:48:52]Read from MH i2c: 01 [10:48:52]MH_I2C_Read... [10:48:52]*** Stop cut motor [10:48:52]*** Cut end [10:48:52]Read from MH i2c: 01 07 00 [10:48:52]MH_I2C_Read... [10:48:52]Read from MH i2c: 01 07 00 31 28 00 00 00 00 00 FF 0F 6E [10:48:52]process_action close_receipt done [10:48:52]requested_data is exist [10:48:52]produce_requested_data [10:48:52]requested_item fm.sn is exist - process it [10:48:52]wFMCommunicate request_size=4 [10:48:52]MH_SAM_APDU [10:48:52]CAPDU: 80 11 00 00 [10:48:52]Write to MH i2c: E2 08 00 32 28 80 11 00 00 00 00 00 00 D4 [10:48:52]Write i2c OK [10:48:52]MH_I2C_Read... [10:48:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:48:52]Read from MH i2c: E2 [10:48:52]MH_I2C_Read... [10:48:52]Read from MH i2c: E2 17 00 [10:48:52]MH_I2C_Read... [10:48:52]Read from MH i2c: E2 17 00 32 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 2E [10:48:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [10:48:52]wFMCommunicate OK [10:48:52]requested_item fd.num is exist - process it [10:48:52]SAM_PROTO_GetFieldsCounters [10:48:52]wFMCommunicate request_size=4 [10:48:52]MH_SAM_APDU [10:48:52]CAPDU: 80 13 00 00 [10:48:52]Write to MH i2c: E2 08 00 33 28 80 13 00 00 00 00 00 00 D7 [10:48:52]Write i2c OK [10:48:52]MH_I2C_Read... [10:48:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:48:52]Read from MH i2c: E2 [10:48:52]MH_I2C_Read... [10:48:52]Read from MH i2c: E2 62 00 [10:48:52]MH_I2C_Read... [10:48:52]Read from MH i2c: E2 62 00 33 28 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 DF 30 00 00 0E 04 04 00 17 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 48 [10:48:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 DF 30 00 00 0E 04 04 00 17 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:48:52]wFMCommunicate OK [10:48:52]SAM_PROTO_GetFieldsCounters done [10:48:52]requested_item shift.num is exist - process it [10:48:52]requested_item shift.opened is exist - process it [10:48:52]req_shift_opened [10:48:52]FM_GetShiftState [10:48:52]SAM_PROTO_GetShiftState [10:48:52]wFMCommunicate request_size=4 [10:48:52]MH_SAM_APDU [10:48:52]CAPDU: 80 13 01 00 [10:48:52]Write to MH i2c: E2 08 00 34 28 80 13 01 00 00 00 00 00 D9 [10:48:52]Write i2c OK [10:48:52]MH_I2C_Read... [10:48:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:48:53]Read from MH i2c: E2 [10:48:53]MH_I2C_Read... [10:48:53]Read from MH i2c: E2 0E 00 [10:48:53]MH_I2C_Read... [10:48:53]Read from MH i2c: E2 0E 00 34 28 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 CF [10:48:53]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [10:48:53]wFMCommunicate OK [10:48:53]SAM_PROTO_GetShiftState done [10:48:53]FM_GetShiftState done [10:48:53]req_shift_opened done [10:48:53]requested_item shift.open_date is exist - process it [10:48:53]req_shift_open_date [10:48:53]req_shift_open_date done [10:48:53]produce_requested_data done [10:48:53]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12511,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [10:48:53]process_action_free close_receipt [10:48:53]json_value_free [10:48:53]json_value_free done [10:48:53]process_json_proto returns [10:48:53]Send response to host [10:48:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12511,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [10:48:53]free response buf [10:48:53]execute_script done [10:48:53]execute_script returns [10:48:53]free content buf [10:48:53]Sock 8.Close socket [10:48:53]Sock 8.Thread stoped [10:48:56]OFD Sender: No OFD packet to send [10:49:01]OFD Sender: No OFD packet to send [10:49:06]OFD Sender: No OFD packet to send [10:49:11]OFD Sender: No OFD packet to send [10:49:16]OFD Sender: No OFD packet to send [10:49:21]OFD Sender: No OFD packet to send [10:49:26]OFD Sender: No OFD packet to send [10:49:31]OFD Sender: No OFD packet to send [10:49:36]OFD Sender: No OFD packet to send [10:49:41]OFD Sender: No OFD packet to send [10:49:46]OFD Sender: No OFD packet to send [10:49:51]OFD Sender: No OFD packet to send [10:49:56]OFD Sender: No OFD packet to send [10:50:01]OFD Sender: No OFD packet to send [10:50:06]OFD Sender: No OFD packet to send [10:50:11]OFD Sender: No OFD packet to send [10:50:16]OFD Sender: No OFD packet to send [10:50:21]OFD Sender: No OFD packet to send [10:50:26]OFD Sender: No OFD packet to send [10:50:31]OFD Sender: No OFD packet to send [10:50:36]OFD Sender: No OFD packet to send [10:50:41]OFD Sender: No OFD packet to send [10:50:46]OFD Sender: No OFD packet to send [10:50:51]OFD Sender: No OFD packet to send [10:50:56]OFD Sender: No OFD packet to send [10:51:01]OFD Sender: No OFD packet to send [10:51:06]OFD Sender: No OFD packet to send [10:51:11]OFD Sender: No OFD packet to send [10:51:16]OFD Sender: No OFD packet to send [10:51:21]OFD Sender: No OFD packet to send [10:51:26]OFD Sender: No OFD packet to send [10:51:31]OFD Sender: No OFD packet to send [10:51:36]OFD Sender: No OFD packet to send [10:51:41]OFD Sender: No OFD packet to send [10:51:46]OFD Sender: No OFD packet to send [10:51:51]OFD Sender: No OFD packet to send [10:51:56]OFD Sender: No OFD packet to send [10:52:01]OFD Sender: No OFD packet to send [10:52:06]OFD Sender: No OFD packet to send [10:52:11]OFD Sender: No OFD packet to send [10:52:16]OFD Sender: No OFD packet to send [10:52:21]OFD Sender: No OFD packet to send [10:52:26]OFD Sender: No OFD packet to send [10:52:31]OFD Sender: No OFD packet to send [10:52:36]OFD Sender: No OFD packet to send [10:52:41]OFD Sender: No OFD packet to send [10:52:46]OFD Sender: No OFD packet to send [10:52:51]OFD Sender: No OFD packet to send [10:52:56]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:37]accept exits with 9 [10:56:37]New connection [10:56:37]New thread 3067243876 created [10:56:37]Thread 3067100516 joined [10:56:37]Waiting for new connection... [10:56:37] Sock 9.Parse request [10:56:37]Sock 9.Check first char [10:56:37]Sock 9.First char is OK [10:56:37]request: POST /json_proto HTTP/1.0 [10:56:37]Method: POST [10:56:37]URL: /json_proto [10:56:37]Method is POST - this is cgi request [10:56:37]url: /json_proto [10:56:37]query_string will be loaded in cgi processing [10:56:37]execute_cgi json_proto POST (null) [10:56:37]execute_cgi path=json_proto method=POST [10:56:37]POST find Content-Length [10:56:37]Host: 172.17.62.6:8080 [10:56:37]Content-Length: 215 [10:56:37]Content-Type: application/json [10:56:37] [10:56:37]POST finish read [10:56:37]Found Content-Length = 215 [10:56:37]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" ] } } [10:56:37]execute_script... [10:56:37]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" ] } } [10:56:37]POST & json_proto [10:56:37]process_json_proto [10:56:37]json parsed OK: [10:56:37]protocol is kg_v1.0 [10:56:37]action value=get_value [10:56:37]process_action get_value [10:56:37]cmd_get_value [10:56:37]process_action get_value done [10:56:37]requested_data is exist [10:56:37]produce_requested_data [10:56:37]requested_item kkm.sn is exist - process it [10:56:37]requested_item kkm.ver is exist - process it [10:56:37]requested_item fm.sn is exist - process it [10:56:37]wFMCommunicate request_size=4 [10:56:37]MH_SAM_APDU [10:56:37]CAPDU: 80 11 00 00 [10:56:37]Write to MH i2c: E2 08 00 35 28 80 11 00 00 00 00 00 00 D7 [10:56:37]Write i2c OK [10:56:37]MH_I2C_Read... [10:56:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:56:37]Read from MH i2c: E2 [10:56:37]MH_I2C_Read... [10:56:37]Read from MH i2c: E2 17 00 [10:56:37]MH_I2C_Read... [10:56:37]Read from MH i2c: E2 17 00 35 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 31 [10:56:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [10:56:37]wFMCommunicate OK [10:56:37]requested_item fd.num is exist - process it [10:56:37]SAM_PROTO_GetFieldsCounters [10:56:37]wFMCommunicate request_size=4 [10:56:37]MH_SAM_APDU [10:56:37]CAPDU: 80 13 00 00 [10:56:37]Write to MH i2c: E2 08 00 36 28 80 13 00 00 00 00 00 00 DA [10:56:37]Write i2c OK [10:56:37]MH_I2C_Read... [10:56:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:56:37]Read from MH i2c: E2 [10:56:37]MH_I2C_Read... [10:56:37]Read from MH i2c: E2 62 00 [10:56:37]MH_I2C_Read... [10:56:37]Read from MH i2c: E2 62 00 36 28 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 DF 30 00 00 0E 04 04 00 17 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 4B [10:56:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 DF 30 00 00 0E 04 04 00 17 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:56:37]wFMCommunicate OK [10:56:37]SAM_PROTO_GetFieldsCounters done [10:56:37]requested_item shift.num is exist - process it [10:56:37]requested_item shift.opened is exist - process it [10:56:37]req_shift_opened [10:56:37]FM_GetShiftState [10:56:37]SAM_PROTO_GetShiftState [10:56:37]wFMCommunicate request_size=4 [10:56:37]MH_SAM_APDU [10:56:37]CAPDU: 80 13 01 00 [10:56:37]Write to MH i2c: E2 08 00 37 28 80 13 01 00 00 00 00 00 DC [10:56:37]Write i2c OK [10:56:37]MH_I2C_Read... [10:56:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:56:37]Read from MH i2c: E2 [10:56:37]MH_I2C_Read... [10:56:37]Read from MH i2c: E2 0E 00 [10:56:37]MH_I2C_Read... [10:56:37]Read from MH i2c: E2 0E 00 37 28 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 D2 [10:56:37]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [10:56:37]wFMCommunicate OK [10:56:37]SAM_PROTO_GetShiftState done [10:56:37]FM_GetShiftState done [10:56:37]req_shift_opened done [10:56:37]requested_item shift.open_date is exist - process it [10:56:37]req_shift_open_date [10:56:37]req_shift_open_date done [10:56:37]produce_requested_data done [10:56:37]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12511,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [10:56:37]process_action_free get_value [10:56:37]json_value_free [10:56:37]json_value_free done [10:56:37]process_json_proto returns [10:56:37]Send response to host [10:56:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12511,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [10:56:37]free response buf [10:56:37]execute_script done [10:56:37]execute_script returns [10:56:37]free content buf [10:56:37]Sock 9.Close socket [10:56:37]Sock 9.Thread stoped [10:56:40]accept exits with 8 [10:56:40]New connection [10:56:40]New thread 3067100516 created [10:56:40]Thread 3067243876 joined [10:56:40]Waiting for new connection... [10:56:40] Sock 8.Parse request [10:56:40]Sock 8.Check first char [10:56:40]Sock 8.First char is OK [10:56:40]request: POST /json_proto HTTP/1.0 [10:56:40]Method: POST [10:56:40]URL: /json_proto [10:56:40]Method is POST - this is cgi request [10:56:40]url: /json_proto [10:56:40]query_string will be loaded in cgi processing [10:56:40]execute_cgi json_proto POST (null) [10:56:40]execute_cgi path=json_proto method=POST [10:56:40]POST find Content-Length [10:56:40]Host: 172.17.62.6:8080 [10:56:40]Content-Length: 331 [10:56:40]Content-Type: application/json [10:56:40] [10:56:40]POST finish read [10:56:40]Found Content-Length = 331 [10:56:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [10:56:40]execute_script... [10:56:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [10:56:40]POST & json_proto [10:56:40]process_json_proto [10:56:40]json parsed OK: [10:56:40]protocol is kg_v1.0 [10:56:40]action value=get_value [10:56:40]process_action get_value [10:56:40]cmd_get_value [10:56:40]process_action get_value done [10:56:40]requested_data is exist [10:56:40]produce_requested_data [10:56:40]requested_item fm.sale.total is exist - process it [10:56:40]SAM_PROTO_GetFMData [10:56:40]wFMCommunicate request_size=4 [10:56:40]MH_SAM_APDU [10:56:40]CAPDU: 80 13 03 00 [10:56:40]Write to MH i2c: E2 08 00 38 28 80 13 03 00 00 00 00 00 DF [10:56:40]Write i2c OK [10:56:40]MH_I2C_Read... [10:56:40]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [10:56:40]Read from MH i2c: E2 [10:56:40]MH_I2C_Read... [10:56:40]Read from MH i2c: E2 FD 00 [10:56:40]MH_I2C_Read... [10:56:40]Read from MH i2c: E2 FD 00 38 28 00 C1 04 85 04 BD 04 6E 04 04 00 B1 2E 00 00 69 04 A0 00 6F 04 04 00 65 2E 00 00 B1 04 04 00 EB 74 A8 0E 70 04 04 00 42 9E A4 0C 72 04 04 00 A9 D6 03 02 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 9E 7C 8E 01 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 FB 30 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 A3 [10:56:40]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 B1 2E 00 00 69 04 A0 00 6F 04 04 00 65 2E 00 00 B1 04 04 00 EB 74 A8 0E 70 04 04 00 42 9E A4 0C 72 04 04 00 A9 D6 03 02 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 9E 7C 8E 01 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 FB 30 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 [10:56:40]wFMCommunicate OK [10:56:40]wFMCommunicate request_size=4 [10:56:40]MH_SAM_APDU [10:56:40]CAPDU: 80 17 00 00 [10:56:40]Write to MH i2c: E2 08 00 39 28 80 17 00 00 00 00 00 00 E1 [10:56:40]Write i2c OK [10:56:40]MH_I2C_Read... [10:56:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:56:41]Read from MH i2c: E2 [10:56:41]MH_I2C_Read... [10:56:41]Read from MH i2c: E2 FD 00 [10:56:41]MH_I2C_Read... [10:56:41]Read from MH i2c: E2 FD 00 39 28 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7F [10:56:41]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:56:41]wFMCommunicate OK [10:56:41]wFMCommunicate request_size=4 [10:56:41]MH_SAM_APDU [10:56:41]CAPDU: 80 17 00 00 [10:56:41]Write to MH i2c: E2 08 00 3A 28 80 17 00 00 00 00 00 00 E2 [10:56:41]Write i2c OK [10:56:41]MH_I2C_Read... [10:56:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:56:41]Read from MH i2c: E2 [10:56:41]MH_I2C_Read... [10:56:41]Read from MH i2c: E2 FD 00 [10:56:41]MH_I2C_Read... [10:56:41]Read from MH i2c: E2 FD 00 3A 28 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 82 [10:56:41]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:56:41]wFMCommunicate OK [10:56:41]wFMCommunicate request_size=4 [10:56:41]MH_SAM_APDU [10:56:41]CAPDU: 80 17 00 00 [10:56:41]Write to MH i2c: E2 08 00 3B 28 80 17 00 00 00 00 00 00 E3 [10:56:41]Write i2c OK [10:56:41]MH_I2C_Read... [10:56:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:56:41]Read from MH i2c: E2 [10:56:41]MH_I2C_Read... [10:56:41]Read from MH i2c: E2 FD 00 [10:56:41]MH_I2C_Read... [10:56:41]Read from MH i2c: E2 FD 00 3B 28 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 68 [10:56:41]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:56:41]wFMCommunicate OK [10:56:41]wFMCommunicate request_size=4 [10:56:41]MH_SAM_APDU [10:56:41]CAPDU: 80 17 00 00 [10:56:41]Write to MH i2c: E2 08 00 3C 28 80 17 00 00 00 00 00 00 E4 [10:56:41]Write i2c OK [10:56:41]MH_I2C_Read... [10:56:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [10:56:42]Read from MH i2c: E2 [10:56:42]MH_I2C_Read... [10:56:42]Read from MH i2c: E2 DE 00 [10:56:42]MH_I2C_Read... [10:56:42]Read from MH i2c: E2 DE 00 3C 28 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C3 [10:56:42]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:56:42]wFMCommunicate OK [10:56:42]SAM_PROTO_GetFMData done [10:56:42]requested_item fm.sale_refund.total is exist - process it [10:56:42]requested_item fm.buy.total is exist - process it [10:56:42]requested_item shift.sale.total is exist - process it [10:56:42]SAM_PROTO_GetShiftData [10:56:42]wFMCommunicate request_size=4 [10:56:42]MH_SAM_APDU [10:56:42]CAPDU: 80 13 02 00 [10:56:42]Write to MH i2c: E2 08 00 3D 28 80 13 02 00 00 00 00 00 E3 [10:56:42]Write i2c OK [10:56:42]MH_I2C_Read... [10:56:42]OFD Sender: No OFD packet to send [10:56:42]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:56:42]Read from MH i2c: E2 [10:56:42]MH_I2C_Read... [10:56:42]Read from MH i2c: E2 FD 00 [10:56:42]MH_I2C_Read... [10:56:42]Read from MH i2c: E2 FD 00 3D 28 00 AD 04 AA 04 A9 04 6E 04 04 00 0D 00 00 00 69 04 9A 00 6F 04 04 00 0D 00 00 00 B1 04 03 00 74 73 04 70 04 03 00 C8 6B 03 72 04 03 00 AC 07 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 01 79 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 15 0A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 29 [10:56:42]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0D 00 00 00 69 04 9A 00 6F 04 04 00 0D 00 00 00 B1 04 03 00 74 73 04 70 04 03 00 C8 6B 03 72 04 03 00 AC 07 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 01 79 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 15 0A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [10:56:42]wFMCommunicate OK [10:56:42]wFMCommunicate request_size=4 [10:56:42]MH_SAM_APDU [10:56:42]CAPDU: 80 17 00 00 [10:56:42]Write to MH i2c: E2 08 00 3E 28 80 17 00 00 00 00 00 00 E6 [10:56:42]Write i2c OK [10:56:42]MH_I2C_Read... [10:56:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:56:42]Read from MH i2c: E2 [10:56:42]MH_I2C_Read... [10:56:42]Read from MH i2c: E2 FD 00 [10:56:42]MH_I2C_Read... [10:56:42]Read from MH i2c: E2 FD 00 3E 28 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 F8 [10:56:42]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 [10:56:42]wFMCommunicate OK [10:56:42]wFMCommunicate request_size=4 [10:56:42]MH_SAM_APDU [10:56:42]CAPDU: 80 17 00 00 [10:56:42]Write to MH i2c: E2 08 00 3F 28 80 17 00 00 00 00 00 00 E7 [10:56:42]Write i2c OK [10:56:42]MH_I2C_Read... [10:56:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:56:43]Read from MH i2c: E2 [10:56:43]MH_I2C_Read... [10:56:43]Read from MH i2c: E2 FD 00 [10:56:43]MH_I2C_Read... [10:56:43]Read from MH i2c: E2 FD 00 3F 28 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 AB [10:56:43]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 [10:56:43]wFMCommunicate OK [10:56:43]wFMCommunicate request_size=4 [10:56:43]MH_SAM_APDU [10:56:43]CAPDU: 80 17 00 00 [10:56:43]Write to MH i2c: E2 08 00 40 28 80 17 00 00 00 00 00 00 E8 [10:56:43]Write i2c OK [10:56:43]MH_I2C_Read... [10:56:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:56:43]Read from MH i2c: E2 [10:56:43]MH_I2C_Read... [10:56:43]Read from MH i2c: E2 FD 00 [10:56:43]MH_I2C_Read... [10:56:43]Read from MH i2c: E2 FD 00 40 28 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 5D [10:56:43]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 [10:56:43]wFMCommunicate OK [10:56:43]wFMCommunicate request_size=4 [10:56:43]MH_SAM_APDU [10:56:43]CAPDU: 80 17 00 00 [10:56:43]Write to MH i2c: E2 08 00 41 28 80 17 00 00 00 00 00 00 E9 [10:56:43]Write i2c OK [10:56:43]MH_I2C_Read... [10:56:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [10:56:43]Read from MH i2c: E2 [10:56:43]MH_I2C_Read... [10:56:43]Read from MH i2c: E2 CA 00 [10:56:43]MH_I2C_Read... [10:56:43]Read from MH i2c: E2 CA 00 41 28 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 CE [10:56:43]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 [10:56:43]wFMCommunicate OK [10:56:43]SAM_PROTO_GetShiftData done [10:56:43]requested_item shift.sale.total_cash is exist - process it [10:56:43]requested_item shift.sale_refund.total is exist - process it [10:56:43]requested_item shift.sale_refund.total_cash is exist - process it [10:56:43]requested_item shift.buy.total is exist - process it [10:56:43]requested_item shift.buy.total_cash is exist - process it [10:56:43]produce_requested_data done [10:56:43]produce_requested_data return {"fm.sale.total":2459210.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":2917.00,"shift.sale.total_cash":2242.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} [10:56:43]process_action_free get_value [10:56:43]json_value_free [10:56:43]json_value_free done [10:56:43]process_json_proto returns [10:56:43]Send response to host [10:56:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2459210.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":2917.00,"shift.sale.total_cash":2242.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}}} [10:56:43]free response buf [10:56:43]execute_script done [10:56:43]execute_script returns [10:56:43]free content buf [10:56:43]Sock 8.Close socket [10:56:43]Sock 8.Thread stoped [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]OFD Sender: No OFD packet to send [10:57:32]OFD Sender: No OFD packet to send [10:57:37]OFD Sender: No OFD packet to send [10:57:42]OFD Sender: No OFD packet to send [10:57:47]OFD Sender: No OFD packet to send [10:57:52]OFD Sender: No OFD packet to send [10:57:57]OFD Sender: No OFD packet to send [10:58:02]OFD Sender: No OFD packet to send [10:58:07]OFD Sender: No OFD packet to send [10:58:12]OFD Sender: No OFD packet to send [10:58:17]OFD Sender: No OFD packet to send [10:58:22]OFD Sender: No OFD packet to send [10:58:27]OFD Sender: No OFD packet to send [10:58:32]OFD Sender: No OFD packet to send [10:58:37]OFD Sender: No OFD packet to send [10:58:42]OFD Sender: No OFD packet to send [10:58:47]OFD Sender: No OFD packet to send [10:58:52]OFD Sender: No OFD packet to send [10:58:57]OFD Sender: No OFD packet to send [10:59:02]OFD Sender: No OFD packet to send [10:59:07]OFD Sender: No OFD packet to send [10:59:12]OFD Sender: No OFD packet to send [10:59:17]OFD Sender: No OFD packet to send [10:59:22]OFD Sender: No OFD packet to send [10:59:27]OFD Sender: No OFD packet to send [10:59:32]OFD Sender: No OFD packet to send [10:59:37]OFD Sender: No OFD packet to send [10:59:42]OFD Sender: No OFD packet to send [10:59:47]OFD Sender: No OFD packet to send [10:59:52]OFD Sender: No OFD packet to send [10:59:57]OFD Sender: No OFD packet to send [11:00:02]OFD Sender: No OFD packet to send [11:00:07]OFD Sender: No OFD packet to send [11:00:12]OFD Sender: No OFD packet to send [11:00:17]OFD Sender: No OFD packet to send [11:00:22]OFD Sender: No OFD packet to send [11:00:27]OFD Sender: No OFD packet to send [11:00:32]OFD Sender: No OFD packet to send [11:00:37]OFD Sender: No OFD packet to send [11:00:42]OFD Sender: No OFD packet to send [11:00:47]OFD Sender: No OFD packet to send [11:00:52]OFD Sender: No OFD packet to send [11:00:57]OFD Sender: No OFD packet to send [11:01:02]OFD Sender: No OFD packet to send [11:01:07]OFD Sender: No OFD packet to send [11:01:12]OFD Sender: No OFD packet to send [11:01:17]OFD Sender: No OFD packet to send [11:01:22]OFD Sender: No OFD packet to send [11:01:27]OFD Sender: No OFD packet to send [11:01:32]OFD Sender: No OFD packet to send [11:01:37]OFD Sender: No OFD packet to send [11:01:42]OFD Sender: No OFD packet to send [11:01:47]OFD Sender: No OFD packet to send [11:01:52]OFD Sender: No OFD packet to send [11:01:57]OFD Sender: No OFD packet to send [11:02:02]OFD Sender: No OFD packet to send [11:02:07]OFD Sender: No OFD packet to send [11:02:12]OFD Sender: No OFD packet to send [11:02:17]OFD Sender: No OFD packet to send [11:02:22]OFD Sender: No OFD packet to send [11:02:27]OFD Sender: No OFD packet to send [11:02:32]OFD Sender: No OFD packet to send [11:02:37]OFD Sender: No OFD packet to send [11:02:42]OFD Sender: No OFD packet to send [11:02:47]OFD Sender: No OFD packet to send [11:02:52]OFD Sender: No OFD packet to send [11:02:57]OFD Sender: No OFD packet to send [11:03:02]OFD Sender: No OFD packet to send [11:03:07]OFD Sender: No OFD packet to send [11:03:12]OFD Sender: No OFD packet to send [11:03:17]OFD Sender: No OFD packet to send [11:03:22]OFD Sender: No OFD packet to send [11:03:27]OFD Sender: No OFD packet to send [11:03:32]OFD Sender: No OFD packet to send [11:03:37]OFD Sender: No OFD packet to send [11:03:42]OFD Sender: No OFD packet to send [11:03:47]OFD Sender: No OFD packet to send [11:03:52]OFD Sender: No OFD packet to send [11:03:57]OFD Sender: No OFD packet to send [11:04:02]OFD Sender: No OFD packet to send [11:04:07]OFD Sender: No OFD packet to send [11:04:12]OFD Sender: No OFD packet to send [11:04:17]OFD Sender: No OFD packet to send [11:04:22]OFD Sender: No OFD packet to send [11:04:27]OFD Sender: No OFD packet to send [11:04:32]OFD Sender: No OFD packet to send [11:04:37]OFD Sender: No OFD packet to send [11:04:42]OFD Sender: No OFD packet to send [11:04:47]OFD Sender: No OFD packet to send [11:04:52]OFD Sender: No OFD packet to send [11:04:57]OFD Sender: No OFD packet to send [11:05:02]OFD Sender: No OFD packet to send [11:05:07]OFD Sender: No OFD packet to send [11:05:12]OFD Sender: No OFD packet to send [11:05:17]OFD Sender: No OFD packet to send [11:05:22]OFD Sender: No OFD packet to send [11:05:27]OFD Sender: No OFD packet to send [11:05:32]OFD Sender: No OFD packet to send [11:05:37]OFD Sender: No OFD packet to send [11:05:42]OFD Sender: No OFD packet to send [11:05:47]OFD Sender: No OFD packet to send [11:05:52]OFD Sender: No OFD packet to send [11:05:57]OFD Sender: No OFD packet to send [11:06:02]OFD Sender: No OFD packet to send [11:06:07]OFD Sender: No OFD packet to send [11:06:12]OFD Sender: No OFD packet to send [11:06:17]OFD Sender: No OFD packet to send [11:06:22]OFD Sender: No OFD packet to send [11:06:27]OFD Sender: No OFD packet to send [11:06:32]OFD Sender: No OFD packet to send [11:06:37]OFD Sender: No OFD packet to send [11:06:42]OFD Sender: No OFD packet to send [11:06:47]OFD Sender: No OFD packet to send [11:06:52]OFD Sender: No OFD packet to send [11:06:57]OFD Sender: No OFD packet to send [11:07:02]OFD Sender: No OFD packet to send [11:07:07]OFD Sender: No OFD packet to send [11:07:12]OFD Sender: No OFD packet to send [11:07:17]OFD Sender: No OFD packet to send [11:07:22]OFD Sender: No OFD packet to send [11:07:27]OFD Sender: No OFD packet to send [11:07:32]OFD Sender: No OFD packet to send [11:07:37]OFD Sender: No OFD packet to send [11:07:42]OFD Sender: No OFD packet to send [11:07:47]OFD Sender: No OFD packet to send [11:07:52]OFD Sender: No OFD packet to send [11:07:57]OFD Sender: No OFD packet to send [11:08:02]OFD Sender: No OFD packet to send [11:08:07]OFD Sender: No OFD packet to send [11:08:12]OFD Sender: No OFD packet to send [11:08:17]OFD Sender: No OFD packet to send [11:08:22]OFD Sender: No OFD packet to send [11:08:27]OFD Sender: No OFD packet to send [11:08:32]accept exits with 9 [11:08:32]New connection [11:08:32]New thread 3067243876 created [11:08:32]Thread 3067100516 joined [11:08:32]Waiting for new connection... [11:08:32] Sock 9.Parse request [11:08:32]Sock 9.Check first char [11:08:32]Sock 9.First char is OK [11:08:32]request: POST /json_proto HTTP/1.0 [11:08:32]Method: POST [11:08:32]URL: /json_proto [11:08:32]Method is POST - this is cgi request [11:08:32]url: /json_proto [11:08:32]query_string will be loaded in cgi processing [11:08:32]execute_cgi json_proto POST (null) [11:08:32]execute_cgi path=json_proto method=POST [11:08:32]POST find Content-Length [11:08:32]Host: 172.17.62.6:8080 [11:08:32]Content-Length: 931 [11:08:32]Content-Type: application/json [11:08:32] [11:08:32]POST finish read [11:08:32]Found Content-Length = 931 [11:08:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32788", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002328404", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:08:32]execute_script... [11:08:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32788", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002328404", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 0,5\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:08:32]POST & json_proto [11:08:32]process_json_proto [11:08:32]json parsed OK: [11:08:32]protocol is kg_v1.0 [11:08:32]action value=close_receipt [11:08:32]process_action close_receipt [11:08:32]cmd_close_receipt [11:08:32]MH_GetDate [11:08:32]Write to MH i2c: F0 00 00 42 28 59 [11:08:32]Write i2c OK [11:08:32]MH_I2C_Read... [11:08:32]Read from MH i2c: F0 [11:08:32]MH_I2C_Read... [11:08:32]Read from MH i2c: F0 09 00 [11:08:32]MH_I2C_Read... [11:08:32]Read from MH i2c: F0 09 00 42 28 00 C0 50 22 66 61 69 D2 64 FA [11:08:32]GetLastDocTimeStamp 1713523744 [11:08:32]current date 1713524928 [11:08:32]FM_GetShiftState [11:08:32]SAM_PROTO_GetShiftState [11:08:32]wFMCommunicate request_size=4 [11:08:32]MH_SAM_APDU [11:08:32]CAPDU: 80 13 01 00 [11:08:32]Write to MH i2c: E2 08 00 43 28 80 13 01 00 00 00 00 00 E8 [11:08:32]Write i2c OK [11:08:32]MH_I2C_Read... [11:08:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:08:32]Read from MH i2c: E2 [11:08:32]MH_I2C_Read... [11:08:32]Read from MH i2c: E2 0E 00 [11:08:32]MH_I2C_Read... [11:08:32]Read from MH i2c: E2 0E 00 43 28 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 DE [11:08:32]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [11:08:32]wFMCommunicate OK [11:08:32]SAM_PROTO_GetShiftState done [11:08:32]FM_GetShiftState done [11:08:32]opened in 1713485995 [11:08:32]opened+sec_in_day 1713572395 [11:08:32]quantity*price = 4000 [11:08:32]sum+1 = 4001 [11:08:32]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870002328404 Вода ASU пит н.газ мята ПЭТ 0,5л 1.000 * 65.00 = 65.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.92 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 14 19.04.2024 11:08 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12512 ФПД: 41459478941610 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T110848&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12512&fm=41459478941610&tin=02508201610067®Number=0000000000100748&sum=10500 0 [11:08:33]StoreToDocumentArchive [11:08:33]shift 279 fd 12512 [11:08:33]save to /storage/0279/doc_00012512 [11:08:33]save last doc name /storage/0279/doc_00012512 to /storage/kkm_last_doc_name [11:08:33]save OK [11:08:33]Clear old archive folders... [11:08:33]ProcessDocumentItem done err = 0, tmpTLVsize=394 [11:08:33]tlvbuf is 01D57170 [11:08:33]SAM_PROTO_ClearQueue [11:08:33]wFMCommunicate request_size=4 [11:08:33]MH_SAM_APDU [11:08:33]CAPDU: 80 09 00 00 [11:08:33]Write to MH i2c: E2 08 00 50 28 80 09 00 00 00 00 00 00 EA [11:08:33]Write i2c OK [11:08:33]MH_I2C_Read... [11:08:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:08:33]Read from MH i2c: E2 [11:08:33]MH_I2C_Read... [11:08:33]Read from MH i2c: E2 03 00 [11:08:33]MH_I2C_Read... [11:08:33]Read from MH i2c: E2 03 00 50 28 00 90 00 EC [11:08:33]RAPDU: 90 00 [11:08:33]wFMCommunicate OK [11:08:33]SAM_PROTO_ClearQueue done [11:08:33]KKMCreateOFDPacket [11:08:33]OFDProtocolAddRootSTLVToBuf [11:08:33]FM_MakeSignedData [11:08:33]FM_MakeSignedData [11:08:33]SAM_PROTO_SignData [11:08:33]wFMCommunicate request_size=4 [11:08:33]MH_SAM_APDU [11:08:33]CAPDU: 80 0D 01 02 [11:08:33]Write to MH i2c: E2 08 00 51 28 80 0D 01 02 00 00 00 00 F2 [11:08:33]Write i2c OK [11:08:33]MH_I2C_Read... [11:08:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:08:33]Read from MH i2c: E2 [11:08:33]MH_I2C_Read... [11:08:33]Read from MH i2c: E2 03 00 [11:08:33]MH_I2C_Read... [11:08:33]Read from MH i2c: E2 03 00 51 28 00 90 00 ED [11:08:33]RAPDU: 90 00 [11:08:33]wFMCommunicate OK [11:08:33]wFMCommunicate request_size=255 [11:08:33]MH_SAM_APDU [11:08:33]CAPDU: 80 0D 02 02 FA 03 00 8A 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 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 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 34 30 34 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 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 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F [11:08:33]Write to MH i2c: E2 02 01 52 28 80 0D 02 02 FA 00 03 00 8A 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 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 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 34 30 34 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 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 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 8C [11:08:33]Write i2c OK [11:08:33]MH_I2C_Read... [11:08:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:08:34]Read from MH i2c: E2 [11:08:34]MH_I2C_Read... [11:08:34]Read from MH i2c: E2 03 00 [11:08:34]MH_I2C_Read... [11:08:34]Read from MH i2c: E2 03 00 52 28 00 90 00 EE [11:08:34]RAPDU: 90 00 [11:08:34]wFMCommunicate OK [11:08:34]wFMCommunicate request_size=153 [11:08:34]MH_SAM_APDU [11:08:34]CAPDU: 80 0D 02 02 94 00 F6 03 01 00 01 F7 03 06 00 5C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 C0 50 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E0 30 00 00 35 04 06 00 25 B5 09 83 CF AA [11:08:34]Write to MH i2c: E2 9C 00 53 28 80 0D 02 02 94 00 00 F6 03 01 00 01 F7 03 06 00 5C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 C0 50 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E0 30 00 00 35 04 06 00 25 B5 09 83 CF AA 00 00 DC [11:08:34]Write i2c OK [11:08:34]MH_I2C_Read... [11:08:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:08:34]Read from MH i2c: E2 [11:08:34]MH_I2C_Read... [11:08:34]Read from MH i2c: E2 03 00 [11:08:34]MH_I2C_Read... [11:08:34]Read from MH i2c: E2 03 00 53 28 00 90 00 EF [11:08:34]RAPDU: 90 00 [11:08:34]wFMCommunicate OK [11:08:34]wFMCommunicate request_size=4 [11:08:34]MH_SAM_APDU [11:08:34]CAPDU: 80 0D 03 02 [11:08:34]Write to MH i2c: E2 08 00 54 28 80 0D 03 02 00 00 00 00 F7 [11:08:34]Write i2c OK [11:08:34]MH_I2C_Read... [11:08:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:08:34]Read from MH i2c: E2 [11:08:34]MH_I2C_Read... [11:08:34]Read from MH i2c: E2 0B 00 [11:08:34]MH_I2C_Read... [11:08:34]Read from MH i2c: E2 0B 00 54 28 00 CD DC 8C C6 D9 C4 0A F7 90 00 91 [11:08:34]RAPDU: CD DC 8C C6 D9 C4 0A F7 90 00 [11:08:34]wFMCommunicate OK [11:08:34]SAM_PROTO_SignData done [11:08:34]FM_MakeSignedData done [11:08:34]CreateOFDProtocolMessage [11:08:34]wFMCommunicate request_size=4 [11:08:34]MH_SAM_APDU [11:08:34]CAPDU: 80 11 00 00 [11:08:34]Write to MH i2c: E2 08 00 55 28 80 11 00 00 00 00 00 00 F7 [11:08:34]Write i2c OK [11:08:34]MH_I2C_Read... [11:08:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:08:34]Read from MH i2c: E2 [11:08:34]MH_I2C_Read... [11:08:34]Read from MH i2c: E2 17 00 [11:08:34]MH_I2C_Read... [11:08:34]Read from MH i2c: E2 17 00 55 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 51 [11:08:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [11:08:34]wFMCommunicate OK [11:08:34]CreateOFDProtocolMessage done [11:08:34]OFDSenderStorePacket 12512 [11:08:34]StoreOFDPacket docnum=12512 [11:08:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 9E 01 00 00 5C 0F 96 01 3E F0 5A 03 01 00 03 00 8A 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 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 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 34 30 34 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 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 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 C0 50 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E0 30 00 00 35 04 06 00 25 B5 09 83 CF AA CD DC 8C C6 D9 C4 0A F7 [11:08:34]CheckFolder [11:08:34]dirname=/storage/ofd_packets [11:08:34]CheckFolder done [11:08:34]ProducePacketName [11:08:34]name=ofd_packets/00012512 [11:08:34]NVStorageSaveData ofd_packets/00012512 [11:08:34]File name is /storage/ofd_packets/00012512 [11:08:34]Write 444 bytes [11:08:34]NVStorageSaveData done [11:08:34]OFDSenderStorePacket done [11:08:34]KKMCreateOFDPacket done [11:08:34]NVStorageSaveData kkm_last_timestamp [11:08:34]File name is /storage/kkm_last_timestamp [11:08:34]Write 4 bytes [11:08:34]NVStorageSaveData done [11:08:34]ExternCall_PrintAddStr [11:08:34]wPrintStart [11:08:34]Write to MH i2c: 01 00 00 56 28 7E [11:08:34]Write i2c OK [11:08:34]MH_I2C_Read... [11:08:34]Read from MH i2c: 01 [11:08:34]MH_I2C_Read... [11:08:34]OFD Sender: Processing packet 12512 [packets to send 7, broken 6] [11:08:34]Read from MH i2c: ProducePacketName [11:08:34]01 name=ofd_packets/00012512 [11:08:34]07 00 [11:08:34]OFD Sender: To server: pG, [11:08:34]MH_I2C_Read... [11:08:34]CommunicateWithHost lk.salyk.kg:30040 [11:08:34]ConnectInit lk.salyk.kg [11:08:34]Read from MH i2c: 01 07 00 56 28 00 00 00 00 00 FF 0F 93 [11:08:34]RasterBufferAndPrint [11:08:34]line Счет N : (3)32788 [11:08:34]line ИНН: 02508201610067 [11:08:34]line Контрольно-Кассовый Чек [11:08:34]line ПРОДАЖА [11:08:34]line Товар: 4700000160211 [11:08:34]line Вода Легенда 0,5л [11:08:34]line 1.000 * 40.00 [11:08:34]line = 40.00 [11:08:34]line НДС 12% НСП 1% [11:08:34]line > о реализуемом товаре [11:08:34]line Товар: 4870002328404 [11:08:34]line Вода ASU пит н.газ мята ПЭТ 0,5л [11:08:34]line 1.000 * 65.00 [11:08:34]line = 65.00 [11:08:34]line НДС 12% НСП 1% [11:08:34]line > о реализуемом товаре [11:08:34]line ИТОГО: 105.00 [11:08:34]line НСП 1% : 0.92 [11:08:34]line НДС 12% : 11.15 [11:08:34]line Наличными: 105.00 [11:08:34]line Безнал.: 0.00 [11:08:34]line Место: АЗС № 106 "Партнер Нефть" [11:08:34]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [11:08:34]line СНО: Общий режим [11:08:34]line Чек 14 19.04.2024 11:08 [11:08:34]line Смена: 279 ФФД: 1.0 [11:08:34]line ЗНМ: 0300000004 [11:08:34]line РНМ: 0000000000100748 [11:08:34]line Версия ККМ: 001 [11:08:34]line ФМ: 0000000000965685 [11:08:34]line ФД: 12512 [11:08:34]line ФПД: 41459478941610 [11:08:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T110848&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12512&fm=41459478941610&tin=02508201610067®Number=0000000000100748&sum=10500 [11:08:34]line 0 [11:08:34]written 0, free lines is 4095 [11:08:34]Connected sock=10 [11:08:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 9E 01 00 00 5C 0F 96 01 3E F0 5A 03 01 00 03 00 8A 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 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 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 34 30 34 06 04 33 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 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 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 C0 50 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E0 30 00 00 35 04 06 00 25 B5 09 83 CF AA CD DC 8C C6 D9 C4 0A F7 [11:08:35]Write to MH i2c: 01 00 00 84 28 AC [11:08:35]Write i2c OK [11:08:35]MH_I2C_Read... [11:08:35]Read from MH i2c: 01 [11:08:35]MH_I2C_Read... [11:08:35]Read from MH i2c: 01 07 00 [11:08:35]MH_I2C_Read... [11:08:35]Read from MH i2c: 01 07 00 84 28 00 00 00 00 00 8D 0C 4C [11:08:35]RasterBufferAndPrint [11:08:35]line [11:08:35]line [11:08:35]line [11:08:35]line [11:08:35]line [11:08:35]written 0, free lines is 3219 [11:08:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 72 94 47 00 9A E4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E0 30 00 00 F4 03 04 00 48 F9 21 66 B6 04 01 00 00 AF BE B6 10 B7 D7 39 0A [11:08:35]CommunicateWithHost err = 0 [11:08:35]CheckOFDResponse [11:08:35]1017 (14) - 77093643461234 [11:08:35]1041 (16) - 0000000000965685 [11:08:35]1040 (4) - 12512 [11:08:35]1012 (4) - 19.04.2024 04:55 [11:08:35]1206 (1) - 0 [11:08:35]OFD Sender: Remove packet 12512 [11:08:35]ProducePacketName [11:08:35]name=ofd_packets/00012512 [11:08:35]NVStorageDeleteData [11:08:35]MH_Cut [11:08:35]Write to MH i2c: D1 01 00 8B 28 01 85 [11:08:35]Write i2c OK [11:08:35]MH_I2C_Read... [11:08:35]Read from MH i2c: D1 [11:08:35]MH_I2C_Read... [11:08:35]Read from MH i2c: D1 01 00 [11:08:35]MH_I2C_Read... [11:08:35]Read from MH i2c: D1 01 00 8B 28 00 84 [11:08:35]Write to MH i2c: 01 00 00 8C 28 B4 [11:08:35]Write i2c OK [11:08:35]MH_I2C_Read... [11:08:35]OFD Sender: No OFD packet to send [11:08:35]*** Cut start [11:08:35]*** Partial cut [11:08:35]*** CUTSNS_PIN = 1 [11:08:35]*** CUTSNS_PIN = 0 [11:08:36]*** Brake cut motor [11:08:36]Read from MH i2c: 01 [11:08:36]MH_I2C_Read... [11:08:36]*** Stop cut motor [11:08:36]*** Cut end [11:08:36]Read from MH i2c: 01 07 00 [11:08:36]MH_I2C_Read... [11:08:36]Read from MH i2c: 01 07 00 8C 28 00 00 00 00 00 FF 0F C9 [11:08:36]process_action close_receipt done [11:08:36]requested_data is exist [11:08:36]produce_requested_data [11:08:36]requested_item fm.sn is exist - process it [11:08:36]wFMCommunicate request_size=4 [11:08:36]MH_SAM_APDU [11:08:36]CAPDU: 80 11 00 00 [11:08:36]Write to MH i2c: E2 08 00 8D 28 80 11 00 00 00 00 00 00 2F [11:08:36]Write i2c OK [11:08:36]MH_I2C_Read... [11:08:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:08:36]Read from MH i2c: E2 [11:08:36]MH_I2C_Read... [11:08:36]Read from MH i2c: E2 17 00 [11:08:36]MH_I2C_Read... [11:08:36]Read from MH i2c: E2 17 00 8D 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 89 [11:08:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [11:08:36]wFMCommunicate OK [11:08:36]requested_item fd.num is exist - process it [11:08:36]SAM_PROTO_GetFieldsCounters [11:08:36]wFMCommunicate request_size=4 [11:08:36]MH_SAM_APDU [11:08:36]CAPDU: 80 13 00 00 [11:08:36]Write to MH i2c: E2 08 00 8E 28 80 13 00 00 00 00 00 00 32 [11:08:36]Write i2c OK [11:08:36]MH_I2C_Read... [11:08:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:08:36]Read from MH i2c: E2 [11:08:36]MH_I2C_Read... [11:08:36]Read from MH i2c: E2 62 00 [11:08:36]MH_I2C_Read... [11:08:36]Read from MH i2c: E2 62 00 8E 28 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 E0 30 00 00 0E 04 04 00 17 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 A7 [11:08:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 E0 30 00 00 0E 04 04 00 17 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 [11:08:36]wFMCommunicate OK [11:08:36]SAM_PROTO_GetFieldsCounters done [11:08:36]requested_item shift.num is exist - process it [11:08:36]requested_item shift.opened is exist - process it [11:08:36]req_shift_opened [11:08:36]FM_GetShiftState [11:08:36]SAM_PROTO_GetShiftState [11:08:36]wFMCommunicate request_size=4 [11:08:36]MH_SAM_APDU [11:08:36]CAPDU: 80 13 01 00 [11:08:36]Write to MH i2c: E2 08 00 8F 28 80 13 01 00 00 00 00 00 34 [11:08:36]Write i2c OK [11:08:36]MH_I2C_Read... [11:08:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:08:36]Read from MH i2c: E2 [11:08:36]MH_I2C_Read... [11:08:36]Read from MH i2c: E2 0E 00 [11:08:36]MH_I2C_Read... [11:08:36]Read from MH i2c: E2 0E 00 8F 28 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 2A [11:08:36]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [11:08:36]wFMCommunicate OK [11:08:36]SAM_PROTO_GetShiftState done [11:08:36]FM_GetShiftState done [11:08:36]req_shift_opened done [11:08:36]requested_item shift.open_date is exist - process it [11:08:36]req_shift_open_date [11:08:36]req_shift_open_date done [11:08:36]produce_requested_data done [11:08:36]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12512,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [11:08:36]process_action_free close_receipt [11:08:36]json_value_free [11:08:36]json_value_free done [11:08:36]process_json_proto returns [11:08:36]Send response to host [11:08:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12512,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [11:08:36]free response buf [11:08:36]execute_script done [11:08:36]execute_script returns [11:08:36]free content buf [11:08:36]Sock 9.Close socket [11:08:36]Sock 9.Thread stoped [11:08:40]OFD Sender: No OFD packet to send [11:08:45]OFD Sender: No OFD packet to send [11:08:50]OFD Sender: No OFD packet to send [11:08:55]OFD Sender: No OFD packet to send [11:09:00]OFD Sender: No OFD packet to send [11:09:05]OFD Sender: No OFD packet to send [11:09:10]OFD Sender: No OFD packet to send [11:09:15]OFD Sender: No OFD packet to send [11:09:20]OFD Sender: No OFD packet to send [11:09:25]OFD Sender: No OFD packet to send [11:09:30]OFD Sender: No OFD packet to send [11:09:35]OFD Sender: No OFD packet to send [11:09:40]OFD Sender: No OFD packet to send [11:09:45]OFD Sender: No OFD packet to send [11:09:50]OFD Sender: No OFD packet to send [11:09:55]OFD Sender: No OFD packet to send [11:10:00]OFD Sender: No OFD packet to send [11:10:05]OFD Sender: No OFD packet to send [11:10:10]OFD Sender: No OFD packet to send [11:10:15]OFD Sender: No OFD packet to send [11:10:20]OFD Sender: No OFD packet to send [11:10:25]OFD Sender: No OFD packet to send [11:10:30]OFD Sender: No OFD packet to send [11:10:35]OFD Sender: No OFD packet to send [11:10:40]OFD Sender: No OFD packet to send [11:10:45]OFD Sender: No OFD packet to send [11:10:50]OFD Sender: No OFD packet to send [11:10:55]OFD Sender: No OFD packet to send [11:11:00]OFD Sender: No OFD packet to send [11:11:05]OFD Sender: No OFD packet to send [11:11:10]OFD Sender: No OFD packet to send [11:11:15]OFD Sender: No OFD packet to send [11:11:20]OFD Sender: No OFD packet to send [11:11:25]OFD Sender: No OFD packet to send [11:11:30]OFD Sender: No OFD packet to send [11:11:35]OFD Sender: No OFD packet to send [11:11:40]OFD Sender: No OFD packet to send [11:11:45]OFD Sender: No OFD packet to send [11:11:50]OFD Sender: No OFD packet to send [11:11:55]OFD Sender: No OFD packet to send [11:12:00]OFD Sender: No OFD packet to send [11:12:05]OFD Sender: No OFD packet to send [11:12:10]OFD Sender: No OFD packet to send [11:12:15]OFD Sender: No OFD packet to send [11:12:20]OFD Sender: No OFD packet to send [11:12:25]OFD Sender: No OFD packet to send [11:12:30]OFD Sender: No OFD packet to send [11:12:35]OFD Sender: No OFD packet to send [11:12:37]accept exits with 8 [11:12:37]New connection [11:12:37]New thread 3067100516 created [11:12:37]Thread 3067243876 joined [11:12:37]Waiting for new connection... [11:12:37] Sock 8.Parse request [11:12:37]Sock 8.Check first char [11:12:37]Sock 8.First char is OK [11:12:37]request: POST /json_proto HTTP/1.0 [11:12:37]Method: POST [11:12:37]URL: /json_proto [11:12:37]Method is POST - this is cgi request [11:12:37]url: /json_proto [11:12:37]query_string will be loaded in cgi processing [11:12:37]execute_cgi json_proto POST (null) [11:12:37]execute_cgi path=json_proto method=POST [11:12:37]POST find Content-Length [11:12:37]Host: 172.17.62.6:8080 [11:12:37]Content-Length: 621 [11:12:37]Content-Type: application/json [11:12:37] [11:12:37]POST finish read [11:12:37]Found Content-Length = 621 [11:12:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32789", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:12:37]execute_script... [11:12:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32789", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:12:37]POST & json_proto [11:12:37]process_json_proto [11:12:37]json parsed OK: [11:12:37]protocol is kg_v1.0 [11:12:37]action value=close_receipt [11:12:37]process_action close_receipt [11:12:37]cmd_close_receipt [11:12:37]MH_GetDate [11:12:37]Write to MH i2c: F0 00 00 90 28 A7 [11:12:37]Write i2c OK [11:12:37]MH_I2C_Read... [11:12:37]Read from MH i2c: F0 [11:12:37]MH_I2C_Read... [11:12:37]Read from MH i2c: F0 09 00 [11:12:37]MH_I2C_Read... [11:12:37]Read from MH i2c: F0 09 00 90 28 00 B5 51 22 66 61 69 D2 64 3E [11:12:37]GetLastDocTimeStamp 1713524928 [11:12:37]current date 1713525173 [11:12:37]FM_GetShiftState [11:12:37]SAM_PROTO_GetShiftState [11:12:37]wFMCommunicate request_size=4 [11:12:37]MH_SAM_APDU [11:12:37]CAPDU: 80 13 01 00 [11:12:37]Write to MH i2c: E2 08 00 91 28 80 13 01 00 00 00 00 00 36 [11:12:37]Write i2c OK [11:12:37]MH_I2C_Read... [11:12:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:12:37]Read from MH i2c: E2 [11:12:37]MH_I2C_Read... [11:12:37]Read from MH i2c: E2 0E 00 [11:12:37]MH_I2C_Read... [11:12:37]Read from MH i2c: E2 0E 00 91 28 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 2C [11:12:37]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [11:12:37]wFMCommunicate OK [11:12:37]SAM_PROTO_GetShiftState done [11:12:37]FM_GetShiftState done [11:12:37]opened in 1713485995 [11:12:37]opened+sec_in_day 1713572395 [11:12:37]quantity*price = 13800 [11:12:37]sum+1 = 13801 [11:12:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 15 19.04.2024 11:12 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12513 ФПД: 276074431308459 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T111253&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12513&fm=276074431308459&tin=02508201610067®Number=0000000000100748&sum=13800 0 [11:12:38]StoreToDocumentArchive [11:12:38]shift 279 fd 12513 [11:12:38]save to /storage/0279/doc_00012513 [11:12:38]save last doc name /storage/0279/doc_00012513 to /storage/kkm_last_doc_name [11:12:38]save OK [11:12:38]Clear old archive folders... [11:12:38]ProcessDocumentItem done err = 0, tmpTLVsize=274 [11:12:38]tlvbuf is B6F9C8E0 [11:12:38]SAM_PROTO_ClearQueue [11:12:38]wFMCommunicate request_size=4 [11:12:38]MH_SAM_APDU [11:12:38]CAPDU: 80 09 00 00 [11:12:38]Write to MH i2c: E2 08 00 9E 28 80 09 00 00 00 00 00 00 38 [11:12:38]Write i2c OK [11:12:38]MH_I2C_Read... [11:12:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:12:38]Read from MH i2c: E2 [11:12:38]MH_I2C_Read... [11:12:38]Read from MH i2c: E2 03 00 [11:12:38]MH_I2C_Read... [11:12:38]Read from MH i2c: E2 03 00 9E 28 00 90 00 3A [11:12:38]RAPDU: 90 00 [11:12:38]wFMCommunicate OK [11:12:38]SAM_PROTO_ClearQueue done [11:12:38]KKMCreateOFDPacket [11:12:38]OFDProtocolAddRootSTLVToBuf [11:12:38]FM_MakeSignedData [11:12:38]FM_MakeSignedData [11:12:38]SAM_PROTO_SignData [11:12:38]wFMCommunicate request_size=4 [11:12:38]MH_SAM_APDU [11:12:38]CAPDU: 80 0D 01 02 [11:12:38]Write to MH i2c: E2 08 00 9F 28 80 0D 01 02 00 00 00 00 40 [11:12:38]Write i2c OK [11:12:38]MH_I2C_Read... [11:12:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:12:38]Read from MH i2c: E2 [11:12:38]MH_I2C_Read... [11:12:38]Read from MH i2c: E2 03 00 [11:12:38]MH_I2C_Read... [11:12:38]Read from MH i2c: E2 03 00 9F 28 00 90 00 3B [11:12:38]RAPDU: 90 00 [11:12:38]wFMCommunicate OK [11:12:38]wFMCommunicate request_size=255 [11:12:38]MH_SAM_APDU [11:12:38]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 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 B5 51 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 [11:12:38]Write to MH i2c: E2 02 01 A0 28 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 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 B5 51 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 00 00 2D [11:12:38]Write i2c OK [11:12:38]MH_I2C_Read... [11:12:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:12:38]Read from MH i2c: E2 [11:12:38]MH_I2C_Read... [11:12:38]Read from MH i2c: E2 03 00 [11:12:38]MH_I2C_Read... [11:12:38]Read from MH i2c: E2 03 00 A0 28 00 90 00 3C [11:12:38]RAPDU: 90 00 [11:12:38]wFMCommunicate OK [11:12:38]wFMCommunicate request_size=33 [11:12:38]MH_SAM_APDU [11:12:38]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E1 30 00 00 35 04 06 00 FB 16 96 68 E2 AB [11:12:38]Write to MH i2c: E2 24 00 A1 28 80 0D 02 02 1C 00 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E1 30 00 00 35 04 06 00 FB 16 96 68 E2 AB 00 00 86 [11:12:38]Write i2c OK [11:12:38]MH_I2C_Read... [11:12:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:12:38]Read from MH i2c: E2 [11:12:38]MH_I2C_Read... [11:12:38]Read from MH i2c: E2 03 00 [11:12:38]MH_I2C_Read... [11:12:38]Read from MH i2c: E2 03 00 A1 28 00 90 00 3D [11:12:38]RAPDU: 90 00 [11:12:38]wFMCommunicate OK [11:12:38]wFMCommunicate request_size=4 [11:12:38]MH_SAM_APDU [11:12:38]CAPDU: 80 0D 03 02 [11:12:38]Write to MH i2c: E2 08 00 A2 28 80 0D 03 02 00 00 00 00 45 [11:12:38]Write i2c OK [11:12:38]MH_I2C_Read... [11:12:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:12:38]Read from MH i2c: E2 [11:12:38]MH_I2C_Read... [11:12:38]Read from MH i2c: E2 0B 00 [11:12:38]MH_I2C_Read... [11:12:38]Read from MH i2c: E2 0B 00 A2 28 00 7E A1 B8 B5 99 F5 89 49 90 00 32 [11:12:38]RAPDU: 7E A1 B8 B5 99 F5 89 49 90 00 [11:12:38]wFMCommunicate OK [11:12:38]SAM_PROTO_SignData done [11:12:38]FM_MakeSignedData done [11:12:38]CreateOFDProtocolMessage [11:12:38]wFMCommunicate request_size=4 [11:12:38]MH_SAM_APDU [11:12:38]CAPDU: 80 11 00 00 [11:12:38]Write to MH i2c: E2 08 00 A3 28 80 11 00 00 00 00 00 00 45 [11:12:38]Write i2c OK [11:12:38]MH_I2C_Read... [11:12:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:12:38]Read from MH i2c: E2 [11:12:38]MH_I2C_Read... [11:12:38]Read from MH i2c: E2 17 00 [11:12:38]MH_I2C_Read... [11:12:38]Read from MH i2c: E2 17 00 A3 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 9F [11:12:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [11:12:38]wFMCommunicate OK [11:12:38]CreateOFDProtocolMessage done [11:12:38]OFDSenderStorePacket 12513 [11:12:38]StoreOFDPacket docnum=12513 [11:12:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 26 01 00 00 10 01 1E 01 A9 F8 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 B5 51 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E1 30 00 00 35 04 06 00 FB 16 96 68 E2 AB 7E A1 B8 B5 99 F5 89 49 [11:12:38]CheckFolder [11:12:38]dirname=/storage/ofd_packets [11:12:38]CheckFolder done [11:12:38]ProducePacketName [11:12:38]name=ofd_packets/00012513 [11:12:38]NVStorageSaveData ofd_packets/00012513 [11:12:38]File name is /storage/ofd_packets/00012513 [11:12:38]Write 324 bytes [11:12:38]NVStorageSaveData done [11:12:38]OFDSenderStorePacket done [11:12:38]KKMCreateOFDPacket done [11:12:38]NVStorageSaveData kkm_last_timestamp [11:12:38]File name is /storage/kkm_last_timestamp [11:12:38]Write 4 bytes [11:12:38]NVStorageSaveData done [11:12:38]ExternCall_PrintAddStr [11:12:38]wPrintStart [11:12:38]Write to MH i2c: 01 00 00 A4 28 CC [11:12:38]Write i2c OK [11:12:38]MH_I2C_Read... [11:12:38]Read from MH i2c: 01 [11:12:38]MH_I2C_Read... [11:12:38]Read from MH i2c: 01 07 00 [11:12:38]MH_I2C_Read... [11:12:38]Read from MH i2c: 01 07 00 A4 28 00 00 00 00 00 FF 0F E1 [11:12:38]RasterBufferAndPrint [11:12:38]line Счет N : (3)32789 [11:12:38]line ИНН: 02508201610067 [11:12:38]line Контрольно-Кассовый Чек [11:12:38]line ПРОДАЖА [11:12:38]line Товар: 4640030091645 [11:12:38]line Сигареты ESSE Exchange M [11:12:38]line 1.000 * 138.00 [11:12:38]line = 138.00 [11:12:38]line НДС 12% НСП 1% [11:12:38]line > о реализуемом товаре [11:12:38]line ИТОГО: 138.00 [11:12:38]line НСП 1% : 1.22 [11:12:38]line НДС 12% : 14.65 [11:12:38]line Наличными: 138.00 [11:12:38]line Безнал.: 0.00 [11:12:38]line Место: АЗС № 106 "Партнер Нефть" [11:12:38]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [11:12:38]line СНО: Общий режим [11:12:38]line Чек 15 19.04.2024 11:12 [11:12:38]line Смена: 279 ФФД: 1.0 [11:12:38]line ЗНМ: 0300000004 [11:12:38]line РНМ: 0000000000100748 [11:12:38]line Версия ККМ: 001 [11:12:38]line ФМ: 0000000000965685 [11:12:38]line ФД: 12513 [11:12:38]line ФПД: 276074431308459 [11:12:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T111253&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12513&fm=276074431308459&tin=02508201610067®Number=0000000000100748&sum=13800 [11:12:39]OFD Sender: Processing packet 12513 [packets to send 7, broken 6] [11:12:39]ProducePacketName [11:12:39]name=ofd_packets/00012513 [11:12:39]OFD Sender: To server: pG, [11:12:39]CommunicateWithHost lk.salyk.kg:30040 [11:12:39]ConnectInit lk.salyk.kg [11:12:39]line 0 [11:12:39]written 0, free lines is 4095 [11:12:39]Connected sock=10 [11:12:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 26 01 00 00 10 01 1E 01 A9 F8 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 B5 51 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E1 30 00 00 35 04 06 00 FB 16 96 68 E2 AB 7E A1 B8 B5 99 F5 89 49 [11:12:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 1B FD 47 00 E0 0A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 36 38 35 10 04 04 00 E1 30 00 00 F4 03 04 00 3C FA 21 66 B6 04 01 00 00 E0 4B 1C 00 66 FC 1D 90 [11:12:39]CommunicateWithHost err = 0 [11:12:39]CheckOFDResponse [11:12:39]1017 (14) - 77093643461234 [11:12:39]1041 (16) - 0000000000965685 [11:12:39]1040 (4) - 12513 [11:12:39]1012 (4) - 19.04.2024 04:59 [11:12:39]1206 (1) - 0 [11:12:39]OFD Sender: Remove packet 12513 [11:12:39]ProducePacketName [11:12:39]name=ofd_packets/00012513 [11:12:39]NVStorageDeleteData [11:12:39]Write to MH i2c: 01 00 00 CB 28 F3 [11:12:39]Write i2c OK [11:12:39]MH_I2C_Read... [11:12:39]Read from MH i2c: 01 [11:12:39]MH_I2C_Read... [11:12:39]Read from MH i2c: 01 07 00 [11:12:39]MH_I2C_Read... [11:12:39]Read from MH i2c: 01 07 00 CB 28 00 00 00 00 00 09 0D 10 [11:12:39]RasterBufferAndPrint [11:12:39]line [11:12:39]line [11:12:39]line [11:12:39]line [11:12:39]line [11:12:39]written 0, free lines is 3346 [11:12:39]MH_Cut [11:12:39]Write to MH i2c: D1 01 00 D2 28 01 CC [11:12:39]Write i2c OK [11:12:39]MH_I2C_Read... [11:12:39]Read from MH i2c: D1 [11:12:39]MH_I2C_Read... [11:12:39]Read from MH i2c: D1 01 00 [11:12:39]MH_I2C_Read... [11:12:39]Read from MH i2c: D1 01 00 D2 28 00 CB [11:12:39]Write to MH i2c: 01 00 00 D3 28 FB [11:12:39]Write i2c OK [11:12:39]MH_I2C_Read... [11:12:40]OFD Sender: No OFD packet to send [11:12:40]*** Cut start [11:12:40]*** Partial cut [11:12:40]*** CUTSNS_PIN = 1 [11:12:40]*** CUTSNS_PIN = 0 [11:12:40]*** Brake cut motor [11:12:41]Read from MH i2c: 01 [11:12:41]MH_I2C_Read... [11:12:41]*** Stop cut motor [11:12:41]*** Cut end [11:12:41]Read from MH i2c: 01 07 00 [11:12:41]MH_I2C_Read... [11:12:41]Read from MH i2c: 01 07 00 D3 28 00 00 00 00 00 FF 0F 10 [11:12:41]process_action close_receipt done [11:12:41]requested_data is exist [11:12:41]produce_requested_data [11:12:41]requested_item fm.sn is exist - process it [11:12:41]wFMCommunicate request_size=4 [11:12:41]MH_SAM_APDU [11:12:41]CAPDU: 80 11 00 00 [11:12:41]Write to MH i2c: E2 08 00 D4 28 80 11 00 00 00 00 00 00 76 [11:12:41]Write i2c OK [11:12:41]MH_I2C_Read... [11:12:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:12:41]Read from MH i2c: E2 [11:12:41]MH_I2C_Read... [11:12:41]Read from MH i2c: E2 17 00 [11:12:41]MH_I2C_Read... [11:12:41]Read from MH i2c: E2 17 00 D4 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 D0 [11:12:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [11:12:41]wFMCommunicate OK [11:12:41]requested_item fd.num is exist - process it [11:12:41]SAM_PROTO_GetFieldsCounters [11:12:41]wFMCommunicate request_size=4 [11:12:41]MH_SAM_APDU [11:12:41]CAPDU: 80 13 00 00 [11:12:41]Write to MH i2c: E2 08 00 D5 28 80 13 00 00 00 00 00 00 79 [11:12:41]Write i2c OK [11:12:41]MH_I2C_Read... [11:12:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:12:41]Read from MH i2c: E2 [11:12:41]MH_I2C_Read... [11:12:41]Read from MH i2c: E2 62 00 [11:12:41]MH_I2C_Read... [11:12:41]Read from MH i2c: E2 62 00 D5 28 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 E1 30 00 00 0E 04 04 00 17 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 F2 [11:12:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 E1 30 00 00 0E 04 04 00 17 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 [11:12:41]wFMCommunicate OK [11:12:41]SAM_PROTO_GetFieldsCounters done [11:12:41]requested_item shift.num is exist - process it [11:12:41]requested_item shift.opened is exist - process it [11:12:41]req_shift_opened [11:12:41]FM_GetShiftState [11:12:41]SAM_PROTO_GetShiftState [11:12:41]wFMCommunicate request_size=4 [11:12:41]MH_SAM_APDU [11:12:41]CAPDU: 80 13 01 00 [11:12:41]Write to MH i2c: E2 08 00 D6 28 80 13 01 00 00 00 00 00 7B [11:12:41]Write i2c OK [11:12:41]MH_I2C_Read... [11:12:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:12:41]Read from MH i2c: E2 [11:12:41]MH_I2C_Read... [11:12:41]Read from MH i2c: E2 0E 00 [11:12:41]MH_I2C_Read... [11:12:41]Read from MH i2c: E2 0E 00 D6 28 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 71 [11:12:41]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [11:12:41]wFMCommunicate OK [11:12:41]SAM_PROTO_GetShiftState done [11:12:41]FM_GetShiftState done [11:12:41]req_shift_opened done [11:12:41]requested_item shift.open_date is exist - process it [11:12:41]req_shift_open_date [11:12:41]req_shift_open_date done [11:12:41]produce_requested_data done [11:12:41]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12513,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [11:12:41]process_action_free close_receipt [11:12:41]json_value_free [11:12:41]json_value_free done [11:12:41]process_json_proto returns [11:12:41]Send response to host [11:12:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12513,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [11:12:41]free response buf [11:12:41]execute_script done [11:12:41]execute_script returns [11:12:41]free content buf [11:12:41]Sock 8.Close socket [11:12:41]Sock 8.Thread stoped [11:12:45]OFD Sender: No OFD packet to send [11:12:50]OFD Sender: No OFD packet to send [11:12:55]OFD Sender: No OFD packet to send [11:13:00]OFD Sender: No OFD packet to send [11:13:05]OFD Sender: No OFD packet to send [11:13:10]OFD Sender: No OFD packet to send [11:13:15]OFD Sender: No OFD packet to send [11:13:20]OFD Sender: No OFD packet to send [11:13:25]OFD Sender: No OFD packet to send [11:13:30]OFD Sender: No OFD packet to send [11:13:35]OFD Sender: No OFD packet to send [11:13:40]OFD Sender: No OFD packet to send [11:13:45]OFD Sender: No OFD packet to send [11:13:50]OFD Sender: No OFD packet to send [11:13:55]OFD Sender: No OFD packet to send [11:14:00]OFD Sender: No OFD packet to send [11:14:05]OFD Sender: No OFD packet to send [11:14:10]OFD Sender: No OFD packet to send [11:14:15]OFD Sender: No OFD packet to send [11:14:20]OFD Sender: No OFD packet to send [11:14:25]OFD Sender: No OFD packet to send [11:14:30]OFD Sender: No OFD packet to send [11:14:35]OFD Sender: No OFD packet to send [11:14:40]OFD Sender: No OFD packet to send [11:14:45]OFD Sender: No OFD packet to send [11:14:50]OFD Sender: No OFD packet to send [11:14:55]OFD Sender: No OFD packet to send [11:15:00]OFD Sender: No OFD packet to send [11:15:05]OFD Sender: No OFD packet to send [11:15:10]OFD Sender: No OFD packet to send [11:15:15]OFD Sender: No OFD packet to send [11:15:20]OFD Sender: No OFD packet to send [11:15:25]OFD Sender: No OFD packet to send [11:15:30]OFD Sender: No OFD packet to send [11:15:35]OFD Sender: No OFD packet to send [11:15:40]OFD Sender: No OFD packet to send [11:15:45]OFD Sender: No OFD packet to send [11:15:50]OFD Sender: No OFD packet to send [11:15:55]OFD Sender: No OFD packet to send [11:16:00]OFD Sender: No OFD packet to send [11:16:05]OFD Sender: No OFD packet to send [11:16:10]OFD Sender: No OFD packet to send [11:16:15]OFD Sender: No OFD packet to send [11:16:20]OFD Sender: No OFD packet to send [11:16:25]OFD Sender: No OFD packet to send [11:16:30]OFD Sender: No OFD packet to send [11:16:35]OFD Sender: No OFD packet to send [11:16:40]OFD Sender: No OFD packet to send [11:16:45]OFD Sender: No OFD packet to send [11:16:50]OFD Sender: No OFD packet to send [11:16:55]OFD Sender: No OFD packet to send [11:17:00]OFD Sender: No OFD packet to send [11:17:05]OFD Sender: No OFD packet to send [11:17:10]OFD Sender: No OFD packet to send [11:17:15]OFD Sender: No OFD packet to send [11:17:20]OFD Sender: No OFD packet to send [11:17:25]OFD Sender: No OFD packet to send [11:17:30]OFD Sender: No OFD packet to send [11:17:35]OFD Sender: No OFD packet to send [11:17:40]OFD Sender: No OFD packet to send [11:17:45]OFD Sender: No OFD packet to send [11:17:50]OFD Sender: No OFD packet to send [11:17:55]OFD Sender: No OFD packet to send [11:18:00]OFD Sender: No OFD packet to send [11:18:05]OFD Sender: No OFD packet to send [11:18:10]OFD Sender: No OFD packet to send [11:18:15]OFD Sender: No OFD packet to send [11:18:20]OFD Sender: No OFD packet to send [11:18:25]OFD Sender: No OFD packet to send [11:18:30]OFD Sender: No OFD packet to send [11:18:35]OFD Sender: No OFD packet to send [11:18:40]OFD Sender: No OFD packet to send [11:18:45]OFD Sender: No OFD packet to send [11:18:50]OFD Sender: No OFD packet to send [11:18:55]OFD Sender: No OFD packet to send [11:19:00]OFD Sender: No OFD packet to send [11:19:05]OFD Sender: No OFD packet to send [11:19:10]OFD Sender: No OFD packet to send [11:19:15]OFD Sender: No OFD packet to send [11:19:20]OFD Sender: No OFD packet to send [11:19:25]OFD Sender: No OFD packet to send [11:19:30]OFD Sender: No OFD packet to send [11:19:35]OFD Sender: No OFD packet to send [11:19:40]OFD Sender: No OFD packet to send [11:19:45]OFD Sender: No OFD packet to send [11:19:50]OFD Sender: No OFD packet to send [11:19:55]OFD Sender: No OFD packet to send [11:20:00]OFD Sender: No OFD packet to send [11:20:05]OFD Sender: No OFD packet to send [11:20:10]OFD Sender: No OFD packet to send [11:20:15]OFD Sender: No OFD packet to send [11:20:20]OFD Sender: No OFD packet to send [11:20:25]OFD Sender: No OFD packet to send [11:20:30]OFD Sender: No OFD packet to send [11:20:35]OFD Sender: No OFD packet to send [11:20:40]OFD Sender: No OFD packet to send [11:20:45]OFD Sender: No OFD packet to send [11:20:50]OFD Sender: No OFD packet to send [11:20:55]OFD Sender: No OFD packet to send [11:21:00]OFD Sender: No OFD packet to send [11:21:05]OFD Sender: No OFD packet to send [11:21:10]OFD Sender: No OFD packet to send [11:21:15]OFD Sender: No OFD packet to send [11:21:20]OFD Sender: No OFD packet to send [11:21:25]OFD Sender: No OFD packet to send [11:21:30]OFD Sender: No OFD packet to send [11:21:35]OFD Sender: No OFD packet to send [11:21:40]OFD Sender: No OFD packet to send [11:21:45]OFD Sender: No OFD packet to send [11:21:50]OFD Sender: No OFD packet to send [11:21:55]OFD Sender: No OFD packet to send [11:22:00]OFD Sender: No OFD packet to send [11:22:05]OFD Sender: No OFD packet to send [11:22:10]OFD Sender: No OFD packet to send [11:22:15]OFD Sender: No OFD packet to send [11:22:20]OFD Sender: No OFD packet to send [11:22:25]OFD Sender: No OFD packet to send [11:22:30]OFD Sender: No OFD packet to send [11:22:35]OFD Sender: No OFD packet to send [11:22:40]OFD Sender: No OFD packet to send [11:22:45]OFD Sender: No OFD packet to send [11:22:50]OFD Sender: No OFD packet to send [11:22:55]OFD Sender: No OFD packet to send [11:23:00]OFD Sender: No OFD packet to send [11:23:05]OFD Sender: No OFD packet to send [11:23:10]OFD Sender: No OFD packet to send [11:23:15]OFD Sender: No OFD packet to send [11:23:20]OFD Sender: No OFD packet to send [11:23:25]OFD Sender: No OFD packet to send [11:23:30]OFD Sender: No OFD packet to send [11:23:35]OFD Sender: No OFD packet to send [11:23:40]OFD Sender: No OFD packet to send [11:23:45]OFD Sender: No OFD packet to send [11:23:50]OFD Sender: No OFD packet to send [11:23:55]OFD Sender: No OFD packet to send [11:24:00]OFD Sender: No OFD packet to send [11:24:05]OFD Sender: No OFD packet to send [11:24:10]OFD Sender: No OFD packet to send [11:24:15]OFD Sender: No OFD packet to send [11:24:20]OFD Sender: No OFD packet to send [11:24:25]OFD Sender: No OFD packet to send [11:24:30]OFD Sender: No OFD packet to send [11:24:35]OFD Sender: No OFD packet to send [11:24:40]OFD Sender: No OFD packet to send [11:24:45]OFD Sender: No OFD packet to send [11:24:50]OFD Sender: No OFD packet to send [11:24:55]OFD Sender: No OFD packet to send [11:25:00]OFD Sender: No OFD packet to send [11:25:05]OFD Sender: No OFD packet to send [11:25:10]OFD Sender: No OFD packet to send [11:25:15]OFD Sender: No OFD packet to send [11:25:20]OFD Sender: No OFD packet to send [11:25:25]OFD Sender: No OFD packet to send [11:25:30]OFD Sender: No OFD packet to send [11:25:35]OFD Sender: No OFD packet to send [11:25:40]OFD Sender: No OFD packet to send [11:25:45]OFD Sender: No OFD packet to send [11:25:50]OFD Sender: No OFD packet to send [11:25:55]OFD Sender: No OFD packet to send [11:26:00]OFD Sender: No OFD packet to send [11:26:05]OFD Sender: No OFD packet to send [11:26:10]OFD Sender: No OFD packet to send [11:26:15]OFD Sender: No OFD packet to send [11:26:20]OFD Sender: No OFD packet to send [11:26:25]OFD Sender: No OFD packet to send [11:26:30]OFD Sender: No OFD packet to send [11:26:35]OFD Sender: No OFD packet to send [11:26:40]OFD Sender: No OFD packet to send [11:26:45]OFD Sender: No OFD packet to send [11:26:50]OFD Sender: No OFD packet to send [11:26:55]OFD Sender: No OFD packet to send [11:27:00]OFD Sender: No OFD packet to send [11:27:05]OFD Sender: No OFD packet to send [11:27:10]OFD Sender: No OFD packet to send [11:27:15]OFD Sender: No OFD packet to send [11:27:20]OFD Sender: No OFD packet to send [11:27:25]OFD Sender: No OFD packet to send [11:27:30]OFD Sender: No OFD packet to send [11:27:35]OFD Sender: No OFD packet to send [11:27:40]OFD Sender: No OFD packet to send [11:27:45]OFD Sender: No OFD packet to send [11:27:50]OFD Sender: No OFD packet to send [11:27:55]OFD Sender: No OFD packet to send [11:28:00]OFD Sender: No OFD packet to send [11:28:05]OFD Sender: No OFD packet to send [11:28:10]OFD Sender: No OFD packet to send [11:28:15]OFD Sender: No OFD packet to send [11:28:20]OFD Sender: No OFD packet to send [11:28:25]OFD Sender: No OFD packet to send [11:28:30]OFD Sender: No OFD packet to send [11:28:35]OFD Sender: No OFD packet to send [11:28:40]OFD Sender: No OFD packet to send [11:28:45]OFD Sender: No OFD packet to send [11:28:50]OFD Sender: No OFD packet to send [11:28:55]OFD Sender: No OFD packet to send [11:29:00]OFD Sender: No OFD packet to send [11:29:05]OFD Sender: No OFD packet to send [11:29:10]OFD Sender: No OFD packet to send [11:29:15]OFD Sender: No OFD packet to send [11:29:20]OFD Sender: No OFD packet to send [11:29:25]OFD Sender: No OFD packet to send [11:29:30]OFD Sender: No OFD packet to send [11:29:35]OFD Sender: No OFD packet to send [11:29:40]OFD Sender: No OFD packet to send [11:29:45]OFD Sender: No OFD packet to send [11:29:50]OFD Sender: No OFD packet to send [11:29:55]OFD Sender: No OFD packet to send [11:30:00]OFD Sender: No OFD packet to send [11:30:06]OFD Sender: No OFD packet to send [11:30:11]OFD Sender: No OFD packet to send [11:30:16]OFD Sender: No OFD packet to send [11:30:21]OFD Sender: No OFD packet to send [11:30:26]OFD Sender: No OFD packet to send [11:30:31]OFD Sender: No OFD packet to send [11:30:36]OFD Sender: No OFD packet to send [11:30:41]OFD Sender: No OFD packet to send [11:30:46]OFD Sender: No OFD packet to send [11:30:51]OFD Sender: No OFD packet to send [11:30:56]OFD Sender: No OFD packet to send [11:31:01]OFD Sender: No OFD packet to send [11:31:06]OFD Sender: No OFD packet to send [11:31:11]OFD Sender: No OFD packet to send [11:31:16]OFD Sender: No OFD packet to send [11:31:21]OFD Sender: No OFD packet to send [11:31:26]OFD Sender: No OFD packet to send [11:31:31]OFD Sender: No OFD packet to send [11:31:36]OFD Sender: No OFD packet to send [11:31:41]OFD Sender: No OFD packet to send [11:31:46]OFD Sender: No OFD packet to send [11:31:51]OFD Sender: No OFD packet to send [11:31:56]OFD Sender: No OFD packet to send [11:32:01]OFD Sender: No OFD packet to send [11:32:06]OFD Sender: No OFD packet to send [11:32:11]OFD Sender: No OFD packet to send [11:32:16]OFD Sender: No OFD packet to send [11:32:21]OFD Sender: No OFD packet to send [11:32:26]OFD Sender: No OFD packet to send [11:32:31]OFD Sender: No OFD packet to send [11:32:36]OFD Sender: No OFD packet to send [11:32:41]OFD Sender: No OFD packet to send [11:32:46]OFD Sender: No OFD packet to send [11:32:51]OFD Sender: No OFD packet to send [11:32:56]OFD Sender: No OFD packet to send [11:33:01]OFD Sender: No OFD packet to send [11:33:06]OFD Sender: No OFD packet to send [11:33:11]OFD Sender: No OFD packet to send [11:33:16]OFD Sender: No OFD packet to send [11:33:21]OFD Sender: No OFD packet to send [11:33:26]OFD Sender: No OFD packet to send [11:33:31]OFD Sender: No OFD packet to send [11:33:36]OFD Sender: No OFD packet to send [11:33:41]OFD Sender: No OFD packet to send [11:33:46]OFD Sender: No OFD packet to send [11:33:51]OFD Sender: No OFD packet to send [11:33:56]OFD Sender: No OFD packet to send [11:34:01]OFD Sender: No OFD packet to send [11:34:06]OFD Sender: No OFD packet to send [11:34:11]OFD Sender: No OFD packet to send [11:34:16]OFD Sender: No OFD packet to send [11:34:21]OFD Sender: No OFD packet to send [11:34:26]OFD Sender: No OFD packet to send [11:34:31]OFD Sender: No OFD packet to send [11:34:36]OFD Sender: No OFD packet to send [11:34:41]OFD Sender: No OFD packet to send [11:34:46]OFD Sender: No OFD packet to send [11:34:51]OFD Sender: No OFD packet to send [11:34:56]OFD Sender: No OFD packet to send [11:35:01]OFD Sender: No OFD packet to send [11:35:06]OFD Sender: No OFD packet to send [11:35:11]OFD Sender: No OFD packet to send [11:35:16]OFD Sender: No OFD packet to send [11:35:21]OFD Sender: No OFD packet to send [11:35:26]OFD Sender: No OFD packet to send [11:35:31]OFD Sender: No OFD packet to send [11:35:36]OFD Sender: No OFD packet to send [11:35:41]OFD Sender: No OFD packet to send [11:35:46]OFD Sender: No OFD packet to send [11:35:51]OFD Sender: No OFD packet to send [11:35:56]OFD Sender: No OFD packet to send [11:36:01]OFD Sender: No OFD packet to send [11:36:06]OFD Sender: No OFD packet to send [11:36:11]OFD Sender: No OFD packet to send [11:36:16]OFD Sender: No OFD packet to send [11:36:21]OFD Sender: No OFD packet to send [11:36:26]OFD Sender: No OFD packet to send [11:36:31]OFD Sender: No OFD packet to send [11:36:36]OFD Sender: No OFD packet to send [11:36:41]OFD Sender: No OFD packet to send [11:36:46]OFD Sender: No OFD packet to send [11:36:51]OFD Sender: No OFD packet to send [11:36:56]OFD Sender: No OFD packet to send [11:37:01]OFD Sender: No OFD packet to send [11:37:06]OFD Sender: No OFD packet to send [11:37:11]OFD Sender: No OFD packet to send [11:37:16]OFD Sender: No OFD packet to send [11:37:21]OFD Sender: No OFD packet to send [11:37:26]OFD Sender: No OFD packet to send [11:37:31]OFD Sender: No OFD packet to send [11:37:36]OFD Sender: No OFD packet to send [11:37:41]OFD Sender: No OFD packet to send [11:37:46]OFD Sender: No OFD packet to send [11:37:51]OFD Sender: No OFD packet to send [11:37:56]OFD Sender: No OFD packet to send [11:38:01]OFD Sender: No OFD packet to send [11:38:06]OFD Sender: No OFD packet to send [11:38:11]OFD Sender: No OFD packet to send [11:38:16]OFD Sender: No OFD packet to send [11:38:21]OFD Sender: No OFD packet to send [11:38:26]OFD Sender: No OFD packet to send [11:38:31]OFD Sender: No OFD packet to send [11:38:36]OFD Sender: No OFD packet to send [11:38:41]OFD Sender: No OFD packet to send [11:38:46]OFD Sender: No OFD packet to send [11:38:51]OFD Sender: No OFD packet to send [11:38:56]OFD Sender: No OFD packet to send [11:39:01]OFD Sender: No OFD packet to send [11:39:06]OFD Sender: No OFD packet to send [11:39:11]OFD Sender: No OFD packet to send [11:39:16]OFD Sender: No OFD packet to send [11:39:21]OFD Sender: No OFD packet to send [11:39:26]OFD Sender: No OFD packet to send [11:39:31]OFD Sender: No OFD packet to send [11:39:36]OFD Sender: No OFD packet to send [11:39:41]OFD Sender: No OFD packet to send [11:39:46]OFD Sender: No OFD packet to send [11:39:51]OFD Sender: No OFD packet to send [11:39:56]OFD Sender: No OFD packet to send [11:40:01]OFD Sender: No OFD packet to send [11:40:06]OFD Sender: No OFD packet to send [11:40:11]OFD Sender: No OFD packet to send [11:40:16]OFD Sender: No OFD packet to send [11:40:21]OFD Sender: No OFD packet to send [11:40:26]OFD Sender: No OFD packet to send [11:40:31]OFD Sender: No OFD packet to send [11:40:36]OFD Sender: No OFD packet to send [11:40:41]OFD Sender: No OFD packet to send [11:40:46]OFD Sender: No OFD packet to send [11:40:51]OFD Sender: No OFD packet to send [11:40:56]OFD Sender: No OFD packet to send [11:41:01]OFD Sender: No OFD packet to send [11:41:06]OFD Sender: No OFD packet to send [11:41:11]OFD Sender: No OFD packet to send [11:41:16]OFD Sender: No OFD packet to send [11:41:21]OFD Sender: No OFD packet to send [11:41:26]OFD Sender: No OFD packet to send [11:41:31]OFD Sender: No OFD packet to send [11:41:36]OFD Sender: No OFD packet to send [11:41:41]OFD Sender: No OFD packet to send [11:41:46]OFD Sender: No OFD packet to send [11:41:51]OFD Sender: No OFD packet to send [11:41:56]OFD Sender: No OFD packet to send [11:42:01]OFD Sender: No OFD packet to send [11:42:06]OFD Sender: No OFD packet to send [11:42:11]OFD Sender: No OFD packet to send [11:42:16]OFD Sender: No OFD packet to send [11:42:21]OFD Sender: No OFD packet to send [11:42:26]OFD Sender: No OFD packet to send [11:42:31]OFD Sender: No OFD packet to send [11:42:36]OFD Sender: No OFD packet to send [11:42:41]OFD Sender: No OFD packet to send [11:42:46]OFD Sender: No OFD packet to send [11:42:51]OFD Sender: No OFD packet to send [11:42:56]OFD Sender: No OFD packet to send [11:43:01]OFD Sender: No OFD packet to send [11:43:06]OFD Sender: No OFD packet to send [11:43:11]OFD Sender: No OFD packet to send [11:43:16]OFD Sender: No OFD packet to send [11:43:21]OFD Sender: No OFD packet to send [11:43:26]OFD Sender: No OFD packet to send [11:43:31]OFD Sender: No OFD packet to send [11:43:36]OFD Sender: No OFD packet to send [11:43:41]OFD Sender: No OFD packet to send [11:43:46]OFD Sender: No OFD packet to send [11:43:51]OFD Sender: No OFD packet to send [11:43:56]OFD Sender: No OFD packet to send [11:44:01]OFD Sender: No OFD packet to send [11:44:06]OFD Sender: No OFD packet to send [11:44:11]OFD Sender: No OFD packet to send [11:44:16]OFD Sender: No OFD packet to send [11:44:21]OFD Sender: No OFD packet to send [11:44:26]OFD Sender: No OFD packet to send [11:44:31]OFD Sender: No OFD packet to send [11:44:36]OFD Sender: No OFD packet to send [11:44:41]OFD Sender: No OFD packet to send [11:44:46]OFD Sender: No OFD packet to send [11:44:51]OFD Sender: No OFD packet to send [11:44:56]OFD Sender: No OFD packet to send [11:45:01]OFD Sender: No OFD packet to send [11:45:06]OFD Sender: No OFD packet to send [11:45:11]OFD Sender: No OFD packet to send [11:45:16]OFD Sender: No OFD packet to send [11:45:21]OFD Sender: No OFD packet to send [11:45:26]OFD Sender: No OFD packet to send [11:45:31]OFD Sender: No OFD packet to send [11:45:36]OFD Sender: No OFD packet to send [11:45:41]OFD Sender: No OFD packet to send [11:45:46]OFD Sender: No OFD packet to send [11:45:51]OFD Sender: No OFD packet to send [11:45:56]OFD Sender: No OFD packet to send [11:46:01]OFD Sender: No OFD packet to send [11:46:06]OFD Sender: No OFD packet to send [11:46:11]OFD Sender: No OFD packet to send [11:46:16]OFD Sender: No OFD packet to send [11:46:21]OFD Sender: No OFD packet to send [11:46:26]OFD Sender: No OFD packet to send [11:46:31]OFD Sender: No OFD packet to send [11:46:36]OFD Sender: No OFD packet to send [11:46:41]OFD Sender: No OFD packet to send [11:46:46]OFD Sender: No OFD packet to send [11:46:51]OFD Sender: No OFD packet to send [11:46:56]OFD Sender: No OFD packet to send [11:47:01]OFD Sender: No OFD packet to send [11:47:06]OFD Sender: No OFD packet to send [11:47:11]OFD Sender: No OFD packet to send [11:47:16]OFD Sender: No OFD packet to send [11:47:21]OFD Sender: No OFD packet to send [11:47:26]OFD Sender: No OFD packet to send [11:47:31]OFD Sender: No OFD packet to send [11:47:36]OFD Sender: No OFD packet to send [11:47:41]OFD Sender: No OFD packet to send [11:47:46]OFD Sender: No OFD packet to send [11:47:51]OFD Sender: No OFD packet to send [11:47:56]OFD Sender: No OFD packet to send [11:48:01]OFD Sender: No OFD packet to send [11:48:06]OFD Sender: No OFD packet to send [11:48:11]OFD Sender: No OFD packet to send [11:48:16]OFD Sender: No OFD packet to send [11:48:21]OFD Sender: No OFD packet to send [11:48:26]OFD Sender: No OFD packet to send [11:48:31]OFD Sender: No OFD packet to send [11:48:36]OFD Sender: No OFD packet to send [11:48:41]OFD Sender: No OFD packet to send [11:48:46]OFD Sender: No OFD packet to send [11:48:51]OFD Sender: No OFD packet to send [11:48:56]OFD Sender: No OFD packet to send [11:49:01]OFD Sender: No OFD packet to send [11:49:06]OFD Sender: No OFD packet to send [11:49:11]OFD Sender: No OFD packet to send [11:49:16]OFD Sender: No OFD packet to send [11:49:21]OFD Sender: No OFD packet to send [11:49:26]OFD Sender: No OFD packet to send [11:49:31]OFD Sender: No OFD packet to send [11:49:36]OFD Sender: No OFD packet to send [11:49:41]OFD Sender: No OFD packet to send [11:49:46]OFD Sender: No OFD packet to send [11:49:51]OFD Sender: No OFD packet to send [11:49:56]OFD Sender: No OFD packet to send [11:50:01]OFD Sender: No OFD packet to send [11:50:06]OFD Sender: No OFD packet to send [11:50:11]OFD Sender: No OFD packet to send [11:50:16]OFD Sender: No OFD packet to send [11:50:21]OFD Sender: No OFD packet to send [11:50:26]OFD Sender: No OFD packet to send [11:50:31]OFD Sender: No OFD packet to send [11:50:36]OFD Sender: No OFD packet to send [11:50:41]OFD Sender: No OFD packet to send [11:50:46]OFD Sender: No OFD packet to send [11:50:51]OFD Sender: No OFD packet to send [11:50:56]OFD Sender: No OFD packet to send [11:51:01]OFD Sender: No OFD packet to send [11:51:06]OFD Sender: No OFD packet to send [11:51:11]OFD Sender: No OFD packet to send [11:51:16]OFD Sender: No OFD packet to send [11:51:21]OFD Sender: No OFD packet to send [11:51:27]OFD Sender: No OFD packet to send [11:51:32]OFD Sender: No OFD packet to send [11:51:37]OFD Sender: No OFD packet to send [11:51:42]OFD Sender: No OFD packet to send [11:51:47]OFD Sender: No OFD packet to send [11:51:52]OFD Sender: No OFD packet to send [11:51:57]OFD Sender: No OFD packet to send [11:52:02]OFD Sender: No OFD packet to send [11:52:07]OFD Sender: No OFD packet to send [11:52:12]OFD Sender: No OFD packet to send [11:52:17]OFD Sender: No OFD packet to send [11:52:22]OFD Sender: No OFD packet to send [11:52:27]OFD Sender: No OFD packet to send [11:52:32]OFD Sender: No OFD packet to send [11:52:37]OFD Sender: No OFD packet to send [11:52:42]OFD Sender: No OFD packet to send [11:52:47]OFD Sender: No OFD packet to send [11:52:52]OFD Sender: No OFD packet to send [11:52:57]OFD Sender: No OFD packet to send [11:53:02]OFD Sender: No OFD packet to send [11:53:07]OFD Sender: No OFD packet to send [11:53:12]OFD Sender: No OFD packet to send [11:53:17]OFD Sender: No OFD packet to send [11:53:22]OFD Sender: No OFD packet to send [11:53:27]OFD Sender: No OFD packet to send [11:53:32]OFD Sender: No OFD packet to send [11:53:37]OFD Sender: No OFD packet to send [11:53:42]OFD Sender: No OFD packet to send [11:53:47]OFD Sender: No OFD packet to send [11:53:52]OFD Sender: No OFD packet to send [11:53:57]OFD Sender: No OFD packet to send [11:54:02]OFD Sender: No OFD packet to send [11:54:07]OFD Sender: No OFD packet to send [11:54:12]OFD Sender: No OFD packet to send [11:54:17]OFD Sender: No OFD packet to send [11:54:22]OFD Sender: No OFD packet to send [11:54:27]OFD Sender: No OFD packet to send [11:54:32]OFD Sender: No OFD packet to send [11:54:37]OFD Sender: No OFD packet to send [11:54:42]OFD Sender: No OFD packet to send [11:54:47]OFD Sender: No OFD packet to send [11:54:52]OFD Sender: No OFD packet to send [11:54:57]OFD Sender: No OFD packet to send [11:55:02]OFD Sender: No OFD packet to send [11:55:07]OFD Sender: No OFD packet to send [11:55:12]OFD Sender: No OFD packet to send [11:55:17]OFD Sender: No OFD packet to send [11:55:22]OFD Sender: No OFD packet to send [11:55:27]OFD Sender: No OFD packet to send [11:55:32]OFD Sender: No OFD packet to send [11:55:37]OFD Sender: No OFD packet to send [11:55:42]OFD Sender: No OFD packet to send [11:55:47]OFD Sender: No OFD packet to send [11:55:52]OFD Sender: No OFD packet to send [11:55:57]OFD Sender: No OFD packet to send [11:56:02]OFD Sender: No OFD packet to send [11:56:07]OFD Sender: No OFD packet to send [11:56:12]OFD Sender: No OFD packet to send [11:56:17]OFD Sender: No OFD packet to send [11:56:22]OFD Sender: No OFD packet to send [11:56:27]OFD Sender: No OFD packet to send [11:56:32]OFD Sender: No OFD packet to send [11:56:37]OFD Sender: No OFD packet to send [11:56:42]OFD Sender: No OFD packet to send [11:56:47]OFD Sender: No OFD packet to send [11:56:52]OFD Sender: No OFD packet to send [11:56:57]OFD Sender: No OFD packet to send [11:57:02]OFD Sender: No OFD packet to send [11:57:07]OFD Sender: No OFD packet to send [11:57:12]OFD Sender: No OFD packet to send [11:57:17]OFD Sender: No OFD packet to send [11:57:22]OFD Sender: No OFD packet to send [11:57:27]OFD Sender: No OFD packet to send [11:57:32]OFD Sender: No OFD packet to send [11:57:37]OFD Sender: No OFD packet to send [11:57:42]OFD Sender: No OFD packet to send [11:57:47]OFD Sender: No OFD packet to send [11:57:52]OFD Sender: No OFD packet to send [11:57:57]OFD Sender: No OFD packet to send [11:58:02]OFD Sender: No OFD packet to send [11:58:07]OFD Sender: No OFD packet to send [11:58:12]OFD Sender: No OFD packet to send [11:58:17]OFD Sender: No OFD packet to send [11:58:22]OFD Sender: No OFD packet to send [11:58:27]OFD Sender: No OFD packet to send [11:58:32]OFD Sender: No OFD packet to send [11:58:37]OFD Sender: No OFD packet to send [11:58:42]OFD Sender: No OFD packet to send [11:58:47]OFD Sender: No OFD packet to send [11:58:52]OFD Sender: No OFD packet to send [11:58:57]OFD Sender: No OFD packet to send [11:59:02]OFD Sender: No OFD packet to send [11:59:07]OFD Sender: No OFD packet to send [11:59:12]OFD Sender: No OFD packet to send [11:59:17]OFD Sender: No OFD packet to send [11:59:22]OFD Sender: No OFD packet to send [11:59:27]OFD Sender: No OFD packet to send [11:59:32]OFD Sender: No OFD packet to send [11:59:37]OFD Sender: No OFD packet to send [11:59:42]OFD Sender: No OFD packet to send [11:59:47]OFD Sender: No OFD packet to send [11:59:52]OFD Sender: No OFD packet to send [11:59:57]OFD Sender: No OFD packet to send [12:00:02]OFD Sender: No OFD packet to send [12:00:07]OFD Sender: No OFD packet to send [12:00:12]OFD Sender: No OFD packet to send [12:00:17]OFD Sender: No OFD packet to send [12:00:22]OFD Sender: No OFD packet to send [12:00:27]OFD Sender: No OFD packet to send [12:00:32]OFD Sender: No OFD packet to send [12:00:37]OFD Sender: No OFD packet to send [12:00:42]OFD Sender: No OFD packet to send [12:00:47]OFD Sender: No OFD packet to send [12:00:52]OFD Sender: No OFD packet to send [12:00:57]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:27]OFD Sender: No OFD packet to send [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:12]accept exits with 9 [12:05:12]New connection [12:05:12]New thread 3067243876 created [12:05:12]Thread 3067100516 joined [12:05:12]Waiting for new connection... [12:05:12] Sock 9.Parse request [12:05:12]Sock 9.Check first char [12:05:12]Sock 9.First char is OK [12:05:12]request: POST /json_proto HTTP/1.0 [12:05:12]Method: POST [12:05:12]URL: /json_proto [12:05:12]Method is POST - this is cgi request [12:05:12]url: /json_proto [12:05:12]query_string will be loaded in cgi processing [12:05:12]execute_cgi json_proto POST (null) [12:05:12]execute_cgi path=json_proto method=POST [12:05:12]POST find Content-Length [12:05:12]Host: 172.17.62.6:8080 [12:05:12]Content-Length: 1613 [12:05:12]Content-Type: application/json [12:05:12] [12:05:12]POST finish read [12:05:12]Found Content-Length = 1613 [12:05:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32790", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600494223013", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 Adrenaline Rush \u0431", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030109", "name": "\u041A\u0443\u0440\u0443\u0442 \u0447\u043E\u0431\u043E\u0433\u043E", "price" : 49.00, "quantity" : 1.000, "sum" : 49.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" : 224.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:05:12]execute_script... [12:05: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)32790", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 2.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600494223013", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 Adrenaline Rush \u0431", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030109", "name": "\u041A\u0443\u0440\u0443\u0442 \u0447\u043E\u0431\u043E\u0433\u043E", "price" : 49.00, "quantity" : 1.000, "sum" : 49.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" : 224.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:05:12]POST & json_proto [12:05:12]process_json_proto [12:05:12]json parsed OK: [12:05:12]protocol is kg_v1.0 [12:05:12]action value=close_receipt [12:05:12]process_action close_receipt [12:05:12]cmd_close_receipt [12:05:12]MH_GetDate [12:05:12]Write to MH i2c: F0 00 00 D7 28 EE [12:05:13]Write i2c OK [12:05:13]MH_I2C_Read... [12:05:13]Read from MH i2c: F0 [12:05:13]MH_I2C_Read... [12:05:13]Read from MH i2c: F0 09 00 [12:05:13]MH_I2C_Read... [12:05:13]Read from MH i2c: F0 09 00 D7 28 00 09 5E 22 66 61 69 D2 64 E6 [12:05:13]GetLastDocTimeStamp 1713525173 [12:05:13]current date 1713528329 [12:05:13]FM_GetShiftState [12:05:13]SAM_PROTO_GetShiftState [12:05:13]wFMCommunicate request_size=4 [12:05:13]MH_SAM_APDU [12:05:13]CAPDU: 80 13 01 00 [12:05:13]Write to MH i2c: E2 08 00 D8 28 80 13 01 00 00 00 00 00 7D [12:05:13]Write i2c OK [12:05:13]MH_I2C_Read... [12:05:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:05:13]Read from MH i2c: E2 [12:05:13]MH_I2C_Read... [12:05:13]Read from MH i2c: E2 0E 00 [12:05:13]MH_I2C_Read... [12:05:13]Read from MH i2c: E2 0E 00 D8 28 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 73 [12:05:13]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [12:05:13]wFMCommunicate OK [12:05:13]SAM_PROTO_GetShiftState done [12:05:13]FM_GetShiftState done [12:05:13]opened in 1713485995 [12:05:13]opened+sec_in_day 1713572395 [12:05:13]quantity*price = 1000 [12:05:13]sum+1 = 1001 [12:05:13]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160211 Вода Легенда 0,5л 2.000 * 40.00 = 80.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4600494223013 Напиток энергетический Adrenaline Rush б 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700026030109 Курут чобого 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 224.00 НСП 1% : 1.98 НДС 12% : 23.79 Наличными: 0.00 Безнал.: 224.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 16 19.04.2024 12:05 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000965685 ФД: 12514 ФПД: 273717779384445 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T120529&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12514&fm=273717779384445&tin=02508201610067®Number=0000000000100748&sum=22400 0 [12:05:14]StoreToDocumentArchive [12:05:14]shift 279 fd 12514 [12:05:14]save to /storage/0279/doc_00012514 [12:05:14]save last doc name /storage/0279/doc_00012514 to /storage/kkm_last_doc_name [12:05:14]save OK [12:05:14]Clear old archive folders... [12:05:14]ProcessDocumentItem done err = 0, tmpTLVsize=603 [12:05:14]tlvbuf is 01D1A140 [12:05:14]SAM_PROTO_ClearQueue [12:05:14]wFMCommunicate request_size=4 [12:05:14]MH_SAM_APDU [12:05:14]CAPDU: 80 09 00 00 [12:05:14]Write to MH i2c: E2 08 00 E5 28 80 09 00 00 00 00 00 00 7F [12:05:14]Write i2c OK [12:05:14]MH_I2C_Read... [12:05:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:05:14]Read from MH i2c: E2 [12:05:14]MH_I2C_Read... [12:05:14]Read from MH i2c: E2 03 00 [12:05:14]MH_I2C_Read... [12:05:14]Read from MH i2c: E2 03 00 E5 28 00 90 00 81 [12:05:14]RAPDU: 90 00 [12:05:14]wFMCommunicate OK [12:05:14]SAM_PROTO_ClearQueue done [12:05:14]KKMCreateOFDPacket [12:05:14]OFDProtocolAddRootSTLVToBuf [12:05:14]FM_MakeSignedData [12:05:14]FM_MakeSignedData [12:05:14]SAM_PROTO_SignData [12:05:14]wFMCommunicate request_size=4 [12:05:14]MH_SAM_APDU [12:05:14]CAPDU: 80 0D 01 02 [12:05:14]Write to MH i2c: E2 08 00 E6 28 80 0D 01 02 00 00 00 00 87 [12:05:14]Write i2c OK [12:05:14]MH_I2C_Read... [12:05:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:05:14]Read from MH i2c: E2 [12:05:14]MH_I2C_Read... [12:05:14]Read from MH i2c: E2 03 00 [12:05:14]MH_I2C_Read... [12:05:14]Read from MH i2c: E2 03 00 E6 28 00 90 00 82 [12:05:14]RAPDU: 90 00 [12:05:14]wFMCommunicate OK [12:05:14]wFMCommunicate request_size=255 [12:05:14]MH_SAM_APDU [12:05:14]CAPDU: 80 0D 02 02 FA 03 00 5B 02 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 36 30 30 34 39 34 32 32 33 30 31 33 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE [12:05:14]Write to MH i2c: E2 02 01 E7 28 80 0D 02 02 FA 00 03 00 5B 02 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 36 30 30 34 39 34 32 32 33 30 31 33 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE 00 00 61 [12:05:14]Write i2c OK [12:05:14]MH_I2C_Read... [12:05:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:05:14]Read from MH i2c: E2 [12:05:14]MH_I2C_Read... [12:05:14]Read from MH i2c: E2 03 00 [12:05:14]MH_I2C_Read... [12:05:14]Read from MH i2c: E2 03 00 E7 28 00 90 00 83 [12:05:14]RAPDU: 90 00 [12:05:14]wFMCommunicate OK [12:05:14]wFMCommunicate request_size=255 [12:05:14]MH_SAM_APDU [12:05:14]CAPDU: 80 0D 02 02 FA 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 41 64 72 65 6E 61 6C 69 6E 65 20 52 75 73 68 20 D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 31 30 39 06 04 17 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D1 87 D0 BE D0 B1 D0 BE D0 B3 D0 BE 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 80 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 09 00 00 00 00 07 04 06 00 00 00 [12:05:14]Write to MH i2c: E2 02 01 E8 28 80 0D 02 02 FA 00 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 41 64 72 65 6E 61 6C 69 6E 65 20 52 75 73 68 20 D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 31 30 39 06 04 17 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D1 87 D0 BE D0 B1 D0 BE D0 B3 D0 BE 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 80 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 09 00 00 00 00 07 04 06 00 00 00 00 00 ED [12:05:14]Write i2c OK [12:05:14]MH_I2C_Read... [12:05:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:05:14]Read from MH i2c: E2 [12:05:14]MH_I2C_Read... [12:05:14]Read from MH i2c: E2 03 00 [12:05:14]MH_I2C_Read... [12:05:14]Read from MH i2c: E2 03 00 E8 28 00 90 00 84 [12:05:14]RAPDU: 90 00 [12:05:14]wFMCommunicate OK [12:05:14]wFMCommunicate request_size=112 [12:05:14]MH_SAM_APDU [12:05:14]CAPDU: 80 0D 02 02 6B 00 00 00 00 39 04 06 00 80 57 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 09 5E 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E2 30 00 00 35 04 06 00 F8 F1 E3 02 48 7D [12:05:14]Write to MH i2c: E2 73 00 E9 28 80 0D 02 02 6B 00 00 00 00 00 39 04 06 00 80 57 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 09 5E 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E2 30 00 00 35 04 06 00 F8 F1 E3 02 48 7D 00 00 1F [12:05:14]Write i2c OK [12:05:14]MH_I2C_Read... [12:05:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:05:15]Read from MH i2c: E2 [12:05:15]MH_I2C_Read... [12:05:15]Read from MH i2c: E2 03 00 [12:05:15]MH_I2C_Read... [12:05:15]Read from MH i2c: E2 03 00 E9 28 00 90 00 85 [12:05:15]RAPDU: 90 00 [12:05:15]wFMCommunicate OK [12:05:15]wFMCommunicate request_size=4 [12:05:15]MH_SAM_APDU [12:05:15]CAPDU: 80 0D 03 02 [12:05:15]Write to MH i2c: E2 08 00 EA 28 80 0D 03 02 00 00 00 00 8D [12:05:15]Write i2c OK [12:05:15]MH_I2C_Read... [12:05:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:05:15]Read from MH i2c: E2 [12:05:15]MH_I2C_Read... [12:05:15]Read from MH i2c: E2 0B 00 [12:05:15]MH_I2C_Read... [12:05:15]Read from MH i2c: E2 0B 00 EA 28 00 28 50 3B 3F D8 37 CA 8F 90 00 E8 [12:05:15]RAPDU: 28 50 3B 3F D8 37 CA 8F 90 00 [12:05:15]wFMCommunicate OK [12:05:15]SAM_PROTO_SignData done [12:05:15]FM_MakeSignedData done [12:05:15]CreateOFDProtocolMessage [12:05:15]wFMCommunicate request_size=4 [12:05:15]MH_SAM_APDU [12:05:15]CAPDU: 80 11 00 00 [12:05:15]Write to MH i2c: E2 08 00 EB 28 80 11 00 00 00 00 00 00 8D [12:05:15]Write i2c OK [12:05:15]MH_I2C_Read... [12:05:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:05:15]Read from MH i2c: E2 [12:05:15]MH_I2C_Read... [12:05:15]Read from MH i2c: E2 17 00 [12:05:15]MH_I2C_Read... [12:05:15]Read from MH i2c: E2 17 00 EB 28 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 E7 [12:05:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [12:05:15]wFMCommunicate OK [12:05:15]CreateOFDProtocolMessage done [12:05:15]OFDSenderStorePacket 12514 [12:05:15]StoreOFDPacket docnum=12514 [12:05:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 6F 02 00 00 81 EA 67 02 CA 8B 5A 03 01 00 03 00 5B 02 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 36 30 30 34 39 34 32 32 33 30 31 33 06 04 3E 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 41 64 72 65 6E 61 6C 69 6E 65 20 52 75 73 68 20 D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 31 30 39 06 04 17 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D1 87 D0 BE D0 B1 D0 BE D0 B3 D0 BE 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 80 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 80 57 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 09 5E 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E2 30 00 00 35 04 06 00 F8 F1 E3 02 48 7D 28 50 3B 3F D8 37 CA 8F [12:05:15]CheckFolder [12:05:15]dirname=/storage/ofd_packets [12:05:15]CheckFolder done [12:05:15]ProducePacketName [12:05:15]name=ofd_packets/00012514 [12:05:15]NVStorageSaveData ofd_packets/00012514 [12:05:15]File name is /storage/ofd_packets/00012514 [12:05:15]Write 653 bytes [12:05:15]NVStorageSaveData done [12:05:15]OFDSenderStorePacket done [12:05:15]KKMCreateOFDPacket done [12:05:15]NVStorageSaveData kkm_last_timestamp [12:05:15]File name is /storage/kkm_last_timestamp [12:05:15]Write 4 bytes [12:05:15]NVStorageSaveData done [12:05:15]ExternCall_PrintAddStr [12:05:15]wPrintStart [12:05:15]Write to MH i2c: 01 00 00 EC 28 14 [12:05:15]Write i2c OK [12:05:15]MH_I2C_Read... [12:05:15]Read from MH i2c: 01 [12:05:15]MH_I2C_Read... [12:05:15]Read from MH i2c: 01 07 00 [12:05:15]MH_I2C_Read... [12:05:15]Read from MH i2c: 01 07 00 EC 28 00 00 00 00 00 FF 0F 29 [12:05:15]RasterBufferAndPrint [12:05:15]line Счет N : (3)32790 [12:05:15]line ИНН: 02508201610067 [12:05:15]line Контрольно-Кассовый Чек [12:05:15]line ПРОДАЖА [12:05:15]line Товар: 46226624 [12:05:15]line Mentos ПВ Клубника 6*100*2 [12:05:15]line 1.000 * 10.00 [12:05:15]line = 10.00 [12:05:15]line НДС 12% НСП 1% [12:05:15]line > о реализуемом товаре [12:05:15]line Товар: 4700000160211 [12:05:15]line Вода Легенда 0,5л [12:05:15]line 2.000 * 40.00 [12:05:15]line = 80.00 [12:05:15]line НДС 12% НСП 1% [12:05:15]line > о реализуемом товаре [12:05:15]line Товар: 4600494223013 [12:05:15]line Напиток энергетический Adrenaline Rush б [12:05:15]line 1.000 * 85.00 [12:05:15]line = 85.00 [12:05:15]line НДС 12% НСП 1% [12:05:15]line > о реализуемом товаре [12:05:15]line Товар: 4700026030109 [12:05:15]line Курут чобого [12:05:15]line 1.000 * 49.00 [12:05:15]line = 49.00 [12:05:15]line НДС 12% НСП 1% [12:05:15]line > о реализуемом товаре [12:05:15]line ИТОГО: 224.00 [12:05:15]line НСП 1% : 1.98 [12:05:15]line НДС 12% : 23.79 [12:05:15]line Наличными: 0.00 [12:05:15]line Безнал.: 224.00 [12:05:15]line Место: АЗС № 106 "Партнер Нефть" [12:05:15]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [12:05:15]line СНО: Общий режим [12:05:15]line Чек 16 19.04.2024 12:05 [12:05:15]line Смена: 279 ФФД: 1.0 [12:05:15]line ЗНМ: 0300000004 [12:05:15]line РНМ: 0000000000100748 [12:05:15]line Версия ККМ: 001 [12:05:15]line Платежная система: Бакай Банк [12:05:15]line ФМ: 0000000000965685 [12:05:15]line ФД: 12514 [12:05:15]line ФПД: 273717779384445 [12:05:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T120529&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12514&fm=273717779384445&tin=02508201610067®Number=0000000000100748&sum=22400 [12:05:15]line 0 [12:05:15]OFD Sender: Processing packet 12514 [packets to send 7, broken 6] [12:05:15]ProducePacketName [12:05:15]name=ofd_packets/00012514 [12:05:15]OFD Sender: To server: pG, [12:05:15]CommunicateWithHost lk.salyk.kg:30040 [12:05:15]ConnectInit lk.salyk.kg [12:05:15]written 0, free lines is 4095 [12:05:15]Connected sock=10 [12:05:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 6F 02 00 00 81 EA 67 02 CA 8B 5A 03 01 00 03 00 5B 02 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 D0 07 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 34 36 30 30 34 39 34 32 32 33 30 31 33 06 04 3E 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 41 64 72 65 6E 61 6C 69 6E 65 20 52 75 73 68 20 D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 31 30 39 06 04 17 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D1 87 D0 BE D0 B1 D0 BE D0 B3 D0 BE 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 80 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 80 57 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 09 5E 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E2 30 00 00 35 04 06 00 F8 F1 E3 02 48 7D 28 50 3B 3F D8 37 CA 8F [12:05:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 26 5A 47 00 FA 2A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 36 38 35 10 04 04 00 E2 30 00 00 F4 03 04 00 91 06 22 66 B6 04 01 00 00 75 A6 86 F0 86 B4 71 2B [12:05:16]CommunicateWithHost err = 0 [12:05:16]CheckOFDResponse [12:05:16]1017 (14) - 77093643461234 [12:05:16]1041 (16) - 0000000000965685 [12:05:16]1040 (4) - 12514 [12:05:16]1012 (4) - 19.04.2024 05:52 [12:05:16]1206 (1) - 0 [12:05:16]OFD Sender: Remove packet 12514 [12:05:16]ProducePacketName [12:05:16]name=ofd_packets/00012514 [12:05:16]NVStorageDeleteData [12:05:16]Write to MH i2c: 01 00 00 28 29 51 [12:05:16]Write i2c OK [12:05:16]MH_I2C_Read... [12:05:16]Read from MH i2c: 01 [12:05:16]MH_I2C_Read... [12:05:16]Read from MH i2c: 01 07 00 [12:05:16]MH_I2C_Read... [12:05:16]Read from MH i2c: 01 07 00 28 29 00 00 00 00 00 DD 0B 40 [12:05:16]RasterBufferAndPrint [12:05:16]line [12:05:16]line [12:05:16]line [12:05:16]line [12:05:16]line [12:05:16]written 0, free lines is 3044 [12:05:16]MH_Cut [12:05:16]Write to MH i2c: D1 01 00 2F 29 01 2A [12:05:16]Write i2c OK [12:05:16]MH_I2C_Read... [12:05:16]Read from MH i2c: D1 [12:05:16]MH_I2C_Read... [12:05:16]Read from MH i2c: D1 01 00 [12:05:16]MH_I2C_Read... [12:05:16]Read from MH i2c: D1 01 00 2F 29 00 29 [12:05:16]Write to MH i2c: 01 00 00 30 29 59 [12:05:16]Write i2c OK [12:05:16]MH_I2C_Read... [12:05:16]OFD Sender: No OFD packet to send [12:05:17]*** Cut start [12:05:17]*** Partial cut [12:05:17]*** CUTSNS_PIN = 1 [12:05:17]*** CUTSNS_PIN = 0 [12:05:17]*** Brake cut motor [12:05:17]Read from MH i2c: 01 [12:05:17]MH_I2C_Read... [12:05:17]*** Stop cut motor [12:05:17]*** Cut end [12:05:17]Read from MH i2c: 01 07 00 [12:05:17]MH_I2C_Read... [12:05:17]Read from MH i2c: 01 07 00 30 29 00 00 00 00 00 FF 0F 6E [12:05:17]process_action close_receipt done [12:05:17]requested_data is exist [12:05:17]produce_requested_data [12:05:17]requested_item fm.sn is exist - process it [12:05:17]wFMCommunicate request_size=4 [12:05:17]MH_SAM_APDU [12:05:17]CAPDU: 80 11 00 00 [12:05:17]Write to MH i2c: E2 08 00 31 29 80 11 00 00 00 00 00 00 D4 [12:05:17]Write i2c OK [12:05:17]MH_I2C_Read... [12:05:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:05:17]Read from MH i2c: E2 [12:05:17]MH_I2C_Read... [12:05:17]Read from MH i2c: E2 17 00 [12:05:17]MH_I2C_Read... [12:05:17]Read from MH i2c: E2 17 00 31 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 2E [12:05:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [12:05:17]wFMCommunicate OK [12:05:17]requested_item fd.num is exist - process it [12:05:17]SAM_PROTO_GetFieldsCounters [12:05:17]wFMCommunicate request_size=4 [12:05:17]MH_SAM_APDU [12:05:17]CAPDU: 80 13 00 00 [12:05:17]Write to MH i2c: E2 08 00 32 29 80 13 00 00 00 00 00 00 D7 [12:05:17]Write i2c OK [12:05:17]MH_I2C_Read... [12:05:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:05:17]Read from MH i2c: E2 [12:05:17]MH_I2C_Read... [12:05:17]Read from MH i2c: E2 62 00 [12:05:17]MH_I2C_Read... [12:05:17]Read from MH i2c: E2 62 00 32 29 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 E2 30 00 00 0E 04 04 00 17 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 54 [12:05:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 E2 30 00 00 0E 04 04 00 17 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 [12:05:17]wFMCommunicate OK [12:05:17]SAM_PROTO_GetFieldsCounters done [12:05:17]requested_item shift.num is exist - process it [12:05:17]requested_item shift.opened is exist - process it [12:05:17]req_shift_opened [12:05:17]FM_GetShiftState [12:05:17]SAM_PROTO_GetShiftState [12:05:17]wFMCommunicate request_size=4 [12:05:17]MH_SAM_APDU [12:05:17]CAPDU: 80 13 01 00 [12:05:17]Write to MH i2c: E2 08 00 33 29 80 13 01 00 00 00 00 00 D9 [12:05:17]Write i2c OK [12:05:17]MH_I2C_Read... [12:05:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:05:18]Read from MH i2c: E2 [12:05:18]MH_I2C_Read... [12:05:18]Read from MH i2c: E2 0E 00 [12:05:18]MH_I2C_Read... [12:05:18]Read from MH i2c: E2 0E 00 33 29 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 CF [12:05:18]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [12:05:18]wFMCommunicate OK [12:05:18]SAM_PROTO_GetShiftState done [12:05:18]FM_GetShiftState done [12:05:18]req_shift_opened done [12:05:18]requested_item shift.open_date is exist - process it [12:05:18]req_shift_open_date [12:05:18]req_shift_open_date done [12:05:18]produce_requested_data done [12:05:18]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12514,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [12:05:18]process_action_free close_receipt [12:05:18]json_value_free [12:05:18]json_value_free done [12:05:18]process_json_proto returns [12:05:18]Send response to host [12:05:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12514,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [12:05:18]free response buf [12:05:18]execute_script done [12:05:18]execute_script returns [12:05:18]free content buf [12:05:18]Sock 9.Close socket [12:05:18]Sock 9.Thread stoped [12:05:21]OFD Sender: No OFD packet to send [12:05:26]OFD Sender: No OFD packet to send [12:05:31]OFD Sender: No OFD packet to send [12:05:36]OFD Sender: No OFD packet to send [12:05:41]OFD Sender: No OFD packet to send [12:05:46]OFD Sender: No OFD packet to send [12:05:51]OFD Sender: No OFD packet to send [12:05:56]OFD Sender: No OFD packet to send [12:06:01]OFD Sender: No OFD packet to send [12:06:06]OFD Sender: No OFD packet to send [12:06:11]OFD Sender: No OFD packet to send [12:06:16]OFD Sender: No OFD packet to send [12:06:21]OFD Sender: No OFD packet to send [12:06:26]OFD Sender: No OFD packet to send [12:06:31]OFD Sender: No OFD packet to send [12:06:36]OFD Sender: No OFD packet to send [12:06:41]OFD Sender: No OFD packet to send [12:06:46]OFD Sender: No OFD packet to send [12:06:51]OFD Sender: No OFD packet to send [12:06:56]OFD Sender: No OFD packet to send [12:07:01]OFD Sender: No OFD packet to send [12:07:06]OFD Sender: No OFD packet to send [12:07:11]OFD Sender: No OFD packet to send [12:07:16]OFD Sender: No OFD packet to send [12:07:21]OFD Sender: No OFD packet to send [12:07:26]OFD Sender: No OFD packet to send [12:07:31]OFD Sender: No OFD packet to send [12:07:36]OFD Sender: No OFD packet to send [12:07:41]OFD Sender: No OFD packet to send [12:07:46]OFD Sender: No OFD packet to send [12:07:51]OFD Sender: No OFD packet to send [12:07:56]OFD Sender: No OFD packet to send [12:08:01]OFD Sender: No OFD packet to send [12:08:06]OFD Sender: No OFD packet to send [12:08:11]OFD Sender: No OFD packet to send [12:08:16]OFD Sender: No OFD packet to send [12:08:21]OFD Sender: No OFD packet to send [12:08:26]OFD Sender: No OFD packet to send [12:08:31]OFD Sender: No OFD packet to send [12:08:36]OFD Sender: No OFD packet to send [12:08:41]OFD Sender: No OFD packet to send [12:08:46]OFD Sender: No OFD packet to send [12:08:51]OFD Sender: No OFD packet to send [12:08:56]OFD Sender: No OFD packet to send [12:09:01]OFD Sender: No OFD packet to send [12:09:06]OFD Sender: No OFD packet to send [12:09:11]OFD Sender: No OFD packet to send [12:09:16]OFD Sender: No OFD packet to send [12:09:21]OFD Sender: No OFD packet to send [12:09:26]OFD Sender: No OFD packet to send [12:09:31]OFD Sender: No OFD packet to send [12:09:36]OFD Sender: No OFD packet to send [12:09:41]OFD Sender: No OFD packet to send [12:09:46]OFD Sender: No OFD packet to send [12:09:51]OFD Sender: No OFD packet to send [12:09:56]OFD Sender: No OFD packet to send [12:10:01]OFD Sender: No OFD packet to send [12:10:06]OFD Sender: No OFD packet to send [12:10:11]OFD Sender: No OFD packet to send [12:10:16]OFD Sender: No OFD packet to send [12:10:21]OFD Sender: No OFD packet to send [12:10:26]OFD Sender: No OFD packet to send [12:10:31]OFD Sender: No OFD packet to send [12:10:36]OFD Sender: No OFD packet to send [12:10:41]OFD Sender: No OFD packet to send [12:10:46]OFD Sender: No OFD packet to send [12:10:51]OFD Sender: No OFD packet to send [12:10:56]OFD Sender: No OFD packet to send [12:11:01]OFD Sender: No OFD packet to send [12:11:06]OFD Sender: No OFD packet to send [12:11:11]OFD Sender: No OFD packet to send [12:11:16]OFD Sender: No OFD packet to send [12:11:21]OFD Sender: No OFD packet to send [12:11:26]OFD Sender: No OFD packet to send [12:11:31]OFD Sender: No OFD packet to send [12:11:36]OFD Sender: No OFD packet to send [12:11:41]OFD Sender: No OFD packet to send [12:11:46]OFD Sender: No OFD packet to send [12:11:51]OFD Sender: No OFD packet to send [12:11:56]OFD Sender: No OFD packet to send [12:12:01]OFD Sender: No OFD packet to send [12:12:06]OFD Sender: No OFD packet to send [12:12:11]OFD Sender: No OFD packet to send [12:12:16]OFD Sender: No OFD packet to send [12:12:21]OFD Sender: No OFD packet to send [12:12:26]OFD Sender: No OFD packet to send [12:12:31]OFD Sender: No OFD packet to send [12:12:36]OFD Sender: No OFD packet to send [12:12:41]OFD Sender: No OFD packet to send [12:12:46]OFD Sender: No OFD packet to send [12:12:51]OFD Sender: No OFD packet to send [12:12:56]OFD Sender: No OFD packet to send [12:13:01]OFD Sender: No OFD packet to send [12:13:06]OFD Sender: No OFD packet to send [12:13:11]OFD Sender: No OFD packet to send [12:13:16]OFD Sender: No OFD packet to send [12:13:21]OFD Sender: No OFD packet to send [12:13:26]OFD Sender: No OFD packet to send [12:13:31]OFD Sender: No OFD packet to send [12:13:36]OFD Sender: No OFD packet to send [12:13:41]OFD Sender: No OFD packet to send [12:13:46]OFD Sender: No OFD packet to send [12:13:51]OFD Sender: No OFD packet to send [12:13:56]OFD Sender: No OFD packet to send [12:14:01]OFD Sender: No OFD packet to send [12:14:06]OFD Sender: No OFD packet to send [12:14:11]OFD Sender: No OFD packet to send [12:14:16]OFD Sender: No OFD packet to send [12:14:21]OFD Sender: No OFD packet to send [12:14:24]accept exits with 8 [12:14:24]New connection [12:14:24]New thread 3067100516 created [12:14:24]Thread 3067243876 joined [12:14:24]Waiting for new connection... [12:14:24] Sock 8.Parse request [12:14:24]Sock 8.Check first char [12:14:24]Sock 8.First char is OK [12:14:24]request: POST /json_proto HTTP/1.0 [12:14:24]Method: POST [12:14:24]URL: /json_proto [12:14:24]Method is POST - this is cgi request [12:14:24]url: /json_proto [12:14:24]query_string will be loaded in cgi processing [12:14:24]execute_cgi json_proto POST (null) [12:14:24]execute_cgi path=json_proto method=POST [12:14:24]POST find Content-Length [12:14:24]Host: 172.17.62.6:8080 [12:14:24]Content-Length: 621 [12:14:24]Content-Type: application/json [12:14:24] [12:14:24]POST finish read [12:14:24]Found Content-Length = 621 [12:14:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32791", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:14:24]execute_script... [12:14: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)32791", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:14:24]POST & json_proto [12:14:24]process_json_proto [12:14:24]json parsed OK: [12:14:24]protocol is kg_v1.0 [12:14:24]action value=close_receipt [12:14:24]process_action close_receipt [12:14:24]cmd_close_receipt [12:14:24]MH_GetDate [12:14:24]Write to MH i2c: F0 00 00 34 29 4C [12:14:24]Write i2c OK [12:14:24]MH_I2C_Read... [12:14:24]Read from MH i2c: F0 [12:14:24]MH_I2C_Read... [12:14:24]Read from MH i2c: F0 09 00 [12:14:24]MH_I2C_Read... [12:14:24]Read from MH i2c: F0 09 00 34 29 00 30 60 22 66 61 69 D2 64 6D [12:14:24]GetLastDocTimeStamp 1713528329 [12:14:24]current date 1713528880 [12:14:24]FM_GetShiftState [12:14:24]SAM_PROTO_GetShiftState [12:14:24]wFMCommunicate request_size=4 [12:14:24]MH_SAM_APDU [12:14:24]CAPDU: 80 13 01 00 [12:14:24]Write to MH i2c: E2 08 00 35 29 80 13 01 00 00 00 00 00 DB [12:14:24]Write i2c OK [12:14:24]MH_I2C_Read... [12:14:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:14:24]Read from MH i2c: E2 [12:14:24]MH_I2C_Read... [12:14:24]Read from MH i2c: E2 0E 00 [12:14:24]MH_I2C_Read... [12:14:24]Read from MH i2c: E2 0E 00 35 29 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 D1 [12:14:24]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [12:14:24]wFMCommunicate OK [12:14:24]SAM_PROTO_GetShiftState done [12:14:24]FM_GetShiftState done [12:14:24]opened in 1713485995 [12:14:24]opened+sec_in_day 1713572395 [12:14:24]quantity*price = 13800 [12:14:24]sum+1 = 13801 [12:14:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 17 19.04.2024 12:14 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12515 ФПД: 118990204943942 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T121440&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12515&fm=118990204943942&tin=02508201610067®Number=0000000000100748&sum=13800 0 [12:14:25]StoreToDocumentArchive [12:14:25]shift 279 fd 12515 [12:14:25]save to /storage/0279/doc_00012515 [12:14:25]save last doc name /storage/0279/doc_00012515 to /storage/kkm_last_doc_name [12:14:25]save OK [12:14:25]Clear old archive folders... [12:14:25]ProcessDocumentItem done err = 0, tmpTLVsize=274 [12:14:25]tlvbuf is B6F21350 [12:14:25]SAM_PROTO_ClearQueue [12:14:25]wFMCommunicate request_size=4 [12:14:25]MH_SAM_APDU [12:14:25]CAPDU: 80 09 00 00 [12:14:25]Write to MH i2c: E2 08 00 42 29 80 09 00 00 00 00 00 00 DD [12:14:25]Write i2c OK [12:14:25]MH_I2C_Read... [12:14:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:14:25]Read from MH i2c: E2 [12:14:25]MH_I2C_Read... [12:14:25]Read from MH i2c: E2 03 00 [12:14:25]MH_I2C_Read... [12:14:25]Read from MH i2c: E2 03 00 42 29 00 90 00 DF [12:14:25]RAPDU: 90 00 [12:14:25]wFMCommunicate OK [12:14:25]SAM_PROTO_ClearQueue done [12:14:25]KKMCreateOFDPacket [12:14:25]OFDProtocolAddRootSTLVToBuf [12:14:25]FM_MakeSignedData [12:14:25]FM_MakeSignedData [12:14:25]SAM_PROTO_SignData [12:14:25]wFMCommunicate request_size=4 [12:14:25]MH_SAM_APDU [12:14:25]CAPDU: 80 0D 01 02 [12:14:25]Write to MH i2c: E2 08 00 43 29 80 0D 01 02 00 00 00 00 E5 [12:14:25]Write i2c OK [12:14:25]MH_I2C_Read... [12:14:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:14:25]Read from MH i2c: E2 [12:14:25]MH_I2C_Read... [12:14:25]Read from MH i2c: E2 03 00 [12:14:25]MH_I2C_Read... [12:14:25]Read from MH i2c: E2 03 00 43 29 00 90 00 E0 [12:14:25]RAPDU: 90 00 [12:14:25]wFMCommunicate OK [12:14:25]wFMCommunicate request_size=255 [12:14:25]MH_SAM_APDU [12:14:25]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 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 30 60 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 [12:14:25]Write to MH i2c: E2 02 01 44 29 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 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 30 60 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 00 00 5E [12:14:25]Write i2c OK [12:14:25]MH_I2C_Read... [12:14:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:14:25]Read from MH i2c: E2 [12:14:25]MH_I2C_Read... [12:14:25]Read from MH i2c: E2 03 00 [12:14:25]MH_I2C_Read... [12:14:25]Read from MH i2c: E2 03 00 44 29 00 90 00 E1 [12:14:25]RAPDU: 90 00 [12:14:25]wFMCommunicate OK [12:14:25]wFMCommunicate request_size=33 [12:14:25]MH_SAM_APDU [12:14:25]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E3 30 00 00 35 04 06 00 6C 38 90 E5 BE 46 [12:14:25]Write to MH i2c: E2 24 00 45 29 80 0D 02 02 1C 00 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E3 30 00 00 35 04 06 00 6C 38 90 E5 BE 46 00 00 AE [12:14:25]Write i2c OK [12:14:25]MH_I2C_Read... [12:14:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:14:25]Read from MH i2c: E2 [12:14:25]MH_I2C_Read... [12:14:25]Read from MH i2c: E2 03 00 [12:14:25]MH_I2C_Read... [12:14:25]Read from MH i2c: E2 03 00 45 29 00 90 00 E2 [12:14:25]RAPDU: 90 00 [12:14:25]wFMCommunicate OK [12:14:25]wFMCommunicate request_size=4 [12:14:25]MH_SAM_APDU [12:14:25]CAPDU: 80 0D 03 02 [12:14:25]Write to MH i2c: E2 08 00 46 29 80 0D 03 02 00 00 00 00 EA [12:14:25]Write i2c OK [12:14:25]MH_I2C_Read... [12:14:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:14:25]Read from MH i2c: E2 [12:14:25]MH_I2C_Read... [12:14:25]Read from MH i2c: E2 0B 00 [12:14:25]MH_I2C_Read... [12:14:25]Read from MH i2c: E2 0B 00 46 29 00 E7 E1 08 6E 51 1A AD 41 90 00 82 [12:14:25]RAPDU: E7 E1 08 6E 51 1A AD 41 90 00 [12:14:25]wFMCommunicate OK [12:14:25]SAM_PROTO_SignData done [12:14:25]FM_MakeSignedData done [12:14:25]CreateOFDProtocolMessage [12:14:25]wFMCommunicate request_size=4 [12:14:25]MH_SAM_APDU [12:14:25]CAPDU: 80 11 00 00 [12:14:25]Write to MH i2c: E2 08 00 47 29 80 11 00 00 00 00 00 00 EA [12:14:25]Write i2c OK [12:14:25]MH_I2C_Read... [12:14:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:14:25]Read from MH i2c: E2 [12:14:25]MH_I2C_Read... [12:14:25]Read from MH i2c: E2 17 00 [12:14:25]MH_I2C_Read... [12:14:25]Read from MH i2c: E2 17 00 47 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 44 [12:14:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [12:14:25]wFMCommunicate OK [12:14:25]CreateOFDProtocolMessage done [12:14:25]OFDSenderStorePacket 12515 [12:14:25]StoreOFDPacket docnum=12515 [12:14:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 26 01 00 00 25 20 1E 01 BF 49 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 30 60 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E3 30 00 00 35 04 06 00 6C 38 90 E5 BE 46 E7 E1 08 6E 51 1A AD 41 [12:14:25]CheckFolder [12:14:25]dirname=/storage/ofd_packets [12:14:25]CheckFolder done [12:14:25]ProducePacketName [12:14:25]name=ofd_packets/00012515 [12:14:25]NVStorageSaveData ofd_packets/00012515 [12:14:25]File name is /storage/ofd_packets/00012515 [12:14:25]Write 324 bytes [12:14:25]NVStorageSaveData done [12:14:25]OFDSenderStorePacket done [12:14:25]KKMCreateOFDPacket done [12:14:25]NVStorageSaveData kkm_last_timestamp [12:14:25]File name is /storage/kkm_last_timestamp [12:14:25]Write 4 bytes [12:14:25]NVStorageSaveData done [12:14:25]ExternCall_PrintAddStr [12:14:25]wPrintStart [12:14:25]Write to MH i2c: 01 00 00 48 29 71 [12:14:25]Write i2c OK [12:14:25]MH_I2C_Read... [12:14:25]Read from MH i2c: 01 [12:14:25]MH_I2C_Read... [12:14:25]Read from MH i2c: 01 07 00 [12:14:25]MH_I2C_Read... [12:14:25]Read from MH i2c: 01 07 00 48 29 00 00 00 00 00 FF 0F 86 [12:14:25]RasterBufferAndPrint [12:14:25]line Счет N : (3)32791 [12:14:25]line ИНН: 02508201610067 [12:14:25]line Контрольно-Кассовый Чек [12:14:25]line ПРОДАЖА [12:14:25]line Товар: 4640030091645 [12:14:25]line Сигареты ESSE Exchange M [12:14:25]line 1.000 * 138.00 [12:14:25]line = 138.00 [12:14:25]line НДС 12% НСП 1% [12:14:25]line > о реализуемом товаре [12:14:25]line ИТОГО: 138.00 [12:14:25]line НСП 1% : 1.22 [12:14:25]line НДС 12% : 14.65 [12:14:25]line Наличными: 138.00 [12:14:25]line Безнал.: 0.00 [12:14:25]line Место: АЗС № 106 "Партнер Нефть" [12:14:25]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [12:14:25]line СНО: Общий режим [12:14:25]line Чек 17 19.04.2024 12:14 [12:14:25]line Смена: 279 ФФД: 1.0 [12:14:25]line ЗНМ: 0300000004 [12:14:25]line РНМ: 0000000000100748 [12:14:25]line Версия ККМ: 001 [12:14:25]line ФМ: 0000000000965685 [12:14:25]line ФД: 12515 [12:14:25]line ФПД: 118990204943942 [12:14:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T121440&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12515&fm=118990204943942&tin=02508201610067®Number=0000000000100748&sum=13800 [12:14:26]OFD Sender: Processing packet 12515 [packets to send 7, broken 6] [12:14:26]ProducePacketName [12:14:26]name=ofd_packets/00012515 [12:14:26]OFD Sender: To server: pG, [12:14:26]CommunicateWithHost lk.salyk.kg:30040 [12:14:26]ConnectInit lk.salyk.kg [12:14:26]line 0 [12:14:26]written 0, free lines is 4095 [12:14:26]Connected sock=10 [12:14:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 26 01 00 00 25 20 1E 01 BF 49 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 30 60 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E3 30 00 00 35 04 06 00 6C 38 90 E5 BE 46 E7 E1 08 6E 51 1A AD 41 [12:14:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 37 1E 47 00 D4 6C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 36 38 35 10 04 04 00 E3 30 00 00 F4 03 04 00 B7 08 22 66 B6 04 01 00 00 D1 E4 00 7D EB 2C 27 17 [12:14:26]CommunicateWithHost err = 0 [12:14:26]CheckOFDResponse [12:14:26]1017 (14) - 77093643461234 [12:14:26]1041 (16) - 0000000000965685 [12:14:26]1040 (4) - 12515 [12:14:26]1012 (4) - 19.04.2024 06:01 [12:14:26]1206 (1) - 0 [12:14:26]OFD Sender: Remove packet 12515 [12:14:26]ProducePacketName [12:14:26]name=ofd_packets/00012515 [12:14:26]NVStorageDeleteData [12:14:26]Write to MH i2c: 01 00 00 6F 29 98 [12:14:26]Write i2c OK [12:14:26]MH_I2C_Read... [12:14:26]Read from MH i2c: 01 [12:14:26]MH_I2C_Read... [12:14:26]Read from MH i2c: 01 07 00 [12:14:26]MH_I2C_Read... [12:14:26]Read from MH i2c: 01 07 00 6F 29 00 00 00 00 00 19 0D C5 [12:14:26]RasterBufferAndPrint [12:14:26]line [12:14:26]line [12:14:26]line [12:14:26]line [12:14:26]line [12:14:26]written 0, free lines is 3360 [12:14:26]MH_Cut [12:14:26]Write to MH i2c: D1 01 00 76 29 01 71 [12:14:26]Write i2c OK [12:14:26]MH_I2C_Read... [12:14:26]Read from MH i2c: D1 [12:14:26]MH_I2C_Read... [12:14:26]Read from MH i2c: D1 01 00 [12:14:26]MH_I2C_Read... [12:14:26]Read from MH i2c: D1 01 00 76 29 00 70 [12:14:26]Write to MH i2c: 01 00 00 77 29 A0 [12:14:26]Write i2c OK [12:14:26]MH_I2C_Read... [12:14:27]OFD Sender: No OFD packet to send [12:14:27]*** Cut start [12:14:27]*** Partial cut [12:14:27]*** CUTSNS_PIN = 1 [12:14:27]*** CUTSNS_PIN = 0 [12:14:27]*** Brake cut motor [12:14:27]Read from MH i2c: 01 [12:14:27]MH_I2C_Read... [12:14:27]*** Stop cut motor [12:14:27]*** Cut end [12:14:27]Read from MH i2c: 01 07 00 [12:14:27]MH_I2C_Read... [12:14:27]Read from MH i2c: 01 07 00 77 29 00 00 00 00 00 FF 0F B5 [12:14:27]process_action close_receipt done [12:14:27]requested_data is exist [12:14:27]produce_requested_data [12:14:27]requested_item fm.sn is exist - process it [12:14:27]wFMCommunicate request_size=4 [12:14:27]MH_SAM_APDU [12:14:27]CAPDU: 80 11 00 00 [12:14:27]Write to MH i2c: E2 08 00 78 29 80 11 00 00 00 00 00 00 1B [12:14:27]Write i2c OK [12:14:27]MH_I2C_Read... [12:14:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:14:28]Read from MH i2c: E2 [12:14:28]MH_I2C_Read... [12:14:28]Read from MH i2c: E2 17 00 [12:14:28]MH_I2C_Read... [12:14:28]Read from MH i2c: E2 17 00 78 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 75 [12:14:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [12:14:28]wFMCommunicate OK [12:14:28]requested_item fd.num is exist - process it [12:14:28]SAM_PROTO_GetFieldsCounters [12:14:28]wFMCommunicate request_size=4 [12:14:28]MH_SAM_APDU [12:14:28]CAPDU: 80 13 00 00 [12:14:28]Write to MH i2c: E2 08 00 79 29 80 13 00 00 00 00 00 00 1E [12:14:28]Write i2c OK [12:14:28]MH_I2C_Read... [12:14:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:14:28]Read from MH i2c: E2 [12:14:28]MH_I2C_Read... [12:14:28]Read from MH i2c: E2 62 00 [12:14:28]MH_I2C_Read... [12:14:28]Read from MH i2c: E2 62 00 79 29 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 E3 30 00 00 0E 04 04 00 17 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 9F [12:14:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 E3 30 00 00 0E 04 04 00 17 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 [12:14:28]wFMCommunicate OK [12:14:28]SAM_PROTO_GetFieldsCounters done [12:14:28]requested_item shift.num is exist - process it [12:14:28]requested_item shift.opened is exist - process it [12:14:28]req_shift_opened [12:14:28]FM_GetShiftState [12:14:28]SAM_PROTO_GetShiftState [12:14:28]wFMCommunicate request_size=4 [12:14:28]MH_SAM_APDU [12:14:28]CAPDU: 80 13 01 00 [12:14:28]Write to MH i2c: E2 08 00 7A 29 80 13 01 00 00 00 00 00 20 [12:14:28]Write i2c OK [12:14:28]MH_I2C_Read... [12:14:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:14:28]Read from MH i2c: E2 [12:14:28]MH_I2C_Read... [12:14:28]Read from MH i2c: E2 0E 00 [12:14:28]MH_I2C_Read... [12:14:28]Read from MH i2c: E2 0E 00 7A 29 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 16 [12:14:28]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [12:14:28]wFMCommunicate OK [12:14:28]SAM_PROTO_GetShiftState done [12:14:28]FM_GetShiftState done [12:14:28]req_shift_opened done [12:14:28]requested_item shift.open_date is exist - process it [12:14:28]req_shift_open_date [12:14:28]req_shift_open_date done [12:14:28]produce_requested_data done [12:14:28]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12515,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [12:14:28]process_action_free close_receipt [12:14:28]json_value_free [12:14:28]json_value_free done [12:14:28]process_json_proto returns [12:14:28]Send response to host [12:14:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12515,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [12:14:28]free response buf [12:14:28]execute_script done [12:14:28]execute_script returns [12:14:28]free content buf [12:14:28]Sock 8.Close socket [12:14:28]Sock 8.Thread stoped [12:14:32]OFD Sender: No OFD packet to send [12:14:37]OFD Sender: No OFD packet to send [12:14:42]OFD Sender: No OFD packet to send [12:14:47]OFD Sender: No OFD packet to send [12:14:52]OFD Sender: No OFD packet to send [12:14:57]OFD Sender: No OFD packet to send [12:15:02]OFD Sender: No OFD packet to send [12:15:07]OFD Sender: No OFD packet to send [12:15:12]OFD Sender: No OFD packet to send [12:15:17]OFD Sender: No OFD packet to send [12:15:22]OFD Sender: No OFD packet to send [12:15:27]OFD Sender: No OFD packet to send [12:15:32]OFD Sender: No OFD packet to send [12:15:37]OFD Sender: No OFD packet to send [12:15:42]OFD Sender: No OFD packet to send [12:15:47]OFD Sender: No OFD packet to send [12:15:52]OFD Sender: No OFD packet to send [12:15:57]OFD Sender: No OFD packet to send [12:16:02]OFD Sender: No OFD packet to send [12:16:07]OFD Sender: No OFD packet to send [12:16:12]OFD Sender: No OFD packet to send [12:16:17]OFD Sender: No OFD packet to send [12:16:22]OFD Sender: No OFD packet to send [12:16:27]OFD Sender: No OFD packet to send [12:16:32]OFD Sender: No OFD packet to send [12:16:37]OFD Sender: No OFD packet to send [12:16:42]OFD Sender: No OFD packet to send [12:16:47]OFD Sender: No OFD packet to send [12:16:52]OFD Sender: No OFD packet to send [12:16:57]OFD Sender: No OFD packet to send [12:17:02]OFD Sender: No OFD packet to send [12:17:07]OFD Sender: No OFD packet to send [12:17:12]OFD Sender: No OFD packet to send [12:17:17]OFD Sender: No OFD packet to send [12:17:22]OFD Sender: No OFD packet to send [12:17:27]OFD Sender: No OFD packet to send [12:17:32]OFD Sender: No OFD packet to send [12:17:37]OFD Sender: No OFD packet to send [12:17:42]OFD Sender: No OFD packet to send [12:17:47]OFD Sender: No OFD packet to send [12:17:52]OFD Sender: No OFD packet to send [12:17:57]OFD Sender: No OFD packet to send [12:18:02]OFD Sender: No OFD packet to send [12:18:07]OFD Sender: No OFD packet to send [12:18:12]OFD Sender: No OFD packet to send [12:18:17]OFD Sender: No OFD packet to send [12:18:22]OFD Sender: No OFD packet to send [12:18:27]OFD Sender: No OFD packet to send [12:18:32]OFD Sender: No OFD packet to send [12:18:37]OFD Sender: No OFD packet to send [12:18:42]OFD Sender: No OFD packet to send [12:18:47]OFD Sender: No OFD packet to send [12:18:52]OFD Sender: No OFD packet to send [12:18:57]OFD Sender: No OFD packet to send [12:19:02]OFD Sender: No OFD packet to send [12:19:07]OFD Sender: No OFD packet to send [12:19:12]OFD Sender: No OFD packet to send [12:19:17]OFD Sender: No OFD packet to send [12:19:22]OFD Sender: No OFD packet to send [12:19:27]OFD Sender: No OFD packet to send [12:19:32]OFD Sender: No OFD packet to send [12:19:37]OFD Sender: No OFD packet to send [12:19:42]OFD Sender: No OFD packet to send [12:19:47]OFD Sender: No OFD packet to send [12:19:52]OFD Sender: No OFD packet to send [12:19:57]OFD Sender: No OFD packet to send [12:20:02]OFD Sender: No OFD packet to send [12:20:07]OFD Sender: No OFD packet to send [12:20:12]OFD Sender: No OFD packet to send [12:20:17]OFD Sender: No OFD packet to send [12:20:22]OFD Sender: No OFD packet to send [12:20:27]OFD Sender: No OFD packet to send [12:20:32]OFD Sender: No OFD packet to send [12:20:37]OFD Sender: No OFD packet to send [12:20:42]OFD Sender: No OFD packet to send [12:20:47]OFD Sender: No OFD packet to send [12:20:52]OFD Sender: No OFD packet to send [12:20:57]OFD Sender: No OFD packet to send [12:21:02]OFD Sender: No OFD packet to send [12:21:07]OFD Sender: No OFD packet to send [12:21:12]OFD Sender: No OFD packet to send [12:21:17]OFD Sender: No OFD packet to send [12:21:22]OFD Sender: No OFD packet to send [12:21:27]OFD Sender: No OFD packet to send [12:21:32]OFD Sender: No OFD packet to send [12:21:37]OFD Sender: No OFD packet to send [12:21:42]OFD Sender: No OFD packet to send [12:21:47]OFD Sender: No OFD packet to send [12:21:52]OFD Sender: No OFD packet to send [12:21:57]OFD Sender: No OFD packet to send [12:22:02]OFD Sender: No OFD packet to send [12:22:07]OFD Sender: No OFD packet to send [12:22:12]OFD Sender: No OFD packet to send [12:22:17]OFD Sender: No OFD packet to send [12:22:22]OFD Sender: No OFD packet to send [12:22:27]OFD Sender: No OFD packet to send [12:22:32]OFD Sender: No OFD packet to send [12:22:37]OFD Sender: No OFD packet to send [12:22:42]OFD Sender: No OFD packet to send [12:22:47]OFD Sender: No OFD packet to send [12:22:52]OFD Sender: No OFD packet to send [12:22:57]OFD Sender: No OFD packet to send [12:23:02]OFD Sender: No OFD packet to send [12:23:07]OFD Sender: No OFD packet to send [12:23:12]OFD Sender: No OFD packet to send [12:23:17]OFD Sender: No OFD packet to send [12:23:22]OFD Sender: No OFD packet to send [12:23:27]OFD Sender: No OFD packet to send [12:23:32]OFD Sender: No OFD packet to send [12:23:37]OFD Sender: No OFD packet to send [12:23:42]OFD Sender: No OFD packet to send [12:23:47]OFD Sender: No OFD packet to send [12:23:52]OFD Sender: No OFD packet to send [12:23:57]OFD Sender: No OFD packet to send [12:24:02]OFD Sender: No OFD packet to send [12:24:07]OFD Sender: No OFD packet to send [12:24:12]OFD Sender: No OFD packet to send [12:24:17]OFD Sender: No OFD packet to send [12:24:22]OFD Sender: No OFD packet to send [12:24:27]OFD Sender: No OFD packet to send [12:24:32]OFD Sender: No OFD packet to send [12:24:37]OFD Sender: No OFD packet to send [12:24:42]OFD Sender: No OFD packet to send [12:24:47]OFD Sender: No OFD packet to send [12:24:52]OFD Sender: No OFD packet to send [12:24:57]OFD Sender: No OFD packet to send [12:25:02]OFD Sender: No OFD packet to send [12:25:07]OFD Sender: No OFD packet to send [12:25:12]OFD Sender: No OFD packet to send [12:25:17]OFD Sender: No OFD packet to send [12:25:22]OFD Sender: No OFD packet to send [12:25:27]OFD Sender: No OFD packet to send [12:25:32]OFD Sender: No OFD packet to send [12:25:37]OFD Sender: No OFD packet to send [12:25:42]OFD Sender: No OFD packet to send [12:25:47]OFD Sender: No OFD packet to send [12:25:52]OFD Sender: No OFD packet to send [12:25:57]OFD Sender: No OFD packet to send [12:26:02]OFD Sender: No OFD packet to send [12:26:07]OFD Sender: No OFD packet to send [12:26:12]OFD Sender: No OFD packet to send [12:26:17]OFD Sender: No OFD packet to send [12:26:22]OFD Sender: No OFD packet to send [12:26:27]OFD Sender: No OFD packet to send [12:26:32]OFD Sender: No OFD packet to send [12:26:37]OFD Sender: No OFD packet to send [12:26:42]OFD Sender: No OFD packet to send [12:26:47]OFD Sender: No OFD packet to send [12:26:52]OFD Sender: No OFD packet to send [12:26:57]OFD Sender: No OFD packet to send [12:27:02]OFD Sender: No OFD packet to send [12:27:07]OFD Sender: No OFD packet to send [12:27:12]OFD Sender: No OFD packet to send [12:27:17]OFD Sender: No OFD packet to send [12:27:22]OFD Sender: No OFD packet to send [12:27:27]OFD Sender: No OFD packet to send [12:27:32]OFD Sender: No OFD packet to send [12:27:37]OFD Sender: No OFD packet to send [12:27:42]OFD Sender: No OFD packet to send [12:27:47]OFD Sender: No OFD packet to send [12:27:52]OFD Sender: No OFD packet to send [12:27:57]OFD Sender: No OFD packet to send [12:28:02]OFD Sender: No OFD packet to send [12:28:07]OFD Sender: No OFD packet to send [12:28:12]OFD Sender: No OFD packet to send [12:28:17]OFD Sender: No OFD packet to send [12:28:22]OFD Sender: No OFD packet to send [12:28:27]OFD Sender: No OFD packet to send [12:28:32]OFD Sender: No OFD packet to send [12:28:37]OFD Sender: No OFD packet to send [12:28:42]OFD Sender: No OFD packet to send [12:28:47]OFD Sender: No OFD packet to send [12:28:52]OFD Sender: No OFD packet to send [12:28:57]OFD Sender: No OFD packet to send [12:29:02]OFD Sender: No OFD packet to send [12:29:07]OFD Sender: No OFD packet to send [12:29:12]OFD Sender: No OFD packet to send [12:29:17]OFD Sender: No OFD packet to send [12:29:22]OFD Sender: No OFD packet to send [12:29:27]OFD Sender: No OFD packet to send [12:29:32]OFD Sender: No OFD packet to send [12:29:37]OFD Sender: No OFD packet to send [12:29:42]OFD Sender: No OFD packet to send [12:29:47]OFD Sender: No OFD packet to send [12:29:52]OFD Sender: No OFD packet to send [12:29:57]OFD Sender: No OFD packet to send [12:30:02]OFD Sender: No OFD packet to send [12:30:07]OFD Sender: No OFD packet to send [12:30:12]OFD Sender: No OFD packet to send [12:30:17]OFD Sender: No OFD packet to send [12:30:22]OFD Sender: No OFD packet to send [12:30:27]OFD Sender: No OFD packet to send [12:30:32]OFD Sender: No OFD packet to send [12:30:37]OFD Sender: No OFD packet to send [12:30:42]OFD Sender: No OFD packet to send [12:30:47]OFD Sender: No OFD packet to send [12:30:52]OFD Sender: No OFD packet to send [12:30:57]OFD Sender: No OFD packet to send [12:31:02]OFD Sender: No OFD packet to send [12:31:07]OFD Sender: No OFD packet to send [12:31:12]OFD Sender: No OFD packet to send [12:31:17]OFD Sender: No OFD packet to send [12:31:22]OFD Sender: No OFD packet to send [12:31:27]OFD Sender: No OFD packet to send [12:31:32]OFD Sender: No OFD packet to send [12:31:37]OFD Sender: No OFD packet to send [12:31:42]OFD Sender: No OFD packet to send [12:31:47]OFD Sender: No OFD packet to send [12:31:52]OFD Sender: No OFD packet to send [12:31:57]OFD Sender: No OFD packet to send [12:32:02]OFD Sender: No OFD packet to send [12:32:07]OFD Sender: No OFD packet to send [12:32:12]OFD Sender: No OFD packet to send [12:32:17]OFD Sender: No OFD packet to send [12:32:22]OFD Sender: No OFD packet to send [12:32:27]OFD Sender: No OFD packet to send [12:32:32]OFD Sender: No OFD packet to send [12:32:37]OFD Sender: No OFD packet to send [12:32:42]OFD Sender: No OFD packet to send [12:32:47]OFD Sender: No OFD packet to send [12:32:52]OFD Sender: No OFD packet to send [12:32:57]OFD Sender: No OFD packet to send [12:33:02]OFD Sender: No OFD packet to send [12:33:07]OFD Sender: No OFD packet to send [12:33:12]OFD Sender: No OFD packet to send [12:33:17]OFD Sender: No OFD packet to send [12:33:22]OFD Sender: No OFD packet to send [12:33:27]OFD Sender: No OFD packet to send [12:33:32]OFD Sender: No OFD packet to send [12:33:34]accept exits with 9 [12:33:34]New connection [12:33:34]New thread 3067243876 created [12:33:34]Thread 3067100516 joined [12:33:34]Waiting for new connection... [12:33:34] Sock 9.Parse request [12:33:34]Sock 9.Check first char [12:33:34]Sock 9.First char is OK [12:33:34]request: POST /json_proto HTTP/1.0 [12:33:34]Method: POST [12:33:34]URL: /json_proto [12:33:34]Method is POST - this is cgi request [12:33:34]url: /json_proto [12:33:34]query_string will be loaded in cgi processing [12:33:34]execute_cgi json_proto POST (null) [12:33:34]execute_cgi path=json_proto method=POST [12:33:34]POST find Content-Length [12:33:34]Host: 172.17.62.6:8080 [12:33:34]Content-Length: 625 [12:33:34]Content-Type: application/json [12:33:34] [12:33:34]POST finish read [12:33:34]Found Content-Length = 625 [12:33:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32792", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:33:34]execute_script... [12:33: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)32792", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:33:34]POST & json_proto [12:33:34]process_json_proto [12:33:34]json parsed OK: [12:33:34]protocol is kg_v1.0 [12:33:34]action value=close_receipt [12:33:34]process_action close_receipt [12:33:34]cmd_close_receipt [12:33:34]MH_GetDate [12:33:34]Write to MH i2c: F0 00 00 7B 29 93 [12:33:34]Write i2c OK [12:33:34]MH_I2C_Read... [12:33:34]Read from MH i2c: F0 [12:33:34]MH_I2C_Read... [12:33:34]Read from MH i2c: F0 09 00 [12:33:34]MH_I2C_Read... [12:33:34]Read from MH i2c: F0 09 00 7B 29 00 AE 64 22 66 61 69 D2 64 36 [12:33:34]GetLastDocTimeStamp 1713528880 [12:33:34]current date 1713530030 [12:33:34]FM_GetShiftState [12:33:34]SAM_PROTO_GetShiftState [12:33:34]wFMCommunicate request_size=4 [12:33:34]MH_SAM_APDU [12:33:34]CAPDU: 80 13 01 00 [12:33:34]Write to MH i2c: E2 08 00 7C 29 80 13 01 00 00 00 00 00 22 [12:33:34]Write i2c OK [12:33:34]MH_I2C_Read... [12:33:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:33:34]Read from MH i2c: E2 [12:33:34]MH_I2C_Read... [12:33:34]Read from MH i2c: E2 0E 00 [12:33:34]MH_I2C_Read... [12:33:34]Read from MH i2c: E2 0E 00 7C 29 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 18 [12:33:34]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [12:33:34]wFMCommunicate OK [12:33:34]SAM_PROTO_GetShiftState done [12:33:34]FM_GetShiftState done [12:33:34]opened in 1713485995 [12:33:34]opened+sec_in_day 1713572395 [12:33:34]quantity*price = 10500 [12:33:34]sum+1 = 10501 [12:33:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 18 19.04.2024 12:33 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12516 ФПД: 31240766941325 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T123350&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12516&fm=31240766941325&tin=02508201610067®Number=0000000000100748&sum=10500 0 [12:33:35]StoreToDocumentArchive [12:33:35]shift 279 fd 12516 [12:33:35]save to /storage/0279/doc_00012516 [12:33:35]save last doc name /storage/0279/doc_00012516 to /storage/kkm_last_doc_name [12:33:35]save OK [12:33:35]Clear old archive folders... [12:33:35]ProcessDocumentItem done err = 0, tmpTLVsize=274 [12:33:35]tlvbuf is 01D23FE0 [12:33:35]SAM_PROTO_ClearQueue [12:33:35]wFMCommunicate request_size=4 [12:33:35]MH_SAM_APDU [12:33:35]CAPDU: 80 09 00 00 [12:33:35]Write to MH i2c: E2 08 00 89 29 80 09 00 00 00 00 00 00 24 [12:33:35]Write i2c OK [12:33:35]MH_I2C_Read... [12:33:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:33:35]Read from MH i2c: E2 [12:33:35]MH_I2C_Read... [12:33:35]Read from MH i2c: E2 03 00 [12:33:35]MH_I2C_Read... [12:33:35]Read from MH i2c: E2 03 00 89 29 00 90 00 26 [12:33:35]RAPDU: 90 00 [12:33:35]wFMCommunicate OK [12:33:35]SAM_PROTO_ClearQueue done [12:33:35]KKMCreateOFDPacket [12:33:35]OFDProtocolAddRootSTLVToBuf [12:33:35]FM_MakeSignedData [12:33:35]FM_MakeSignedData [12:33:35]SAM_PROTO_SignData [12:33:35]wFMCommunicate request_size=4 [12:33:35]MH_SAM_APDU [12:33:35]CAPDU: 80 0D 01 02 [12:33:35]Write to MH i2c: E2 08 00 8A 29 80 0D 01 02 00 00 00 00 2C [12:33:35]Write i2c OK [12:33:35]MH_I2C_Read... [12:33:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:33:35]Read from MH i2c: E2 [12:33:35]MH_I2C_Read... [12:33:35]Read from MH i2c: E2 03 00 [12:33:35]MH_I2C_Read... [12:33:35]Read from MH i2c: E2 03 00 8A 29 00 90 00 27 [12:33:35]RAPDU: 90 00 [12:33:35]wFMCommunicate OK [12:33:35]wFMCommunicate request_size=255 [12:33:35]MH_SAM_APDU [12:33:35]CAPDU: 80 0D 02 02 FA 03 00 12 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 AE 64 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 [12:33:35]Write to MH i2c: E2 02 01 8B 29 80 0D 02 02 FA 00 03 00 12 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 AE 64 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 00 00 68 [12:33:35]Write i2c OK [12:33:35]MH_I2C_Read... [12:33:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:33:35]Read from MH i2c: E2 [12:33:35]MH_I2C_Read... [12:33:35]Read from MH i2c: E2 03 00 [12:33:35]MH_I2C_Read... [12:33:35]Read from MH i2c: E2 03 00 8B 29 00 90 00 28 [12:33:35]RAPDU: 90 00 [12:33:35]wFMCommunicate OK [12:33:35]wFMCommunicate request_size=33 [12:33:35]MH_SAM_APDU [12:33:35]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E4 30 00 00 35 04 06 00 1C 69 CE D0 E8 8D [12:33:35]Write to MH i2c: E2 24 00 8C 29 80 0D 02 02 1C 00 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E4 30 00 00 35 04 06 00 1C 69 CE D0 E8 8D 00 00 71 [12:33:35]Write i2c OK [12:33:35]MH_I2C_Read... [12:33:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:33:35]Read from MH i2c: E2 [12:33:35]MH_I2C_Read... [12:33:35]Read from MH i2c: E2 03 00 [12:33:35]MH_I2C_Read... [12:33:35]Read from MH i2c: E2 03 00 8C 29 00 90 00 29 [12:33:35]RAPDU: 90 00 [12:33:35]wFMCommunicate OK [12:33:35]wFMCommunicate request_size=4 [12:33:35]MH_SAM_APDU [12:33:35]CAPDU: 80 0D 03 02 [12:33:35]Write to MH i2c: E2 08 00 8D 29 80 0D 03 02 00 00 00 00 31 [12:33:35]Write i2c OK [12:33:35]MH_I2C_Read... [12:33:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:33:35]Read from MH i2c: E2 [12:33:35]MH_I2C_Read... [12:33:35]Read from MH i2c: E2 0B 00 [12:33:35]MH_I2C_Read... [12:33:35]Read from MH i2c: E2 0B 00 8D 29 00 BE 21 ED 96 9F B3 44 95 90 00 BF [12:33:35]RAPDU: BE 21 ED 96 9F B3 44 95 90 00 [12:33:35]wFMCommunicate OK [12:33:35]SAM_PROTO_SignData done [12:33:35]FM_MakeSignedData done [12:33:35]CreateOFDProtocolMessage [12:33:35]wFMCommunicate request_size=4 [12:33:35]MH_SAM_APDU [12:33:35]CAPDU: 80 11 00 00 [12:33:35]Write to MH i2c: E2 08 00 8E 29 80 11 00 00 00 00 00 00 31 [12:33:35]Write i2c OK [12:33:35]MH_I2C_Read... [12:33:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:33:35]Read from MH i2c: E2 [12:33:35]MH_I2C_Read... [12:33:35]Read from MH i2c: E2 17 00 [12:33:35]MH_I2C_Read... [12:33:35]Read from MH i2c: E2 17 00 8E 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 8B [12:33:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [12:33:35]wFMCommunicate OK [12:33:35]CreateOFDProtocolMessage done [12:33:35]OFDSenderStorePacket 12516 [12:33:35]StoreOFDPacket docnum=12516 [12:33:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 26 01 00 00 2A 0B 1E 01 A7 2D 5A 03 01 00 03 00 12 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 AE 64 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E4 30 00 00 35 04 06 00 1C 69 CE D0 E8 8D BE 21 ED 96 9F B3 44 95 [12:33:35]CheckFolder [12:33:35]dirname=/storage/ofd_packets [12:33:35]CheckFolder done [12:33:35]ProducePacketName [12:33:35]name=ofd_packets/00012516 [12:33:35]NVStorageSaveData ofd_packets/00012516 [12:33:35]File name is /storage/ofd_packets/00012516 [12:33:35]Write 324 bytes [12:33:35]NVStorageSaveData done [12:33:35]OFDSenderStorePacket done [12:33:35]KKMCreateOFDPacket done [12:33:35]NVStorageSaveData kkm_last_timestamp [12:33:35]File name is /storage/kkm_last_timestamp [12:33:35]Write 4 bytes [12:33:35]NVStorageSaveData done [12:33:35]ExternCall_PrintAddStr [12:33:35]wPrintStart [12:33:35]Write to MH i2c: 01 00 00 8F 29 B8 [12:33:35]Write i2c OK [12:33:35]MH_I2C_Read... [12:33:35]Read from MH i2c: 01 [12:33:35]MH_I2C_Read... [12:33:35]Read from MH i2c: 01 07 00 [12:33:35]MH_I2C_Read... [12:33:35]Read from MH i2c: 01 07 00 8F 29 00 00 00 00 00 FF 0F CD [12:33:35]RasterBufferAndPrint [12:33:35]line Счет N : (3)32792 [12:33:35]line ИНН: 02508201610067 [12:33:35]line Контрольно-Кассовый Чек [12:33:35]line ПРОДАЖА [12:33:35]line Товар: 2000036240010 [12:33:35]line Кофе Латте (GABB TRADE) [12:33:35]line 1.000 * 105.00 [12:33:35]line = 105.00 [12:33:35]line НДС 12% НСП 1% [12:33:35]line > о реализуемом товаре [12:33:35]line ИТОГО: 105.00 [12:33:35]line НСП 1% : 0.93 [12:33:35]line НДС 12% : 11.15 [12:33:35]line Наличными: 105.00 [12:33:35]line Безнал.: 0.00 [12:33:35]line Место: АЗС № 106 "Партнер Нефть" [12:33:35]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [12:33:35]line СНО: Общий режим [12:33:35]line Чек 18 19.04.2024 12:33 [12:33:35]line Смена: 279 ФФД: 1.0 [12:33:35]line ЗНМ: 0300000004 [12:33:35]line РНМ: 0000000000100748 [12:33:35]line Версия ККМ: 001 [12:33:35]line ФМ: 0000000000965685 [12:33:35]line ФД: 12516 [12:33:35]line ФПД: 31240766941325 [12:33:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T123350&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12516&fm=31240766941325&tin=02508201610067®Number=0000000000100748&sum=10500 [12:33:36]OFD Sender: Processing packet 12516 [packets to send 7, broken 6] [12:33:36]ProducePacketName [12:33:36]name=ofd_packets/00012516 [12:33:36]OFD Sender: To server: pG, [12:33:36]CommunicateWithHost lk.salyk.kg:30040 [12:33:36]ConnectInit lk.salyk.kg [12:33:36]line 0 [12:33:36]written 0, free lines is 4095 [12:33:36]Connected sock=10 [12:33:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 26 01 00 00 2A 0B 1E 01 A7 2D 5A 03 01 00 03 00 12 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 AE 64 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E4 30 00 00 35 04 06 00 1C 69 CE D0 E8 8D BE 21 ED 96 9F B3 44 95 [12:33:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 48 B5 47 00 25 EB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E4 30 00 00 F4 03 04 00 35 0D 22 66 B6 04 01 00 00 23 2A 92 C2 49 27 69 A3 [12:33:36]CommunicateWithHost err = 0 [12:33:36]CheckOFDResponse [12:33:36]1017 (14) - 77093643461234 [12:33:36]1041 (16) - 0000000000965685 [12:33:36]1040 (4) - 12516 [12:33:36]1012 (4) - 19.04.2024 06:20 [12:33:36]1206 (1) - 0 [12:33:36]OFD Sender: Remove packet 12516 [12:33:36]ProducePacketName [12:33:36]name=ofd_packets/00012516 [12:33:36]NVStorageDeleteData [12:33:36]Write to MH i2c: 01 00 00 B6 29 DF [12:33:36]Write i2c OK [12:33:36]MH_I2C_Read... [12:33:36]Read from MH i2c: 01 [12:33:36]MH_I2C_Read... [12:33:36]Read from MH i2c: 01 07 00 [12:33:36]MH_I2C_Read... [12:33:36]Read from MH i2c: 01 07 00 B6 29 00 00 00 00 00 09 0D FC [12:33:36]RasterBufferAndPrint [12:33:36]line [12:33:36]line [12:33:36]line [12:33:36]line [12:33:36]line [12:33:36]written 0, free lines is 3346 [12:33:36]MH_Cut [12:33:36]Write to MH i2c: D1 01 00 BD 29 01 B8 [12:33:36]Write i2c OK [12:33:36]MH_I2C_Read... [12:33:36]Read from MH i2c: D1 [12:33:36]MH_I2C_Read... [12:33:36]Read from MH i2c: D1 01 00 [12:33:36]MH_I2C_Read... [12:33:36]Read from MH i2c: D1 01 00 BD 29 00 B7 [12:33:36]Write to MH i2c: 01 00 00 BE 29 E7 [12:33:36]Write i2c OK [12:33:36]MH_I2C_Read... [12:33:37]OFD Sender: No OFD packet to send [12:33:37]*** Cut start [12:33:37]*** Partial cut [12:33:37]*** CUTSNS_PIN = 1 [12:33:37]*** CUTSNS_PIN = 0 [12:33:37]*** Brake cut motor [12:33:38]Read from MH i2c: 01 [12:33:38]MH_I2C_Read... [12:33:38]*** Stop cut motor [12:33:38]*** Cut end [12:33:38]Read from MH i2c: 01 07 00 [12:33:38]MH_I2C_Read... [12:33:38]Read from MH i2c: 01 07 00 BE 29 00 00 00 00 00 FF 0F FC [12:33:38]process_action close_receipt done [12:33:38]requested_data is exist [12:33:38]produce_requested_data [12:33:38]requested_item fm.sn is exist - process it [12:33:38]wFMCommunicate request_size=4 [12:33:38]MH_SAM_APDU [12:33:38]CAPDU: 80 11 00 00 [12:33:38]Write to MH i2c: E2 08 00 BF 29 80 11 00 00 00 00 00 00 62 [12:33:38]Write i2c OK [12:33:38]MH_I2C_Read... [12:33:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:33:38]Read from MH i2c: E2 [12:33:38]MH_I2C_Read... [12:33:38]Read from MH i2c: E2 17 00 [12:33:38]MH_I2C_Read... [12:33:38]Read from MH i2c: E2 17 00 BF 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 BC [12:33:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [12:33:38]wFMCommunicate OK [12:33:38]requested_item fd.num is exist - process it [12:33:38]SAM_PROTO_GetFieldsCounters [12:33:38]wFMCommunicate request_size=4 [12:33:38]MH_SAM_APDU [12:33:38]CAPDU: 80 13 00 00 [12:33:38]Write to MH i2c: E2 08 00 C0 29 80 13 00 00 00 00 00 00 65 [12:33:38]Write i2c OK [12:33:38]MH_I2C_Read... [12:33:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:33:38]Read from MH i2c: E2 [12:33:38]MH_I2C_Read... [12:33:38]Read from MH i2c: E2 62 00 [12:33:38]MH_I2C_Read... [12:33:38]Read from MH i2c: E2 62 00 C0 29 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 E4 30 00 00 0E 04 04 00 17 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 EA [12:33:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 E4 30 00 00 0E 04 04 00 17 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 [12:33:38]wFMCommunicate OK [12:33:38]SAM_PROTO_GetFieldsCounters done [12:33:38]requested_item shift.num is exist - process it [12:33:38]requested_item shift.opened is exist - process it [12:33:38]req_shift_opened [12:33:38]FM_GetShiftState [12:33:38]SAM_PROTO_GetShiftState [12:33:38]wFMCommunicate request_size=4 [12:33:38]MH_SAM_APDU [12:33:38]CAPDU: 80 13 01 00 [12:33:38]Write to MH i2c: E2 08 00 C1 29 80 13 01 00 00 00 00 00 67 [12:33:38]Write i2c OK [12:33:38]MH_I2C_Read... [12:33:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:33:38]Read from MH i2c: E2 [12:33:38]MH_I2C_Read... [12:33:38]Read from MH i2c: E2 0E 00 [12:33:38]MH_I2C_Read... [12:33:38]Read from MH i2c: E2 0E 00 C1 29 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 5D [12:33:38]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [12:33:38]wFMCommunicate OK [12:33:38]SAM_PROTO_GetShiftState done [12:33:38]FM_GetShiftState done [12:33:38]req_shift_opened done [12:33:38]requested_item shift.open_date is exist - process it [12:33:38]req_shift_open_date [12:33:38]req_shift_open_date done [12:33:38]produce_requested_data done [12:33:38]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12516,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [12:33:38]process_action_free close_receipt [12:33:38]json_value_free [12:33:38]json_value_free done [12:33:38]process_json_proto returns [12:33:38]Send response to host [12:33:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12516,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [12:33:38]free response buf [12:33:38]execute_script done [12:33:38]execute_script returns [12:33:38]free content buf [12:33:38]Sock 9.Close socket [12:33:38]Sock 9.Thread stoped [12:33:42]OFD Sender: No OFD packet to send [12:33:47]OFD Sender: No OFD packet to send [12:33:52]OFD Sender: No OFD packet to send [12:33:57]OFD Sender: No OFD packet to send [12:34:02]OFD Sender: No OFD packet to send [12:34:07]OFD Sender: No OFD packet to send [12:34:12]OFD Sender: No OFD packet to send [12:34:17]OFD Sender: No OFD packet to send [12:34:22]OFD Sender: No OFD packet to send [12:34:27]OFD Sender: No OFD packet to send [12:34:32]OFD Sender: No OFD packet to send [12:34:37]OFD Sender: No OFD packet to send [12:34:42]OFD Sender: No OFD packet to send [12:34:47]OFD Sender: No OFD packet to send [12:34:52]OFD Sender: No OFD packet to send [12:34:57]OFD Sender: No OFD packet to send [12:35:02]OFD Sender: No OFD packet to send [12:35:07]OFD Sender: No OFD packet to send [12:35:12]OFD Sender: No OFD packet to send [12:35:17]OFD Sender: No OFD packet to send [12:35:22]OFD Sender: No OFD packet to send [12:35:27]OFD Sender: No OFD packet to send [12:35:32]OFD Sender: No OFD packet to send [12:35:37]OFD Sender: No OFD packet to send [12:35:42]OFD Sender: No OFD packet to send [12:35:47]OFD Sender: No OFD packet to send [12:35:52]OFD Sender: No OFD packet to send [12:35:57]OFD Sender: No OFD packet to send [12:36:02]OFD Sender: No OFD packet to send [12:36:07]OFD Sender: No OFD packet to send [12:36:12]OFD Sender: No OFD packet to send [12:36:17]OFD Sender: No OFD packet to send [12:36:22]OFD Sender: No OFD packet to send [12:36:27]OFD Sender: No OFD packet to send [12:36:32]OFD Sender: No OFD packet to send [12:36:37]OFD Sender: No OFD packet to send [12:36:42]OFD Sender: No OFD packet to send [12:36:47]OFD Sender: No OFD packet to send [12:36:52]OFD Sender: No OFD packet to send [12:36:57]OFD Sender: No OFD packet to send [12:37:02]OFD Sender: No OFD packet to send [12:37:07]OFD Sender: No OFD packet to send [12:37:12]OFD Sender: No OFD packet to send [12:37:17]OFD Sender: No OFD packet to send [12:37:22]OFD Sender: No OFD packet to send [12:37:27]OFD Sender: No OFD packet to send [12:37:32]OFD Sender: No OFD packet to send [12:37:37]OFD Sender: No OFD packet to send [12:37:42]OFD Sender: No OFD packet to send [12:37:47]OFD Sender: No OFD packet to send [12:37:52]OFD Sender: No OFD packet to send [12:37:57]OFD Sender: No OFD packet to send [12:38:02]OFD Sender: No OFD packet to send [12:38:07]OFD Sender: No OFD packet to send [12:38:12]OFD Sender: No OFD packet to send [12:38:17]OFD Sender: No OFD packet to send [12:38:22]OFD Sender: No OFD packet to send [12:38:27]OFD Sender: No OFD packet to send [12:38:32]OFD Sender: No OFD packet to send [12:38:37]OFD Sender: No OFD packet to send [12:38:42]OFD Sender: No OFD packet to send [12:38:47]OFD Sender: No OFD packet to send [12:38:52]OFD Sender: No OFD packet to send [12:38:57]OFD Sender: No OFD packet to send [12:39:02]OFD Sender: No OFD packet to send [12:39:07]OFD Sender: No OFD packet to send [12:39:12]OFD Sender: No OFD packet to send [12:39:17]OFD Sender: No OFD packet to send [12:39:22]OFD Sender: No OFD packet to send [12:39:27]OFD Sender: No OFD packet to send [12:39:32]OFD Sender: No OFD packet to send [12:39:37]OFD Sender: No OFD packet to send [12:39:42]OFD Sender: No OFD packet to send [12:39:47]OFD Sender: No OFD packet to send [12:39:52]OFD Sender: No OFD packet to send [12:39:57]OFD Sender: No OFD packet to send [12:40:02]OFD Sender: No OFD packet to send [12:40:07]OFD Sender: No OFD packet to send [12:40:12]OFD Sender: No OFD packet to send [12:40:17]OFD Sender: No OFD packet to send [12:40:22]OFD Sender: No OFD packet to send [12:40:27]OFD Sender: No OFD packet to send [12:40:32]OFD Sender: No OFD packet to send [12:40:37]OFD Sender: No OFD packet to send [12:40:42]OFD Sender: No OFD packet to send [12:40:47]OFD Sender: No OFD packet to send [12:40:52]OFD Sender: No OFD packet to send [12:40:57]OFD Sender: No OFD packet to send [12:41:02]OFD Sender: No OFD packet to send [12:41:07]OFD Sender: No OFD packet to send [12:41:12]OFD Sender: No OFD packet to send [12:41:17]OFD Sender: No OFD packet to send [12:41:22]OFD Sender: No OFD packet to send [12:41:27]OFD Sender: No OFD packet to send [12:41:32]OFD Sender: No OFD packet to send [12:41:37]OFD Sender: No OFD packet to send [12:41:42]OFD Sender: No OFD packet to send [12:41:47]OFD Sender: No OFD packet to send [12:41:52]OFD Sender: No OFD packet to send [12:41:57]OFD Sender: No OFD packet to send [12:42:02]OFD Sender: No OFD packet to send [12:42:07]OFD Sender: No OFD packet to send [12:42:12]OFD Sender: No OFD packet to send [12:42:17]OFD Sender: No OFD packet to send [12:42:22]OFD Sender: No OFD packet to send [12:42:27]OFD Sender: No OFD packet to send [12:42:32]OFD Sender: No OFD packet to send [12:42:37]OFD Sender: No OFD packet to send [12:42:42]OFD Sender: No OFD packet to send [12:42:47]OFD Sender: No OFD packet to send [12:42:52]OFD Sender: No OFD packet to send [12:42:57]OFD Sender: No OFD packet to send [12:43:02]OFD Sender: No OFD packet to send [12:43:07]OFD Sender: No OFD packet to send [12:43:12]OFD Sender: No OFD packet to send [12:43:17]OFD Sender: No OFD packet to send [12:43:22]OFD Sender: No OFD packet to send [12:43:27]OFD Sender: No OFD packet to send [12:43:32]OFD Sender: No OFD packet to send [12:43:37]OFD Sender: No OFD packet to send [12:43:42]OFD Sender: No OFD packet to send [12:43:47]OFD Sender: No OFD packet to send [12:43:52]OFD Sender: No OFD packet to send [12:43:57]OFD Sender: No OFD packet to send [12:44:02]OFD Sender: No OFD packet to send [12:44:07]OFD Sender: No OFD packet to send [12:44:12]OFD Sender: No OFD packet to send [12:44:17]OFD Sender: No OFD packet to send [12:44:22]OFD Sender: No OFD packet to send [12:44:27]OFD Sender: No OFD packet to send [12:44:32]OFD Sender: No OFD packet to send [12:44:37]OFD Sender: No OFD packet to send [12:44:42]OFD Sender: No OFD packet to send [12:44:47]OFD Sender: No OFD packet to send [12:44:52]OFD Sender: No OFD packet to send [12:44:57]OFD Sender: No OFD packet to send [12:45:02]OFD Sender: No OFD packet to send [12:45:07]OFD Sender: No OFD packet to send [12:45:12]OFD Sender: No OFD packet to send [12:45:17]OFD Sender: No OFD packet to send [12:45:22]OFD Sender: No OFD packet to send [12:45:27]OFD Sender: No OFD packet to send [12:45:32]OFD Sender: No OFD packet to send [12:45:37]OFD Sender: No OFD packet to send [12:45:42]OFD Sender: No OFD packet to send [12:45:47]OFD Sender: No OFD packet to send [12:45:52]OFD Sender: No OFD packet to send [12:45:57]OFD Sender: No OFD packet to send [12:46:02]OFD Sender: No OFD packet to send [12:46:07]OFD Sender: No OFD packet to send [12:46:12]OFD Sender: No OFD packet to send [12:46:17]OFD Sender: No OFD packet to send [12:46:22]OFD Sender: No OFD packet to send [12:46:27]OFD Sender: No OFD packet to send [12:46:32]OFD Sender: No OFD packet to send [12:46:37]OFD Sender: No OFD packet to send [12:46:42]OFD Sender: No OFD packet to send [12:46:47]OFD Sender: No OFD packet to send [12:46:52]OFD Sender: No OFD packet to send [12:46:57]OFD Sender: No OFD packet to send [12:47:02]OFD Sender: No OFD packet to send [12:47:07]OFD Sender: No OFD packet to send [12:47:12]OFD Sender: No OFD packet to send [12:47:17]OFD Sender: No OFD packet to send [12:47:22]OFD Sender: No OFD packet to send [12:47:27]OFD Sender: No OFD packet to send [12:47:32]OFD Sender: No OFD packet to send [12:47:37]OFD Sender: No OFD packet to send [12:47:42]OFD Sender: No OFD packet to send [12:47:47]OFD Sender: No OFD packet to send [12:47:52]OFD Sender: No OFD packet to send [12:47:57]OFD Sender: No OFD packet to send [12:48:02]OFD Sender: No OFD packet to send [12:48:07]OFD Sender: No OFD packet to send [12:48:12]OFD Sender: No OFD packet to send [12:48:17]OFD Sender: No OFD packet to send [12:48:22]OFD Sender: No OFD packet to send [12:48:27]OFD Sender: No OFD packet to send [12:48:32]OFD Sender: No OFD packet to send [12:48:37]OFD Sender: No OFD packet to send [12:48:42]OFD Sender: No OFD packet to send [12:48:47]OFD Sender: No OFD packet to send [12:48:52]OFD Sender: No OFD packet to send [12:48:57]OFD Sender: No OFD packet to send [12:49:02]OFD Sender: No OFD packet to send [12:49:07]OFD Sender: No OFD packet to send [12:49:12]OFD Sender: No OFD packet to send [12:49:17]OFD Sender: No OFD packet to send [12:49:22]OFD Sender: No OFD packet to send [12:49:27]OFD Sender: No OFD packet to send [12:49:32]OFD Sender: No OFD packet to send [12:49:37]OFD Sender: No OFD packet to send [12:49:42]OFD Sender: No OFD packet to send [12:49:47]OFD Sender: No OFD packet to send [12:49:52]OFD Sender: No OFD packet to send [12:49:57]OFD Sender: No OFD packet to send [12:50:02]OFD Sender: No OFD packet to send [12:50:07]OFD Sender: No OFD packet to send [12:50:12]OFD Sender: No OFD packet to send [12:50:17]OFD Sender: No OFD packet to send [12:50:22]OFD Sender: No OFD packet to send [12:50:27]OFD Sender: No OFD packet to send [12:50:32]OFD Sender: No OFD packet to send [12:50:37]OFD Sender: No OFD packet to send [12:50:42]OFD Sender: No OFD packet to send [12:50:47]OFD Sender: No OFD packet to send [12:50:52]OFD Sender: No OFD packet to send [12:50:57]OFD Sender: No OFD packet to send [12:51:02]OFD Sender: No OFD packet to send [12:51:07]OFD Sender: No OFD packet to send [12:51:12]OFD Sender: No OFD packet to send [12:51:17]OFD Sender: No OFD packet to send [12:51:22]OFD Sender: No OFD packet to send [12:51:27]OFD Sender: No OFD packet to send [12:51:32]OFD Sender: No OFD packet to send [12:51:37]OFD Sender: No OFD packet to send [12:51:42]OFD Sender: No OFD packet to send [12:51:47]OFD Sender: No OFD packet to send [12:51:52]OFD Sender: No OFD packet to send [12:51:57]OFD Sender: No OFD packet to send [12:52:02]OFD Sender: No OFD packet to send [12:52:07]OFD Sender: No OFD packet to send [12:52:12]OFD Sender: No OFD packet to send [12:52:17]OFD Sender: No OFD packet to send [12:52:22]OFD Sender: No OFD packet to send [12:52:27]OFD Sender: No OFD packet to send [12:52:32]OFD Sender: No OFD packet to send [12:52:37]OFD Sender: No OFD packet to send [12:52:42]OFD Sender: No OFD packet to send [12:52:47]OFD Sender: No OFD packet to send [12:52:52]OFD Sender: No OFD packet to send [12:52:57]OFD Sender: No OFD packet to send [12:53:02]OFD Sender: No OFD packet to send [12:53:08]OFD Sender: No OFD packet to send [12:53:13]OFD Sender: No OFD packet to send [12:53:18]OFD Sender: No OFD packet to send [12:53:23]OFD Sender: No OFD packet to send [12:53:28]OFD Sender: No OFD packet to send [12:53:33]OFD Sender: No OFD packet to send [12:53:38]OFD Sender: No OFD packet to send [12:53:43]OFD Sender: No OFD packet to send [12:53:48]OFD Sender: No OFD packet to send [12:53:53]OFD Sender: No OFD packet to send [12:53:58]OFD Sender: No OFD packet to send [12:54:03]OFD Sender: No OFD packet to send [12:54:08]OFD Sender: No OFD packet to send [12:54:13]OFD Sender: No OFD packet to send [12:54:18]OFD Sender: No OFD packet to send [12:54:23]OFD Sender: No OFD packet to send [12:54:28]OFD Sender: No OFD packet to send [12:54:33]OFD Sender: No OFD packet to send [12:54:38]OFD Sender: No OFD packet to send [12:54:43]OFD Sender: No OFD packet to send [12:54:48]OFD Sender: No OFD packet to send [12:54:53]OFD Sender: No OFD packet to send [12:54:58]OFD Sender: No OFD packet to send [12:55:03]OFD Sender: No OFD packet to send [12:55:08]OFD Sender: No OFD packet to send [12:55:13]OFD Sender: No OFD packet to send [12:55:18]OFD Sender: No OFD packet to send [12:55:23]OFD Sender: No OFD packet to send [12:55:28]OFD Sender: No OFD packet to send [12:55:33]OFD Sender: No OFD packet to send [12:55:38]OFD Sender: No OFD packet to send [12:55:43]OFD Sender: No OFD packet to send [12:55:48]OFD Sender: No OFD packet to send [12:55:53]OFD Sender: No OFD packet to send [12:55:58]OFD Sender: No OFD packet to send [12:56:03]OFD Sender: No OFD packet to send [12:56:08]OFD Sender: No OFD packet to send [12:56:13]OFD Sender: No OFD packet to send [12:56:18]OFD Sender: No OFD packet to send [12:56:23]OFD Sender: No OFD packet to send [12:56:28]OFD Sender: No OFD packet to send [12:56:33]OFD Sender: No OFD packet to send [12:56:38]OFD Sender: No OFD packet to send [12:56:43]OFD Sender: No OFD packet to send [12:56:48]OFD Sender: No OFD packet to send [12:56:53]OFD Sender: No OFD packet to send [12:56:58]OFD Sender: No OFD packet to send [12:57:03]OFD Sender: No OFD packet to send [12:57:08]OFD Sender: No OFD packet to send [12:57:13]OFD Sender: No OFD packet to send [12:57:18]OFD Sender: No OFD packet to send [12:57:23]OFD Sender: No OFD packet to send [12:57:28]OFD Sender: No OFD packet to send [12:57:33]OFD Sender: No OFD packet to send [12:57:38]OFD Sender: No OFD packet to send [12:57:43]OFD Sender: No OFD packet to send [12:57:48]OFD Sender: No OFD packet to send [12:57:53]OFD Sender: No OFD packet to send [12:57:58]OFD Sender: No OFD packet to send [12:58:03]OFD Sender: No OFD packet to send [12:58:08]OFD Sender: No OFD packet to send [12:58:13]OFD Sender: No OFD packet to send [12:58:18]OFD Sender: No OFD packet to send [12:58:23]OFD Sender: No OFD packet to send [12:58:28]OFD Sender: No OFD packet to send [12:58:33]OFD Sender: No OFD packet to send [12:58:38]OFD Sender: No OFD packet to send [12:58:43]OFD Sender: No OFD packet to send [12:58:48]OFD Sender: No OFD packet to send [12:58:53]OFD Sender: No OFD packet to send [12:58:58]OFD Sender: No OFD packet to send [12:59:03]OFD Sender: No OFD packet to send [12:59:08]OFD Sender: No OFD packet to send [12:59:13]OFD Sender: No OFD packet to send [12:59:18]OFD Sender: No OFD packet to send [12:59:23]OFD Sender: No OFD packet to send [12:59:28]OFD Sender: No OFD packet to send [12:59:33]OFD Sender: No OFD packet to send [12:59:38]OFD Sender: No OFD packet to send [12:59:43]OFD Sender: No OFD packet to send [12:59:48]OFD Sender: No OFD packet to send [12:59:53]OFD Sender: No OFD packet to send [12:59:58]OFD Sender: No OFD packet to send [13:00:03]OFD Sender: No OFD packet to send [13:00:08]OFD Sender: No OFD packet to send [13:00:13]OFD Sender: No OFD packet to send [13:00:18]OFD Sender: No OFD packet to send [13:00:23]OFD Sender: No OFD packet to send [13:00:28]OFD Sender: No OFD packet to send [13:00:33]OFD Sender: No OFD packet to send [13:00:38]OFD Sender: No OFD packet to send [13:00:43]OFD Sender: No OFD packet to send [13:00:48]OFD Sender: No OFD packet to send [13:00:53]OFD Sender: No OFD packet to send [13:00:58]OFD Sender: No OFD packet to send [13:01:03]OFD Sender: No OFD packet to send [13:01:08]OFD Sender: No OFD packet to send [13:01:13]OFD Sender: No OFD packet to send [13:01:18]OFD Sender: No OFD packet to send [13:01:23]OFD Sender: No OFD packet to send [13:01:28]OFD Sender: No OFD packet to send [13:01:33]OFD Sender: No OFD packet to send [13:01:38]OFD Sender: No OFD packet to send [13:01:43]OFD Sender: No OFD packet to send [13:01:48]OFD Sender: No OFD packet to send [13:01:53]OFD Sender: No OFD packet to send [13:01:58]OFD Sender: No OFD packet to send [13:02:03]OFD Sender: No OFD packet to send [13:02:08]OFD Sender: No OFD packet to send [13:02:13]OFD Sender: No OFD packet to send [13:02:18]OFD Sender: No OFD packet to send [13:02:23]OFD Sender: No OFD packet to send [13:02:28]OFD Sender: No OFD packet to send [13:02:33]OFD Sender: No OFD packet to send [13:02:38]OFD Sender: No OFD packet to send [13:02:43]OFD Sender: No OFD packet to send [13:02:48]OFD Sender: No OFD packet to send [13:02:53]OFD Sender: No OFD packet to send [13:02:58]OFD Sender: No OFD packet to send [13:03:03]OFD Sender: No OFD packet to send [13:03:08]OFD Sender: No OFD packet to send [13:03:13]OFD Sender: No OFD packet to send [13:03:18]OFD Sender: No OFD packet to send [13:03:23]OFD Sender: No OFD packet to send [13:03:28]OFD Sender: No OFD packet to send [13:03:33]OFD Sender: No OFD packet to send [13:03:38]OFD Sender: No OFD packet to send [13:03:43]OFD Sender: No OFD packet to send [13:03:48]OFD Sender: No OFD packet to send [13:03:53]OFD Sender: No OFD packet to send [13:03:58]OFD Sender: No OFD packet to send [13:04:03]OFD Sender: No OFD packet to send [13:04:08]OFD Sender: No OFD packet to send [13:04:13]OFD Sender: No OFD packet to send [13:04:18]OFD Sender: No OFD packet to send [13:04:23]OFD Sender: No OFD packet to send [13:04:28]OFD Sender: No OFD packet to send [13:04:33]OFD Sender: No OFD packet to send [13:04:38]OFD Sender: No OFD packet to send [13:04:43]OFD Sender: No OFD packet to send [13:04:48]OFD Sender: No OFD packet to send [13:04:53]OFD Sender: No OFD packet to send [13:04:58]OFD Sender: No OFD packet to send [13:05:03]OFD Sender: No OFD packet to send [13:05:08]OFD Sender: No OFD packet to send [13:05:13]OFD Sender: No OFD packet to send [13:05:18]OFD Sender: No OFD packet to send [13:05:23]OFD Sender: No OFD packet to send [13:05:28]OFD Sender: No OFD packet to send [13:05:33]OFD Sender: No OFD packet to send [13:05:38]OFD Sender: No OFD packet to send [13:05:43]OFD Sender: No OFD packet to send [13:05:48]OFD Sender: No OFD packet to send [13:05:53]OFD Sender: No OFD packet to send [13:05:58]OFD Sender: No OFD packet to send [13:06:03]OFD Sender: No OFD packet to send [13:06:08]OFD Sender: No OFD packet to send [13:06:13]OFD Sender: No OFD packet to send [13:06:18]OFD Sender: No OFD packet to send [13:06:23]OFD Sender: No OFD packet to send [13:06:28]OFD Sender: No OFD packet to send [13:06:33]OFD Sender: No OFD packet to send [13:06:38]OFD Sender: No OFD packet to send [13:06:43]OFD Sender: No OFD packet to send [13:06:48]OFD Sender: No OFD packet to send [13:06:53]OFD Sender: No OFD packet to send [13:06:58]OFD Sender: No OFD packet to send [13:07:03]OFD Sender: No OFD packet to send [13:07:08]OFD Sender: No OFD packet to send [13:07:13]OFD Sender: No OFD packet to send [13:07:18]OFD Sender: No OFD packet to send [13:07:23]OFD Sender: No OFD packet to send [13:07:28]OFD Sender: No OFD packet to send [13:07:33]OFD Sender: No OFD packet to send [13:07:38]OFD Sender: No OFD packet to send [13:07:43]OFD Sender: No OFD packet to send [13:07:48]OFD Sender: No OFD packet to send [13:07:53]OFD Sender: No OFD packet to send [13:07:58]OFD Sender: No OFD packet to send [13:08:03]OFD Sender: No OFD packet to send [13:08:08]OFD Sender: No OFD packet to send [13:08:13]OFD Sender: No OFD packet to send [13:08:18]OFD Sender: No OFD packet to send [13:08:23]OFD Sender: No OFD packet to send [13:08:28]OFD Sender: No OFD packet to send [13:08:33]OFD Sender: No OFD packet to send [13:08:38]OFD Sender: No OFD packet to send [13:08:43]OFD Sender: No OFD packet to send [13:08:48]OFD Sender: No OFD packet to send [13:08:53]OFD Sender: No OFD packet to send [13:08:58]OFD Sender: No OFD packet to send [13:09:03]OFD Sender: No OFD packet to send [13:09:08]OFD Sender: No OFD packet to send [13:09:13]OFD Sender: No OFD packet to send [13:09:18]OFD Sender: No OFD packet to send [13:09:23]OFD Sender: No OFD packet to send [13:09:28]OFD Sender: No OFD packet to send [13:09:33]OFD Sender: No OFD packet to send [13:09:38]OFD Sender: No OFD packet to send [13:09:43]OFD Sender: No OFD packet to send [13:09:48]OFD Sender: No OFD packet to send [13:09:53]OFD Sender: No OFD packet to send [13:09:58]OFD Sender: No OFD packet to send [13:10:03]OFD Sender: No OFD packet to send [13:10:08]OFD Sender: No OFD packet to send [13:10:13]OFD Sender: No OFD packet to send [13:10:18]OFD Sender: No OFD packet to send [13:10:23]OFD Sender: No OFD packet to send [13:10:28]OFD Sender: No OFD packet to send [13:10:33]OFD Sender: No OFD packet to send [13:10:38]OFD Sender: No OFD packet to send [13:10:43]OFD Sender: No OFD packet to send [13:10:48]OFD Sender: No OFD packet to send [13:10:53]OFD Sender: No OFD packet to send [13:10:58]OFD Sender: No OFD packet to send [13:11:03]OFD Sender: No OFD packet to send [13:11:08]OFD Sender: No OFD packet to send [13:11:13]OFD Sender: No OFD packet to send [13:11:18]OFD Sender: No OFD packet to send [13:11:23]OFD Sender: No OFD packet to send [13:11:28]OFD Sender: No OFD packet to send [13:11:33]OFD Sender: No OFD packet to send [13:11:38]OFD Sender: No OFD packet to send [13:11:43]OFD Sender: No OFD packet to send [13:11:48]OFD Sender: No OFD packet to send [13:11:53]OFD Sender: No OFD packet to send [13:11:58]OFD Sender: No OFD packet to send [13:12:03]OFD Sender: No OFD packet to send [13:12:08]OFD Sender: No OFD packet to send [13:12:13]OFD Sender: No OFD packet to send [13:12:18]OFD Sender: No OFD packet to send [13:12:23]OFD Sender: No OFD packet to send [13:12:28]OFD Sender: No OFD packet to send [13:12:33]OFD Sender: No OFD packet to send [13:12:38]OFD Sender: No OFD packet to send [13:12:43]OFD Sender: No OFD packet to send [13:12:48]OFD Sender: No OFD packet to send [13:12:53]OFD Sender: No OFD packet to send [13:12:58]OFD Sender: No OFD packet to send [13:13:03]OFD Sender: No OFD packet to send [13:13:08]OFD Sender: No OFD packet to send [13:13:13]OFD Sender: No OFD packet to send [13:13:18]OFD Sender: No OFD packet to send [13:13:23]OFD Sender: No OFD packet to send [13:13:28]OFD Sender: No OFD packet to send [13:13:33]OFD Sender: No OFD packet to send [13:13:38]OFD Sender: No OFD packet to send [13:13:43]OFD Sender: No OFD packet to send [13:13:48]OFD Sender: No OFD packet to send [13:13:53]OFD Sender: No OFD packet to send [13:13:58]OFD Sender: No OFD packet to send [13:14:03]OFD Sender: No OFD packet to send [13:14:08]OFD Sender: No OFD packet to send [13:14:13]OFD Sender: No OFD packet to send [13:14:18]OFD Sender: No OFD packet to send [13:14:23]OFD Sender: No OFD packet to send [13:14:29]OFD Sender: No OFD packet to send [13:14:34]OFD Sender: No OFD packet to send [13:14:39]OFD Sender: No OFD packet to send [13:14:43]int [13:14:43]Write to MH i2c: 01 00 00 C2 29 EB [13:14:43]*** FLAG_PRN_KEY set [13:14:43]Write i2c OK [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: 01 [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: 01 07 00 [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: 01 07 00 C2 29 00 08 00 00 00 FF 0F 08 [13:14:43]state=0 [13:14:43]Key pressed [13:14:43]Feed [13:14:43]Write to MH i2c: D8 00 00 C3 29 C3 [13:14:43]Write i2c OK [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: D8 [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: D8 01 00 [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: D8 01 00 C3 29 00 C4 [13:14:43]int [13:14:43]Write to MH i2c: 01 00 00 C4 29 ED [13:14:43]Write i2c OK [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: 01 [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: 01 07 00 [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: 01 07 00 C4 29 00 48 00 00 00 3C 00 78 [13:14:43]state=2 [13:14:43]Key pressed [13:14:43]int [13:14:43]Write to MH i2c: 01 00 00 C5 29 EE [13:14:43]*** FLAG_PRN_KEY reset [13:14:43]Write i2c OK [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: 01 [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: 01 07 00 [13:14:43]MH_I2C_Read... [13:14:43]Read from MH i2c: 01 07 00 C5 29 00 00 00 00 00 FF 0F 03 [13:14:43]state=2 [13:14:43]Stop feed [13:14:44]OFD Sender: No OFD packet to send [13:14:49]OFD Sender: No OFD packet to send [13:14:54]OFD Sender: No OFD packet to send [13:14:59]OFD Sender: No OFD packet to send [13:15:04]OFD Sender: No OFD packet to send [13:15:09]OFD Sender: No OFD packet to send [13:15:14]OFD Sender: No OFD packet to send [13:15:19]OFD Sender: No OFD packet to send [13:15:24]OFD Sender: No OFD packet to send [13:15:29]OFD Sender: No OFD packet to send [13:15:34]OFD Sender: No OFD packet to send [13:15:39]OFD Sender: No OFD packet to send [13:15:44]OFD Sender: No OFD packet to send [13:15:49]OFD Sender: No OFD packet to send [13:15:54]OFD Sender: No OFD packet to send [13:15:59]OFD Sender: No OFD packet to send [13:16:04]OFD Sender: No OFD packet to send [13:16:09]OFD Sender: No OFD packet to send [13:16:14]OFD Sender: No OFD packet to send [13:16:19]OFD Sender: No OFD packet to send [13:16:24]OFD Sender: No OFD packet to send [13:16:29]OFD Sender: No OFD packet to send [13:16:34]OFD Sender: No OFD packet to send [13:16:39]OFD Sender: No OFD packet to send [13:16:44]OFD Sender: No OFD packet to send [13:16:49]OFD Sender: No OFD packet to send [13:16:54]OFD Sender: No OFD packet to send [13:16:59]OFD Sender: No OFD packet to send [13:17:04]OFD Sender: No OFD packet to send [13:17:09]OFD Sender: No OFD packet to send [13:17:14]OFD Sender: No OFD packet to send [13:17:19]OFD Sender: No OFD packet to send [13:17:24]OFD Sender: No OFD packet to send [13:17:29]OFD Sender: No OFD packet to send [13:17:34]OFD Sender: No OFD packet to send [13:17:39]OFD Sender: No OFD packet to send [13:17:44]OFD Sender: No OFD packet to send [13:17:49]OFD Sender: No OFD packet to send [13:17:54]OFD Sender: No OFD packet to send [13:17:59]OFD Sender: No OFD packet to send [13:18:04]OFD Sender: No OFD packet to send [13:18:09]OFD Sender: No OFD packet to send [13:18:14]OFD Sender: No OFD packet to send [13:18:19]OFD Sender: No OFD packet to send [13:18:24]OFD Sender: No OFD packet to send [13:18:29]OFD Sender: No OFD packet to send [13:18:34]OFD Sender: No OFD packet to send [13:18:39]OFD Sender: No OFD packet to send [13:18:44]OFD Sender: No OFD packet to send [13:18:49]OFD Sender: No OFD packet to send [13:18:54]OFD Sender: No OFD packet to send [13:18:59]OFD Sender: No OFD packet to send [13:19:04]OFD Sender: No OFD packet to send [13:19:09]OFD Sender: No OFD packet to send [13:19:14]OFD Sender: No OFD packet to send [13:19:19]OFD Sender: No OFD packet to send [13:19:24]OFD Sender: No OFD packet to send [13:19:29]OFD Sender: No OFD packet to send [13:19:34]OFD Sender: No OFD packet to send [13:19:39]OFD Sender: No OFD packet to send [13:19:44]OFD Sender: No OFD packet to send [13:19:49]OFD Sender: No OFD packet to send [13:19:54]OFD Sender: No OFD packet to send [13:19:59]OFD Sender: No OFD packet to send [13:20:04]OFD Sender: No OFD packet to send [13:20:09]OFD Sender: No OFD packet to send [13:20:14]OFD Sender: No OFD packet to send [13:20:19]OFD Sender: No OFD packet to send [13:20:24]OFD Sender: No OFD packet to send [13:20:29]OFD Sender: No OFD packet to send [13:20:34]OFD Sender: No OFD packet to send [13:20:39]OFD Sender: No OFD packet to send [13:20:44]OFD Sender: No OFD packet to send [13:20:49]OFD Sender: No OFD packet to send [13:20:54]OFD Sender: No OFD packet to send [13:20:59]OFD Sender: No OFD packet to send [13:21:04]OFD Sender: No OFD packet to send [13:21:09]OFD Sender: No OFD packet to send [13:21:14]OFD Sender: No OFD packet to send [13:21:19]OFD Sender: No OFD packet to send [13:21:24]OFD Sender: No OFD packet to send [13:21:29]OFD Sender: No OFD packet to send [13:21:34]OFD Sender: No OFD packet to send [13:21:39]OFD Sender: No OFD packet to send [13:21:44]OFD Sender: No OFD packet to send [13:21:49]OFD Sender: No OFD packet to send [13:21:54]OFD Sender: No OFD packet to send [13:21:59]OFD Sender: No OFD packet to send [13:22:04]OFD Sender: No OFD packet to send [13:22:09]OFD Sender: No OFD packet to send [13:22:14]OFD Sender: No OFD packet to send [13:22:19]OFD Sender: No OFD packet to send [13:22:24]OFD Sender: No OFD packet to send [13:22:29]OFD Sender: No OFD packet to send [13:22:34]OFD Sender: No OFD packet to send [13:22:39]OFD Sender: No OFD packet to send [13:22:44]OFD Sender: No OFD packet to send [13:22:49]OFD Sender: No OFD packet to send [13:22:54]OFD Sender: No OFD packet to send [13:22:59]OFD Sender: No OFD packet to send [13:23:04]OFD Sender: No OFD packet to send [13:23:09]OFD Sender: No OFD packet to send [13:23:14]OFD Sender: No OFD packet to send [13:23:19]OFD Sender: No OFD packet to send [13:23:24]OFD Sender: No OFD packet to send [13:23:29]OFD Sender: No OFD packet to send [13:23:34]OFD Sender: No OFD packet to send [13:23:39]OFD Sender: No OFD packet to send [13:23:44]OFD Sender: No OFD packet to send [13:23:49]OFD Sender: No OFD packet to send [13:23:54]OFD Sender: No OFD packet to send [13:23:59]OFD Sender: No OFD packet to send [13:24:04]OFD Sender: No OFD packet to send [13:24:09]OFD Sender: No OFD packet to send [13:24:14]OFD Sender: No OFD packet to send [13:24:19]OFD Sender: No OFD packet to send [13:24:24]OFD Sender: No OFD packet to send [13:24:29]OFD Sender: No OFD packet to send [13:24:34]OFD Sender: No OFD packet to send [13:24:39]OFD Sender: No OFD packet to send [13:24:44]OFD Sender: No OFD packet to send [13:24:49]OFD Sender: No OFD packet to send [13:24:54]OFD Sender: No OFD packet to send [13:24:59]OFD Sender: No OFD packet to send [13:25:04]OFD Sender: No OFD packet to send [13:25:09]OFD Sender: No OFD packet to send [13:25:14]OFD Sender: No OFD packet to send [13:25:19]OFD Sender: No OFD packet to send [13:25:24]OFD Sender: No OFD packet to send [13:25:29]OFD Sender: No OFD packet to send [13:25:34]OFD Sender: No OFD packet to send [13:25:39]OFD Sender: No OFD packet to send [13:25:44]OFD Sender: No OFD packet to send [13:25:49]OFD Sender: No OFD packet to send [13:25:54]OFD Sender: No OFD packet to send [13:25:59]OFD Sender: No OFD packet to send [13:26:04]OFD Sender: No OFD packet to send [13:26:09]OFD Sender: No OFD packet to send [13:26:14]OFD Sender: No OFD packet to send [13:26:19]OFD Sender: No OFD packet to send [13:26:24]OFD Sender: No OFD packet to send [13:26:29]OFD Sender: No OFD packet to send [13:26:34]OFD Sender: No OFD packet to send [13:26:39]OFD Sender: No OFD packet to send [13:26:44]OFD Sender: No OFD packet to send [13:26:49]OFD Sender: No OFD packet to send [13:26:54]OFD Sender: No OFD packet to send [13:26:59]OFD Sender: No OFD packet to send [13:27:04]OFD Sender: No OFD packet to send [13:27:09]OFD Sender: No OFD packet to send [13:27:14]OFD Sender: No OFD packet to send [13:27:19]OFD Sender: No OFD packet to send [13:27:24]OFD Sender: No OFD packet to send [13:27:29]OFD Sender: No OFD packet to send [13:27:34]OFD Sender: No OFD packet to send [13:27:39]OFD Sender: No OFD packet to send [13:27:44]OFD Sender: No OFD packet to send [13:27:49]OFD Sender: No OFD packet to send [13:27:54]OFD Sender: No OFD packet to send [13:27:59]OFD Sender: No OFD packet to send [13:28:04]OFD Sender: No OFD packet to send [13:28:09]OFD Sender: No OFD packet to send [13:28:14]OFD Sender: No OFD packet to send [13:28:19]OFD Sender: No OFD packet to send [13:28:24]OFD Sender: No OFD packet to send [13:28:29]OFD Sender: No OFD packet to send [13:28:34]OFD Sender: No OFD packet to send [13:28:39]OFD Sender: No OFD packet to send [13:28:44]OFD Sender: No OFD packet to send [13:28:49]OFD Sender: No OFD packet to send [13:28:54]OFD Sender: No OFD packet to send [13:28:59]OFD Sender: No OFD packet to send [13:29:04]OFD Sender: No OFD packet to send [13:29:09]OFD Sender: No OFD packet to send [13:29:14]OFD Sender: No OFD packet to send [13:29:19]OFD Sender: No OFD packet to send [13:29:24]OFD Sender: No OFD packet to send [13:29:29]OFD Sender: No OFD packet to send [13:29:34]OFD Sender: No OFD packet to send [13:29:39]OFD Sender: No OFD packet to send [13:29:44]OFD Sender: No OFD packet to send [13:29:49]OFD Sender: No OFD packet to send [13:29:54]OFD Sender: No OFD packet to send [13:29:59]OFD Sender: No OFD packet to send [13:30:04]OFD Sender: No OFD packet to send [13:30:09]OFD Sender: No OFD packet to send [13:30:14]OFD Sender: No OFD packet to send [13:30:19]OFD Sender: No OFD packet to send [13:30:24]OFD Sender: No OFD packet to send [13:30:29]OFD Sender: No OFD packet to send [13:30:34]OFD Sender: No OFD packet to send [13:30:39]OFD Sender: No OFD packet to send [13:30:44]OFD Sender: No OFD packet to send [13:30:49]OFD Sender: No OFD packet to send [13:30:54]OFD Sender: No OFD packet to send [13:30:59]OFD Sender: No OFD packet to send [13:31:04]OFD Sender: No OFD packet to send [13:31:09]OFD Sender: No OFD packet to send [13:31:14]OFD Sender: No OFD packet to send [13:31:19]OFD Sender: No OFD packet to send [13:31:24]OFD Sender: No OFD packet to send [13:31:29]OFD Sender: No OFD packet to send [13:31:34]OFD Sender: No OFD packet to send [13:31:39]OFD Sender: No OFD packet to send [13:31:44]OFD Sender: No OFD packet to send [13:31:49]OFD Sender: No OFD packet to send [13:31:54]OFD Sender: No OFD packet to send [13:31:59]OFD Sender: No OFD packet to send [13:32:04]OFD Sender: No OFD packet to send [13:32:09]OFD Sender: No OFD packet to send [13:32:14]OFD Sender: No OFD packet to send [13:32:19]OFD Sender: No OFD packet to send [13:32:24]OFD Sender: No OFD packet to send [13:32:29]OFD Sender: No OFD packet to send [13:32:34]OFD Sender: No OFD packet to send [13:32:39]OFD Sender: No OFD packet to send [13:32:44]OFD Sender: No OFD packet to send [13:32:49]OFD Sender: No OFD packet to send [13:32:54]OFD Sender: No OFD packet to send [13:32:59]OFD Sender: No OFD packet to send [13:33:04]OFD Sender: No OFD packet to send [13:33:09]OFD Sender: No OFD packet to send [13:33:14]OFD Sender: No OFD packet to send [13:33:19]OFD Sender: No OFD packet to send [13:33:24]OFD Sender: No OFD packet to send [13:33:29]OFD Sender: No OFD packet to send [13:33:34]OFD Sender: No OFD packet to send [13:33:39]OFD Sender: No OFD packet to send [13:33:44]OFD Sender: No OFD packet to send [13:33:49]OFD Sender: No OFD packet to send [13:33:54]OFD Sender: No OFD packet to send [13:33:59]OFD Sender: No OFD packet to send [13:34:04]OFD Sender: No OFD packet to send [13:34:09]OFD Sender: No OFD packet to send [13:34:14]OFD Sender: No OFD packet to send [13:34:19]OFD Sender: No OFD packet to send [13:34:24]OFD Sender: No OFD packet to send [13:34:29]OFD Sender: No OFD packet to send [13:34:34]OFD Sender: No OFD packet to send [13:34:39]OFD Sender: No OFD packet to send [13:34:44]OFD Sender: No OFD packet to send [13:34:49]OFD Sender: No OFD packet to send [13:34:54]OFD Sender: No OFD packet to send [13:34:59]OFD Sender: No OFD packet to send [13:35:04]OFD Sender: No OFD packet to send [13:35:09]OFD Sender: No OFD packet to send [13:35:14]OFD Sender: No OFD packet to send [13:35:19]OFD Sender: No OFD packet to send [13:35:24]OFD Sender: No OFD packet to send [13:35:29]OFD Sender: No OFD packet to send [13:35:34]OFD Sender: No OFD packet to send [13:35:39]OFD Sender: No OFD packet to send [13:35:44]OFD Sender: No OFD packet to send [13:35:50]OFD Sender: No OFD packet to send [13:35:55]OFD Sender: No OFD packet to send [13:36:00]OFD Sender: No OFD packet to send [13:36:05]OFD Sender: No OFD packet to send [13:36:10]OFD Sender: No OFD packet to send [13:36:15]OFD Sender: No OFD packet to send [13:36:20]OFD Sender: No OFD packet to send [13:36:25]OFD Sender: No OFD packet to send [13:36:30]OFD Sender: No OFD packet to send [13:36:35]OFD Sender: No OFD packet to send [13:36:40]OFD Sender: No OFD packet to send [13:36:45]OFD Sender: No OFD packet to send [13:36:50]OFD Sender: No OFD packet to send [13:36:55]OFD Sender: No OFD packet to send [13:37:00]OFD Sender: No OFD packet to send [13:37:05]OFD Sender: No OFD packet to send [13:37:10]OFD Sender: No OFD packet to send [13:37:15]OFD Sender: No OFD packet to send [13:37:20]OFD Sender: No OFD packet to send [13:37:25]OFD Sender: No OFD packet to send [13:37:30]OFD Sender: No OFD packet to send [13:37:35]OFD Sender: No OFD packet to send [13:37:40]OFD Sender: No OFD packet to send [13:37:45]OFD Sender: No OFD packet to send [13:37:50]OFD Sender: No OFD packet to send [13:37:55]OFD Sender: No OFD packet to send [13:38:00]OFD Sender: No OFD packet to send [13:38:05]OFD Sender: No OFD packet to send [13:38:10]OFD Sender: No OFD packet to send [13:38:15]OFD Sender: No OFD packet to send [13:38:20]OFD Sender: No OFD packet to send [13:38:25]OFD Sender: No OFD packet to send [13:38:30]OFD Sender: No OFD packet to send [13:38:35]OFD Sender: No OFD packet to send [13:38:40]OFD Sender: No OFD packet to send [13:38:45]OFD Sender: No OFD packet to send [13:38:50]OFD Sender: No OFD packet to send [13:38:55]OFD Sender: No OFD packet to send [13:39:00]OFD Sender: No OFD packet to send [13:39:05]OFD Sender: No OFD packet to send [13:39:10]OFD Sender: No OFD packet to send [13:39:15]OFD Sender: No OFD packet to send [13:39:20]OFD Sender: No OFD packet to send [13:39:25]OFD Sender: No OFD packet to send [13:39:30]OFD Sender: No OFD packet to send [13:39:35]OFD Sender: No OFD packet to send [13:39:40]OFD Sender: No OFD packet to send [13:39:45]OFD Sender: No OFD packet to send [13:39:50]OFD Sender: No OFD packet to send [13:39:55]OFD Sender: No OFD packet to send [13:40:00]OFD Sender: No OFD packet to send [13:40:05]OFD Sender: No OFD packet to send [13:40:10]OFD Sender: No OFD packet to send [13:40:15]OFD Sender: No OFD packet to send [13:40:20]OFD Sender: No OFD packet to send [13:40:25]OFD Sender: No OFD packet to send [13:40:30]OFD Sender: No OFD packet to send [13:40:35]OFD Sender: No OFD packet to send [13:40:40]OFD Sender: No OFD packet to send [13:40:45]OFD Sender: No OFD packet to send [13:40:50]OFD Sender: No OFD packet to send [13:40:55]OFD Sender: No OFD packet to send [13:41:00]OFD Sender: No OFD packet to send [13:41:05]OFD Sender: No OFD packet to send [13:41:10]OFD Sender: No OFD packet to send [13:41:15]OFD Sender: No OFD packet to send [13:41:20]OFD Sender: No OFD packet to send [13:41:25]OFD Sender: No OFD packet to send [13:41:30]OFD Sender: No OFD packet to send [13:41:35]OFD Sender: No OFD packet to send [13:41:40]OFD Sender: No OFD packet to send [13:41:45]OFD Sender: No OFD packet to send [13:41:50]OFD Sender: No OFD packet to send [13:41:55]OFD Sender: No OFD packet to send [13:42:00]OFD Sender: No OFD packet to send [13:42:05]OFD Sender: No OFD packet to send [13:42:10]OFD Sender: No OFD packet to send [13:42:15]OFD Sender: No OFD packet to send [13:42:20]OFD Sender: No OFD packet to send [13:42:25]OFD Sender: No OFD packet to send [13:42:30]OFD Sender: No OFD packet to send [13:42:35]OFD Sender: No OFD packet to send [13:42:40]OFD Sender: No OFD packet to send [13:42:45]OFD Sender: No OFD packet to send [13:42:50]OFD Sender: No OFD packet to send [13:42:55]OFD Sender: No OFD packet to send [13:43:00]OFD Sender: No OFD packet to send [13:43:05]OFD Sender: No OFD packet to send [13:43:10]OFD Sender: No OFD packet to send [13:43:15]OFD Sender: No OFD packet to send [13:43:20]OFD Sender: No OFD packet to send [13:43:25]OFD Sender: No OFD packet to send [13:43:30]OFD Sender: No OFD packet to send [13:43:35]OFD Sender: No OFD packet to send [13:43:40]OFD Sender: No OFD packet to send [13:43:45]OFD Sender: No OFD packet to send [13:43:50]OFD Sender: No OFD packet to send [13:43:55]OFD Sender: No OFD packet to send [13:44:00]OFD Sender: No OFD packet to send [13:44:05]OFD Sender: No OFD packet to send [13:44:10]OFD Sender: No OFD packet to send [13:44:15]OFD Sender: No OFD packet to send [13:44:20]OFD Sender: No OFD packet to send [13:44:25]OFD Sender: No OFD packet to send [13:44:30]OFD Sender: No OFD packet to send [13:44:35]OFD Sender: No OFD packet to send [13:44:40]OFD Sender: No OFD packet to send [13:44:45]OFD Sender: No OFD packet to send [13:44:50]OFD Sender: No OFD packet to send [13:44:55]OFD Sender: No OFD packet to send [13:45:00]OFD Sender: No OFD packet to send [13:45:05]OFD Sender: No OFD packet to send [13:45:10]OFD Sender: No OFD packet to send [13:45:15]OFD Sender: No OFD packet to send [13:45:20]OFD Sender: No OFD packet to send [13:45:25]OFD Sender: No OFD packet to send [13:45:30]OFD Sender: No OFD packet to send [13:45:35]OFD Sender: No OFD packet to send [13:45:40]OFD Sender: No OFD packet to send [13:45:45]OFD Sender: No OFD packet to send [13:45:50]OFD Sender: No OFD packet to send [13:45:55]OFD Sender: No OFD packet to send [13:46:00]OFD Sender: No OFD packet to send [13:46:05]OFD Sender: No OFD packet to send [13:46:10]OFD Sender: No OFD packet to send [13:46:15]OFD Sender: No OFD packet to send [13:46:20]OFD Sender: No OFD packet to send [13:46:25]OFD Sender: No OFD packet to send [13:46:30]OFD Sender: No OFD packet to send [13:46:35]OFD Sender: No OFD packet to send [13:46:40]OFD Sender: No OFD packet to send [13:46:45]OFD Sender: No OFD packet to send [13:46:50]OFD Sender: No OFD packet to send [13:46:55]OFD Sender: No OFD packet to send [13:47:00]OFD Sender: No OFD packet to send [13:47:05]OFD Sender: No OFD packet to send [13:47:10]OFD Sender: No OFD packet to send [13:47:15]OFD Sender: No OFD packet to send [13:47:20]OFD Sender: No OFD packet to send [13:47:25]OFD Sender: No OFD packet to send [13:47:30]OFD Sender: No OFD packet to send [13:47:35]OFD Sender: No OFD packet to send [13:47:40]OFD Sender: No OFD packet to send [13:47:45]OFD Sender: No OFD packet to send [13:47:50]OFD Sender: No OFD packet to send [13:47:55]OFD Sender: No OFD packet to send [13:48:00]OFD Sender: No OFD packet to send [13:48:05]OFD Sender: No OFD packet to send [13:48:10]OFD Sender: No OFD packet to send [13:48:15]OFD Sender: No OFD packet to send [13:48:20]OFD Sender: No OFD packet to send [13:48:25]OFD Sender: No OFD packet to send [13:48:30]OFD Sender: No OFD packet to send [13:48:35]OFD Sender: No OFD packet to send [13:48:40]OFD Sender: No OFD packet to send [13:48:45]OFD Sender: No OFD packet to send [13:48:50]OFD Sender: No OFD packet to send [13:48:55]OFD Sender: No OFD packet to send [13:49:00]OFD Sender: No OFD packet to send [13:49:05]OFD Sender: No OFD packet to send [13:49:10]OFD Sender: No OFD packet to send [13:49:15]OFD Sender: No OFD packet to send [13:49:20]OFD Sender: No OFD packet to send [13:49:25]OFD Sender: No OFD packet to send [13:49:30]OFD Sender: No OFD packet to send [13:49:35]OFD Sender: No OFD packet to send [13:49:40]OFD Sender: No OFD packet to send [13:49:45]OFD Sender: No OFD packet to send [13:49:50]OFD Sender: No OFD packet to send [13:49:55]OFD Sender: No OFD packet to send [13:50:00]OFD Sender: No OFD packet to send [13:50:05]OFD Sender: No OFD packet to send [13:50:10]OFD Sender: No OFD packet to send [13:50:15]OFD Sender: No OFD packet to send [13:50:20]OFD Sender: No OFD packet to send [13:50:25]OFD Sender: No OFD packet to send [13:50:30]OFD Sender: No OFD packet to send [13:50:35]OFD Sender: No OFD packet to send [13:50:40]OFD Sender: No OFD packet to send [13:50:45]OFD Sender: No OFD packet to send [13:50:50]OFD Sender: No OFD packet to send [13:50:55]OFD Sender: No OFD packet to send [13:51:00]OFD Sender: No OFD packet to send [13:51:05]OFD Sender: No OFD packet to send [13:51:10]OFD Sender: No OFD packet to send [13:51:15]OFD Sender: No OFD packet to send [13:51:20]OFD Sender: No OFD packet to send [13:51:25]OFD Sender: No OFD packet to send [13:51:30]OFD Sender: No OFD packet to send [13:51:35]OFD Sender: No OFD packet to send [13:51:40]OFD Sender: No OFD packet to send [13:51:45]OFD Sender: No OFD packet to send [13:51:50]OFD Sender: No OFD packet to send [13:51:55]OFD Sender: No OFD packet to send [13:52:00]OFD Sender: No OFD packet to send [13:52:05]OFD Sender: No OFD packet to send [13:52:10]OFD Sender: No OFD packet to send [13:52:15]OFD Sender: No OFD packet to send [13:52:20]OFD Sender: No OFD packet to send [13:52:25]OFD Sender: No OFD packet to send [13:52:30]accept exits with 8 [13:52:30]New connection [13:52:30]New thread 3067100516 created [13:52:30]Thread 3067243876 joined [13:52:30]Waiting for new connection... [13:52:30] Sock 8.Parse request [13:52:30]Sock 8.Check first char [13:52:30]Sock 8.First char is OK [13:52:30]request: POST /json_proto HTTP/1.0 [13:52:30]Method: POST [13:52:30]URL: /json_proto [13:52:30]Method is POST - this is cgi request [13:52:30]url: /json_proto [13:52:30]query_string will be loaded in cgi processing [13:52:30]execute_cgi json_proto POST (null) [13:52:30]execute_cgi path=json_proto method=POST [13:52:30]POST find Content-Length [13:52:30]Host: 172.17.62.6:8080 [13:52:30]Content-Length: 655 [13:52:30]Content-Type: application/json [13:52:30] [13:52:30]POST finish read [13:52:30]Found Content-Length = 655 [13:52:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32793", "tax_sys" : 0, "items" : [ { "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "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" ] } } [13:52:30]execute_script... [13:52:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32793", "tax_sys" : 0, "items" : [ { "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "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" ] } } [13:52:30]POST & json_proto [13:52:30]process_json_proto [13:52:30]json parsed OK: [13:52:30]protocol is kg_v1.0 [13:52:30]action value=close_receipt [13:52:30]process_action close_receipt [13:52:30]cmd_close_receipt [13:52:30]MH_GetDate [13:52:30]Write to MH i2c: F0 00 00 C6 29 DE [13:52:30]Write i2c OK [13:52:30]MH_I2C_Read... [13:52:30]Read from MH i2c: F0 [13:52:30]MH_I2C_Read... [13:52:30]Read from MH i2c: F0 09 00 [13:52:30]MH_I2C_Read... [13:52:30]Read from MH i2c: F0 09 00 C6 29 00 2E 77 22 66 61 69 D2 64 14 [13:52:30]GetLastDocTimeStamp 1713530030 [13:52:30]current date 1713534766 [13:52:30]FM_GetShiftState [13:52:30]SAM_PROTO_GetShiftState [13:52:30]wFMCommunicate request_size=4 [13:52:30]MH_SAM_APDU [13:52:30]CAPDU: 80 13 01 00 [13:52:30]Write to MH i2c: E2 08 00 C7 29 80 13 01 00 00 00 00 00 6D [13:52:30]Write i2c OK [13:52:30]MH_I2C_Read... [13:52:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:52:30]Read from MH i2c: E2 [13:52:30]MH_I2C_Read... [13:52:30]Read from MH i2c: E2 0E 00 [13:52:30]MH_I2C_Read... [13:52:30]Read from MH i2c: E2 0E 00 C7 29 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 63 [13:52:30]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [13:52:30]wFMCommunicate OK [13:52:30]SAM_PROTO_GetShiftState done [13:52:30]FM_GetShiftState done [13:52:30]opened in 1713485995 [13:52:30]opened+sec_in_day 1713572395 [13:52:30]quantity*price = 12000 [13:52:30]sum+1 = 12001 [13:52:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 19 19.04.2024 13:52 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12517 ФПД: 107831759385211 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T135246&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12517&fm=107831759385211&tin=02508201610067®Number=0000000000100748&sum=12000 0 [13:52:31]StoreToDocumentArchive [13:52:31]shift 279 fd 12517 [13:52:31]save to /storage/0279/doc_00012517 [13:52:31]save last doc name /storage/0279/doc_00012517 to /storage/kkm_last_doc_name [13:52:31]save OK [13:52:31]Clear old archive folders... [13:52:31]ProcessDocumentItem done err = 0, tmpTLVsize=284 [13:52:31]tlvbuf is 01D51940 [13:52:31]SAM_PROTO_ClearQueue [13:52:31]wFMCommunicate request_size=4 [13:52:31]MH_SAM_APDU [13:52:31]CAPDU: 80 09 00 00 [13:52:31]Write to MH i2c: E2 08 00 D4 29 80 09 00 00 00 00 00 00 6F [13:52:31]Write i2c OK [13:52:31]MH_I2C_Read... [13:52:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:52:31]Read from MH i2c: E2 [13:52:31]MH_I2C_Read... [13:52:31]Read from MH i2c: E2 03 00 [13:52:31]MH_I2C_Read... [13:52:31]Read from MH i2c: E2 03 00 D4 29 00 90 00 71 [13:52:31]RAPDU: 90 00 [13:52:31]wFMCommunicate OK [13:52:31]SAM_PROTO_ClearQueue done [13:52:31]KKMCreateOFDPacket [13:52:31]OFDProtocolAddRootSTLVToBuf [13:52:31]FM_MakeSignedData [13:52:31]FM_MakeSignedData [13:52:31]SAM_PROTO_SignData [13:52:31]wFMCommunicate request_size=4 [13:52:31]MH_SAM_APDU [13:52:31]CAPDU: 80 0D 01 02 [13:52:31]Write to MH i2c: E2 08 00 D5 29 80 0D 01 02 00 00 00 00 77 [13:52:31]Write i2c OK [13:52:31]MH_I2C_Read... [13:52:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:52:31]Read from MH i2c: E2 [13:52:31]MH_I2C_Read... [13:52:31]Read from MH i2c: E2 03 00 [13:52:31]MH_I2C_Read... [13:52:31]Read from MH i2c: E2 03 00 D5 29 00 90 00 72 [13:52:31]RAPDU: 90 00 [13:52:31]wFMCommunicate OK [13:52:31]wFMCommunicate request_size=255 [13:52:31]MH_SAM_APDU [13:52:31]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 13 00 00 00 F4 03 04 00 2E 77 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 [13:52:31]Write to MH i2c: E2 02 01 D6 29 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 13 00 00 00 F4 03 04 00 2E 77 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 00 00 A1 [13:52:31]Write i2c OK [13:52:31]MH_I2C_Read... [13:52:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:52:31]Read from MH i2c: E2 [13:52:31]MH_I2C_Read... [13:52:31]Read from MH i2c: E2 03 00 [13:52:31]MH_I2C_Read... [13:52:31]Read from MH i2c: E2 03 00 D6 29 00 90 00 73 [13:52:31]RAPDU: 90 00 [13:52:31]wFMCommunicate OK [13:52:31]wFMCommunicate request_size=43 [13:52:31]MH_SAM_APDU [13:52:31]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E5 30 00 00 35 04 06 00 62 12 89 B6 B2 7B [13:52:31]Write to MH i2c: E2 2E 00 D7 29 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E5 30 00 00 35 04 06 00 62 12 89 B6 B2 7B 00 00 5E [13:52:31]Write i2c OK [13:52:31]MH_I2C_Read... [13:52:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:52:31]Read from MH i2c: E2 [13:52:31]MH_I2C_Read... [13:52:31]Read from MH i2c: E2 03 00 [13:52:31]MH_I2C_Read... [13:52:31]Read from MH i2c: E2 03 00 D7 29 00 90 00 74 [13:52:31]RAPDU: 90 00 [13:52:31]wFMCommunicate OK [13:52:31]wFMCommunicate request_size=4 [13:52:31]MH_SAM_APDU [13:52:31]CAPDU: 80 0D 03 02 [13:52:31]Write to MH i2c: E2 08 00 D8 29 80 0D 03 02 00 00 00 00 7C [13:52:31]Write i2c OK [13:52:31]MH_I2C_Read... [13:52:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:52:31]Read from MH i2c: E2 [13:52:31]MH_I2C_Read... [13:52:31]Read from MH i2c: E2 0B 00 [13:52:31]MH_I2C_Read... [13:52:31]Read from MH i2c: E2 0B 00 D8 29 00 79 FF F4 05 F4 9B 75 3A 90 00 2C [13:52:31]RAPDU: 79 FF F4 05 F4 9B 75 3A 90 00 [13:52:31]wFMCommunicate OK [13:52:31]SAM_PROTO_SignData done [13:52:31]FM_MakeSignedData done [13:52:31]CreateOFDProtocolMessage [13:52:31]wFMCommunicate request_size=4 [13:52:31]MH_SAM_APDU [13:52:31]CAPDU: 80 11 00 00 [13:52:31]Write to MH i2c: E2 08 00 D9 29 80 11 00 00 00 00 00 00 7C [13:52:31]Write i2c OK [13:52:31]MH_I2C_Read... [13:52:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:52:31]Read from MH i2c: E2 [13:52:31]MH_I2C_Read... [13:52:31]Read from MH i2c: E2 17 00 [13:52:31]MH_I2C_Read... [13:52:31]Read from MH i2c: E2 17 00 D9 29 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 D6 [13:52:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:52:31]wFMCommunicate OK [13:52:31]CreateOFDProtocolMessage done [13:52:31]OFDSenderStorePacket 12517 [13:52:31]StoreOFDPacket docnum=12517 [13:52:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 30 01 00 00 56 54 28 01 C5 CE 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 13 00 00 00 F4 03 04 00 2E 77 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E5 30 00 00 35 04 06 00 62 12 89 B6 B2 7B 79 FF F4 05 F4 9B 75 3A [13:52:31]CheckFolder [13:52:31]dirname=/storage/ofd_packets [13:52:31]CheckFolder done [13:52:31]ProducePacketName [13:52:31]name=ofd_packets/00012517 [13:52:31]NVStorageSaveData ofd_packets/00012517 [13:52:31]File name is /storage/ofd_packets/00012517 [13:52:31]Write 334 bytes [13:52:31]NVStorageSaveData done [13:52:31]OFDSenderStorePacket done [13:52:31]KKMCreateOFDPacket done [13:52:31]NVStorageSaveData kkm_last_timestamp [13:52:31]File name is /storage/kkm_last_timestamp [13:52:31]Write 4 bytes [13:52:31]NVStorageSaveData done [13:52:31]ExternCall_PrintAddStr [13:52:31]wPrintStart [13:52:31]Write to MH i2c: 01 00 00 DA 29 03 [13:52:31]Write i2c OK [13:52:31]MH_I2C_Read... [13:52:31]Read from MH i2c: 01 [13:52:31]MH_I2C_Read... [13:52:31]Read from MH i2c: 01 07 00 [13:52:31]MH_I2C_Read... [13:52:31]Read from MH i2c: 01 07 00 DA 29 00 00 00 00 00 FF 0F 18 [13:52:31]RasterBufferAndPrint [13:52:31]line Счет N : (3)32793 [13:52:31]line ИНН: 02508201610067 [13:52:31]line Контрольно-Кассовый Чек [13:52:31]line ПРОДАЖА [13:52:31]line Товар: 2000034250011 [13:52:31]line Горячий шоколад (GABB trade) [13:52:31]line 1.000 * 120.00 [13:52:31]line = 120.00 [13:52:31]line НДС 12% НСП 1% [13:52:31]line > о реализуемом товаре [13:52:31]line ИТОГО: 120.00 [13:52:31]line НСП 1% : 1.06 [13:52:31]line НДС 12% : 12.74 [13:52:31]line Наличными: 120.00 [13:52:31]line Безнал.: 0.00 [13:52:31]line Место: АЗС № 106 "Партнер Нефть" [13:52:31]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [13:52:31]line СНО: Общий режим [13:52:31]line Чек 19 19.04.2024 13:52 [13:52:31]line Смена: 279 ФФД: 1.0 [13:52:31]line ЗНМ: 0300000004 [13:52:31]line РНМ: 0000000000100748 [13:52:31]line Версия ККМ: 001 [13:52:31]line ФМ: 0000000000965685 [13:52:31]line ФД: 12517 [13:52:31]line ФПД: 107831759385211 [13:52:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T135246&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12517&fm=107831759385211&tin=02508201610067®Number=0000000000100748&sum=12000 [13:52:32]line 0 [13:52:32]OFD Sender: Processing packet 12517 [packets to send 7, broken 6] [13:52:32]ProducePacketName [13:52:32]name=ofd_packets/00012517 [13:52:32]OFD Sender: To server: pG, [13:52:32]CommunicateWithHost lk.salyk.kg:30040 [13:52:32]ConnectInit lk.salyk.kg [13:52:32]written 0, free lines is 4095 [13:52:32]Connected sock=10 [13:52:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 30 01 00 00 56 54 28 01 C5 CE 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 13 00 00 00 F4 03 04 00 2E 77 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E5 30 00 00 35 04 06 00 62 12 89 B6 B2 7B 79 FF F4 05 F4 9B 75 3A [13:52:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 50 AE 47 00 2D 62 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E5 30 00 00 F4 03 04 00 B5 1F 22 66 B6 04 01 00 00 23 05 3F DB 69 BE 17 3F [13:52:32]CommunicateWithHost err = 0 [13:52:32]CheckOFDResponse [13:52:32]1017 (14) - 77093643461234 [13:52:32]1041 (16) - 0000000000965685 [13:52:32]1040 (4) - 12517 [13:52:32]1012 (4) - 19.04.2024 07:39 [13:52:32]1206 (1) - 0 [13:52:32]OFD Sender: Remove packet 12517 [13:52:32]ProducePacketName [13:52:32]name=ofd_packets/00012517 [13:52:32]NVStorageDeleteData [13:52:32]Write to MH i2c: 01 00 00 02 2A 2C [13:52:32]Write i2c OK [13:52:32]MH_I2C_Read... [13:52:32]Read from MH i2c: 01 [13:52:32]MH_I2C_Read... [13:52:32]Read from MH i2c: 01 07 00 [13:52:32]MH_I2C_Read... [13:52:32]Read from MH i2c: 01 07 00 02 2A 00 00 00 00 00 EB 0C 2A [13:52:32]RasterBufferAndPrint [13:52:32]line [13:52:32]line [13:52:32]line [13:52:32]line [13:52:32]line [13:52:32]written 0, free lines is 3314 [13:52:32]MH_Cut [13:52:32]Write to MH i2c: D1 01 00 09 2A 01 05 [13:52:32]Write i2c OK [13:52:32]MH_I2C_Read... [13:52:32]Read from MH i2c: D1 [13:52:32]MH_I2C_Read... [13:52:32]Read from MH i2c: D1 01 00 [13:52:32]MH_I2C_Read... [13:52:32]Read from MH i2c: D1 01 00 09 2A 00 04 [13:52:32]Write to MH i2c: 01 00 00 0A 2A 34 [13:52:32]Write i2c OK [13:52:32]MH_I2C_Read... [13:52:32]OFD Sender: No OFD packet to send [13:52:33]*** Cut start [13:52:33]*** Partial cut [13:52:33]*** CUTSNS_PIN = 1 [13:52:33]*** CUTSNS_PIN = 0 [13:52:33]*** Brake cut motor [13:52:33]Read from MH i2c: 01 [13:52:33]MH_I2C_Read... [13:52:33]*** Stop cut motor [13:52:33]*** Cut end [13:52:33]Read from MH i2c: 01 07 00 [13:52:33]MH_I2C_Read... [13:52:33]Read from MH i2c: 01 07 00 0A 2A 00 00 00 00 00 FF 0F 49 [13:52:33]process_action close_receipt done [13:52:33]requested_data is exist [13:52:33]produce_requested_data [13:52:33]requested_item fm.sn is exist - process it [13:52:33]wFMCommunicate request_size=4 [13:52:33]MH_SAM_APDU [13:52:33]CAPDU: 80 11 00 00 [13:52:33]Write to MH i2c: E2 08 00 0B 2A 80 11 00 00 00 00 00 00 AF [13:52:33]Write i2c OK [13:52:33]MH_I2C_Read... [13:52:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:52:33]Read from MH i2c: E2 [13:52:33]MH_I2C_Read... [13:52:33]Read from MH i2c: E2 17 00 [13:52:33]MH_I2C_Read... [13:52:33]Read from MH i2c: E2 17 00 0B 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 09 [13:52:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [13:52:33]wFMCommunicate OK [13:52:33]requested_item fd.num is exist - process it [13:52:33]SAM_PROTO_GetFieldsCounters [13:52:33]wFMCommunicate request_size=4 [13:52:33]MH_SAM_APDU [13:52:33]CAPDU: 80 13 00 00 [13:52:33]Write to MH i2c: E2 08 00 0C 2A 80 13 00 00 00 00 00 00 B2 [13:52:33]Write i2c OK [13:52:33]MH_I2C_Read... [13:52:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:52:34]Read from MH i2c: E2 [13:52:34]MH_I2C_Read... [13:52:34]Read from MH i2c: E2 62 00 [13:52:34]MH_I2C_Read... [13:52:34]Read from MH i2c: E2 62 00 0C 2A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 E5 30 00 00 0E 04 04 00 17 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 3B [13:52:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 E5 30 00 00 0E 04 04 00 17 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 [13:52:34]wFMCommunicate OK [13:52:34]SAM_PROTO_GetFieldsCounters done [13:52:34]requested_item shift.num is exist - process it [13:52:34]requested_item shift.opened is exist - process it [13:52:34]req_shift_opened [13:52:34]FM_GetShiftState [13:52:34]SAM_PROTO_GetShiftState [13:52:34]wFMCommunicate request_size=4 [13:52:34]MH_SAM_APDU [13:52:34]CAPDU: 80 13 01 00 [13:52:34]Write to MH i2c: E2 08 00 0D 2A 80 13 01 00 00 00 00 00 B4 [13:52:34]Write i2c OK [13:52:34]MH_I2C_Read... [13:52:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:52:34]Read from MH i2c: E2 [13:52:34]MH_I2C_Read... [13:52:34]Read from MH i2c: E2 0E 00 [13:52:34]MH_I2C_Read... [13:52:34]Read from MH i2c: E2 0E 00 0D 2A 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 AA [13:52:34]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [13:52:34]wFMCommunicate OK [13:52:34]SAM_PROTO_GetShiftState done [13:52:34]FM_GetShiftState done [13:52:34]req_shift_opened done [13:52:34]requested_item shift.open_date is exist - process it [13:52:34]req_shift_open_date [13:52:34]req_shift_open_date done [13:52:34]produce_requested_data done [13:52:34]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12517,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [13:52:34]process_action_free close_receipt [13:52:34]json_value_free [13:52:34]json_value_free done [13:52:34]process_json_proto returns [13:52:34]Send response to host [13:52:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12517,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [13:52:34]free response buf [13:52:34]execute_script done [13:52:34]execute_script returns [13:52:34]free content buf [13:52:34]Sock 8.Close socket [13:52:34]Sock 8.Thread stoped [13:52:37]OFD Sender: No OFD packet to send [13:52:42]OFD Sender: No OFD packet to send [13:52:47]OFD Sender: No OFD packet to send [13:52:52]OFD Sender: No OFD packet to send [13:52:57]OFD Sender: No OFD packet to send [13:53:02]OFD Sender: No OFD packet to send [13:53:07]OFD Sender: No OFD packet to send [13:53:12]OFD Sender: No OFD packet to send [13:53:17]OFD Sender: No OFD packet to send [13:53:22]OFD Sender: No OFD packet to send [13:53:27]OFD Sender: No OFD packet to send [13:53:32]OFD Sender: No OFD packet to send [13:53:37]OFD Sender: No OFD packet to send [13:53:42]OFD Sender: No OFD packet to send [13:53:47]OFD Sender: No OFD packet to send [13:53:52]OFD Sender: No OFD packet to send [13:53:57]OFD Sender: No OFD packet to send [13:54:02]OFD Sender: No OFD packet to send [13:54:07]OFD Sender: No OFD packet to send [13:54:12]OFD Sender: No OFD packet to send [13:54:17]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:28]OFD Sender: No OFD packet to send [13:57:33]OFD Sender: No OFD packet to send [13:57:38]OFD Sender: No OFD packet to send [13:57:43]OFD Sender: No OFD packet to send [13:57:48]OFD Sender: No OFD packet to send [13:57:53]OFD Sender: No OFD packet to send [13:57:58]OFD Sender: No OFD packet to send [13:58:03]OFD Sender: No OFD packet to send [13:58:08]OFD Sender: No OFD packet to send [13:58:13]OFD Sender: No OFD packet to send [13:58:18]OFD Sender: No OFD packet to send [13:58:23]OFD Sender: No OFD packet to send [13:58:28]OFD Sender: No OFD packet to send [13:58:33]OFD Sender: No OFD packet to send [13:58:38]OFD Sender: No OFD packet to send [13:58:43]OFD Sender: No OFD packet to send [13:58:48]OFD Sender: No OFD packet to send [13:58:53]OFD Sender: No OFD packet to send [13:58:58]OFD Sender: No OFD packet to send [13:59:03]OFD Sender: No OFD packet to send [13:59:08]OFD Sender: No OFD packet to send [13:59:13]OFD Sender: No OFD packet to send [13:59:18]OFD Sender: No OFD packet to send [13:59:23]OFD Sender: No OFD packet to send [13:59:28]OFD Sender: No OFD packet to send [13:59:33]OFD Sender: No OFD packet to send [13:59:38]OFD Sender: No OFD packet to send [13:59:43]OFD Sender: No OFD packet to send [13:59:48]OFD Sender: No OFD packet to send [13:59:53]OFD Sender: No OFD packet to send [13:59:58]OFD Sender: No OFD packet to send [14:00:03]OFD Sender: No OFD packet to send [14:00:08]OFD Sender: No OFD packet to send [14:00:13]OFD Sender: No OFD packet to send [14:00:18]OFD Sender: No OFD packet to send [14:00:23]OFD Sender: No OFD packet to send [14:00:28]OFD Sender: No OFD packet to send [14:00:33]OFD Sender: No OFD packet to send [14:00:38]OFD Sender: No OFD packet to send [14:00:43]OFD Sender: No OFD packet to send [14:00:48]OFD Sender: No OFD packet to send [14:00:53]OFD Sender: No OFD packet to send [14:00:58]OFD Sender: No OFD packet to send [14:01:03]OFD Sender: No OFD packet to send [14:01:08]OFD Sender: No OFD packet to send [14:01:09]accept exits with 9 [14:01:09]New connection [14:01:09]New thread 3067243876 created [14:01:09]Thread 3067100516 joined [14:01:09]Waiting for new connection... [14:01:09] Sock 9.Parse request [14:01:09]Sock 9.Check first char [14:01:09]Sock 9.First char is OK [14:01:09]request: POST /json_proto HTTP/1.0 [14:01:09]Method: POST [14:01:09]URL: /json_proto [14:01:09]Method is POST - this is cgi request [14:01:09]url: /json_proto [14:01:09]query_string will be loaded in cgi processing [14:01:09]execute_cgi json_proto POST (null) [14:01:09]execute_cgi path=json_proto method=POST [14:01:09]POST find Content-Length [14:01:09]Host: 172.17.62.6:8080 [14:01:09]Content-Length: 215 [14:01:09]Content-Type: application/json [14:01:09] [14:01:09]POST finish read [14:01:09]Found Content-Length = 215 [14:01:09]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" ] } } [14:01:09]execute_script... [14:01:09]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" ] } } [14:01:09]POST & json_proto [14:01:09]process_json_proto [14:01:09]json parsed OK: [14:01:09]protocol is kg_v1.0 [14:01:09]action value=get_value [14:01:09]process_action get_value [14:01:09]cmd_get_value [14:01:09]process_action get_value done [14:01:09]requested_data is exist [14:01:09]produce_requested_data [14:01:09]requested_item kkm.sn is exist - process it [14:01:09]requested_item kkm.ver is exist - process it [14:01:09]requested_item fm.sn is exist - process it [14:01:09]wFMCommunicate request_size=4 [14:01:09]MH_SAM_APDU [14:01:09]CAPDU: 80 11 00 00 [14:01:09]Write to MH i2c: E2 08 00 0E 2A 80 11 00 00 00 00 00 00 B2 [14:01:09]Write i2c OK [14:01:09]MH_I2C_Read... [14:01:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:01:09]Read from MH i2c: E2 [14:01:09]MH_I2C_Read... [14:01:09]Read from MH i2c: E2 17 00 [14:01:09]MH_I2C_Read... [14:01:09]Read from MH i2c: E2 17 00 0E 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 0C [14:01:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [14:01:09]wFMCommunicate OK [14:01:09]requested_item fd.num is exist - process it [14:01:09]SAM_PROTO_GetFieldsCounters [14:01:09]wFMCommunicate request_size=4 [14:01:09]MH_SAM_APDU [14:01:09]CAPDU: 80 13 00 00 [14:01:09]Write to MH i2c: E2 08 00 0F 2A 80 13 00 00 00 00 00 00 B5 [14:01:09]Write i2c OK [14:01:09]MH_I2C_Read... [14:01:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:01:10]Read from MH i2c: E2 [14:01:10]MH_I2C_Read... [14:01:10]Read from MH i2c: E2 62 00 [14:01:10]MH_I2C_Read... [14:01:10]Read from MH i2c: E2 62 00 0F 2A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 E5 30 00 00 0E 04 04 00 17 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 3E [14:01:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 E5 30 00 00 0E 04 04 00 17 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 [14:01:10]wFMCommunicate OK [14:01:10]SAM_PROTO_GetFieldsCounters done [14:01:10]requested_item shift.num is exist - process it [14:01:10]requested_item shift.opened is exist - process it [14:01:10]req_shift_opened [14:01:10]FM_GetShiftState [14:01:10]SAM_PROTO_GetShiftState [14:01:10]wFMCommunicate request_size=4 [14:01:10]MH_SAM_APDU [14:01:10]CAPDU: 80 13 01 00 [14:01:10]Write to MH i2c: E2 08 00 10 2A 80 13 01 00 00 00 00 00 B7 [14:01:10]Write i2c OK [14:01:10]MH_I2C_Read... [14:01:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:01:10]Read from MH i2c: E2 [14:01:10]MH_I2C_Read... [14:01:10]Read from MH i2c: E2 0E 00 [14:01:10]MH_I2C_Read... [14:01:10]Read from MH i2c: E2 0E 00 10 2A 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 AD [14:01:10]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [14:01:10]wFMCommunicate OK [14:01:10]SAM_PROTO_GetShiftState done [14:01:10]FM_GetShiftState done [14:01:10]req_shift_opened done [14:01:10]requested_item shift.open_date is exist - process it [14:01:10]req_shift_open_date [14:01:10]req_shift_open_date done [14:01:10]produce_requested_data done [14:01:10]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12517,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [14:01:10]process_action_free get_value [14:01:10]json_value_free [14:01:10]json_value_free done [14:01:10]process_json_proto returns [14:01:10]Send response to host [14:01:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12517,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [14:01:10]free response buf [14:01:10]execute_script done [14:01:10]execute_script returns [14:01:10]free content buf [14:01:10]Sock 9.Close socket [14:01:10]Sock 9.Thread stoped [14:01:10]accept exits with 8 [14:01:10]New connection [14:01:10]New thread 3067100516 created [14:01:10]Thread 3067243876 joined [14:01:10]Waiting for new connection... [14:01:10] Sock 8.Parse request [14:01:10]Sock 8.Check first char [14:01:10]Sock 8.First char is OK [14:01:10]request: POST /json_proto HTTP/1.0 [14:01:10]Method: POST [14:01:10]URL: /json_proto [14:01:10]Method is POST - this is cgi request [14:01:10]url: /json_proto [14:01:10]query_string will be loaded in cgi processing [14:01:10]execute_cgi json_proto POST (null) [14:01:10]execute_cgi path=json_proto method=POST [14:01:10]POST find Content-Length [14:01:10]Host: 172.17.62.6:8080 [14:01:10]Content-Length: 331 [14:01:10]Content-Type: application/json [14:01:10] [14:01:10]POST finish read [14:01:10]Found Content-Length = 331 [14:01: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" ] } } [14:01:10]execute_script... [14:01: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" ] } } [14:01:10]POST & json_proto [14:01:10]process_json_proto [14:01:10]json parsed OK: [14:01:10]protocol is kg_v1.0 [14:01:10]action value=get_value [14:01:10]process_action get_value [14:01:10]cmd_get_value [14:01:10]process_action get_value done [14:01:10]requested_data is exist [14:01:10]produce_requested_data [14:01:10]requested_item fm.sale.total is exist - process it [14:01:10]SAM_PROTO_GetFMData [14:01:10]wFMCommunicate request_size=4 [14:01:10]MH_SAM_APDU [14:01:10]CAPDU: 80 13 03 00 [14:01:10]Write to MH i2c: E2 08 00 11 2A 80 13 03 00 00 00 00 00 BA [14:01:10]Write i2c OK [14:01:10]MH_I2C_Read... [14:01:10]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [14:01:10]Read from MH i2c: E2 [14:01:10]MH_I2C_Read... [14:01:10]Read from MH i2c: E2 FD 00 [14:01:10]MH_I2C_Read... [14:01:10]Read from MH i2c: E2 FD 00 11 2A 00 C1 04 85 04 BD 04 6E 04 04 00 B7 2E 00 00 69 04 A0 00 6F 04 04 00 6B 2E 00 00 B1 04 04 00 23 B9 A9 0E 70 04 04 00 FA 8A A5 0C 72 04 04 00 29 2E 04 02 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 0B 9F 8E 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D8 33 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 F6 [14:01:10]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 B7 2E 00 00 69 04 A0 00 6F 04 04 00 6B 2E 00 00 B1 04 04 00 23 B9 A9 0E 70 04 04 00 FA 8A A5 0C 72 04 04 00 29 2E 04 02 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 0B 9F 8E 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 D8 33 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 [14:01:10]wFMCommunicate OK [14:01:10]wFMCommunicate request_size=4 [14:01:10]MH_SAM_APDU [14:01:10]CAPDU: 80 17 00 00 [14:01:10]Write to MH i2c: E2 08 00 12 2A 80 17 00 00 00 00 00 00 BC [14:01:10]Write i2c OK [14:01:10]MH_I2C_Read... [14:01:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:01:11]Read from MH i2c: E2 [14:01:11]MH_I2C_Read... [14:01:11]Read from MH i2c: E2 FD 00 [14:01:11]MH_I2C_Read... [14:01:11]Read from MH i2c: E2 FD 00 12 2A 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5A [14:01:11]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:01:11]wFMCommunicate OK [14:01:11]wFMCommunicate request_size=4 [14:01:11]MH_SAM_APDU [14:01:11]CAPDU: 80 17 00 00 [14:01:11]Write to MH i2c: E2 08 00 13 2A 80 17 00 00 00 00 00 00 BD [14:01:11]Write i2c OK [14:01:11]MH_I2C_Read... [14:01:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:01:11]Read from MH i2c: E2 [14:01:11]MH_I2C_Read... [14:01:11]Read from MH i2c: E2 FD 00 [14:01:11]MH_I2C_Read... [14:01:11]Read from MH i2c: E2 FD 00 13 2A 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5D [14:01:11]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:01:11]wFMCommunicate OK [14:01:11]wFMCommunicate request_size=4 [14:01:11]MH_SAM_APDU [14:01:11]CAPDU: 80 17 00 00 [14:01:11]Write to MH i2c: E2 08 00 14 2A 80 17 00 00 00 00 00 00 BE [14:01:11]Write i2c OK [14:01:11]MH_I2C_Read... [14:01:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:01:11]Read from MH i2c: E2 [14:01:11]MH_I2C_Read... [14:01:11]Read from MH i2c: E2 FD 00 [14:01:11]MH_I2C_Read... [14:01:11]Read from MH i2c: E2 FD 00 14 2A 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 43 [14:01:11]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:01:11]wFMCommunicate OK [14:01:11]wFMCommunicate request_size=4 [14:01:11]MH_SAM_APDU [14:01:11]CAPDU: 80 17 00 00 [14:01:11]Write to MH i2c: E2 08 00 15 2A 80 17 00 00 00 00 00 00 BF [14:01:11]Write i2c OK [14:01:11]MH_I2C_Read... [14:01:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [14:01:11]Read from MH i2c: E2 [14:01:11]MH_I2C_Read... [14:01:11]Read from MH i2c: E2 DE 00 [14:01:11]MH_I2C_Read... [14:01:11]Read from MH i2c: E2 DE 00 15 2A 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E [14:01:11]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [14:01:11]wFMCommunicate OK [14:01:11]SAM_PROTO_GetFMData done [14:01:11]requested_item fm.sale_refund.total is exist - process it [14:01:11]requested_item fm.buy.total is exist - process it [14:01:11]requested_item shift.sale.total is exist - process it [14:01:11]SAM_PROTO_GetShiftData [14:01:11]wFMCommunicate request_size=4 [14:01:11]MH_SAM_APDU [14:01:11]CAPDU: 80 13 02 00 [14:01:11]Write to MH i2c: E2 08 00 16 2A 80 13 02 00 00 00 00 00 BE [14:01:11]Write i2c OK [14:01:11]MH_I2C_Read... [14:01:12]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:01:12]Read from MH i2c: E2 [14:01:12]MH_I2C_Read... [14:01:12]Read from MH i2c: E2 FD 00 [14:01:12]MH_I2C_Read... [14:01:12]Read from MH i2c: E2 FD 00 16 2A 00 AD 04 AA 04 A9 04 6E 04 04 00 13 00 00 00 69 04 9A 00 6F 04 04 00 13 00 00 00 B1 04 03 00 AC B7 05 70 04 03 00 80 58 04 72 04 03 00 2C 5F 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 6E 9B 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 F2 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 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 79 [14:01:12]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 13 00 00 00 69 04 9A 00 6F 04 04 00 13 00 00 00 B1 04 03 00 AC B7 05 70 04 03 00 80 58 04 72 04 03 00 2C 5F 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 6E 9B 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 F2 0C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 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 [14:01:12]wFMCommunicate OK [14:01:12]wFMCommunicate request_size=4 [14:01:12]MH_SAM_APDU [14:01:12]CAPDU: 80 17 00 00 [14:01:12]Write to MH i2c: E2 08 00 17 2A 80 17 00 00 00 00 00 00 C1 [14:01:12]Write i2c OK [14:01:12]MH_I2C_Read... [14:01:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:01:12]Read from MH i2c: E2 [14:01:12]MH_I2C_Read... [14:01:12]Read from MH i2c: E2 FD 00 [14:01:12]MH_I2C_Read... [14:01:12]Read from MH i2c: E2 FD 00 17 2A 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 D3 [14:01:12]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 [14:01:12]wFMCommunicate OK [14:01:12]wFMCommunicate request_size=4 [14:01:12]MH_SAM_APDU [14:01:12]CAPDU: 80 17 00 00 [14:01:12]Write to MH i2c: E2 08 00 18 2A 80 17 00 00 00 00 00 00 C2 [14:01:12]Write i2c OK [14:01:12]MH_I2C_Read... [14:01:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:01:13]Read from MH i2c: E2 [14:01:13]MH_I2C_Read... [14:01:13]Read from MH i2c: E2 FD 00 [14:01:13]MH_I2C_Read... [14:01:13]Read from MH i2c: E2 FD 00 18 2A 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 86 [14:01:13]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 [14:01:13]wFMCommunicate OK [14:01:13]wFMCommunicate request_size=4 [14:01:13]MH_SAM_APDU [14:01:13]CAPDU: 80 17 00 00 [14:01:13]Write to MH i2c: E2 08 00 19 2A 80 17 00 00 00 00 00 00 C3 [14:01:13]Write i2c OK [14:01:13]MH_I2C_Read... [14:01:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:01:13]Read from MH i2c: E2 [14:01:13]MH_I2C_Read... [14:01:13]Read from MH i2c: E2 FD 00 [14:01:13]MH_I2C_Read... [14:01:13]Read from MH i2c: E2 FD 00 19 2A 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 38 [14:01:13]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 OFD Sender: No OFD packet to send [14:01:13]00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 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 [14:01:13]wFMCommunicate OK [14:01:13]wFMCommunicate request_size=4 [14:01:13]MH_SAM_APDU [14:01:13]CAPDU: 80 17 00 00 [14:01:13]Write to MH i2c: E2 08 00 1A 2A 80 17 00 00 00 00 00 00 C4 [14:01:13]Write i2c OK [14:01:13]MH_I2C_Read... [14:01:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [14:01:13]Read from MH i2c: E2 [14:01:13]MH_I2C_Read... [14:01:13]Read from MH i2c: E2 CA 00 [14:01:13]MH_I2C_Read... [14:01:13]Read from MH i2c: E2 CA 00 1A 2A 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 A9 [14:01:13]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 [14:01:13]wFMCommunicate OK [14:01:13]SAM_PROTO_GetShiftData done [14:01:13]requested_item shift.sale.total_cash is exist - process it [14:01:13]requested_item shift.sale_refund.total is exist - process it [14:01:13]requested_item shift.sale_refund.total_cash is exist - process it [14:01:13]requested_item shift.buy.total is exist - process it [14:01:13]requested_item shift.buy.total_cash is exist - process it [14:01:13]produce_requested_data done [14:01:13]produce_requested_data return {"fm.sale.total":2460040.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":3747.00,"shift.sale.total_cash":2848.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} [14:01:13]process_action_free get_value [14:01:13]json_value_free [14:01:13]json_value_free done [14:01:13]process_json_proto returns [14:01:13]Send response to host [14:01:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2460040.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":3747.00,"shift.sale.total_cash":2848.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}}} [14:01:13]free response buf [14:01:13]execute_script done [14:01:13]execute_script returns [14:01:13]free content buf [14:01:13]Sock 8.Close socket [14:01:13]Sock 8.Thread stoped [14:01:18]OFD Sender: No OFD packet to send [14:01:23]OFD Sender: No OFD packet to send [14:01:28]OFD Sender: No OFD packet to send [14:01:33]OFD Sender: No OFD packet to send [14:01:38]OFD Sender: No OFD packet to send [14:01:43]OFD Sender: No OFD packet to send [14:01:48]OFD Sender: No OFD packet to send [14:01:53]OFD Sender: No OFD packet to send [14:01:58]OFD Sender: No OFD packet to send [14:02:03]OFD Sender: No OFD packet to send [14:02:08]OFD Sender: No OFD packet to send [14:02:13]OFD Sender: No OFD packet to send [14:02:18]OFD Sender: No OFD packet to send [14:02:23]OFD Sender: No OFD packet to send [14:02:28]OFD Sender: No OFD packet to send [14:02:33]OFD Sender: No OFD packet to send [14:02:38]OFD Sender: No OFD packet to send [14:02:43]OFD Sender: No OFD packet to send [14:02:48]OFD Sender: No OFD packet to send [14:02:53]OFD Sender: No OFD packet to send [14:02:58]OFD Sender: No OFD packet to send [14:03:03]OFD Sender: No OFD packet to send [14:03:08]OFD Sender: No OFD packet to send [14:03:13]OFD Sender: No OFD packet to send [14:03:18]OFD Sender: No OFD packet to send [14:03:23]OFD Sender: No OFD packet to send [14:03:28]OFD Sender: No OFD packet to send [14:03:33]OFD Sender: No OFD packet to send [14:03:38]OFD Sender: No OFD packet to send [14:03:43]OFD Sender: No OFD packet to send [14:03:48]OFD Sender: No OFD packet to send [14:03:53]OFD Sender: No OFD packet to send [14:03:58]OFD Sender: No OFD packet to send [14:04:03]OFD Sender: No OFD packet to send [14:04:08]OFD Sender: No OFD packet to send [14:04:13]OFD Sender: No OFD packet to send [14:04:18]OFD Sender: No OFD packet to send [14:04:23]OFD Sender: No OFD packet to send [14:04:28]OFD Sender: No OFD packet to send [14:04:33]OFD Sender: No OFD packet to send [14:04:38]OFD Sender: No OFD packet to send [14:04:43]OFD Sender: No OFD packet to send [14:04:48]OFD Sender: No OFD packet to send [14:04:53]OFD Sender: No OFD packet to send [14:04:58]OFD Sender: No OFD packet to send [14:05:03]OFD Sender: No OFD packet to send [14:05:08]OFD Sender: No OFD packet to send [14:05:13]OFD Sender: No OFD packet to send [14:05:18]OFD Sender: No OFD packet to send [14:05:23]OFD Sender: No OFD packet to send [14:05:28]OFD Sender: No OFD packet to send [14:05:33]OFD Sender: No OFD packet to send [14:05:38]OFD Sender: No OFD packet to send [14:05:43]OFD Sender: No OFD packet to send [14:05:48]OFD Sender: No OFD packet to send [14:05:53]OFD Sender: No OFD packet to send [14:05:58]OFD Sender: No OFD packet to send [14:06:03]OFD Sender: No OFD packet to send [14:06:08]OFD Sender: No OFD packet to send [14:06:13]OFD Sender: No OFD packet to send [14:06:18]OFD Sender: No OFD packet to send [14:06:23]OFD Sender: No OFD packet to send [14:06:28]OFD Sender: No OFD packet to send [14:06:33]OFD Sender: No OFD packet to send [14:06:38]OFD Sender: No OFD packet to send [14:06:43]OFD Sender: No OFD packet to send [14:06:48]OFD Sender: No OFD packet to send [14:06:53]OFD Sender: No OFD packet to send [14:06:58]OFD Sender: No OFD packet to send [14:07:03]OFD Sender: No OFD packet to send [14:07:08]OFD Sender: No OFD packet to send [14:07:13]OFD Sender: No OFD packet to send [14:07:18]OFD Sender: No OFD packet to send [14:07:23]OFD Sender: No OFD packet to send [14:07:28]OFD Sender: No OFD packet to send [14:07:33]OFD Sender: No OFD packet to send [14:07:38]OFD Sender: No OFD packet to send [14:07:43]OFD Sender: No OFD packet to send [14:07:48]OFD Sender: No OFD packet to send [14:07:53]OFD Sender: No OFD packet to send [14:07:58]OFD Sender: No OFD packet to send [14:08:03]OFD Sender: No OFD packet to send [14:08:08]OFD Sender: No OFD packet to send [14:08:13]OFD Sender: No OFD packet to send [14:08:18]OFD Sender: No OFD packet to send [14:08:23]OFD Sender: No OFD packet to send [14:08:28]OFD Sender: No OFD packet to send [14:08:33]OFD Sender: No OFD packet to send [14:08:38]OFD Sender: No OFD packet to send [14:08:43]OFD Sender: No OFD packet to send [14:08:48]OFD Sender: No OFD packet to send [14:08:53]OFD Sender: No OFD packet to send [14:08:58]OFD Sender: No OFD packet to send [14:09:03]OFD Sender: No OFD packet to send [14:09:08]OFD Sender: No OFD packet to send [14:09:13]OFD Sender: No OFD packet to send [14:09:18]OFD Sender: No OFD packet to send [14:09:23]OFD Sender: No OFD packet to send [14:09:28]OFD Sender: No OFD packet to send [14:09:33]OFD Sender: No OFD packet to send [14:09:38]OFD Sender: No OFD packet to send [14:09:43]OFD Sender: No OFD packet to send [14:09:48]OFD Sender: No OFD packet to send [14:09:53]OFD Sender: No OFD packet to send [14:09:58]OFD Sender: No OFD packet to send [14:10:03]OFD Sender: No OFD packet to send [14:10:08]OFD Sender: No OFD packet to send [14:10:13]OFD Sender: No OFD packet to send [14:10:18]OFD Sender: No OFD packet to send [14:10:23]OFD Sender: No OFD packet to send [14:10:28]OFD Sender: No OFD packet to send [14:10:33]OFD Sender: No OFD packet to send [14:10:38]OFD Sender: No OFD packet to send [14:10:43]OFD Sender: No OFD packet to send [14:10:48]OFD Sender: No OFD packet to send [14:10:53]OFD Sender: No OFD packet to send [14:10:58]OFD Sender: No OFD packet to send [14:11:03]OFD Sender: No OFD packet to send [14:11:08]OFD Sender: No OFD packet to send [14:11:13]OFD Sender: No OFD packet to send [14:11:18]OFD Sender: No OFD packet to send [14:11:23]OFD Sender: No OFD packet to send [14:11:28]OFD Sender: No OFD packet to send [14:11:33]OFD Sender: No OFD packet to send [14:11:38]OFD Sender: No OFD packet to send [14:11:43]OFD Sender: No OFD packet to send [14:11:48]OFD Sender: No OFD packet to send [14:11:53]OFD Sender: No OFD packet to send [14:11:58]OFD Sender: No OFD packet to send [14:12:03]OFD Sender: No OFD packet to send [14:12:08]OFD Sender: No OFD packet to send [14:12:13]OFD Sender: No OFD packet to send [14:12:18]OFD Sender: No OFD packet to send [14:12:23]OFD Sender: No OFD packet to send [14:12:28]OFD Sender: No OFD packet to send [14:12:33]OFD Sender: No OFD packet to send [14:12:38]OFD Sender: No OFD packet to send [14:12:43]OFD Sender: No OFD packet to send [14:12:48]OFD Sender: No OFD packet to send [14:12:53]OFD Sender: No OFD packet to send [14:12:58]OFD Sender: No OFD packet to send [14:13:03]OFD Sender: No OFD packet to send [14:13:08]OFD Sender: No OFD packet to send [14:13:13]OFD Sender: No OFD packet to send [14:13:18]OFD Sender: No OFD packet to send [14:13:23]OFD Sender: No OFD packet to send [14:13:28]OFD Sender: No OFD packet to send [14:13:33]OFD Sender: No OFD packet to send [14:13:38]OFD Sender: No OFD packet to send [14:13: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]OFD Sender: No OFD packet to send [14:14:39]OFD Sender: No OFD packet to send [14:14:44]OFD Sender: No OFD packet to send [14:14:49]OFD Sender: No OFD packet to send [14:14:54]OFD Sender: No OFD packet to send [14:14:59]OFD Sender: No OFD packet to send [14:15:04]OFD Sender: No OFD packet to send [14:15:09]OFD Sender: No OFD packet to send [14:15:14]OFD Sender: No OFD packet to send [14:15:19]OFD Sender: No OFD packet to send [14:15:24]OFD Sender: No OFD packet to send [14:15:29]OFD Sender: No OFD packet to send [14:15:34]OFD Sender: No OFD packet to send [14:15:39]OFD Sender: No OFD packet to send [14:15:44]OFD Sender: No OFD packet to send [14:15:49]OFD Sender: No OFD packet to send [14:15:54]OFD Sender: No OFD packet to send [14:15:59]OFD Sender: No OFD packet to send [14:16:04]OFD Sender: No OFD packet to send [14:16:09]OFD Sender: No OFD packet to send [14:16:14]OFD Sender: No OFD packet to send [14:16:19]OFD Sender: No OFD packet to send [14:16:24]OFD Sender: No OFD packet to send [14:16:29]OFD Sender: No OFD packet to send [14:16:34]OFD Sender: No OFD packet to send [14:16:39]OFD Sender: No OFD packet to send [14:16:44]OFD Sender: No OFD packet to send [14:16:49]OFD Sender: No OFD packet to send [14:16:54]OFD Sender: No OFD packet to send [14:16:59]OFD Sender: No OFD packet to send [14:17:04]OFD Sender: No OFD packet to send [14:17:09]OFD Sender: No OFD packet to send [14:17:14]OFD Sender: No OFD packet to send [14:17:19]OFD Sender: No OFD packet to send [14:17:24]OFD Sender: No OFD packet to send [14:17:29]OFD Sender: No OFD packet to send [14:17:34]OFD Sender: No OFD packet to send [14:17:39]OFD Sender: No OFD packet to send [14:17:44]OFD Sender: No OFD packet to send [14:17:49]OFD Sender: No OFD packet to send [14:17:54]OFD Sender: No OFD packet to send [14:17:59]OFD Sender: No OFD packet to send [14:18:04]OFD Sender: No OFD packet to send [14:18:09]OFD Sender: No OFD packet to send [14:18:14]OFD Sender: No OFD packet to send [14:18:19]OFD Sender: No OFD packet to send [14:18:24]OFD Sender: No OFD packet to send [14:18:29]OFD Sender: No OFD packet to send [14:18:34]OFD Sender: No OFD packet to send [14:18:39]OFD Sender: No OFD packet to send [14:18:44]OFD Sender: No OFD packet to send [14:18:49]OFD Sender: No OFD packet to send [14:18:54]OFD Sender: No OFD packet to send [14:18:59]OFD Sender: No OFD packet to send [14:19:04]OFD Sender: No OFD packet to send [14:19:09]OFD Sender: No OFD packet to send [14:19:14]OFD Sender: No OFD packet to send [14:19:19]OFD Sender: No OFD packet to send [14:19:24]OFD Sender: No OFD packet to send [14:19:29]OFD Sender: No OFD packet to send [14:19:34]OFD Sender: No OFD packet to send [14:19:39]OFD Sender: No OFD packet to send [14:19:44]OFD Sender: No OFD packet to send [14:19:49]OFD Sender: No OFD packet to send [14:19:54]OFD Sender: No OFD packet to send [14:19:59]OFD Sender: No OFD packet to send [14:20:04]OFD Sender: No OFD packet to send [14:20:09]OFD Sender: No OFD packet to send [14:20:14]OFD Sender: No OFD packet to send [14:20:19]OFD Sender: No OFD packet to send [14:20:24]OFD Sender: No OFD packet to send [14:20:29]OFD Sender: No OFD packet to send [14:20:34]OFD Sender: No OFD packet to send [14:20:39]OFD Sender: No OFD packet to send [14:20:44]OFD Sender: No OFD packet to send [14:20:49]OFD Sender: No OFD packet to send [14:20:54]OFD Sender: No OFD packet to send [14:20:59]OFD Sender: No OFD packet to send [14:21:04]OFD Sender: No OFD packet to send [14:21:09]OFD Sender: No OFD packet to send [14:21:14]OFD Sender: No OFD packet to send [14:21:19]OFD Sender: No OFD packet to send [14:21:24]OFD Sender: No OFD packet to send [14:21:29]OFD Sender: No OFD packet to send [14:21:34]OFD Sender: No OFD packet to send [14:21:39]OFD Sender: No OFD packet to send [14:21:44]OFD Sender: No OFD packet to send [14:21:49]OFD Sender: No OFD packet to send [14:21:54]OFD Sender: No OFD packet to send [14:21:59]OFD Sender: No OFD packet to send [14:22:04]OFD Sender: No OFD packet to send [14:22:09]OFD Sender: No OFD packet to send [14:22:14]OFD Sender: No OFD packet to send [14:22:19]OFD Sender: No OFD packet to send [14:22:24]OFD Sender: No OFD packet to send [14:22:29]OFD Sender: No OFD packet to send [14:22:34]OFD Sender: No OFD packet to send [14:22:39]OFD Sender: No OFD packet to send [14:22:44]OFD Sender: No OFD packet to send [14:22:49]OFD Sender: No OFD packet to send [14:22:54]OFD Sender: No OFD packet to send [14:22:59]OFD Sender: No OFD packet to send [14:23:04]OFD Sender: No OFD packet to send [14:23:09]OFD Sender: No OFD packet to send [14:23:14]OFD Sender: No OFD packet to send [14:23:19]OFD Sender: No OFD packet to send [14:23:24]OFD Sender: No OFD packet to send [14:23:29]OFD Sender: No OFD packet to send [14:23:34]OFD Sender: No OFD packet to send [14:23:39]OFD Sender: No OFD packet to send [14:23:44]OFD Sender: No OFD packet to send [14:23:49]OFD Sender: No OFD packet to send [14:23:54]OFD Sender: No OFD packet to send [14:23:59]OFD Sender: No OFD packet to send [14:24:04]OFD Sender: No OFD packet to send [14:24:09]OFD Sender: No OFD packet to send [14:24:14]OFD Sender: No OFD packet to send [14:24:19]OFD Sender: No OFD packet to send [14:24:24]OFD Sender: No OFD packet to send [14:24:29]OFD Sender: No OFD packet to send [14:24:34]OFD Sender: No OFD packet to send [14:24:39]OFD Sender: No OFD packet to send [14:24:44]OFD Sender: No OFD packet to send [14:24:49]OFD Sender: No OFD packet to send [14:24:54]OFD Sender: No OFD packet to send [14:24:59]OFD Sender: No OFD packet to send [14:25:04]OFD Sender: No OFD packet to send [14:25:09]OFD Sender: No OFD packet to send [14:25:14]OFD Sender: No OFD packet to send [14:25:19]OFD Sender: No OFD packet to send [14:25:24]OFD Sender: No OFD packet to send [14:25:29]OFD Sender: No OFD packet to send [14:25:34]OFD Sender: No OFD packet to send [14:25:39]OFD Sender: No OFD packet to send [14:25:44]OFD Sender: No OFD packet to send [14:25:49]OFD Sender: No OFD packet to send [14:25:54]OFD Sender: No OFD packet to send [14:25:59]OFD Sender: No OFD packet to send [14:26:04]OFD Sender: No OFD packet to send [14:26:09]OFD Sender: No OFD packet to send [14:26:14]OFD Sender: No OFD packet to send [14:26:19]OFD Sender: No OFD packet to send [14:26:24]OFD Sender: No OFD packet to send [14:26:29]OFD Sender: No OFD packet to send [14:26:34]OFD Sender: No OFD packet to send [14:26:39]OFD Sender: No OFD packet to send [14:26:44]OFD Sender: No OFD packet to send [14:26:49]OFD Sender: No OFD packet to send [14:26:54]OFD Sender: No OFD packet to send [14:26:59]OFD Sender: No OFD packet to send [14:27:04]OFD Sender: No OFD packet to send [14:27:09]OFD Sender: No OFD packet to send [14:27:14]OFD Sender: No OFD packet to send [14:27:19]OFD Sender: No OFD packet to send [14:27:24]OFD Sender: No OFD packet to send [14:27:29]OFD Sender: No OFD packet to send [14:27:34]OFD Sender: No OFD packet to send [14:27:39]OFD Sender: No OFD packet to send [14:27:44]OFD Sender: No OFD packet to send [14:27:49]OFD Sender: No OFD packet to send [14:27:54]OFD Sender: No OFD packet to send [14:27:59]OFD Sender: No OFD packet to send [14:28:04]OFD Sender: No OFD packet to send [14:28:09]OFD Sender: No OFD packet to send [14:28:14]OFD Sender: No OFD packet to send [14:28:19]OFD Sender: No OFD packet to send [14:28:24]OFD Sender: No OFD packet to send [14:28:29]OFD Sender: No OFD packet to send [14:28:34]OFD Sender: No OFD packet to send [14:28:39]OFD Sender: No OFD packet to send [14:28:44]OFD Sender: No OFD packet to send [14:28:49]OFD Sender: No OFD packet to send [14:28:54]OFD Sender: No OFD packet to send [14:28:59]OFD Sender: No OFD packet to send [14:29:04]OFD Sender: No OFD packet to send [14:29:09]OFD Sender: No OFD packet to send [14:29:14]OFD Sender: No OFD packet to send [14:29:19]OFD Sender: No OFD packet to send [14:29:24]OFD Sender: No OFD packet to send [14:29:29]OFD Sender: No OFD packet to send [14:29:34]OFD Sender: No OFD packet to send [14:29:39]OFD Sender: No OFD packet to send [14:29:44]OFD Sender: No OFD packet to send [14:29:49]OFD Sender: No OFD packet to send [14:29:54]OFD Sender: No OFD packet to send [14:29:59]OFD Sender: No OFD packet to send [14:30:04]OFD Sender: No OFD packet to send [14:30:09]OFD Sender: No OFD packet to send [14:30:14]OFD Sender: No OFD packet to send [14:30:19]OFD Sender: No OFD packet to send [14:30:24]OFD Sender: No OFD packet to send [14:30:29]OFD Sender: No OFD packet to send [14:30:34]OFD Sender: No OFD packet to send [14:30:39]OFD Sender: No OFD packet to send [14:30:44]OFD Sender: No OFD packet to send [14:30:49]OFD Sender: No OFD packet to send [14:30:54]OFD Sender: No OFD packet to send [14:30:59]OFD Sender: No OFD packet to send [14:31:04]OFD Sender: No OFD packet to send [14:31:09]OFD Sender: No OFD packet to send [14:31:14]OFD Sender: No OFD packet to send [14:31:19]OFD Sender: No OFD packet to send [14:31:24]OFD Sender: No OFD packet to send [14:31:29]OFD Sender: No OFD packet to send [14:31:34]OFD Sender: No OFD packet to send [14:31:39]OFD Sender: No OFD packet to send [14:31:44]OFD Sender: No OFD packet to send [14:31:49]OFD Sender: No OFD packet to send [14:31:54]OFD Sender: No OFD packet to send [14:31:59]OFD Sender: No OFD packet to send [14:32:04]OFD Sender: No OFD packet to send [14:32:09]OFD Sender: No OFD packet to send [14:32:14]OFD Sender: No OFD packet to send [14:32:19]OFD Sender: No OFD packet to send [14:32:24]OFD Sender: No OFD packet to send [14:32:29]OFD Sender: No OFD packet to send [14:32:34]OFD Sender: No OFD packet to send [14:32:39]OFD Sender: No OFD packet to send [14:32:44]OFD Sender: No OFD packet to send [14:32:49]OFD Sender: No OFD packet to send [14:32:54]OFD Sender: No OFD packet to send [14:32:59]OFD Sender: No OFD packet to send [14:33:04]OFD Sender: No OFD packet to send [14:33:09]OFD Sender: No OFD packet to send [14:33:14]OFD Sender: No OFD packet to send [14:33:19]OFD Sender: No OFD packet to send [14:33:24]OFD Sender: No OFD packet to send [14:33:29]OFD Sender: No OFD packet to send [14:33:34]OFD Sender: No OFD packet to send [14:33:39]OFD Sender: No OFD packet to send [14:33:44]OFD Sender: No OFD packet to send [14:33:49]OFD Sender: No OFD packet to send [14:33:54]OFD Sender: No OFD packet to send [14:33:59]OFD Sender: No OFD packet to send [14:34:04]OFD Sender: No OFD packet to send [14:34:09]OFD Sender: No OFD packet to send [14:34:14]OFD Sender: No OFD packet to send [14:34:19]OFD Sender: No OFD packet to send [14:34:24]OFD Sender: No OFD packet to send [14:34:29]OFD Sender: No OFD packet to send [14:34:34]OFD Sender: No OFD packet to send [14:34:39]OFD Sender: No OFD packet to send [14:34:44]OFD Sender: No OFD packet to send [14:34:49]OFD Sender: No OFD packet to send [14:34:54]OFD Sender: No OFD packet to send [14:34:59]OFD Sender: No OFD packet to send [14:35:04]OFD Sender: No OFD packet to send [14:35:10]OFD Sender: No OFD packet to send [14:35:15]OFD Sender: No OFD packet to send [14:35:20]OFD Sender: No OFD packet to send [14:35:25]OFD Sender: No OFD packet to send [14:35:30]OFD Sender: No OFD packet to send [14:35:35]OFD Sender: No OFD packet to send [14:35:40]OFD Sender: No OFD packet to send [14:35:45]OFD Sender: No OFD packet to send [14:35:50]OFD Sender: No OFD packet to send [14:35:55]OFD Sender: No OFD packet to send [14:36:00]OFD Sender: No OFD packet to send [14:36:05]OFD Sender: No OFD packet to send [14:36:10]OFD Sender: No OFD packet to send [14:36:15]OFD Sender: No OFD packet to send [14:36:20]OFD Sender: No OFD packet to send [14:36:25]OFD Sender: No OFD packet to send [14:36:30]OFD Sender: No OFD packet to send [14:36:35]OFD Sender: No OFD packet to send [14:36:40]OFD Sender: No OFD packet to send [14:36:45]OFD Sender: No OFD packet to send [14:36:50]OFD Sender: No OFD packet to send [14:36:55]OFD Sender: No OFD packet to send [14:37:00]OFD Sender: No OFD packet to send [14:37:05]OFD Sender: No OFD packet to send [14:37:10]OFD Sender: No OFD packet to send [14:37:15]OFD Sender: No OFD packet to send [14:37:20]OFD Sender: No OFD packet to send [14:37:25]OFD Sender: No OFD packet to send [14:37:30]OFD Sender: No OFD packet to send [14:37:35]OFD Sender: No OFD packet to send [14:37:40]OFD Sender: No OFD packet to send [14:37:45]OFD Sender: No OFD packet to send [14:37:50]OFD Sender: No OFD packet to send [14:37:55]OFD Sender: No OFD packet to send [14:38:00]OFD Sender: No OFD packet to send [14:38:05]OFD Sender: No OFD packet to send [14:38:10]OFD Sender: No OFD packet to send [14:38:15]OFD Sender: No OFD packet to send [14:38:20]OFD Sender: No OFD packet to send [14:38:25]OFD Sender: No OFD packet to send [14:38:30]OFD Sender: No OFD packet to send [14:38:35]OFD Sender: No OFD packet to send [14:38:40]OFD Sender: No OFD packet to send [14:38:45]OFD Sender: No OFD packet to send [14:38:50]OFD Sender: No OFD packet to send [14:38:55]OFD Sender: No OFD packet to send [14:39:00]OFD Sender: No OFD packet to send [14:39:05]OFD Sender: No OFD packet to send [14:39:10]OFD Sender: No OFD packet to send [14:39:15]OFD Sender: No OFD packet to send [14:39:20]OFD Sender: No OFD packet to send [14:39:25]OFD Sender: No OFD packet to send [14:39:30]OFD Sender: No OFD packet to send [14:39:35]OFD Sender: No OFD packet to send [14:39:40]OFD Sender: No OFD packet to send [14:39:45]OFD Sender: No OFD packet to send [14:39:50]OFD Sender: No OFD packet to send [14:39:55]OFD Sender: No OFD packet to send [14:40:00]OFD Sender: No OFD packet to send [14:40:05]OFD Sender: No OFD packet to send [14:40:10]OFD Sender: No OFD packet to send [14:40:15]OFD Sender: No OFD packet to send [14:40:20]OFD Sender: No OFD packet to send [14:40:25]OFD Sender: No OFD packet to send [14:40:30]OFD Sender: No OFD packet to send [14:40:35]OFD Sender: No OFD packet to send [14:40:40]OFD Sender: No OFD packet to send [14:40:45]OFD Sender: No OFD packet to send [14:40:50]OFD Sender: No OFD packet to send [14:40:55]OFD Sender: No OFD packet to send [14:41:00]OFD Sender: No OFD packet to send [14:41:05]OFD Sender: No OFD packet to send [14:41:10]OFD Sender: No OFD packet to send [14:41:15]OFD Sender: No OFD packet to send [14:41:20]OFD Sender: No OFD packet to send [14:41:25]OFD Sender: No OFD packet to send [14:41:30]OFD Sender: No OFD packet to send [14:41:35]OFD Sender: No OFD packet to send [14:41:40]OFD Sender: No OFD packet to send [14:41:45]OFD Sender: No OFD packet to send [14:41:50]OFD Sender: No OFD packet to send [14:41:55]OFD Sender: No OFD packet to send [14:42:00]OFD Sender: No OFD packet to send [14:42:05]OFD Sender: No OFD packet to send [14:42:10]OFD Sender: No OFD packet to send [14:42:15]OFD Sender: No OFD packet to send [14:42:20]OFD Sender: No OFD packet to send [14:42:25]OFD Sender: No OFD packet to send [14:42:30]OFD Sender: No OFD packet to send [14:42:35]OFD Sender: No OFD packet to send [14:42:40]OFD Sender: No OFD packet to send [14:42:45]OFD Sender: No OFD packet to send [14:42:50]OFD Sender: No OFD packet to send [14:42:55]OFD Sender: No OFD packet to send [14:43:00]OFD Sender: No OFD packet to send [14:43:05]OFD Sender: No OFD packet to send [14:43:10]OFD Sender: No OFD packet to send [14:43:15]OFD Sender: No OFD packet to send [14:43:20]OFD Sender: No OFD packet to send [14:43:25]OFD Sender: No OFD packet to send [14:43:30]OFD Sender: No OFD packet to send [14:43:35]OFD Sender: No OFD packet to send [14:43:40]OFD Sender: No OFD packet to send [14:43:45]OFD Sender: No OFD packet to send [14:43:50]OFD Sender: No OFD packet to send [14:43:55]OFD Sender: No OFD packet to send [14:44:00]OFD Sender: No OFD packet to send [14:44:05]OFD Sender: No OFD packet to send [14:44:10]OFD Sender: No OFD packet to send [14:44:15]OFD Sender: No OFD packet to send [14:44:20]OFD Sender: No OFD packet to send [14:44:25]OFD Sender: No OFD packet to send [14:44:30]OFD Sender: No OFD packet to send [14:44:35]OFD Sender: No OFD packet to send [14:44:40]OFD Sender: No OFD packet to send [14:44:45]OFD Sender: No OFD packet to send [14:44:50]OFD Sender: No OFD packet to send [14:44:55]OFD Sender: No OFD packet to send [14:45:00]OFD Sender: No OFD packet to send [14:45:05]OFD Sender: No OFD packet to send [14:45:10]OFD Sender: No OFD packet to send [14:45:15]OFD Sender: No OFD packet to send [14:45:20]OFD Sender: No OFD packet to send [14:45:25]OFD Sender: No OFD packet to send [14:45:30]OFD Sender: No OFD packet to send [14:45:35]OFD Sender: No OFD packet to send [14:45:40]OFD Sender: No OFD packet to send [14:45:45]OFD Sender: No OFD packet to send [14:45:50]OFD Sender: No OFD packet to send [14:45:55]OFD Sender: No OFD packet to send [14:46:00]OFD Sender: No OFD packet to send [14:46:05]OFD Sender: No OFD packet to send [14:46:10]OFD Sender: No OFD packet to send [14:46:15]OFD Sender: No OFD packet to send [14:46:20]OFD Sender: No OFD packet to send [14:46:25]OFD Sender: No OFD packet to send [14:46:30]OFD Sender: No OFD packet to send [14:46:35]OFD Sender: No OFD packet to send [14:46:40]OFD Sender: No OFD packet to send [14:46:45]OFD Sender: No OFD packet to send [14:46:50]OFD Sender: No OFD packet to send [14:46:55]OFD Sender: No OFD packet to send [14:47:00]OFD Sender: No OFD packet to send [14:47:05]OFD Sender: No OFD packet to send [14:47:10]OFD Sender: No OFD packet to send [14:47:15]OFD Sender: No OFD packet to send [14:47:20]OFD Sender: No OFD packet to send [14:47:25]OFD Sender: No OFD packet to send [14:47:30]OFD Sender: No OFD packet to send [14:47:35]OFD Sender: No OFD packet to send [14:47:40]OFD Sender: No OFD packet to send [14:47:45]OFD Sender: No OFD packet to send [14:47:50]OFD Sender: No OFD packet to send [14:47:55]OFD Sender: No OFD packet to send [14:48:00]OFD Sender: No OFD packet to send [14:48:05]OFD Sender: No OFD packet to send [14:48:10]OFD Sender: No OFD packet to send [14:48:15]OFD Sender: No OFD packet to send [14:48:20]OFD Sender: No OFD packet to send [14:48:25]OFD Sender: No OFD packet to send [14:48:30]OFD Sender: No OFD packet to send [14:48:35]OFD Sender: No OFD packet to send [14:48:40]OFD Sender: No OFD packet to send [14:48:45]OFD Sender: No OFD packet to send [14:48:50]OFD Sender: No OFD packet to send [14:48:55]OFD Sender: No OFD packet to send [14:49:00]OFD Sender: No OFD packet to send [14:49:05]OFD Sender: No OFD packet to send [14:49:10]OFD Sender: No OFD packet to send [14:49:15]OFD Sender: No OFD packet to send [14:49:20]OFD Sender: No OFD packet to send [14:49:25]OFD Sender: No OFD packet to send [14:49:30]OFD Sender: No OFD packet to send [14:49:35]OFD Sender: No OFD packet to send [14:49:40]OFD Sender: No OFD packet to send [14:49:45]OFD Sender: No OFD packet to send [14:49:50]OFD Sender: No OFD packet to send [14:49:55]OFD Sender: No OFD packet to send [14:50:00]OFD Sender: No OFD packet to send [14:50:05]OFD Sender: No OFD packet to send [14:50:10]OFD Sender: No OFD packet to send [14:50:15]OFD Sender: No OFD packet to send [14:50:20]OFD Sender: No OFD packet to send [14:50:25]OFD Sender: No OFD packet to send [14:50:30]OFD Sender: No OFD packet to send [14:50:35]OFD Sender: No OFD packet to send [14:50:40]OFD Sender: No OFD packet to send [14:50:45]OFD Sender: No OFD packet to send [14:50:50]OFD Sender: No OFD packet to send [14:50:55]OFD Sender: No OFD packet to send [14:51:00]OFD Sender: No OFD packet to send [14:51:05]OFD Sender: No OFD packet to send [14:51:10]OFD Sender: No OFD packet to send [14:51:15]OFD Sender: No OFD packet to send [14:51:20]OFD Sender: No OFD packet to send [14:51:25]OFD Sender: No OFD packet to send [14:51:30]OFD Sender: No OFD packet to send [14:51:35]OFD Sender: No OFD packet to send [14:51:40]OFD Sender: No OFD packet to send [14:51:45]OFD Sender: No OFD packet to send [14:51:50]OFD Sender: No OFD packet to send [14:51:55]OFD Sender: No OFD packet to send [14:52:00]OFD Sender: No OFD packet to send [14:52:05]OFD Sender: No OFD packet to send [14:52:10]OFD Sender: No OFD packet to send [14:52:15]OFD Sender: No OFD packet to send [14:52:20]OFD Sender: No OFD packet to send [14:52:25]OFD Sender: No OFD packet to send [14:52:30]OFD Sender: No OFD packet to send [14:52:35]OFD Sender: No OFD packet to send [14:52:40]OFD Sender: No OFD packet to send [14:52:45]OFD Sender: No OFD packet to send [14:52:50]OFD Sender: No OFD packet to send [14:52:55]OFD Sender: No OFD packet to send [14:53:00]OFD Sender: No OFD packet to send [14:53:05]OFD Sender: No OFD packet to send [14:53:10]OFD Sender: No OFD packet to send [14:53:15]OFD Sender: No OFD packet to send [14:53:20]OFD Sender: No OFD packet to send [14:53:25]OFD Sender: No OFD packet to send [14:53:30]OFD Sender: No OFD packet to send [14:53:35]OFD Sender: No OFD packet to send [14:53:40]OFD Sender: No OFD packet to send [14:53:45]OFD Sender: No OFD packet to send [14:53:50]OFD Sender: No OFD packet to send [14:53:55]OFD Sender: No OFD packet to send [14:54:00]OFD Sender: No OFD packet to send [14:54:05]OFD Sender: No OFD packet to send [14:54:10]OFD Sender: No OFD packet to send [14:54:15]OFD Sender: No OFD packet to send [14:54:20]OFD Sender: No OFD packet to send [14:54:25]OFD Sender: No OFD packet to send [14:54:30]OFD Sender: No OFD packet to send [14:54:35]OFD Sender: No OFD packet to send [14:54:40]OFD Sender: No OFD packet to send [14:54:45]OFD Sender: No OFD packet to send [14:54:50]OFD Sender: No OFD packet to send [14:54:55]OFD Sender: No OFD packet to send [14:55:00]OFD Sender: No OFD packet to send [14:55:05]OFD Sender: No OFD packet to send [14:55:10]OFD Sender: No OFD packet to send [14:55:15]OFD Sender: No OFD packet to send [14:55:20]OFD Sender: No OFD packet to send [14:55:25]OFD Sender: No OFD packet to send [14:55:30]OFD Sender: No OFD packet to send [14:55:35]OFD Sender: No OFD packet to send [14:55:40]OFD Sender: No OFD packet to send [14:55:45]OFD Sender: No OFD packet to send [14:55:50]OFD Sender: No OFD packet to send [14:55:55]OFD Sender: No OFD packet to send [14:56:00]OFD Sender: No OFD packet to send [14:56:05]OFD Sender: No OFD packet to send [14:56:10]OFD Sender: No OFD packet to send [14:56:15]OFD Sender: No OFD packet to send [14:56:20]OFD Sender: No OFD packet to send [14:56:25]OFD Sender: No OFD packet to send [14:56:31]OFD Sender: No OFD packet to send [14:56:36]OFD Sender: No OFD packet to send [14:56:41]OFD Sender: No OFD packet to send [14:56:46]OFD Sender: No OFD packet to send [14:56:51]OFD Sender: No OFD packet to send [14:56:56]OFD Sender: No OFD packet to send [14:57:01]OFD Sender: No OFD packet to send [14:57:06]OFD Sender: No OFD packet to send [14:57:11]OFD Sender: No OFD packet to send [14:57:16]OFD Sender: No OFD packet to send [14:57:21]OFD Sender: No OFD packet to send [14:57:26]OFD Sender: No OFD packet to send [14:57:31]OFD Sender: No OFD packet to send [14:57:36]OFD Sender: No OFD packet to send [14:57:41]OFD Sender: No OFD packet to send [14:57:46]OFD Sender: No OFD packet to send [14:57:51]OFD Sender: No OFD packet to send [14:57:56]OFD Sender: No OFD packet to send [14:58:01]OFD Sender: No OFD packet to send [14:58:06]OFD Sender: No OFD packet to send [14:58:11]OFD Sender: No OFD packet to send [14:58:16]OFD Sender: No OFD packet to send [14:58:21]OFD Sender: No OFD packet to send [14:58:26]OFD Sender: No OFD packet to send [14:58:31]OFD Sender: No OFD packet to send [14:58:36]OFD Sender: No OFD packet to send [14:58:41]OFD Sender: No OFD packet to send [14:58:46]OFD Sender: No OFD packet to send [14:58:51]OFD Sender: No OFD packet to send [14:58:56]OFD Sender: No OFD packet to send [14:59:01]OFD Sender: No OFD packet to send [14:59:06]OFD Sender: No OFD packet to send [14:59:11]OFD Sender: No OFD packet to send [14:59:16]OFD Sender: No OFD packet to send [14:59:21]OFD Sender: No OFD packet to send [14:59:26]OFD Sender: No OFD packet to send [14:59:31]OFD Sender: No OFD packet to send [14:59:36]OFD Sender: No OFD packet to send [14:59:41]OFD Sender: No OFD packet to send [14:59:46]OFD Sender: No OFD packet to send [14:59:51]OFD Sender: No OFD packet to send [14:59:56]OFD Sender: No OFD packet to send [15:00:01]OFD Sender: No OFD packet to send [15:00:06]OFD Sender: No OFD packet to send [15:00:11]OFD Sender: No OFD packet to send [15:00:16]OFD Sender: No OFD packet to send [15:00:21]OFD Sender: No OFD packet to send [15:00:26]OFD Sender: No OFD packet to send [15:00:31]OFD Sender: No OFD packet to send [15:00:36]OFD Sender: No OFD packet to send [15:00:41]OFD Sender: No OFD packet to send [15:00:46]OFD Sender: No OFD packet to send [15:00:51]OFD Sender: No OFD packet to send [15:00:56]OFD Sender: No OFD packet to send [15:01:01]OFD Sender: No OFD packet to send [15:01:06]OFD Sender: No OFD packet to send [15:01:11]OFD Sender: No OFD packet to send [15:01:16]OFD Sender: No OFD packet to send [15:01:21]OFD Sender: No OFD packet to send [15:01:26]OFD Sender: No OFD packet to send [15:01:31]OFD Sender: No OFD packet to send [15:01:36]OFD Sender: No OFD packet to send [15:01:41]OFD Sender: No OFD packet to send [15:01:46]OFD Sender: No OFD packet to send [15:01:51]OFD Sender: No OFD packet to send [15:01:56]OFD Sender: No OFD packet to send [15:02:01]OFD Sender: No OFD packet to send [15:02:06]OFD Sender: No OFD packet to send [15:02:11]OFD Sender: No OFD packet to send [15:02:16]OFD Sender: No OFD packet to send [15:02:21]OFD Sender: No OFD packet to send [15:02:26]OFD Sender: No OFD packet to send [15:02:31]OFD Sender: No OFD packet to send [15:02:36]OFD Sender: No OFD packet to send [15:02:41]OFD Sender: No OFD packet to send [15:02:46]OFD Sender: No OFD packet to send [15:02:51]OFD Sender: No OFD packet to send [15:02:56]OFD Sender: No OFD packet to send [15:03:01]OFD Sender: No OFD packet to send [15:03:06]OFD Sender: No OFD packet to send [15:03:11]OFD Sender: No OFD packet to send [15:03:16]OFD Sender: No OFD packet to send [15:03:21]OFD Sender: No OFD packet to send [15:03:26]OFD Sender: No OFD packet to send [15:03:31]OFD Sender: No OFD packet to send [15:03:36]OFD Sender: No OFD packet to send [15:03:41]OFD Sender: No OFD packet to send [15:03:46]OFD Sender: No OFD packet to send [15:03:51]OFD Sender: No OFD packet to send [15:03:56]OFD Sender: No OFD packet to send [15:04:01]OFD Sender: No OFD packet to send [15:04:06]OFD Sender: No OFD packet to send [15:04:11]OFD Sender: No OFD packet to send [15:04:16]OFD Sender: No OFD packet to send [15:04:21]OFD Sender: No OFD packet to send [15:04:26]OFD Sender: No OFD packet to send [15:04:31]OFD Sender: No OFD packet to send [15:04:36]OFD Sender: No OFD packet to send [15:04:41]OFD Sender: No OFD packet to send [15:04:46]OFD Sender: No OFD packet to send [15:04:51]OFD Sender: No OFD packet to send [15:04:56]OFD Sender: No OFD packet to send [15:05:01]OFD Sender: No OFD packet to send [15:05:06]OFD Sender: No OFD packet to send [15:05:11]OFD Sender: No OFD packet to send [15:05:16]OFD Sender: No OFD packet to send [15:05:21]OFD Sender: No OFD packet to send [15:05:26]OFD Sender: No OFD packet to send [15:05:31]OFD Sender: No OFD packet to send [15:05:36]OFD Sender: No OFD packet to send [15:05:41]OFD Sender: No OFD packet to send [15:05:46]OFD Sender: No OFD packet to send [15:05:51]OFD Sender: No OFD packet to send [15:05:56]OFD Sender: No OFD packet to send [15:06:01]OFD Sender: No OFD packet to send [15:06:06]OFD Sender: No OFD packet to send [15:06:11]OFD Sender: No OFD packet to send [15:06:16]OFD Sender: No OFD packet to send [15:06:21]OFD Sender: No OFD packet to send [15:06:26]OFD Sender: No OFD packet to send [15:06:31]OFD Sender: No OFD packet to send [15:06:36]OFD Sender: No OFD packet to send [15:06:41]OFD Sender: No OFD packet to send [15:06:46]OFD Sender: No OFD packet to send [15:06:51]OFD Sender: No OFD packet to send [15:06:56]OFD Sender: No OFD packet to send [15:07:01]OFD Sender: No OFD packet to send [15:07:06]OFD Sender: No OFD packet to send [15:07:11]OFD Sender: No OFD packet to send [15:07:16]OFD Sender: No OFD packet to send [15:07:21]OFD Sender: No OFD packet to send [15:07:26]OFD Sender: No OFD packet to send [15:07:31]OFD Sender: No OFD packet to send [15:07:36]OFD Sender: No OFD packet to send [15:07:41]OFD Sender: No OFD packet to send [15:07:46]OFD Sender: No OFD packet to send [15:07:51]OFD Sender: No OFD packet to send [15:07:56]OFD Sender: No OFD packet to send [15:08:01]OFD Sender: No OFD packet to send [15:08:06]OFD Sender: No OFD packet to send [15:08:11]OFD Sender: No OFD packet to send [15:08:16]OFD Sender: No OFD packet to send [15:08:21]OFD Sender: No OFD packet to send [15:08:26]OFD Sender: No OFD packet to send [15:08:31]OFD Sender: No OFD packet to send [15:08:36]OFD Sender: No OFD packet to send [15:08:41]OFD Sender: No OFD packet to send [15:08:46]OFD Sender: No OFD packet to send [15:08:51]OFD Sender: No OFD packet to send [15:08:56]OFD Sender: No OFD packet to send [15:09:01]OFD Sender: No OFD packet to send [15:09:06]OFD Sender: No OFD packet to send [15:09:11]OFD Sender: No OFD packet to send [15:09:16]OFD Sender: No OFD packet to send [15:09:21]OFD Sender: No OFD packet to send [15:09:26]OFD Sender: No OFD packet to send [15:09:31]OFD Sender: No OFD packet to send [15:09:36]OFD Sender: No OFD packet to send [15:09:41]OFD Sender: No OFD packet to send [15:09:46]OFD Sender: No OFD packet to send [15:09:51]OFD Sender: No OFD packet to send [15:09:56]OFD Sender: No OFD packet to send [15:10:01]OFD Sender: No OFD packet to send [15:10:06]OFD Sender: No OFD packet to send [15:10:11]OFD Sender: No OFD packet to send [15:10:16]OFD Sender: No OFD packet to send [15:10:21]OFD Sender: No OFD packet to send [15:10:26]OFD Sender: No OFD packet to send [15:10:31]OFD Sender: No OFD packet to send [15:10:36]OFD Sender: No OFD packet to send [15:10:41]OFD Sender: No OFD packet to send [15:10:46]OFD Sender: No OFD packet to send [15:10:51]OFD Sender: No OFD packet to send [15:10:56]OFD Sender: No OFD packet to send [15:11:01]OFD Sender: No OFD packet to send [15:11:02]accept exits with 9 [15:11:02]New connection [15:11:02]New thread 3067243876 created [15:11:02]Thread 3067100516 joined [15:11:02]Waiting for new connection... [15:11:02] Sock 9.Parse request [15:11:02]Sock 9.Check first char [15:11:02]Sock 9.First char is OK [15:11:02]request: POST /json_proto HTTP/1.0 [15:11:02]Method: POST [15:11:02]URL: /json_proto [15:11:02]Method is POST - this is cgi request [15:11:02]url: /json_proto [15:11:02]query_string will be loaded in cgi processing [15:11:02]execute_cgi json_proto POST (null) [15:11:02]execute_cgi path=json_proto method=POST [15:11:02]POST find Content-Length [15:11:02]Host: 172.17.62.6:8080 [15:11:02]Content-Length: 876 [15:11:02]Content-Type: application/json [15:11:02] [15:11:02]POST finish read [15:11:02]Found Content-Length = 876 [15:11:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32794", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 2.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 290.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:11:02]execute_script... [15:11: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)32794", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 2.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 290.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:11:02]POST & json_proto [15:11:02]process_json_proto [15:11:02]json parsed OK: [15:11:02]protocol is kg_v1.0 [15:11:02]action value=close_receipt [15:11:02]process_action close_receipt [15:11:02]cmd_close_receipt [15:11:02]MH_GetDate [15:11:02]Write to MH i2c: F0 00 00 1B 2A 34 [15:11:02]Write i2c OK [15:11:02]MH_I2C_Read... [15:11:02]Read from MH i2c: F0 [15:11:02]MH_I2C_Read... [15:11:02]Read from MH i2c: F0 09 00 [15:11:02]MH_I2C_Read... [15:11:02]Read from MH i2c: F0 09 00 1B 2A 00 97 89 22 66 61 69 D2 64 E5 [15:11:02]GetLastDocTimeStamp 1713534766 [15:11:02]current date 1713539479 [15:11:02]FM_GetShiftState [15:11:02]SAM_PROTO_GetShiftState [15:11:02]wFMCommunicate request_size=4 [15:11:02]MH_SAM_APDU [15:11:02]CAPDU: 80 13 01 00 [15:11:02]Write to MH i2c: E2 08 00 1C 2A 80 13 01 00 00 00 00 00 C3 [15:11:02]Write i2c OK [15:11:02]MH_I2C_Read... [15:11:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:11:02]Read from MH i2c: E2 [15:11:02]MH_I2C_Read... [15:11:02]Read from MH i2c: E2 0E 00 [15:11:02]MH_I2C_Read... [15:11:02]Read from MH i2c: E2 0E 00 1C 2A 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 B9 [15:11:02]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [15:11:02]wFMCommunicate OK [15:11:02]SAM_PROTO_GetShiftState done [15:11:02]FM_GetShiftState done [15:11:02]opened in 1713485995 [15:11:02]opened+sec_in_day 1713572395 [15:11:02]quantity*price = 16000 [15:11:02]sum+1 = 16001 [15:11:02]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036220012 Кофе Капучино XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 290.00 НСП 1% : 2.57 НДС 12% : 30.79 Наличными: 290.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 20 19.04.2024 15:11 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12518 ФПД: 104344021362080 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T151119&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12518&fm=104344021362080&tin=02508201610067®Number=0000000000100748&sum=29000 0 [15:11:04]StoreToDocumentArchive [15:11:04]shift 279 fd 12518 [15:11:04]save to /storage/0279/doc_00012518 [15:11:04]save last doc name /storage/0279/doc_00012518 to /storage/kkm_last_doc_name [15:11:04]save OK [15:11:04]Clear old archive folders... [15:11:04]ProcessDocumentItem done err = 0, tmpTLVsize=380 [15:11:04]tlvbuf is B6F21C50 [15:11:04]SAM_PROTO_ClearQueue [15:11:04]wFMCommunicate request_size=4 [15:11:04]MH_SAM_APDU [15:11:04]CAPDU: 80 09 00 00 [15:11:04]Write to MH i2c: E2 08 00 29 2A 80 09 00 00 00 00 00 00 C5 [15:11:04]Write i2c OK [15:11:04]MH_I2C_Read... [15:11:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:11:04]Read from MH i2c: E2 [15:11:04]MH_I2C_Read... [15:11:04]Read from MH i2c: E2 03 00 [15:11:04]MH_I2C_Read... [15:11:04]Read from MH i2c: E2 03 00 29 2A 00 90 00 C7 [15:11:04]RAPDU: 90 00 [15:11:04]wFMCommunicate OK [15:11:04]SAM_PROTO_ClearQueue done [15:11:04]KKMCreateOFDPacket [15:11:04]OFDProtocolAddRootSTLVToBuf [15:11:04]FM_MakeSignedData [15:11:04]FM_MakeSignedData [15:11:04]SAM_PROTO_SignData [15:11:04]wFMCommunicate request_size=4 [15:11:04]MH_SAM_APDU [15:11:04]CAPDU: 80 0D 01 02 [15:11:04]Write to MH i2c: E2 08 00 2A 2A 80 0D 01 02 00 00 00 00 CD [15:11:04]Write i2c OK [15:11:04]MH_I2C_Read... [15:11:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:11:04]Read from MH i2c: E2 [15:11:04]MH_I2C_Read... [15:11:04]Read from MH i2c: E2 03 00 [15:11:04]MH_I2C_Read... [15:11:04]Read from MH i2c: E2 03 00 2A 2A 00 90 00 C8 [15:11:04]RAPDU: 90 00 [15:11:04]wFMCommunicate OK [15:11:04]wFMCommunicate request_size=255 [15:11:04]MH_SAM_APDU [15:11:04]CAPDU: 80 0D 02 02 FA 03 00 7C 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 D0 07 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 01 00 00 [15:11:04]Write to MH i2c: E2 02 01 2B 2A 80 0D 02 02 FA 00 03 00 7C 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 D0 07 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 01 00 00 00 00 42 [15:11:04]Write i2c OK [15:11:04]MH_I2C_Read... [15:11:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:11:04]Read from MH i2c: E2 [15:11:04]MH_I2C_Read... [15:11:04]Read from MH i2c: E2 03 00 [15:11:04]MH_I2C_Read... [15:11:04]Read from MH i2c: E2 03 00 2B 2A 00 90 00 C9 [15:11:04]RAPDU: 90 00 [15:11:04]wFMCommunicate OK [15:11:04]wFMCommunicate request_size=139 [15:11:04]MH_SAM_APDU [15:11:04]CAPDU: 80 0D 02 02 86 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 07 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 97 89 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E6 30 00 00 35 04 06 00 5E E6 7C 53 E5 A0 [15:11:04]Write to MH i2c: E2 8E 00 2C 2A 80 0D 02 02 86 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 07 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 97 89 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E6 30 00 00 35 04 06 00 5E E6 7C 53 E5 A0 00 00 59 [15:11:04]Write i2c OK [15:11:04]MH_I2C_Read... [15:11:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:11:04]Read from MH i2c: E2 [15:11:04]MH_I2C_Read... [15:11:04]Read from MH i2c: E2 03 00 [15:11:04]MH_I2C_Read... [15:11:04]Read from MH i2c: E2 03 00 2C 2A 00 90 00 CA [15:11:04]RAPDU: 90 00 [15:11:04]wFMCommunicate OK [15:11:04]wFMCommunicate request_size=4 [15:11:04]MH_SAM_APDU [15:11:04]CAPDU: 80 0D 03 02 [15:11:04]Write to MH i2c: E2 08 00 2D 2A 80 0D 03 02 00 00 00 00 D2 [15:11:04]Write i2c OK [15:11:04]MH_I2C_Read... [15:11:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:11:04]Read from MH i2c: E2 [15:11:04]MH_I2C_Read... [15:11:04]Read from MH i2c: E2 0B 00 [15:11:04]MH_I2C_Read... [15:11:04]Read from MH i2c: E2 0B 00 2D 2A 00 CA 4B 92 7E 4F 14 B1 DF 90 00 EB [15:11:04]RAPDU: CA 4B 92 7E 4F 14 B1 DF 90 00 [15:11:04]wFMCommunicate OK [15:11:04]SAM_PROTO_SignData done [15:11:04]FM_MakeSignedData done [15:11:04]CreateOFDProtocolMessage [15:11:04]wFMCommunicate request_size=4 [15:11:04]MH_SAM_APDU [15:11:04]CAPDU: 80 11 00 00 [15:11:04]Write to MH i2c: E2 08 00 2E 2A 80 11 00 00 00 00 00 00 D2 [15:11:04]Write i2c OK [15:11:04]MH_I2C_Read... [15:11:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:11:04]Read from MH i2c: E2 [15:11:04]MH_I2C_Read... [15:11:04]Read from MH i2c: E2 17 00 [15:11:04]MH_I2C_Read... [15:11:04]Read from MH i2c: E2 17 00 2E 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 2C [15:11:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [15:11:04]wFMCommunicate OK [15:11:04]CreateOFDProtocolMessage done [15:11:04]OFDSenderStorePacket 12518 [15:11:04]StoreOFDPacket docnum=12518 [15:11:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 01 00 00 5E B8 88 01 E8 B7 5A 03 01 00 03 00 7C 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 D0 07 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 07 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 97 89 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E6 30 00 00 35 04 06 00 5E E6 7C 53 E5 A0 CA 4B 92 7E 4F 14 B1 DF [15:11:04]CheckFolder [15:11:04]dirname=/storage/ofd_packets [15:11:04]CheckFolder done [15:11:04]ProducePacketName [15:11:04]name=ofd_packets/00012518 [15:11:04]NVStorageSaveData ofd_packets/00012518 [15:11:04]File name is /storage/ofd_packets/00012518 [15:11:04]Write 430 bytes [15:11:04]NVStorageSaveData done [15:11:05]OFDSenderStorePacket done [15:11:05]KKMCreateOFDPacket done [15:11:05]NVStorageSaveData kkm_last_timestamp [15:11:05]File name is /storage/kkm_last_timestamp [15:11:05]Write 4 bytes [15:11:05]NVStorageSaveData done [15:11:05]ExternCall_PrintAddStr [15:11:05]wPrintStart [15:11:05]Write to MH i2c: 01 00 00 2F 2A 59 [15:11:05]OFD Sender: Processing packet 12518 [packets to send 7, broken 6] [15:11:05]ProducePacketName [15:11:05]name=ofd_packets/00012518 [15:11:05]OFD Sender: To server: pG, [15:11:05]CommunicateWithHost lk.salyk.kg:30040 [15:11:05]ConnectInit lk.salyk.kg [15:11:05]Write i2c OK [15:11:05]MH_I2C_Read... [15:11:05]Read from MH i2c: 01 [15:11:05]MH_I2C_Read... [15:11:05]Read from MH i2c: 01 07 00 [15:11:05]MH_I2C_Read... [15:11:05]Read from MH i2c: 01 07 00 2F 2A 00 00 00 00 00 FF 0F 6E [15:11:05]RasterBufferAndPrint [15:11:05]line Счет N : (3)32794 [15:11:05]line ИНН: 02508201610067 [15:11:05]line Контрольно-Кассовый Чек [15:11:05]line ПРОДАЖА [15:11:05]line Товар: 4870001570057 [15:11:05]line Напиток Pepsi 0,5л [15:11:05]line 2.000 * 80.00 [15:11:05]line = 160.00 [15:11:05]line НДС 12% НСП 1% [15:11:05]line > о реализуемом товаре [15:11:05]line Товар: 2000036220012 [15:11:05]line Кофе Капучино XL(GABB TRADE) [15:11:05]line 1.000 * 130.00 [15:11:05]line = 130.00 [15:11:05]line НДС 12% НСП 1% [15:11:05]line > о реализуемом товаре [15:11:05]line ИТОГО: 290.00 [15:11:05]line НСП 1% : 2.57 [15:11:05]line НДС 12% : 30.79 [15:11:05]line Наличными: 290.00 [15:11:05]line Безнал.: 0.00 [15:11:05]line Место: АЗС № 106 "Партнер Нефть" [15:11:05]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [15:11:05]line СНО: Общий режим [15:11:05]line Чек 20 19.04.2024 15:11 [15:11:05]line Смена: 279 ФФД: 1.0 [15:11:05]line ЗНМ: 0300000004 [15:11:05]line РНМ: 0000000000100748 [15:11:05]line Версия ККМ: 001 [15:11:05]line ФМ: 0000000000965685 [15:11:05]line ФД: 12518 [15:11:05]line ФПД: 104344021362080 [15:11:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T151119&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12518&fm=104344021362080&tin=02508201610067®Number=0000000000100748&sum=29000 [15:11:05]line 0 [15:11:05]written 0, free lines is 4095 [15:11:05]Connected sock=10 [15:11:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 01 00 00 5E B8 88 01 E8 B7 5A 03 01 00 03 00 7C 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 D0 07 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 71 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 01 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 07 0C 00 00 00 00 07 04 06 00 48 71 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 97 89 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E6 30 00 00 35 04 06 00 5E E6 7C 53 E5 A0 CA 4B 92 7E 4F 14 B1 DF [15:11:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 BF E7 47 00 1B 47 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E6 30 00 00 F4 03 04 00 1E 32 22 66 B6 04 01 00 00 CC 22 A8 C5 AF BC 0F 51 [15:11:05]CommunicateWithHost err = 0 [15:11:05]CheckOFDResponse [15:11:05]1017 (14) - 77093643461234 [15:11:05]1041 (16) - 0000000000965685 [15:11:05]1040 (4) - 12518 [15:11:05]1012 (4) - 19.04.2024 08:58 [15:11:05]1206 (1) - 0 [15:11:05]OFD Sender: Remove packet 12518 [15:11:05]ProducePacketName [15:11:05]name=ofd_packets/00012518 [15:11:05]NVStorageDeleteData [15:11:05]Write to MH i2c: 01 00 00 5D 2A 87 [15:11:05]Write i2c OK [15:11:05]MH_I2C_Read... [15:11:05]Read from MH i2c: 01 [15:11:05]MH_I2C_Read... [15:11:05]Read from MH i2c: 01 07 00 [15:11:05]MH_I2C_Read... [15:11:05]Read from MH i2c: 01 07 00 5D 2A 00 00 00 00 00 AB 0C 45 [15:11:05]RasterBufferAndPrint [15:11:05]line [15:11:05]line [15:11:05]line [15:11:05]line [15:11:05]line [15:11:05]written 0, free lines is 3250 [15:11:05]MH_Cut [15:11:05]Write to MH i2c: D1 01 00 64 2A 01 60 [15:11:05]Write i2c OK [15:11:05]MH_I2C_Read... [15:11:05]Read from MH i2c: D1 [15:11:05]MH_I2C_Read... [15:11:05]Read from MH i2c: D1 01 00 [15:11:05]MH_I2C_Read... [15:11:05]Read from MH i2c: D1 01 00 64 2A 00 5F [15:11:05]Write to MH i2c: 01 00 00 65 2A 8F [15:11:05]Write i2c OK [15:11:05]MH_I2C_Read... [15:11:05]OFD Sender: No OFD packet to send [15:11:06]*** Cut start [15:11:06]*** Partial cut [15:11:06]*** CUTSNS_PIN = 1 [15:11:06]*** CUTSNS_PIN = 0 [15:11:06]*** Brake cut motor [15:11:06]Read from MH i2c: 01 [15:11:06]MH_I2C_Read... [15:11:06]*** Stop cut motor [15:11:07]*** Cut end [15:11:07]Read from MH i2c: 01 07 00 [15:11:07]MH_I2C_Read... [15:11:07]Read from MH i2c: 01 07 00 65 2A 00 00 00 00 00 FF 0F A4 [15:11:07]process_action close_receipt done [15:11:07]requested_data is exist [15:11:07]produce_requested_data [15:11:07]requested_item fm.sn is exist - process it [15:11:07]wFMCommunicate request_size=4 [15:11:07]MH_SAM_APDU [15:11:07]CAPDU: 80 11 00 00 [15:11:07]Write to MH i2c: E2 08 00 66 2A 80 11 00 00 00 00 00 00 0A [15:11:07]Write i2c OK [15:11:07]MH_I2C_Read... [15:11:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:11:07]Read from MH i2c: E2 [15:11:07]MH_I2C_Read... [15:11:07]Read from MH i2c: E2 17 00 [15:11:07]MH_I2C_Read... [15:11:07]Read from MH i2c: E2 17 00 66 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 64 [15:11:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [15:11:07]wFMCommunicate OK [15:11:07]requested_item fd.num is exist - process it [15:11:07]SAM_PROTO_GetFieldsCounters [15:11:07]wFMCommunicate request_size=4 [15:11:07]MH_SAM_APDU [15:11:07]CAPDU: 80 13 00 00 [15:11:07]Write to MH i2c: E2 08 00 67 2A 80 13 00 00 00 00 00 00 0D [15:11:07]Write i2c OK [15:11:07]MH_I2C_Read... [15:11:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:11:07]Read from MH i2c: E2 [15:11:07]MH_I2C_Read... [15:11:07]Read from MH i2c: E2 62 00 [15:11:07]MH_I2C_Read... [15:11:07]Read from MH i2c: E2 62 00 67 2A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 E6 30 00 00 0E 04 04 00 17 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 9A [15:11:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 E6 30 00 00 0E 04 04 00 17 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 [15:11:07]wFMCommunicate OK [15:11:07]SAM_PROTO_GetFieldsCounters done [15:11:07]requested_item shift.num is exist - process it [15:11:07]requested_item shift.opened is exist - process it [15:11:07]req_shift_opened [15:11:07]FM_GetShiftState [15:11:07]SAM_PROTO_GetShiftState [15:11:07]wFMCommunicate request_size=4 [15:11:07]MH_SAM_APDU [15:11:07]CAPDU: 80 13 01 00 [15:11:07]Write to MH i2c: E2 08 00 68 2A 80 13 01 00 00 00 00 00 0F [15:11:07]Write i2c OK [15:11:07]MH_I2C_Read... [15:11:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:11:07]Read from MH i2c: E2 [15:11:07]MH_I2C_Read... [15:11:07]Read from MH i2c: E2 0E 00 [15:11:07]MH_I2C_Read... [15:11:07]Read from MH i2c: E2 0E 00 68 2A 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 05 [15:11:07]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [15:11:07]wFMCommunicate OK [15:11:07]SAM_PROTO_GetShiftState done [15:11:07]FM_GetShiftState done [15:11:07]req_shift_opened done [15:11:07]requested_item shift.open_date is exist - process it [15:11:07]req_shift_open_date [15:11:07]req_shift_open_date done [15:11:07]produce_requested_data done [15:11:07]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12518,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [15:11:07]process_action_free close_receipt [15:11:07]json_value_free [15:11:07]json_value_free done [15:11:07]process_json_proto returns [15:11:07]Send response to host [15:11:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12518,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [15:11:07]free response buf [15:11:07]execute_script done [15:11:07]execute_script returns [15:11:07]free content buf [15:11:07]Sock 9.Close socket [15:11:07]Sock 9.Thread stoped [15:11:10]OFD Sender: No OFD packet to send [15:11:15]OFD Sender: No OFD packet to send [15:11:20]OFD Sender: No OFD packet to send [15:11:25]OFD Sender: No OFD packet to send [15:11:28]accept exits with 8 [15:11:28]New connection [15:11:28]New thread 3067100516 created [15:11:28]Thread 3067243876 joined [15:11:28]Waiting for new connection... [15:11:28] Sock 8.Parse request [15:11:28]Sock 8.Check first char [15:11:28]Sock 8.First char is OK [15:11:28]request: POST /json_proto HTTP/1.0 [15:11:28]Method: POST [15:11:28]URL: /json_proto [15:11:28]Method is POST - this is cgi request [15:11:28]url: /json_proto [15:11:28]query_string will be loaded in cgi processing [15:11:28]execute_cgi json_proto POST (null) [15:11:28]execute_cgi path=json_proto method=POST [15:11:28]POST find Content-Length [15:11:28]Host: 172.17.62.6:8080 [15:11:28]Content-Length: 990 [15:11:28]Content-Type: application/json [15:11:28] [15:11:28]POST finish read [15:11:28]Found Content-Length = 990 [15:11:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)190936", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 71", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-5", "price" : 31.70, "quantity" : 63.100, "sum" : 2000.27, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u000A\u0414\u0438\u0441\u043A\u043E\u043D\u0442\u043D\u0430\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430\u000A\u0421\u0423\u0413\u000A\u043D\u043E\u043C\u0435\u0440 106\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 63.10 \u0441\u043E\u043C", "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:11:28]execute_script... [15:11:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)190936", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 71", "code": "2711190000", "name": "\u0413\u0410\u0417-\u041A-5", "price" : 31.70, "quantity" : 63.100, "sum" : 2000.27, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u000A\u0414\u0438\u0441\u043A\u043E\u043D\u0442\u043D\u0430\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430\u000A\u0421\u0423\u0413\u000A\u043D\u043E\u043C\u0435\u0440 106\u000A\u0441\u044D\u043A\u043E\u043D\u043E\u043C\u043B\u0435\u043D\u043E 63.10 \u0441\u043E\u043C", "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:11:28]POST & json_proto [15:11:28]process_json_proto [15:11:28]json parsed OK: [15:11:28]protocol is kg_v1.0 [15:11:28]action value=close_receipt [15:11:28]process_action close_receipt [15:11:28]cmd_close_receipt [15:11:28]MH_GetDate [15:11:28]Write to MH i2c: F0 00 00 69 2A 82 [15:11:28]Write i2c OK [15:11:28]MH_I2C_Read... [15:11:28]Read from MH i2c: F0 [15:11:28]MH_I2C_Read... [15:11:28]Read from MH i2c: F0 09 00 [15:11:28]MH_I2C_Read... [15:11:28]Read from MH i2c: F0 09 00 69 2A 00 B1 89 22 66 61 69 D2 64 4D [15:11:28]GetLastDocTimeStamp 1713539479 [15:11:28]current date 1713539505 [15:11:28]FM_GetShiftState [15:11:28]SAM_PROTO_GetShiftState [15:11:28]wFMCommunicate request_size=4 [15:11:28]MH_SAM_APDU [15:11:28]CAPDU: 80 13 01 00 [15:11:28]Write to MH i2c: E2 08 00 6A 2A 80 13 01 00 00 00 00 00 11 [15:11:28]Write i2c OK [15:11:28]MH_I2C_Read... [15:11:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:11:28]Read from MH i2c: E2 [15:11:28]MH_I2C_Read... [15:11:28]Read from MH i2c: E2 0E 00 [15:11:28]MH_I2C_Read... [15:11:28]Read from MH i2c: E2 0E 00 6A 2A 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 07 [15:11:28]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [15:11:28]wFMCommunicate OK [15:11:28]SAM_PROTO_GetShiftState done [15:11:28]FM_GetShiftState done [15:11:28]opened in 1713485995 [15:11:28]opened+sec_in_day 1713572395 [15:11:28]quantity*price = 200027 [15:11:28]sum+1 = 200028 [15:11:28]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.27 ИТОГО: 2000.00 Внесено: 2000.00 СДАЧА: 0.00 НСП 1% : 17.70 НДС 12% : 212.42 Наличными: 2000.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 21 19.04.2024 15:11 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 Дисконтная программа СУГ номер 106 сэкономлено 63.10 сом ФМ: 0000000000965685 ФД: 12519 ФПД: 41546249198879 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T151145&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12519&fm=41546249198879&tin=02508201610067®Number=0000000000100748&sum=200000 [15:11:29]StoreToDocumentArchive [15:11:29]shift 279 fd 12519 [15:11:29]save to /storage/0279/doc_00012519 [15:11:29]save last doc name /storage/0279/doc_00012519 to /storage/kkm_last_doc_name [15:11:29]save OK [15:11:29]Clear old archive folders... [15:11:29]ProcessDocumentItem done err = 0, tmpTLVsize=250 [15:11:29]tlvbuf is 01CC0650 [15:11:29]SAM_PROTO_ClearQueue [15:11:29]wFMCommunicate request_size=4 [15:11:29]MH_SAM_APDU [15:11:29]CAPDU: 80 09 00 00 [15:11:29]Write to MH i2c: E2 08 00 77 2A 80 09 00 00 00 00 00 00 13 [15:11:29]Write i2c OK [15:11:29]MH_I2C_Read... [15:11:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:11:29]Read from MH i2c: E2 [15:11:29]MH_I2C_Read... [15:11:29]Read from MH i2c: E2 03 00 [15:11:29]MH_I2C_Read... [15:11:29]Read from MH i2c: E2 03 00 77 2A 00 90 00 15 [15:11:29]RAPDU: 90 00 [15:11:29]wFMCommunicate OK [15:11:29]SAM_PROTO_ClearQueue done [15:11:29]KKMCreateOFDPacket [15:11:29]OFDProtocolAddRootSTLVToBuf [15:11:29]FM_MakeSignedData [15:11:29]FM_MakeSignedData [15:11:29]SAM_PROTO_SignData [15:11:29]wFMCommunicate request_size=4 [15:11:29]MH_SAM_APDU [15:11:29]CAPDU: 80 0D 01 02 [15:11:29]Write to MH i2c: E2 08 00 78 2A 80 0D 01 02 00 00 00 00 1B [15:11:29]Write i2c OK [15:11:29]MH_I2C_Read... [15:11:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:11:29]Read from MH i2c: E2 [15:11:29]MH_I2C_Read... [15:11:29]Read from MH i2c: E2 03 00 [15:11:29]MH_I2C_Read... [15:11:29]Read from MH i2c: E2 03 00 78 2A 00 90 00 16 [15:11:29]RAPDU: 90 00 [15:11:29]wFMCommunicate OK [15:11:29]wFMCommunicate request_size=255 [15:11:29]MH_SAM_APDU [15:11:29]CAPDU: 80 0D 02 02 FA 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 7C F6 00 00 00 00 00 37 04 06 00 62 0C 00 00 00 00 13 04 06 00 5B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 B1 89 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E7 30 00 00 35 04 06 00 25 C9 [15:11:29]Write to MH i2c: E2 02 01 79 2A 80 0D 02 02 FA 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 7C F6 00 00 00 00 00 37 04 06 00 62 0C 00 00 00 00 13 04 06 00 5B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 B1 89 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E7 30 00 00 35 04 06 00 25 C9 00 00 E9 [15:11:29]Write i2c OK [15:11:29]MH_I2C_Read... [15:11:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:11:29]Read from MH i2c: E2 [15:11:29]MH_I2C_Read... [15:11:29]Read from MH i2c: E2 03 00 [15:11:29]MH_I2C_Read... [15:11:29]Read from MH i2c: E2 03 00 79 2A 00 90 00 17 [15:11:29]RAPDU: 90 00 [15:11:29]wFMCommunicate OK [15:11:29]wFMCommunicate request_size=9 [15:11:29]MH_SAM_APDU [15:11:29]CAPDU: 80 0D 02 02 04 3D 6C DD 1F [15:11:29]Write to MH i2c: E2 0C 00 7A 2A 80 0D 02 02 04 00 3D 6C DD 1F 00 00 CB [15:11:29]Write i2c OK [15:11:29]MH_I2C_Read... [15:11:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:11:29]Read from MH i2c: E2 [15:11:29]MH_I2C_Read... [15:11:29]Read from MH i2c: E2 03 00 [15:11:29]MH_I2C_Read... [15:11:29]Read from MH i2c: E2 03 00 7A 2A 00 90 00 18 [15:11:29]RAPDU: 90 00 [15:11:29]wFMCommunicate OK [15:11:29]wFMCommunicate request_size=4 [15:11:29]MH_SAM_APDU [15:11:29]CAPDU: 80 0D 03 02 [15:11:29]Write to MH i2c: E2 08 00 7B 2A 80 0D 03 02 00 00 00 00 20 [15:11:29]Write i2c OK [15:11:29]MH_I2C_Read... [15:11:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:11:29]Read from MH i2c: E2 [15:11:29]MH_I2C_Read... [15:11:29]Read from MH i2c: E2 0B 00 [15:11:29]MH_I2C_Read... [15:11:29]Read from MH i2c: E2 0B 00 7B 2A 00 9A 90 27 73 38 90 2A 0B 90 00 E2 [15:11:29]RAPDU: 9A 90 27 73 38 90 2A 0B 90 00 [15:11:29]wFMCommunicate OK [15:11:29]SAM_PROTO_SignData done [15:11:29]FM_MakeSignedData done [15:11:29]CreateOFDProtocolMessage [15:11:29]wFMCommunicate request_size=4 [15:11:29]MH_SAM_APDU [15:11:29]CAPDU: 80 11 00 00 [15:11:29]Write to MH i2c: E2 08 00 7C 2A 80 11 00 00 00 00 00 00 20 [15:11:30]Write i2c OK [15:11:30]MH_I2C_Read... [15:11:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:11:30]Read from MH i2c: E2 [15:11:30]MH_I2C_Read... [15:11:30]Read from MH i2c: E2 17 00 [15:11:30]MH_I2C_Read... [15:11:30]Read from MH i2c: E2 17 00 7C 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 7A [15:11:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [15:11:30]wFMCommunicate OK [15:11:30]CreateOFDProtocolMessage done [15:11:30]OFDSenderStorePacket 12519 [15:11:30]StoreOFDPacket docnum=12519 [15:11:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0E 01 00 00 5A 30 06 01 F2 E6 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 7C F6 00 00 00 00 00 37 04 06 00 62 0C 00 00 00 00 13 04 06 00 5B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 B1 89 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E7 30 00 00 35 04 06 00 25 C9 3D 6C DD 1F 9A 90 27 73 38 90 2A 0B [15:11:30]CheckFolder [15:11:30]dirname=/storage/ofd_packets [15:11:30]CheckFolder done [15:11:30]ProducePacketName [15:11:30]name=ofd_packets/00012519 [15:11:30]NVStorageSaveData ofd_packets/00012519 [15:11:30]File name is /storage/ofd_packets/00012519 [15:11:30]Write 300 bytes [15:11:30]NVStorageSaveData done [15:11:30]OFDSenderStorePacket done [15:11:30]KKMCreateOFDPacket done [15:11:30]NVStorageSaveData kkm_last_timestamp [15:11:30]File name is /storage/kkm_last_timestamp [15:11:30]Write 4 bytes [15:11:30]NVStorageSaveData done [15:11:30]ExternCall_PrintAddStr [15:11:30]wPrintStart [15:11:30]Write to MH i2c: 01 00 00 7D 2A A7 [15:11:30]Write i2c OK [15:11:30]MH_I2C_Read... [15:11:30]Read from MH i2c: 01 [15:11:30]MH_I2C_Read... [15:11:30]Read from MH i2c: 01 07 00 [15:11:30]MH_I2C_Read... [15:11:30]Read from MH i2c: 01 07 00 7D 2A 00 00 00 00 00 FF 0F BC [15:11:30]RasterBufferAndPrint [15:11:30]line Счет N : (1)190936 [15:11:30]line ИНН: 02508201610067 [15:11:30]line Контрольно-Кассовый Чек [15:11:30]line ПРОДАЖА [15:11:30]line ТРК (МРК, ГНК) : 71 [15:11:30]line Товар: 2711190000 [15:11:30]line ГАЗ-К-5 [15:11:30]line 63.100 * 31.70 [15:11:30]line = 2000.27 [15:11:30]line НДС 12% НСП 1% [15:11:30]line > о реализуемом товаре [15:11:30]line ОКРУГЛЕНИЕ: -0.27 [15:11:30]line ИТОГО: 2000.00 [15:11:30]line Внесено: 2000.00 [15:11:30]line СДАЧА: 0.00 [15:11:30]line НСП 1% : 17.70 [15:11:30]line НДС 12% : 212.42 [15:11:30]line Наличными: 2000.00 [15:11:30]line Безнал.: 0.00 [15:11:30]line Место: АЗС № 106 "Партнер Нефть" [15:11:30]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [15:11:30]line СНО: Общий режим [15:11:30]line Чек 21 19.04.2024 15:11 [15:11:30]line Смена: 279 ФФД: 1.0 [15:11:30]line ЗНМ: 0300000004 [15:11:30]line РНМ: 0000000000100748 [15:11:30]line Версия ККМ: 001 [15:11:30]line [15:11:30]line Дисконтная программа [15:11:30]line СУГ [15:11:30]line номер 106 [15:11:30]line сэкономлено 63.10 сом [15:11:30]line ФМ: 0000000000965685 [15:11:30]line ФД: 12519 [15:11:30]line ФПД: 41546249198879 [15:11:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T151145&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12519&fm=41546249198879&tin=02508201610067®Number=0000000000100748&sum=200000 [15:11:30]OFD Sender: Processing packet 12519 [packets to send 7, broken 6] [15:11:30]ProducePacketName [15:11:30]name=ofd_packets/00012519 [15:11:30]OFD Sender: To server: pG, [15:11:30]CommunicateWithHost lk.salyk.kg:30040 [15:11:30]ConnectInit lk.salyk.kg [15:11:30]written 0, free lines is 4095 [15:11:30]Connected sock=11 [15:11:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0E 01 00 00 5A 30 06 01 F2 E6 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 39 30 30 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 35 FF 03 08 00 03 7C F6 00 00 00 00 00 37 04 06 00 62 0C 00 00 00 00 13 04 06 00 5B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 B1 89 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E7 30 00 00 35 04 06 00 25 C9 3D 6C DD 1F 9A 90 27 73 38 90 2A 0B [15:11:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 EE 4C 47 00 70 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 36 35 36 38 35 10 04 04 00 E7 30 00 00 F4 03 04 00 38 32 22 66 B6 04 01 00 00 F1 08 5F 61 ED 59 2C 1B [15:11:30]CommunicateWithHost err = 0 [15:11:30]CheckOFDResponse [15:11:30]1017 (14) - 77093643461234 [15:11:30]1041 (16) - 0000000000965685 [15:11:30]1040 (4) - 12519 [15:11:30]1012 (4) - 19.04.2024 08:58 [15:11:30]1206 (1) - 0 [15:11:30]OFD Sender: Remove packet 12519 [15:11:30]ProducePacketName [15:11:30]name=ofd_packets/00012519 [15:11:30]NVStorageDeleteData [15:11:30]Write to MH i2c: 01 00 00 AC 2A D6 [15:11:30]Write i2c OK [15:11:30]MH_I2C_Read... [15:11:30]Read from MH i2c: 01 [15:11:30]MH_I2C_Read... [15:11:30]Read from MH i2c: 01 07 00 [15:11:30]MH_I2C_Read... [15:11:30]Read from MH i2c: 01 07 00 AC 2A 00 00 00 00 00 93 0C 7C [15:11:30]RasterBufferAndPrint [15:11:30]line [15:11:30]line [15:11:30]line [15:11:30]line [15:11:30]line [15:11:30]written 0, free lines is 3225 [15:11:30]MH_Cut [15:11:30]Write to MH i2c: D1 01 00 B3 2A 01 AF [15:11:30]Write i2c OK [15:11:30]MH_I2C_Read... [15:11:30]Read from MH i2c: D1 [15:11:30]MH_I2C_Read... [15:11:30]Read from MH i2c: D1 01 00 [15:11:30]MH_I2C_Read... [15:11:30]Read from MH i2c: D1 01 00 B3 2A 00 AE [15:11:30]Write to MH i2c: 01 00 00 B4 2A DE [15:11:30]Write i2c OK [15:11:30]MH_I2C_Read... [15:11:31]OFD Sender: No OFD packet to send [15:11:31]*** Cut start [15:11:31]*** Partial cut [15:11:31]*** CUTSNS_PIN = 1 [15:11:31]*** CUTSNS_PIN = 0 [15:11:31]*** Brake cut motor [15:11:32]Read from MH i2c: 01 [15:11:32]MH_I2C_Read... [15:11:32]*** Stop cut motor [15:11:32]*** Cut end [15:11:32]Read from MH i2c: 01 07 00 [15:11:32]MH_I2C_Read... [15:11:32]Read from MH i2c: 01 07 00 B4 2A 00 00 00 00 00 FF 0F F3 [15:11:32]process_action close_receipt done [15:11:32]requested_data is exist [15:11:32]produce_requested_data [15:11:32]requested_item fm.sn is exist - process it [15:11:32]wFMCommunicate request_size=4 [15:11:32]MH_SAM_APDU [15:11:32]CAPDU: 80 11 00 00 [15:11:32]Write to MH i2c: E2 08 00 B5 2A 80 11 00 00 00 00 00 00 59 [15:11:32]Write i2c OK [15:11:32]MH_I2C_Read... [15:11:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:11:32]Read from MH i2c: E2 [15:11:32]MH_I2C_Read... [15:11:32]Read from MH i2c: E2 17 00 [15:11:32]MH_I2C_Read... [15:11:32]Read from MH i2c: E2 17 00 B5 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 B3 [15:11:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [15:11:32]wFMCommunicate OK [15:11:32]requested_item fd.num is exist - process it [15:11:32]SAM_PROTO_GetFieldsCounters [15:11:32]wFMCommunicate request_size=4 [15:11:32]MH_SAM_APDU [15:11:32]CAPDU: 80 13 00 00 [15:11:32]Write to MH i2c: E2 08 00 B6 2A 80 13 00 00 00 00 00 00 5C [15:11:32]Write i2c OK [15:11:32]MH_I2C_Read... [15:11:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:11:32]Read from MH i2c: E2 [15:11:32]MH_I2C_Read... [15:11:32]Read from MH i2c: E2 62 00 [15:11:32]MH_I2C_Read... [15:11:32]Read from MH i2c: E2 62 00 B6 2A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 E7 30 00 00 0E 04 04 00 17 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 [15:11:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 E7 30 00 00 0E 04 04 00 17 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 [15:11:32]wFMCommunicate OK [15:11:32]SAM_PROTO_GetFieldsCounters done [15:11:32]requested_item shift.num is exist - process it [15:11:32]requested_item shift.opened is exist - process it [15:11:32]req_shift_opened [15:11:32]FM_GetShiftState [15:11:32]SAM_PROTO_GetShiftState [15:11:32]wFMCommunicate request_size=4 [15:11:32]MH_SAM_APDU [15:11:32]CAPDU: 80 13 01 00 [15:11:32]Write to MH i2c: E2 08 00 B7 2A 80 13 01 00 00 00 00 00 5E [15:11:32]Write i2c OK [15:11:32]MH_I2C_Read... [15:11:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:11:32]Read from MH i2c: E2 [15:11:32]MH_I2C_Read... [15:11:32]Read from MH i2c: E2 0E 00 [15:11:32]MH_I2C_Read... [15:11:32]Read from MH i2c: E2 0E 00 B7 2A 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 54 [15:11:32]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [15:11:32]wFMCommunicate OK [15:11:32]SAM_PROTO_GetShiftState done [15:11:32]FM_GetShiftState done [15:11:32]req_shift_opened done [15:11:32]requested_item shift.open_date is exist - process it [15:11:32]req_shift_open_date [15:11:32]req_shift_open_date done [15:11:32]produce_requested_data done [15:11:32]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12519,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [15:11:32]process_action_free close_receipt [15:11:32]json_value_free [15:11:32]json_value_free done [15:11:32]process_json_proto returns [15:11:32]Send response to host [15:11:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12519,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [15:11:32]free response buf [15:11:32]execute_script done [15:11:32]execute_script returns [15:11:32]free content buf [15:11:32]Sock 8.Close socket [15:11:32]Sock 8.Thread stoped [15:11:36]OFD Sender: No OFD packet to send [15:11:41]OFD Sender: No OFD packet to send [15:11:46]OFD Sender: No OFD packet to send [15:11:51]OFD Sender: No OFD packet to send [15:11:56]OFD Sender: No OFD packet to send [15:12:01]OFD Sender: No OFD packet to send [15:12:06]OFD Sender: No OFD packet to send [15:12:11]OFD Sender: No OFD packet to send [15:12:16]OFD Sender: No OFD packet to send [15:12:21]OFD Sender: No OFD packet to send [15:12:26]OFD Sender: No OFD packet to send [15:12:31]OFD Sender: No OFD packet to send [15:12:36]OFD Sender: No OFD packet to send [15:12:41]OFD Sender: No OFD packet to send [15:12:46]OFD Sender: No OFD packet to send [15:12:51]OFD Sender: No OFD packet to send [15:12:56]OFD Sender: No OFD packet to send [15:13:01]OFD Sender: No OFD packet to send [15:13:06]OFD Sender: No OFD packet to send [15:13:11]OFD Sender: No OFD packet to send [15:13:16]OFD Sender: No OFD packet to send [15:13:21]OFD Sender: No OFD packet to send [15:13:26]OFD Sender: No OFD packet to send [15:13:31]OFD Sender: No OFD packet to send [15:13:36]OFD Sender: No OFD packet to send [15:13:41]OFD Sender: No OFD packet to send [15:13:46]OFD Sender: No OFD packet to send [15:13:51]OFD Sender: No OFD packet to send [15:13:56]OFD Sender: No OFD packet to send [15:14:01]OFD Sender: No OFD packet to send [15:14:06]OFD Sender: No OFD packet to send [15:14:11]OFD Sender: No OFD packet to send [15:14:16]OFD Sender: No OFD packet to send [15:14:21]OFD Sender: No OFD packet to send [15:14:26]OFD Sender: No OFD packet to send [15:14:31]OFD Sender: No OFD packet to send [15:14:36]OFD Sender: No OFD packet to send [15:14:41]OFD Sender: No OFD packet to send [15:14:46]OFD Sender: No OFD packet to send [15:14:51]OFD Sender: No OFD packet to send [15:14:56]OFD Sender: No OFD packet to send [15:15:01]OFD Sender: No OFD packet to send [15:15:06]OFD Sender: No OFD packet to send [15:15:11]OFD Sender: No OFD packet to send [15:15:16]OFD Sender: No OFD packet to send [15:15:21]OFD Sender: No OFD packet to send [15:15:26]OFD Sender: No OFD packet to send [15:15:31]OFD Sender: No OFD packet to send [15:15:36]OFD Sender: No OFD packet to send [15:15:41]OFD Sender: No OFD packet to send [15:15:46]OFD Sender: No OFD packet to send [15:15:51]OFD Sender: No OFD packet to send [15:15:56]OFD Sender: No OFD packet to send [15:16:01]OFD Sender: No OFD packet to send [15:16:06]OFD Sender: No OFD packet to send [15:16:11]OFD Sender: No OFD packet to send [15:16:16]OFD Sender: No OFD packet to send [15:16:21]OFD Sender: No OFD packet to send [15:16:26]OFD Sender: No OFD packet to send [15:16:31]OFD Sender: No OFD packet to send [15:16:36]OFD Sender: No OFD packet to send [15:16:41]OFD Sender: No OFD packet to send [15:16:46]OFD Sender: No OFD packet to send [15:16:51]OFD Sender: No OFD packet to send [15:16:56]OFD Sender: No OFD packet to send [15:17:01]OFD Sender: No OFD packet to send [15:17:06]OFD Sender: No OFD packet to send [15:17:11]OFD Sender: No OFD packet to send [15:17:16]OFD Sender: No OFD packet to send [15:17:21]OFD Sender: No OFD packet to send [15:17:26]OFD Sender: No OFD packet to send [15:17:31]OFD Sender: No OFD packet to send [15:17:36]OFD Sender: No OFD packet to send [15:17:41]OFD Sender: No OFD packet to send [15:17:46]OFD Sender: No OFD packet to send [15:17:51]OFD Sender: No OFD packet to send [15:17:56]OFD Sender: No OFD packet to send [15:18:01]OFD Sender: No OFD packet to send [15:18:06]OFD Sender: No OFD packet to send [15:18:11]OFD Sender: No OFD packet to send [15:18:16]OFD Sender: No OFD packet to send [15:18:21]OFD Sender: No OFD packet to send [15:18:26]OFD Sender: No OFD packet to send [15:18:31]OFD Sender: No OFD packet to send [15:18:36]OFD Sender: No OFD packet to send [15:18:41]OFD Sender: No OFD packet to send [15:18:46]OFD Sender: No OFD packet to send [15:18:51]OFD Sender: No OFD packet to send [15:18:56]OFD Sender: No OFD packet to send [15:19:01]OFD Sender: No OFD packet to send [15:19:06]OFD Sender: No OFD packet to send [15:19:11]OFD Sender: No OFD packet to send [15:19:16]OFD Sender: No OFD packet to send [15:19:21]OFD Sender: No OFD packet to send [15:19:26]OFD Sender: No OFD packet to send [15:19:31]OFD Sender: No OFD packet to send [15:19:36]OFD Sender: No OFD packet to send [15:19:41]OFD Sender: No OFD packet to send [15:19:46]OFD Sender: No OFD packet to send [15:19:51]OFD Sender: No OFD packet to send [15:19:56]OFD Sender: No OFD packet to send [15:20:01]OFD Sender: No OFD packet to send [15:20:06]OFD Sender: No OFD packet to send [15:20:11]OFD Sender: No OFD packet to send [15:20:16]OFD Sender: No OFD packet to send [15:20:21]OFD Sender: No OFD packet to send [15:20:26]OFD Sender: No OFD packet to send [15:20:31]OFD Sender: No OFD packet to send [15:20:36]OFD Sender: No OFD packet to send [15:20:41]OFD Sender: No OFD packet to send [15:20:46]OFD Sender: No OFD packet to send [15:20:51]OFD Sender: No OFD packet to send [15:20:56]OFD Sender: No OFD packet to send [15:21:01]OFD Sender: No OFD packet to send [15:21:06]OFD Sender: No OFD packet to send [15:21:11]OFD Sender: No OFD packet to send [15:21:16]OFD Sender: No OFD packet to send [15:21:21]OFD Sender: No OFD packet to send [15:21:26]OFD Sender: No OFD packet to send [15:21:31]OFD Sender: No OFD packet to send [15:21:36]OFD Sender: No OFD packet to send [15:21:41]OFD Sender: No OFD packet to send [15:21:46]OFD Sender: No OFD packet to send [15:21:51]OFD Sender: No OFD packet to send [15:21:56]OFD Sender: No OFD packet to send [15:22:01]OFD Sender: No OFD packet to send [15:22:06]OFD Sender: No OFD packet to send [15:22:11]OFD Sender: No OFD packet to send [15:22:16]OFD Sender: No OFD packet to send [15:22:21]OFD Sender: No OFD packet to send [15:22:26]OFD Sender: No OFD packet to send [15:22:31]OFD Sender: No OFD packet to send [15:22:36]OFD Sender: No OFD packet to send [15:22:41]OFD Sender: No OFD packet to send [15:22:46]OFD Sender: No OFD packet to send [15:22:51]OFD Sender: No OFD packet to send [15:22:56]OFD Sender: No OFD packet to send [15:23:01]OFD Sender: No OFD packet to send [15:23:06]OFD Sender: No OFD packet to send [15:23:11]OFD Sender: No OFD packet to send [15:23:16]OFD Sender: No OFD packet to send [15:23:21]OFD Sender: No OFD packet to send [15:23:26]OFD Sender: No OFD packet to send [15:23:31]OFD Sender: No OFD packet to send [15:23:36]OFD Sender: No OFD packet to send [15:23:41]OFD Sender: No OFD packet to send [15:23:46]OFD Sender: No OFD packet to send [15:23:51]OFD Sender: No OFD packet to send [15:23:56]OFD Sender: No OFD packet to send [15:24:01]OFD Sender: No OFD packet to send [15:24:06]OFD Sender: No OFD packet to send [15:24:11]OFD Sender: No OFD packet to send [15:24:16]OFD Sender: No OFD packet to send [15:24:21]OFD Sender: No OFD packet to send [15:24:26]OFD Sender: No OFD packet to send [15:24:31]OFD Sender: No OFD packet to send [15:24:36]OFD Sender: No OFD packet to send [15:24:41]OFD Sender: No OFD packet to send [15:24:46]OFD Sender: No OFD packet to send [15:24:51]OFD Sender: No OFD packet to send [15:24:56]OFD Sender: No OFD packet to send [15:25:01]OFD Sender: No OFD packet to send [15:25:06]OFD Sender: No OFD packet to send [15:25:11]OFD Sender: No OFD packet to send [15:25:16]OFD Sender: No OFD packet to send [15:25:21]OFD Sender: No OFD packet to send [15:25:26]OFD Sender: No OFD packet to send [15:25:31]OFD Sender: No OFD packet to send [15:25:36]OFD Sender: No OFD packet to send [15:25:41]OFD Sender: No OFD packet to send [15:25:46]OFD Sender: No OFD packet to send [15:25:51]OFD Sender: No OFD packet to send [15:25:56]OFD Sender: No OFD packet to send [15:26:01]OFD Sender: No OFD packet to send [15:26:06]OFD Sender: No OFD packet to send [15:26:11]OFD Sender: No OFD packet to send [15:26:16]OFD Sender: No OFD packet to send [15:26:21]OFD Sender: No OFD packet to send [15:26:26]OFD Sender: No OFD packet to send [15:26:31]OFD Sender: No OFD packet to send [15:26:36]OFD Sender: No OFD packet to send [15:26:41]OFD Sender: No OFD packet to send [15:26:46]OFD Sender: No OFD packet to send [15:26:51]OFD Sender: No OFD packet to send [15:26:56]OFD Sender: No OFD packet to send [15:27:01]OFD Sender: No OFD packet to send [15:27:06]OFD Sender: No OFD packet to send [15:27:11]OFD Sender: No OFD packet to send [15:27:16]OFD Sender: No OFD packet to send [15:27:21]OFD Sender: No OFD packet to send [15:27:26]OFD Sender: No OFD packet to send [15:27:31]OFD Sender: No OFD packet to send [15:27:36]OFD Sender: No OFD packet to send [15:27:41]OFD Sender: No OFD packet to send [15:27:46]OFD Sender: No OFD packet to send [15:27:51]OFD Sender: No OFD packet to send [15:27:56]OFD Sender: No OFD packet to send [15:28:01]OFD Sender: No OFD packet to send [15:28:06]OFD Sender: No OFD packet to send [15:28:12]OFD Sender: No OFD packet to send [15:28:17]OFD Sender: No OFD packet to send [15:28:22]OFD Sender: No OFD packet to send [15:28:27]OFD Sender: No OFD packet to send [15:28:32]OFD Sender: No OFD packet to send [15:28:37]OFD Sender: No OFD packet to send [15:28:42]OFD Sender: No OFD packet to send [15:28:47]OFD Sender: No OFD packet to send [15:28:52]OFD Sender: No OFD packet to send [15:28:57]OFD Sender: No OFD packet to send [15:29:02]OFD Sender: No OFD packet to send [15:29:07]OFD Sender: No OFD packet to send [15:29:12]OFD Sender: No OFD packet to send [15:29:17]OFD Sender: No OFD packet to send [15:29:22]OFD Sender: No OFD packet to send [15:29:27]OFD Sender: No OFD packet to send [15:29:32]OFD Sender: No OFD packet to send [15:29:37]OFD Sender: No OFD packet to send [15:29:42]OFD Sender: No OFD packet to send [15:29:47]OFD Sender: No OFD packet to send [15:29:52]OFD Sender: No OFD packet to send [15:29:57]OFD Sender: No OFD packet to send [15:30:02]OFD Sender: No OFD packet to send [15:30:07]OFD Sender: No OFD packet to send [15:30:12]OFD Sender: No OFD packet to send [15:30:17]OFD Sender: No OFD packet to send [15:30:22]OFD Sender: No OFD packet to send [15:30:27]OFD Sender: No OFD packet to send [15:30:32]OFD Sender: No OFD packet to send [15:30:37]OFD Sender: No OFD packet to send [15:30:42]OFD Sender: No OFD packet to send [15:30:47]OFD Sender: No OFD packet to send [15:30:52]OFD Sender: No OFD packet to send [15:30:57]OFD Sender: No OFD packet to send [15:31:02]OFD Sender: No OFD packet to send [15:31:07]OFD Sender: No OFD packet to send [15:31:12]OFD Sender: No OFD packet to send [15:31:17]OFD Sender: No OFD packet to send [15:31:22]OFD Sender: No OFD packet to send [15:31:27]OFD Sender: No OFD packet to send [15:31:32]OFD Sender: No OFD packet to send [15:31:37]OFD Sender: No OFD packet to send [15:31:42]OFD Sender: No OFD packet to send [15:31:47]OFD Sender: No OFD packet to send [15:31:52]OFD Sender: No OFD packet to send [15:31:57]OFD Sender: No OFD packet to send [15:32:02]OFD Sender: No OFD packet to send [15:32:07]OFD Sender: No OFD packet to send [15:32:12]OFD Sender: No OFD packet to send [15:32:17]OFD Sender: No OFD packet to send [15:32:22]OFD Sender: No OFD packet to send [15:32:27]OFD Sender: No OFD packet to send [15:32:32]OFD Sender: No OFD packet to send [15:32:37]OFD Sender: No OFD packet to send [15:32:42]OFD Sender: No OFD packet to send [15:32:47]OFD Sender: No OFD packet to send [15:32:52]OFD Sender: No OFD packet to send [15:32:57]OFD Sender: No OFD packet to send [15:33:02]OFD Sender: No OFD packet to send [15:33:07]OFD Sender: No OFD packet to send [15:33:12]OFD Sender: No OFD packet to send [15:33:17]OFD Sender: No OFD packet to send [15:33:22]OFD Sender: No OFD packet to send [15:33:27]OFD Sender: No OFD packet to send [15:33:32]OFD Sender: No OFD packet to send [15:33:37]OFD Sender: No OFD packet to send [15:33:42]OFD Sender: No OFD packet to send [15:33:47]OFD Sender: No OFD packet to send [15:33:52]OFD Sender: No OFD packet to send [15:33:57]OFD Sender: No OFD packet to send [15:34:02]OFD Sender: No OFD packet to send [15:34:07]OFD Sender: No OFD packet to send [15:34:12]OFD Sender: No OFD packet to send [15:34:17]OFD Sender: No OFD packet to send [15:34:22]OFD Sender: No OFD packet to send [15:34:27]OFD Sender: No OFD packet to send [15:34:32]OFD Sender: No OFD packet to send [15:34:37]OFD Sender: No OFD packet to send [15:34:42]OFD Sender: No OFD packet to send [15:34:47]OFD Sender: No OFD packet to send [15:34:52]OFD Sender: No OFD packet to send [15:34:57]OFD Sender: No OFD packet to send [15:35:02]OFD Sender: No OFD packet to send [15:35:07]OFD Sender: No OFD packet to send [15:35:12]OFD Sender: No OFD packet to send [15:35:17]OFD Sender: No OFD packet to send [15:35:22]OFD Sender: No OFD packet to send [15:35:27]OFD Sender: No OFD packet to send [15:35:32]OFD Sender: No OFD packet to send [15:35:37]OFD Sender: No OFD packet to send [15:35:42]OFD Sender: No OFD packet to send [15:35:47]OFD Sender: No OFD packet to send [15:35:52]OFD Sender: No OFD packet to send [15:35:57]OFD Sender: No OFD packet to send [15:36:02]OFD Sender: No OFD packet to send [15:36:07]OFD Sender: No OFD packet to send [15:36:12]OFD Sender: No OFD packet to send [15:36:17]OFD Sender: No OFD packet to send [15:36:22]OFD Sender: No OFD packet to send [15:36:27]OFD Sender: No OFD packet to send [15:36:32]OFD Sender: No OFD packet to send [15:36:37]OFD Sender: No OFD packet to send [15:36:42]OFD Sender: No OFD packet to send [15:36:47]OFD Sender: No OFD packet to send [15:36:52]OFD Sender: No OFD packet to send [15:36:57]OFD Sender: No OFD packet to send [15:37:02]OFD Sender: No OFD packet to send [15:37:07]OFD Sender: No OFD packet to send [15:37:12]OFD Sender: No OFD packet to send [15:37:17]OFD Sender: No OFD packet to send [15:37:22]OFD Sender: No OFD packet to send [15:37:27]OFD Sender: No OFD packet to send [15:37:32]OFD Sender: No OFD packet to send [15:37:37]OFD Sender: No OFD packet to send [15:37:42]OFD Sender: No OFD packet to send [15:37:47]OFD Sender: No OFD packet to send [15:37:52]OFD Sender: No OFD packet to send [15:37:57]OFD Sender: No OFD packet to send [15:38:02]OFD Sender: No OFD packet to send [15:38:07]OFD Sender: No OFD packet to send [15:38:12]OFD Sender: No OFD packet to send [15:38:17]OFD Sender: No OFD packet to send [15:38:22]OFD Sender: No OFD packet to send [15:38:27]OFD Sender: No OFD packet to send [15:38:32]OFD Sender: No OFD packet to send [15:38:37]OFD Sender: No OFD packet to send [15:38:42]OFD Sender: No OFD packet to send [15:38:47]OFD Sender: No OFD packet to send [15:38:52]OFD Sender: No OFD packet to send [15:38:57]OFD Sender: No OFD packet to send [15:39:02]OFD Sender: No OFD packet to send [15:39:07]OFD Sender: No OFD packet to send [15:39:12]OFD Sender: No OFD packet to send [15:39:17]OFD Sender: No OFD packet to send [15:39:22]OFD Sender: No OFD packet to send [15:39:27]OFD Sender: No OFD packet to send [15:39:32]OFD Sender: No OFD packet to send [15:39:37]OFD Sender: No OFD packet to send [15:39:42]OFD Sender: No OFD packet to send [15:39:47]OFD Sender: No OFD packet to send [15:39:52]OFD Sender: No OFD packet to send [15:39:57]OFD Sender: No OFD packet to send [15:40:02]OFD Sender: No OFD packet to send [15:40:07]OFD Sender: No OFD packet to send [15:40:12]OFD Sender: No OFD packet to send [15:40:17]OFD Sender: No OFD packet to send [15:40:22]OFD Sender: No OFD packet to send [15:40:27]OFD Sender: No OFD packet to send [15:40:32]OFD Sender: No OFD packet to send [15:40:37]OFD Sender: No OFD packet to send [15:40:42]OFD Sender: No OFD packet to send [15:40:47]OFD Sender: No OFD packet to send [15:40:52]OFD Sender: No OFD packet to send [15:40:57]OFD Sender: No OFD packet to send [15:41:02]OFD Sender: No OFD packet to send [15:41:02]accept exits with 9 [15:41:02]New connection [15:41:02]New thread 3067243876 created [15:41:02]Thread 3067100516 joined [15:41:02]Waiting for new connection... [15:41:02] Sock 9.Parse request [15:41:02]Sock 9.Check first char [15:41:02]Sock 9.First char is OK [15:41:02]request: POST /json_proto HTTP/1.0 [15:41:02]Method: POST [15:41:02]URL: /json_proto [15:41:02]Method is POST - this is cgi request [15:41:02]url: /json_proto [15:41:02]query_string will be loaded in cgi processing [15:41:02]execute_cgi json_proto POST (null) [15:41:02]execute_cgi path=json_proto method=POST [15:41:02]POST find Content-Length [15:41:02]Host: 172.17.62.6:8080 [15:41:02]Content-Length: 936 [15:41:02]Content-Type: application/json [15:41:02] [15:41:02]POST finish read [15:41:02]Found Content-Length = 936 [15:41:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32795", "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" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:41:02]execute_script... [15:41: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)32795", "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" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:41:02]POST & json_proto [15:41:02]process_json_proto [15:41:02]json parsed OK: [15:41:02]protocol is kg_v1.0 [15:41:02]action value=close_receipt [15:41:02]process_action close_receipt [15:41:02]cmd_close_receipt [15:41:02]MH_GetDate [15:41:02]Write to MH i2c: F0 00 00 B8 2A D1 [15:41:02]Write i2c OK [15:41:02]MH_I2C_Read... [15:41:02]Read from MH i2c: F0 [15:41:02]MH_I2C_Read... [15:41:02]Read from MH i2c: F0 09 00 [15:41:02]MH_I2C_Read... [15:41:02]Read from MH i2c: F0 09 00 B8 2A 00 9F 90 22 66 61 69 D2 64 91 [15:41:02]GetLastDocTimeStamp 1713539505 [15:41:02]current date 1713541279 [15:41:02]FM_GetShiftState [15:41:02]SAM_PROTO_GetShiftState [15:41:02]wFMCommunicate request_size=4 [15:41:02]MH_SAM_APDU [15:41:02]CAPDU: 80 13 01 00 [15:41:02]Write to MH i2c: E2 08 00 B9 2A 80 13 01 00 00 00 00 00 60 [15:41:02]Write i2c OK [15:41:02]MH_I2C_Read... [15:41:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:41:02]Read from MH i2c: E2 [15:41:02]MH_I2C_Read... [15:41:02]Read from MH i2c: E2 0E 00 [15:41:02]MH_I2C_Read... [15:41:02]Read from MH i2c: E2 0E 00 B9 2A 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 56 [15:41:02]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [15:41:02]wFMCommunicate OK [15:41:02]SAM_PROTO_GetShiftState done [15:41:02]FM_GetShiftState done [15:41:02]opened in 1713485995 [15:41:02]opened+sec_in_day 1713572395 [15:41:02]quantity*price = 9500 [15:41:02]sum+1 = 9501 [15:41:02]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48745000 Сигареты Winston Purple Mix 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 225.00 НСП 1% : 1.99 НДС 12% : 23.89 Наличными: 225.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 22 19.04.2024 15:41 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12520 ФПД: 112538079595808 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T154119&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12520&fm=112538079595808&tin=02508201610067®Number=0000000000100748&sum=22500 0 [15:41:04]StoreToDocumentArchive [15:41:04]shift 279 fd 12520 [15:41:04]save to /storage/0279/doc_00012520 [15:41:04]save last doc name /storage/0279/doc_00012520 to /storage/kkm_last_doc_name [15:41:04]save OK [15:41:04]Clear old archive folders... [15:41:04]ProcessDocumentItem done err = 0, tmpTLVsize=405 [15:41:04]tlvbuf is 01D51A00 [15:41:04]SAM_PROTO_ClearQueue [15:41:04]wFMCommunicate request_size=4 [15:41:04]MH_SAM_APDU [15:41:04]CAPDU: 80 09 00 00 [15:41:04]Write to MH i2c: E2 08 00 C6 2A 80 09 00 00 00 00 00 00 62 [15:41:04]Write i2c OK [15:41:04]MH_I2C_Read... [15:41:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:41:04]Read from MH i2c: E2 [15:41:04]MH_I2C_Read... [15:41:04]Read from MH i2c: E2 03 00 [15:41:04]MH_I2C_Read... [15:41:04]Read from MH i2c: E2 03 00 C6 2A 00 90 00 64 [15:41:04]RAPDU: 90 00 [15:41:04]wFMCommunicate OK [15:41:04]SAM_PROTO_ClearQueue done [15:41:04]KKMCreateOFDPacket [15:41:04]OFDProtocolAddRootSTLVToBuf [15:41:04]FM_MakeSignedData [15:41:04]FM_MakeSignedData [15:41:04]SAM_PROTO_SignData [15:41:04]wFMCommunicate request_size=4 [15:41:04]MH_SAM_APDU [15:41:04]CAPDU: 80 0D 01 02 [15:41:04]Write to MH i2c: E2 08 00 C7 2A 80 0D 01 02 00 00 00 00 6A [15:41:04]Write i2c OK [15:41:04]MH_I2C_Read... [15:41:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:41:04]Read from MH i2c: E2 [15:41:04]MH_I2C_Read... [15:41:04]Read from MH i2c: E2 03 00 [15:41:04]MH_I2C_Read... [15:41:04]Read from MH i2c: E2 03 00 C7 2A 00 90 00 65 [15:41:04]RAPDU: 90 00 [15:41:04]wFMCommunicate OK [15:41:04]wFMCommunicate request_size=255 [15:41:04]MH_SAM_APDU [15:41:04]CAPDU: 80 0D 02 02 FA 03 00 95 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 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 [15:41:04]Write to MH i2c: E2 02 01 C8 2A 80 0D 02 02 FA 00 03 00 95 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 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 A4 [15:41:04]Write i2c OK [15:41:04]MH_I2C_Read... [15:41:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:41:04]Read from MH i2c: E2 [15:41:04]MH_I2C_Read... [15:41:04]Read from MH i2c: E2 03 00 [15:41:04]MH_I2C_Read... [15:41:04]Read from MH i2c: E2 03 00 C8 2A 00 90 00 66 [15:41:04]RAPDU: 90 00 [15:41:04]wFMCommunicate OK [15:41:04]wFMCommunicate request_size=164 [15:41:04]MH_SAM_APDU [15:41:04]CAPDU: 80 0D 02 02 9F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 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 9F 90 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E8 30 00 00 35 04 06 00 66 5A 50 42 0D 20 [15:41:04]Write to MH i2c: E2 A7 00 C9 2A 80 0D 02 02 9F 00 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 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 9F 90 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E8 30 00 00 35 04 06 00 66 5A 50 42 0D 20 00 00 C6 [15:41:04]Write i2c OK [15:41:04]MH_I2C_Read... [15:41:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:41:04]Read from MH i2c: E2 [15:41:04]MH_I2C_Read... [15:41:04]Read from MH i2c: E2 03 00 [15:41:04]MH_I2C_Read... [15:41:04]Read from MH i2c: E2 03 00 C9 2A 00 90 00 67 [15:41:04]RAPDU: 90 00 [15:41:04]wFMCommunicate OK [15:41:04]wFMCommunicate request_size=4 [15:41:04]MH_SAM_APDU [15:41:04]CAPDU: 80 0D 03 02 [15:41:04]Write to MH i2c: E2 08 00 CA 2A 80 0D 03 02 00 00 00 00 6F [15:41:04]Write i2c OK [15:41:04]MH_I2C_Read... [15:41:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:41:04]Read from MH i2c: E2 [15:41:04]MH_I2C_Read... [15:41:04]Read from MH i2c: E2 0B 00 [15:41:04]MH_I2C_Read... [15:41:04]Read from MH i2c: E2 0B 00 CA 2A 00 DF DB E8 41 13 A5 3E B5 90 00 FE [15:41:04]RAPDU: DF DB E8 41 13 A5 3E B5 90 00 [15:41:04]wFMCommunicate OK [15:41:04]SAM_PROTO_SignData done [15:41:04]FM_MakeSignedData done [15:41:04]CreateOFDProtocolMessage [15:41:04]wFMCommunicate request_size=4 [15:41:04]MH_SAM_APDU [15:41:04]CAPDU: 80 11 00 00 [15:41:04]Write to MH i2c: E2 08 00 CB 2A 80 11 00 00 00 00 00 00 6F [15:41:04]Write i2c OK [15:41:04]MH_I2C_Read... [15:41:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:41:04]Read from MH i2c: E2 [15:41:04]MH_I2C_Read... [15:41:04]Read from MH i2c: E2 17 00 [15:41:04]MH_I2C_Read... [15:41:04]Read from MH i2c: E2 17 00 CB 2A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 C9 [15:41:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [15:41:04]wFMCommunicate OK [15:41:04]CreateOFDProtocolMessage done [15:41:04]OFDSenderStorePacket 12520 [15:41:04]StoreOFDPacket docnum=12520 [15:41:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 A9 01 00 00 F4 82 A1 01 56 70 5A 03 01 00 03 00 95 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 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 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 9F 90 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E8 30 00 00 35 04 06 00 66 5A 50 42 0D 20 DF DB E8 41 13 A5 3E B5 [15:41:04]CheckFolder [15:41:04]dirname=/storage/ofd_packets [15:41:04]CheckFolder done [15:41:04]ProducePacketName [15:41:04]name=ofd_packets/00012520 [15:41:04]NVStorageSaveData ofd_packets/00012520 [15:41:04]File name is /storage/ofd_packets/00012520 [15:41:04]Write 455 bytes [15:41:04]NVStorageSaveData done [15:41:04]OFDSenderStorePacket done [15:41:04]KKMCreateOFDPacket done [15:41:04]NVStorageSaveData kkm_last_timestamp [15:41:04]File name is /storage/kkm_last_timestamp [15:41:04]Write 4 bytes [15:41:04]NVStorageSaveData done [15:41:04]ExternCall_PrintAddStr [15:41:04]wPrintStart [15:41:04]Write to MH i2c: 01 00 00 CC 2A F6 [15:41:04]OFD Sender: Processing packet 12520 [packets to send 7, broken 6] [15:41:04]ProducePacketName [15:41:04]name=ofd_packets/00012520 [15:41:04]OFD Sender: To server: pG, [15:41:04]CommunicateWithHost lk.salyk.kg:30040 [15:41:04]ConnectInit lk.salyk.kg [15:41:04]Write i2c OK [15:41:04]MH_I2C_Read... [15:41:04]Read from MH i2c: 01 [15:41:04]MH_I2C_Read... [15:41:04]Read from MH i2c: 01 07 00 [15:41:04]MH_I2C_Read... [15:41:04]Read from MH i2c: 01 07 00 CC 2A 00 00 00 00 00 FF 0F 0B [15:41:04]RasterBufferAndPrint [15:41:04]line Счет N : (3)32795 [15:41:04]line ИНН: 02508201610067 [15:41:05]line Контрольно-Кассовый Чек [15:41:05]line ПРОДАЖА [15:41:05]line Товар: 4700000482757 [15:41:05]line Напиток Nitro Fr газ манг,клуб ж/б 0,45л [15:41:05]line 1.000 * 95.00 [15:41:05]line = 95.00 [15:41:05]line НДС 12% НСП 1% [15:41:05]line > о реализуемом товаре [15:41:05]line Товар: 48745000 [15:41:05]line Сигареты Winston Purple Mix [15:41:05]line 1.000 * 130.00 [15:41:05]line = 130.00 [15:41:05]line НДС 12% НСП 1% [15:41:05]line > о реализуемом товаре [15:41:05]line ИТОГО: 225.00 [15:41:05]line НСП 1% : 1.99 [15:41:05]line НДС 12% : 23.89 [15:41:05]line Наличными: 225.00 [15:41:05]line Безнал.: 0.00 [15:41:05]line Место: АЗС № 106 "Партнер Нефть" [15:41:05]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [15:41:05]line СНО: Общий режим [15:41:05]line Чек 22 19.04.2024 15:41 [15:41:05]line Смена: 279 ФФД: 1.0 [15:41:05]line ЗНМ: 0300000004 [15:41:05]line РНМ: 0000000000100748 [15:41:05]line Версия ККМ: 001 [15:41:05]line ФМ: 0000000000965685 [15:41:05]line ФД: 12520 [15:41:05]line ФПД: 112538079595808 [15:41:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T154119&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12520&fm=112538079595808&tin=02508201610067®Number=0000000000100748&sum=22500 [15:41:05]line 0 [15:41:05]Connected sock=10 [15:41:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 A9 01 00 00 F4 82 A1 01 56 70 5A 03 01 00 03 00 95 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 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 55 09 00 00 00 00 07 04 06 00 E4 57 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 9F 90 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E8 30 00 00 35 04 06 00 66 5A 50 42 0D 20 DF DB E8 41 13 A5 3E B5 [15:41:05]written 0, free lines is 4095 [15:41:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 15 28 47 00 78 FA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E8 30 00 00 F4 03 04 00 26 39 22 66 B6 04 01 00 00 94 53 AC 27 5D EC 05 43 [15:41:05]CommunicateWithHost err = 0 [15:41:05]CheckOFDResponse [15:41:05]1017 (14) - 77093643461234 [15:41:05]1041 (16) - 0000000000965685 [15:41:05]1040 (4) - 12520 [15:41:05]1012 (4) - 19.04.2024 09:28 [15:41:05]1206 (1) - 0 [15:41:05]OFD Sender: Remove packet 12520 [15:41:05]ProducePacketName [15:41:05]name=ofd_packets/00012520 [15:41:05]NVStorageDeleteData [15:41:05]Write to MH i2c: 01 00 00 FA 2A 24 [15:41:05]Write i2c OK [15:41:05]MH_I2C_Read... [15:41:05]Read from MH i2c: 01 [15:41:05]MH_I2C_Read... [15:41:05]Read from MH i2c: 01 07 00 [15:41:05]MH_I2C_Read... [15:41:05]Read from MH i2c: 01 07 00 FA 2A 00 00 00 00 00 96 0C CD [15:41:05]RasterBufferAndPrint [15:41:05]line [15:41:05]line [15:41:05]line [15:41:05]line [15:41:05]line [15:41:05]written 0, free lines is 3228 [15:41:05]MH_Cut [15:41:05]Write to MH i2c: D1 01 00 01 2B 01 FE [15:41:05]Write i2c OK [15:41:05]MH_I2C_Read... [15:41:05]Read from MH i2c: D1 [15:41:05]MH_I2C_Read... [15:41:05]Read from MH i2c: D1 01 00 [15:41:05]MH_I2C_Read... [15:41:05]Read from MH i2c: D1 01 00 01 2B 00 FD [15:41:05]Write to MH i2c: 01 00 00 02 2B 2D [15:41:05]Write i2c OK [15:41:05]MH_I2C_Read... [15:41:05]OFD Sender: No OFD packet to send [15:41:06]*** Cut start [15:41:06]*** Partial cut [15:41:06]*** CUTSNS_PIN = 1 [15:41:06]*** CUTSNS_PIN = 0 [15:41:06]*** Brake cut motor [15:41:07]Read from MH i2c: 01 [15:41:07]MH_I2C_Read... [15:41:07]*** Stop cut motor [15:41:07]*** Cut end [15:41:07]Read from MH i2c: 01 07 00 [15:41:07]MH_I2C_Read... [15:41:07]Read from MH i2c: 01 07 00 02 2B 00 00 00 00 00 FF 0F 42 [15:41:07]process_action close_receipt done [15:41:07]requested_data is exist [15:41:07]produce_requested_data [15:41:07]requested_item fm.sn is exist - process it [15:41:07]wFMCommunicate request_size=4 [15:41:07]MH_SAM_APDU [15:41:07]CAPDU: 80 11 00 00 [15:41:07]Write to MH i2c: E2 08 00 03 2B 80 11 00 00 00 00 00 00 A8 [15:41:07]Write i2c OK [15:41:07]MH_I2C_Read... [15:41:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:41:07]Read from MH i2c: E2 [15:41:07]MH_I2C_Read... [15:41:07]Read from MH i2c: E2 17 00 [15:41:07]MH_I2C_Read... [15:41:07]Read from MH i2c: E2 17 00 03 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 02 [15:41:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [15:41:07]wFMCommunicate OK [15:41:07]requested_item fd.num is exist - process it [15:41:07]SAM_PROTO_GetFieldsCounters [15:41:07]wFMCommunicate request_size=4 [15:41:07]MH_SAM_APDU [15:41:07]CAPDU: 80 13 00 00 [15:41:07]Write to MH i2c: E2 08 00 04 2B 80 13 00 00 00 00 00 00 AB [15:41:07]Write i2c OK [15:41:07]MH_I2C_Read... [15:41:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:41:07]Read from MH i2c: E2 [15:41:07]MH_I2C_Read... [15:41:07]Read from MH i2c: E2 62 00 [15:41:07]MH_I2C_Read... [15:41:07]Read from MH i2c: E2 62 00 04 2B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 E8 30 00 00 0E 04 04 00 17 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 40 [15:41:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 E8 30 00 00 0E 04 04 00 17 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 [15:41:07]wFMCommunicate OK [15:41:07]SAM_PROTO_GetFieldsCounters done [15:41:07]requested_item shift.num is exist - process it [15:41:07]requested_item shift.opened is exist - process it [15:41:07]req_shift_opened [15:41:07]FM_GetShiftState [15:41:07]SAM_PROTO_GetShiftState [15:41:07]wFMCommunicate request_size=4 [15:41:07]MH_SAM_APDU [15:41:07]CAPDU: 80 13 01 00 [15:41:07]Write to MH i2c: E2 08 00 05 2B 80 13 01 00 00 00 00 00 AD [15:41:07]Write i2c OK [15:41:07]MH_I2C_Read... [15:41:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:41:07]Read from MH i2c: E2 [15:41:07]MH_I2C_Read... [15:41:07]Read from MH i2c: E2 0E 00 [15:41:07]MH_I2C_Read... [15:41:07]Read from MH i2c: E2 0E 00 05 2B 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 A3 [15:41:07]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [15:41:07]wFMCommunicate OK [15:41:07]SAM_PROTO_GetShiftState done [15:41:07]FM_GetShiftState done [15:41:07]req_shift_opened done [15:41:07]requested_item shift.open_date is exist - process it [15:41:07]req_shift_open_date [15:41:07]req_shift_open_date done [15:41:07]produce_requested_data done [15:41:07]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12520,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [15:41:07]process_action_free close_receipt [15:41:07]json_value_free [15:41:07]json_value_free done [15:41:07]process_json_proto returns [15:41:07]Send response to host [15:41:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12520,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [15:41:07]free response buf [15:41:07]execute_script done [15:41:07]execute_script returns [15:41:07]free content buf [15:41:07]Sock 9.Close socket [15:41:07]Sock 9.Thread stoped [15:41:10]OFD Sender: No OFD packet to send [15:41:15]OFD Sender: No OFD packet to send [15:41:20]OFD Sender: No OFD packet to send [15:41:25]OFD Sender: No OFD packet to send [15:41:30]OFD Sender: No OFD packet to send [15:41:35]OFD Sender: No OFD packet to send [15:41:40]OFD Sender: No OFD packet to send [15:41:45]OFD Sender: No OFD packet to send [15:41:50]OFD Sender: No OFD packet to send [15:41:55]OFD Sender: No OFD packet to send [15:42:00]OFD Sender: No OFD packet to send [15:42:05]OFD Sender: No OFD packet to send [15:42:10]OFD Sender: No OFD packet to send [15:42:15]OFD Sender: No OFD packet to send [15:42:20]OFD Sender: No OFD packet to send [15:42:25]OFD Sender: No OFD packet to send [15:42:30]OFD Sender: No OFD packet to send [15:42:35]OFD Sender: No OFD packet to send [15:42:40]OFD Sender: No OFD packet to send [15:42:45]OFD Sender: No OFD packet to send [15:42:50]OFD Sender: No OFD packet to send [15:42:55]OFD Sender: No OFD packet to send [15:43:00]OFD Sender: No OFD packet to send [15:43:05]OFD Sender: No OFD packet to send [15:43:10]OFD Sender: No OFD packet to send [15:43:15]OFD Sender: No OFD packet to send [15:43:20]OFD Sender: No OFD packet to send [15:43:25]OFD Sender: No OFD packet to send [15:43:30]OFD Sender: No OFD packet to send [15:43:35]OFD Sender: No OFD packet to send [15:43:40]OFD Sender: No OFD packet to send [15:43:45]OFD Sender: No OFD packet to send [15:43:50]OFD Sender: No OFD packet to send [15:43:55]OFD Sender: No OFD packet to send [15:44:00]OFD Sender: No OFD packet to send [15:44:05]OFD Sender: No OFD packet to send [15:44:10]OFD Sender: No OFD packet to send [15:44:15]OFD Sender: No OFD packet to send [15:44:20]OFD Sender: No OFD packet to send [15:44:25]OFD Sender: No OFD packet to send [15:44:30]OFD Sender: No OFD packet to send [15:44:35]OFD Sender: No OFD packet to send [15:44:40]OFD Sender: No OFD packet to send [15:44: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:21]OFD Sender: No OFD packet to send [15:45:26]OFD Sender: No OFD packet to send [15:45:31]OFD Sender: No OFD packet to send [15:45:36]OFD Sender: No OFD packet to send [15:45:41]OFD Sender: No OFD packet to send [15:45:46]OFD Sender: No OFD packet to send [15:45:51]OFD Sender: No OFD packet to send [15:45:56]OFD Sender: No OFD packet to send [15:46:01]OFD Sender: No OFD packet to send [15:46:06]OFD Sender: No OFD packet to send [15:46:11]OFD Sender: No OFD packet to send [15:46:16]OFD Sender: No OFD packet to send [15:46:21]OFD Sender: No OFD packet to send [15:46:26]OFD Sender: No OFD packet to send [15:46:31]OFD Sender: No OFD packet to send [15:46:36]OFD Sender: No OFD packet to send [15:46:41]OFD Sender: No OFD packet to send [15:46:46]OFD Sender: No OFD packet to send [15:46:51]OFD Sender: No OFD packet to send [15:46:56]OFD Sender: No OFD packet to send [15:47:01]OFD Sender: No OFD packet to send [15:47:06]OFD Sender: No OFD packet to send [15:47:11]OFD Sender: No OFD packet to send [15:47:16]OFD Sender: No OFD packet to send [15:47:21]OFD Sender: No OFD packet to send [15:47:26]OFD Sender: No OFD packet to send [15:47:31]OFD Sender: No OFD packet to send [15:47:36]OFD Sender: No OFD packet to send [15:47:41]OFD Sender: No OFD packet to send [15:47:46]OFD Sender: No OFD packet to send [15:47:51]OFD Sender: No OFD packet to send [15:47:56]OFD Sender: No OFD packet to send [15:48:01]OFD Sender: No OFD packet to send [15:48:06]OFD Sender: No OFD packet to send [15:48:11]OFD Sender: No OFD packet to send [15:48:16]OFD Sender: No OFD packet to send [15:48:21]OFD Sender: No OFD packet to send [15:48:26]OFD Sender: No OFD packet to send [15:48:31]OFD Sender: No OFD packet to send [15:48:36]OFD Sender: No OFD packet to send [15:48:41]OFD Sender: No OFD packet to send [15:48:46]OFD Sender: No OFD packet to send [15:48:51]OFD Sender: No OFD packet to send [15:48:56]OFD Sender: No OFD packet to send [15:49:01]OFD Sender: No OFD packet to send [15:49:06]OFD Sender: No OFD packet to send [15:49:11]OFD Sender: No OFD packet to send [15:49:16]OFD Sender: No OFD packet to send [15:49:21]OFD Sender: No OFD packet to send [15:49:26]OFD Sender: No OFD packet to send [15:49:31]OFD Sender: No OFD packet to send [15:49:36]OFD Sender: No OFD packet to send [15:49:41]OFD Sender: No OFD packet to send [15:49:46]OFD Sender: No OFD packet to send [15:49:51]OFD Sender: No OFD packet to send [15:49:56]OFD Sender: No OFD packet to send [15:50:01]OFD Sender: No OFD packet to send [15:50:06]OFD Sender: No OFD packet to send [15:50:11]OFD Sender: No OFD packet to send [15:50:16]OFD Sender: No OFD packet to send [15:50:21]OFD Sender: No OFD packet to send [15:50:26]OFD Sender: No OFD packet to send [15:50:31]OFD Sender: No OFD packet to send [15:50:36]OFD Sender: No OFD packet to send [15:50:41]OFD Sender: No OFD packet to send [15:50:46]OFD Sender: No OFD packet to send [15:50:51]OFD Sender: No OFD packet to send [15:50:56]OFD Sender: No OFD packet to send [15:51:01]OFD Sender: No OFD packet to send [15:51:06]OFD Sender: No OFD packet to send [15:51:11]OFD Sender: No OFD packet to send [15:51:16]OFD Sender: No OFD packet to send [15:51:21]OFD Sender: No OFD packet to send [15:51:26]OFD Sender: No OFD packet to send [15:51:31]OFD Sender: No OFD packet to send [15:51:36]OFD Sender: No OFD packet to send [15:51:41]OFD Sender: No OFD packet to send [15:51:46]OFD Sender: No OFD packet to send [15:51:51]OFD Sender: No OFD packet to send [15:51:56]OFD Sender: No OFD packet to send [15:52:01]OFD Sender: No OFD packet to send [15:52:06]OFD Sender: No OFD packet to send [15:52:11]OFD Sender: No OFD packet to send [15:52:16]OFD Sender: No OFD packet to send [15:52:21]OFD Sender: No OFD packet to send [15:52:26]OFD Sender: No OFD packet to send [15:52:31]OFD Sender: No OFD packet to send [15:52:36]OFD Sender: No OFD packet to send [15:52:41]OFD Sender: No OFD packet to send [15:52:46]OFD Sender: No OFD packet to send [15:52:51]OFD Sender: No OFD packet to send [15:52:56]OFD Sender: No OFD packet to send [15:53:01]OFD Sender: No OFD packet to send [15:53:06]OFD Sender: No OFD packet to send [15:53:11]OFD Sender: No OFD packet to send [15:53:16]OFD Sender: No OFD packet to send [15:53:21]OFD Sender: No OFD packet to send [15:53:26]OFD Sender: No OFD packet to send [15:53:31]OFD Sender: No OFD packet to send [15:53:36]OFD Sender: No OFD packet to send [15:53:41]OFD Sender: No OFD packet to send [15:53:46]OFD Sender: No OFD packet to send [15:53:51]OFD Sender: No OFD packet to send [15:53:56]OFD Sender: No OFD packet to send [15:54:01]OFD Sender: No OFD packet to send [15:54:06]OFD Sender: No OFD packet to send [15:54:11]OFD Sender: No OFD packet to send [15:54:16]OFD Sender: No OFD packet to send [15:54:21]OFD Sender: No OFD packet to send [15:54:26]OFD Sender: No OFD packet to send [15:54:31]OFD Sender: No OFD packet to send [15:54:36]OFD Sender: No OFD packet to send [15:54:41]OFD Sender: No OFD packet to send [15:54:46]OFD Sender: No OFD packet to send [15:54:51]OFD Sender: No OFD packet to send [15:54:56]OFD Sender: No OFD packet to send [15:55:01]OFD Sender: No OFD packet to send [15:55:06]OFD Sender: No OFD packet to send [15:55:11]OFD Sender: No OFD packet to send [15:55:16]OFD Sender: No OFD packet to send [15:55:21]OFD Sender: No OFD packet to send [15:55:26]OFD Sender: No OFD packet to send [15:55:31]OFD Sender: No OFD packet to send [15:55:36]OFD Sender: No OFD packet to send [15:55:41]OFD Sender: No OFD packet to send [15:55:46]OFD Sender: No OFD packet to send [15:55:51]OFD Sender: No OFD packet to send [15:55:56]OFD Sender: No OFD packet to send [15:56:01]OFD Sender: No OFD packet to send [15:56:06]OFD Sender: No OFD packet to send [15:56:11]OFD Sender: No OFD packet to send [15:56:16]OFD Sender: No OFD packet to send [15:56:21]OFD Sender: No OFD packet to send [15:56:26]OFD Sender: No OFD packet to send [15:56:31]OFD Sender: No OFD packet to send [15:56:36]OFD Sender: No OFD packet to send [15:56:41]OFD Sender: No OFD packet to send [15:56:46]OFD Sender: No OFD packet to send [15:56:51]OFD Sender: No OFD packet to send [15:56:56]OFD Sender: No OFD packet to send [15:57:01]OFD Sender: No OFD packet to send [15:57:06]OFD Sender: No OFD packet to send [15:57:11]OFD Sender: No OFD packet to send [15:57:16]OFD Sender: No OFD packet to send [15:57:21]OFD Sender: No OFD packet to send [15:57:26]OFD Sender: No OFD packet to send [15:57:31]OFD Sender: No OFD packet to send [15:57:36]OFD Sender: No OFD packet to send [15:57:41]OFD Sender: No OFD packet to send [15:57:46]OFD Sender: No OFD packet to send [15:57:51]OFD Sender: No OFD packet to send [15:57:56]OFD Sender: No OFD packet to send [15:58:01]OFD Sender: No OFD packet to send [15:58:06]OFD Sender: No OFD packet to send [15:58:11]OFD Sender: No OFD packet to send [15:58:16]OFD Sender: No OFD packet to send [15:58:21]OFD Sender: No OFD packet to send [15:58:26]OFD Sender: No OFD packet to send [15:58:31]OFD Sender: No OFD packet to send [15:58:36]OFD Sender: No OFD packet to send [15:58:41]OFD Sender: No OFD packet to send [15:58:46]OFD Sender: No OFD packet to send [15:58:51]OFD Sender: No OFD packet to send [15:58:56]OFD Sender: No OFD packet to send [15:59:01]OFD Sender: No OFD packet to send [15:59:06]OFD Sender: No OFD packet to send [15:59:11]OFD Sender: No OFD packet to send [15:59:16]OFD Sender: No OFD packet to send [15:59:21]OFD Sender: No OFD packet to send [15:59:26]OFD Sender: No OFD packet to send [15:59:31]OFD Sender: No OFD packet to send [15:59:36]OFD Sender: No OFD packet to send [15:59:41]OFD Sender: No OFD packet to send [15:59:46]OFD Sender: No OFD packet to send [15:59:51]OFD Sender: No OFD packet to send [15:59:56]OFD Sender: No OFD packet to send [16:00:01]OFD Sender: No OFD packet to send [16:00:06]OFD Sender: No OFD packet to send [16:00:11]OFD Sender: No OFD packet to send [16:00:16]OFD Sender: No OFD packet to send [16:00:21]OFD Sender: No OFD packet to send [16:00:26]OFD Sender: No OFD packet to send [16:00:31]OFD Sender: No OFD packet to send [16:00:36]OFD Sender: No OFD packet to send [16:00:41]OFD Sender: No OFD packet to send [16:00:46]OFD Sender: No OFD packet to send [16:00:51]OFD Sender: No OFD packet to send [16:00:56]OFD Sender: No OFD packet to send [16:01:01]OFD Sender: No OFD packet to send [16:01:06]OFD Sender: No OFD packet to send [16:01:11]OFD Sender: No OFD packet to send [16:01:16]OFD Sender: No OFD packet to send [16:01:21]OFD Sender: No OFD packet to send [16:01:26]OFD Sender: No OFD packet to send [16:01:31]OFD Sender: No OFD packet to send [16:01:36]OFD Sender: No OFD packet to send [16:01:41]OFD Sender: No OFD packet to send [16:01:46]OFD Sender: No OFD packet to send [16:01:51]OFD Sender: No OFD packet to send [16:01:56]OFD Sender: No OFD packet to send [16:02:01]OFD Sender: No OFD packet to send [16:02:06]OFD Sender: No OFD packet to send [16:02:11]OFD Sender: No OFD packet to send [16:02:16]OFD Sender: No OFD packet to send [16:02:20]accept exits with 8 [16:02:20]New connection [16:02:20]New thread 3067100516 created [16:02:20]Thread 3067243876 joined [16:02:20]Waiting for new connection... [16:02:20] Sock 8.Parse request [16:02:20]Sock 8.Check first char [16:02:20]Sock 8.First char is OK [16:02:20]request: POST /json_proto HTTP/1.0 [16:02:20]Method: POST [16:02:20]URL: /json_proto [16:02:20]Method is POST - this is cgi request [16:02:20]url: /json_proto [16:02:20]query_string will be loaded in cgi processing [16:02:20]execute_cgi json_proto POST (null) [16:02:20]execute_cgi path=json_proto method=POST [16:02:20]POST find Content-Length [16:02:20]Host: 172.17.62.6:8080 [16:02:20]Content-Length: 682 [16:02:20]Content-Type: application/json [16:02:20] [16:02:20]POST finish read [16:02:20]Found Content-Length = 682 [16:02:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32796", "tax_sys" : 0, "items" : [ { "code": "4870002328398", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:02:20]execute_script... [16:02:20]execute_script path=json_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)32796", "tax_sys" : 0, "items" : [ { "code": "4870002328398", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:02:20]POST & json_proto [16:02:20]process_json_proto [16:02:20]json parsed OK: [16:02:20]protocol is kg_v1.0 [16:02:20]action value=close_receipt [16:02:20]process_action close_receipt [16:02:20]cmd_close_receipt [16:02:20]MH_GetDate [16:02:20]Write to MH i2c: F0 00 00 06 2B 20 [16:02:20]Write i2c OK [16:02:20]MH_I2C_Read... [16:02:20]Read from MH i2c: F0 [16:02:20]MH_I2C_Read... [16:02:20]Read from MH i2c: F0 09 00 [16:02:20]MH_I2C_Read... [16:02:20]Read from MH i2c: F0 09 00 06 2B 00 9D 95 22 66 61 69 D2 64 E3 [16:02:20]GetLastDocTimeStamp 1713541279 [16:02:20]current date 1713542557 [16:02:20]FM_GetShiftState [16:02:20]SAM_PROTO_GetShiftState [16:02:20]wFMCommunicate request_size=4 [16:02:20]MH_SAM_APDU [16:02:20]CAPDU: 80 13 01 00 [16:02:20]Write to MH i2c: E2 08 00 07 2B 80 13 01 00 00 00 00 00 AF [16:02:20]Write i2c OK [16:02:20]MH_I2C_Read... [16:02:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:02:20]Read from MH i2c: E2 [16:02:20]MH_I2C_Read... [16:02:20]Read from MH i2c: E2 0E 00 [16:02:20]MH_I2C_Read... [16:02:20]Read from MH i2c: E2 0E 00 07 2B 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 A5 [16:02:20]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [16:02:20]wFMCommunicate OK [16:02:20]SAM_PROTO_GetShiftState done [16:02:20]FM_GetShiftState done [16:02:20]opened in 1713485995 [16:02:20]opened+sec_in_day 1713572395 [16:02:20]quantity*price = 10000 [16:02:20]sum+1 = 10001 [16:02:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 23 19.04.2024 16:02 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12521 ФПД: 26383346041518 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T160237&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12521&fm=26383346041518&tin=02508201610067®Number=0000000000100748&sum=10000 0 [16:02:21]StoreToDocumentArchive [16:02:21]shift 279 fd 12521 [16:02:21]save to /storage/0279/doc_00012521 [16:02:21]save last doc name /storage/0279/doc_00012521 to /storage/kkm_last_doc_name [16:02:21]save OK [16:02:21]Clear old archive folders... [16:02:21]ProcessDocumentItem done err = 0, tmpTLVsize=291 [16:02:21]tlvbuf is B6DEF480 [16:02:21]SAM_PROTO_ClearQueue [16:02:21]wFMCommunicate request_size=4 [16:02:21]MH_SAM_APDU [16:02:21]CAPDU: 80 09 00 00 [16:02:21]Write to MH i2c: E2 08 00 14 2B 80 09 00 00 00 00 00 00 B1 [16:02:21]Write i2c OK [16:02:21]MH_I2C_Read... [16:02:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:02:21]Read from MH i2c: E2 [16:02:21]MH_I2C_Read... [16:02:21]Read from MH i2c: E2 03 00 [16:02:21]MH_I2C_Read... [16:02:21]Read from MH i2c: E2 03 00 14 2B 00 90 00 B3 [16:02:21]RAPDU: 90 00 [16:02:21]wFMCommunicate OK [16:02:21]SAM_PROTO_ClearQueue done [16:02:21]KKMCreateOFDPacket [16:02:21]OFDProtocolAddRootSTLVToBuf [16:02:21]FM_MakeSignedData [16:02:21]FM_MakeSignedData [16:02:21]SAM_PROTO_SignData [16:02:21]wFMCommunicate request_size=4 [16:02:21]MH_SAM_APDU [16:02:21]CAPDU: 80 0D 01 02 [16:02:21]Write to MH i2c: E2 08 00 15 2B 80 0D 01 02 00 00 00 00 B9 [16:02:21]Write i2c OK [16:02:21]MH_I2C_Read... [16:02:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:02:21]Read from MH i2c: E2 [16:02:21]MH_I2C_Read... [16:02:21]Read from MH i2c: E2 03 00 [16:02:21]MH_I2C_Read... [16:02:21]Read from MH i2c: E2 03 00 15 2B 00 90 00 B4 [16:02:21]RAPDU: 90 00 [16:02:21]wFMCommunicate OK [16:02:21]wFMCommunicate request_size=255 [16:02:21]MH_SAM_APDU [16:02:21]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 30 30 32 33 32 38 33 39 38 06 04 31 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 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 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 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 17 00 00 00 F4 03 04 00 9D 95 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 [16:02:21]Write to MH i2c: E2 02 01 16 2B 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 30 30 32 33 32 38 33 39 38 06 04 31 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 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 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 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 17 00 00 00 F4 03 04 00 9D 95 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 00 00 C6 [16:02:21]Write i2c OK [16:02:21]MH_I2C_Read... [16:02:21]OFD Sender: No OFD packet to send [16:02:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:02:21]Read from MH i2c: E2 [16:02:21]MH_I2C_Read... [16:02:21]Read from MH i2c: E2 03 00 [16:02:21]MH_I2C_Read... [16:02:21]Read from MH i2c: E2 03 00 16 2B 00 90 00 B5 [16:02:21]RAPDU: 90 00 [16:02:21]wFMCommunicate OK [16:02:21]wFMCommunicate request_size=50 [16:02:21]MH_SAM_APDU [16:02:21]CAPDU: 80 0D 02 02 2D 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E9 30 00 00 35 04 06 00 17 FE D9 F8 02 AE [16:02:21]Write to MH i2c: E2 35 00 17 2B 80 0D 02 02 2D 00 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E9 30 00 00 35 04 06 00 17 FE D9 F8 02 AE 00 00 CC [16:02:21]Write i2c OK [16:02:21]MH_I2C_Read... [16:02:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:02:22]Read from MH i2c: E2 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: E2 03 00 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: E2 03 00 17 2B 00 90 00 B6 [16:02:22]RAPDU: 90 00 [16:02:22]wFMCommunicate OK [16:02:22]wFMCommunicate request_size=4 [16:02:22]MH_SAM_APDU [16:02:22]CAPDU: 80 0D 03 02 [16:02:22]Write to MH i2c: E2 08 00 18 2B 80 0D 03 02 00 00 00 00 BE [16:02:22]Write i2c OK [16:02:22]MH_I2C_Read... [16:02:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:02:22]Read from MH i2c: E2 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: E2 0B 00 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: E2 0B 00 18 2B 00 C4 AC DC EC 86 EE A7 66 90 00 78 [16:02:22]RAPDU: C4 AC DC EC 86 EE A7 66 90 00 [16:02:22]wFMCommunicate OK [16:02:22]SAM_PROTO_SignData done [16:02:22]FM_MakeSignedData done [16:02:22]CreateOFDProtocolMessage [16:02:22]wFMCommunicate request_size=4 [16:02:22]MH_SAM_APDU [16:02:22]CAPDU: 80 11 00 00 [16:02:22]Write to MH i2c: E2 08 00 19 2B 80 11 00 00 00 00 00 00 BE [16:02:22]Write i2c OK [16:02:22]MH_I2C_Read... [16:02:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:02:22]Read from MH i2c: E2 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: E2 17 00 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: E2 17 00 19 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 18 [16:02:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [16:02:22]wFMCommunicate OK [16:02:22]CreateOFDProtocolMessage done [16:02:22]OFDSenderStorePacket 12521 [16:02:22]StoreOFDPacket docnum=12521 [16:02:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 37 01 00 00 E0 92 2F 01 7B 0F 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 30 30 32 33 32 38 33 39 38 06 04 31 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 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 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 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 17 00 00 00 F4 03 04 00 9D 95 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E9 30 00 00 35 04 06 00 17 FE D9 F8 02 AE C4 AC DC EC 86 EE A7 66 [16:02:22]CheckFolder [16:02:22]dirname=/storage/ofd_packets [16:02:22]CheckFolder done [16:02:22]ProducePacketName [16:02:22]name=ofd_packets/00012521 [16:02:22]NVStorageSaveData ofd_packets/00012521 [16:02:22]File name is /storage/ofd_packets/00012521 [16:02:22]Write 341 bytes [16:02:22]NVStorageSaveData done [16:02:22]OFDSenderStorePacket done [16:02:22]KKMCreateOFDPacket done [16:02:22]NVStorageSaveData kkm_last_timestamp [16:02:22]File name is /storage/kkm_last_timestamp [16:02:22]Write 4 bytes [16:02:22]NVStorageSaveData done [16:02:22]ExternCall_PrintAddStr [16:02:22]wPrintStart [16:02:22]Write to MH i2c: 01 00 00 1A 2B 45 [16:02:22]Write i2c OK [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: 01 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: 01 07 00 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: 01 07 00 1A 2B 00 00 00 00 00 FF 0F 5A [16:02:22]RasterBufferAndPrint [16:02:22]line Счет N : (3)32796 [16:02:22]line ИНН: 02508201610067 [16:02:22]line Контрольно-Кассовый Чек [16:02:22]line ПРОДАЖА [16:02:22]line Товар: 4870002328398 [16:02:22]line Вода ASU пит н.газ мята ПЭТ 1л [16:02:22]line 1.000 * 100.00 [16:02:22]line = 100.00 [16:02:22]line НДС 12% НСП 1% [16:02:22]line > о реализуемом товаре [16:02:22]line ИТОГО: 100.00 [16:02:22]line НСП 1% : 0.88 [16:02:22]line НДС 12% : 10.62 [16:02:22]line Наличными: 100.00 [16:02:22]line Безнал.: 0.00 [16:02:22]line Место: АЗС № 106 "Партнер Нефть" [16:02:22]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [16:02:22]line СНО: Общий режим [16:02:22]line Чек 23 19.04.2024 16:02 [16:02:22]line Смена: 279 ФФД: 1.0 [16:02:22]line ЗНМ: 0300000004 [16:02:22]line РНМ: 0000000000100748 [16:02:22]line Версия ККМ: 001 [16:02:22]line ФМ: 0000000000965685 [16:02:22]line ФД: 12521 [16:02:22]line ФПД: 26383346041518 [16:02:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T160237&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12521&fm=26383346041518&tin=02508201610067®Number=0000000000100748&sum=10000 [16:02:22]line 0 [16:02:22]OFD Sender: Processing packet 12521 [packets to send 7, broken 6] [16:02:22]ProducePacketName [16:02:22]name=ofd_packets/00012521 [16:02:22]OFD Sender: To server: pG, [16:02:22]CommunicateWithHost lk.salyk.kg:30040 [16:02:22]ConnectInit lk.salyk.kg [16:02:22]written 0, free lines is 4095 [16:02:22]Connected sock=10 [16:02:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 37 01 00 00 E0 92 2F 01 7B 0F 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 30 30 32 33 32 38 33 39 38 06 04 31 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 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 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 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 17 00 00 00 F4 03 04 00 9D 95 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E9 30 00 00 35 04 06 00 17 FE D9 F8 02 AE C4 AC DC EC 86 EE A7 66 [16:02:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 D6 A9 47 00 D4 79 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 E9 30 00 00 F4 03 04 00 24 3E 22 66 B6 04 01 00 00 56 37 9D 62 0E AF F9 28 [16:02:22]CommunicateWithHost err = 0 [16:02:22]CheckOFDResponse [16:02:22]1017 (14) - 77093643461234 [16:02:22]1041 (16) - 0000000000965685 [16:02:22]1040 (4) - 12521 [16:02:22]1012 (4) - 19.04.2024 09:49 [16:02:22]1206 (1) - 0 [16:02:22]OFD Sender: Remove packet 12521 [16:02:22]ProducePacketName [16:02:22]name=ofd_packets/00012521 [16:02:22]NVStorageDeleteData [16:02:22]Write to MH i2c: 01 00 00 42 2B 6D [16:02:22]Write i2c OK [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: 01 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: 01 07 00 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: 01 07 00 42 2B 00 00 00 00 00 FC 0C 7C [16:02:22]RasterBufferAndPrint [16:02:22]line [16:02:22]line [16:02:22]line [16:02:22]line [16:02:22]line [16:02:22]written 0, free lines is 3330 [16:02:22]MH_Cut [16:02:22]Write to MH i2c: D1 01 00 49 2B 01 46 [16:02:22]Write i2c OK [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: D1 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: D1 01 00 [16:02:22]MH_I2C_Read... [16:02:22]Read from MH i2c: D1 01 00 49 2B 00 45 [16:02:22]Write to MH i2c: 01 00 00 4A 2B 75 [16:02:22]Write i2c OK [16:02:22]MH_I2C_Read... [16:02:23]OFD Sender: No OFD packet to send [16:02:23]*** Cut start [16:02:23]*** Partial cut [16:02:23]*** CUTSNS_PIN = 1 [16:02:23]*** CUTSNS_PIN = 0 [16:02:23]*** Brake cut motor [16:02:24]Read from MH i2c: 01 [16:02:24]MH_I2C_Read... [16:02:24]*** Stop cut motor [16:02:24]*** Cut end [16:02:24]Read from MH i2c: 01 07 00 [16:02:24]MH_I2C_Read... [16:02:24]Read from MH i2c: 01 07 00 4A 2B 00 00 00 00 00 FF 0F 8A [16:02:24]process_action close_receipt done [16:02:24]requested_data is exist [16:02:24]produce_requested_data [16:02:24]requested_item fm.sn is exist - process it [16:02:24]wFMCommunicate request_size=4 [16:02:24]MH_SAM_APDU [16:02:24]CAPDU: 80 11 00 00 [16:02:24]Write to MH i2c: E2 08 00 4B 2B 80 11 00 00 00 00 00 00 F0 [16:02:24]Write i2c OK [16:02:24]MH_I2C_Read... [16:02:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:02:24]Read from MH i2c: E2 [16:02:24]MH_I2C_Read... [16:02:24]Read from MH i2c: E2 17 00 [16:02:24]MH_I2C_Read... [16:02:24]Read from MH i2c: E2 17 00 4B 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 4A [16:02:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [16:02:24]wFMCommunicate OK [16:02:24]requested_item fd.num is exist - process it [16:02:24]SAM_PROTO_GetFieldsCounters [16:02:24]wFMCommunicate request_size=4 [16:02:24]MH_SAM_APDU [16:02:24]CAPDU: 80 13 00 00 [16:02:24]Write to MH i2c: E2 08 00 4C 2B 80 13 00 00 00 00 00 00 F3 [16:02:24]Write i2c OK [16:02:24]MH_I2C_Read... [16:02:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:02:24]Read from MH i2c: E2 [16:02:24]MH_I2C_Read... [16:02:24]Read from MH i2c: E2 62 00 [16:02:24]MH_I2C_Read... [16:02:24]Read from MH i2c: E2 62 00 4C 2B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 E9 30 00 00 0E 04 04 00 17 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 [16:02:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 E9 30 00 00 0E 04 04 00 17 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 [16:02:24]wFMCommunicate OK [16:02:24]SAM_PROTO_GetFieldsCounters done [16:02:24]requested_item shift.num is exist - process it [16:02:24]requested_item shift.opened is exist - process it [16:02:24]req_shift_opened [16:02:24]FM_GetShiftState [16:02:24]SAM_PROTO_GetShiftState [16:02:24]wFMCommunicate request_size=4 [16:02:24]MH_SAM_APDU [16:02:24]CAPDU: 80 13 01 00 [16:02:24]Write to MH i2c: E2 08 00 4D 2B 80 13 01 00 00 00 00 00 F5 [16:02:24]Write i2c OK [16:02:24]MH_I2C_Read... [16:02:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:02:24]Read from MH i2c: E2 [16:02:24]MH_I2C_Read... [16:02:24]Read from MH i2c: E2 0E 00 [16:02:24]MH_I2C_Read... [16:02:24]Read from MH i2c: E2 0E 00 4D 2B 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 EB [16:02:24]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [16:02:24]wFMCommunicate OK [16:02:24]SAM_PROTO_GetShiftState done [16:02:24]FM_GetShiftState done [16:02:24]req_shift_opened done [16:02:24]requested_item shift.open_date is exist - process it [16:02:24]req_shift_open_date [16:02:24]req_shift_open_date done [16:02:24]produce_requested_data done [16:02:24]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12521,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [16:02:24]process_action_free close_receipt [16:02:24]json_value_free [16:02:24]json_value_free done [16:02:24]process_json_proto returns [16:02:24]Send response to host [16:02:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12521,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [16:02:24]free response buf [16:02:24]execute_script done [16:02:24]execute_script returns [16:02:24]free content buf [16:02:24]Sock 8.Close socket [16:02:24]Sock 8.Thread stoped [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:55]accept exits with 9 [16:07:55]New connection [16:07:55]New thread 3067243876 created [16:07:55]Thread 3067100516 joined [16:07:55]Waiting for new connection... [16:07:55] Sock 9.Parse request [16:07:55]Sock 9.Check first char [16:07:55]Sock 9.First char is OK [16:07:55]request: POST /json_proto HTTP/1.0 [16:07:55]Method: POST [16:07:55]URL: /json_proto [16:07:55]Method is POST - this is cgi request [16:07:55]url: /json_proto [16:07:55]query_string will be loaded in cgi processing [16:07:55]execute_cgi json_proto POST (null) [16:07:55]execute_cgi path=json_proto method=POST [16:07:55]POST find Content-Length [16:07:55]Host: 172.17.62.6:8080 [16:07:55]Content-Length: 665 [16:07:55]Content-Type: application/json [16:07:55] [16:07:55]POST finish read [16:07:55]Found Content-Length = 665 [16:07:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32797", "tax_sys" : 0, "items" : [ { "code": "4690329014077", "name": "\u0428\u043E\u043A\u043E\u043B\u0430\u0434 \u043C\u043E\u043B\u043E\u0447\u043D\u044B\u0439 Babyfox 45\u0433/30", "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" ] } } [16:07:55]execute_script... [16:07:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32797", "tax_sys" : 0, "items" : [ { "code": "4690329014077", "name": "\u0428\u043E\u043A\u043E\u043B\u0430\u0434 \u043C\u043E\u043B\u043E\u0447\u043D\u044B\u0439 Babyfox 45\u0433/30", "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" ] } } [16:07:55]POST & json_proto [16:07:55]process_json_proto [16:07:55]json parsed OK: [16:07:55]protocol is kg_v1.0 [16:07:55]action value=close_receipt [16:07:55]process_action close_receipt [16:07:55]cmd_close_receipt [16:07:55]MH_GetDate [16:07:55]Write to MH i2c: F0 00 00 4E 2B 68 [16:07:55]Write i2c OK [16:07:55]MH_I2C_Read... [16:07:55]Read from MH i2c: F0 [16:07:55]MH_I2C_Read... [16:07:55]Read from MH i2c: F0 09 00 [16:07:55]MH_I2C_Read... [16:07:55]Read from MH i2c: F0 09 00 4E 2B 00 EC 96 22 66 61 69 D2 64 7B [16:07:55]GetLastDocTimeStamp 1713542557 [16:07:55]current date 1713542892 [16:07:55]FM_GetShiftState [16:07:55]SAM_PROTO_GetShiftState [16:07:55]wFMCommunicate request_size=4 [16:07:55]MH_SAM_APDU [16:07:55]CAPDU: 80 13 01 00 [16:07:55]Write to MH i2c: E2 08 00 4F 2B 80 13 01 00 00 00 00 00 F7 [16:07:55]Write i2c OK [16:07:55]MH_I2C_Read... [16:07:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:07:55]Read from MH i2c: E2 [16:07:55]MH_I2C_Read... [16:07:55]Read from MH i2c: E2 0E 00 [16:07:55]MH_I2C_Read... [16:07:55]Read from MH i2c: E2 0E 00 4F 2B 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 ED [16:07:55]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [16:07:55]wFMCommunicate OK [16:07:55]SAM_PROTO_GetShiftState done [16:07:55]FM_GetShiftState done [16:07:55]opened in 1713485995 [16:07:55]opened+sec_in_day 1713572395 [16:07:55]quantity*price = 4000 [16:07:55]sum+1 = 4001 [16:07:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 24 19.04.2024 16:08 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12522 ФПД: 74055152994146 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T160812&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12522&fm=74055152994146&tin=02508201610067®Number=0000000000100748&sum=4000 0 [16:07:56]StoreToDocumentArchive [16:07:56]shift 279 fd 12522 [16:07:56]save to /storage/0279/doc_00012522 [16:07:56]save last doc name /storage/0279/doc_00012522 to /storage/kkm_last_doc_name [16:07:56]save OK [16:07:56]Clear old archive folders... [16:07:56]ProcessDocumentItem done err = 0, tmpTLVsize=289 [16:07:56]tlvbuf is 01D09C90 [16:07:56]SAM_PROTO_ClearQueue [16:07:56]wFMCommunicate request_size=4 [16:07:56]MH_SAM_APDU [16:07:56]CAPDU: 80 09 00 00 [16:07:56]Write to MH i2c: E2 08 00 5C 2B 80 09 00 00 00 00 00 00 F9 [16:07:56]Write i2c OK [16:07:56]MH_I2C_Read... [16:07:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:07:56]Read from MH i2c: E2 [16:07:56]MH_I2C_Read... [16:07:56]Read from MH i2c: E2 03 00 [16:07:56]MH_I2C_Read... [16:07:56]Read from MH i2c: E2 03 00 5C 2B 00 90 00 FB [16:07:56]RAPDU: 90 00 [16:07:56]wFMCommunicate OK [16:07:56]SAM_PROTO_ClearQueue done [16:07:56]KKMCreateOFDPacket [16:07:56]OFDProtocolAddRootSTLVToBuf [16:07:56]FM_MakeSignedData [16:07:56]FM_MakeSignedData [16:07:56]SAM_PROTO_SignData [16:07:56]wFMCommunicate request_size=4 [16:07:56]MH_SAM_APDU [16:07:56]CAPDU: 80 0D 01 02 [16:07:56]Write to MH i2c: E2 08 00 5D 2B 80 0D 01 02 00 00 00 00 01 [16:07:56]Write i2c OK [16:07:56]MH_I2C_Read... [16:07:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:07:56]Read from MH i2c: E2 [16:07:56]MH_I2C_Read... [16:07:56]Read from MH i2c: E2 03 00 [16:07:56]MH_I2C_Read... [16:07:56]Read from MH i2c: E2 03 00 5D 2B 00 90 00 FC [16:07:56]RAPDU: 90 00 [16:07:56]wFMCommunicate OK [16:07:56]wFMCommunicate request_size=255 [16:07:56]MH_SAM_APDU [16:07:56]CAPDU: 80 0D 02 02 FA 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 34 36 39 30 33 32 39 30 31 34 30 37 37 06 04 2F 00 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 BC D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 42 61 62 79 66 6F 78 20 34 35 D0 B3 2F 33 30 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 18 00 00 00 F4 03 04 00 EC 96 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 [16:07:56]Write to MH i2c: E2 02 01 5E 2B 80 0D 02 02 FA 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 34 36 39 30 33 32 39 30 31 34 30 37 37 06 04 2F 00 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 BC D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 42 61 62 79 66 6F 78 20 34 35 D0 B3 2F 33 30 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 18 00 00 00 F4 03 04 00 EC 96 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 00 00 11 [16:07:56]Write i2c OK [16:07:56]MH_I2C_Read... [16:07:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:07:57]Read from MH i2c: E2 [16:07:57]MH_I2C_Read... [16:07:57]Read from MH i2c: E2 03 00 [16:07:57]MH_I2C_Read... [16:07:57]Read from MH i2c: E2 03 00 5E 2B 00 90 00 FD [16:07:57]RAPDU: 90 00 [16:07:57]wFMCommunicate OK [16:07:57]wFMCommunicate request_size=48 [16:07:57]MH_SAM_APDU [16:07:57]CAPDU: 80 0D 02 02 2B 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 EA 30 00 00 35 04 06 00 43 5A 4F 16 87 62 [16:07:57]Write to MH i2c: E2 33 00 5F 2B 80 0D 02 02 2B 00 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 EA 30 00 00 35 04 06 00 43 5A 4F 16 87 62 00 00 05 [16:07:57]Write i2c OK [16:07:57]MH_I2C_Read... [16:07:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:07:57]Read from MH i2c: E2 [16:07:57]MH_I2C_Read... [16:07:57]Read from MH i2c: E2 03 00 [16:07:57]MH_I2C_Read... [16:07:57]Read from MH i2c: E2 03 00 5F 2B 00 90 00 FE [16:07:57]RAPDU: 90 00 [16:07:57]wFMCommunicate OK [16:07:57]wFMCommunicate request_size=4 [16:07:57]MH_SAM_APDU [16:07:57]CAPDU: 80 0D 03 02 [16:07:57]Write to MH i2c: E2 08 00 60 2B 80 0D 03 02 00 00 00 00 06 [16:07:57]Write i2c OK [16:07:57]MH_I2C_Read... [16:07:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:07:57]Read from MH i2c: E2 [16:07:57]MH_I2C_Read... [16:07:57]Read from MH i2c: E2 0B 00 [16:07:57]MH_I2C_Read... [16:07:57]Read from MH i2c: E2 0B 00 60 2B 00 4D EA 3F 07 F2 0F 5A 7D 90 00 5C [16:07:57]RAPDU: 4D EA 3F 07 F2 0F 5A 7D 90 00 [16:07:57]wFMCommunicate OK [16:07:57]SAM_PROTO_SignData done [16:07:57]FM_MakeSignedData done [16:07:57]CreateOFDProtocolMessage [16:07:57]wFMCommunicate request_size=4 [16:07:57]MH_SAM_APDU [16:07:57]CAPDU: 80 11 00 00 [16:07:57]Write to MH i2c: E2 08 00 61 2B 80 11 00 00 00 00 00 00 06 [16:07:57]Write i2c OK [16:07:57]MH_I2C_Read... [16:07:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:07:57]Read from MH i2c: E2 [16:07:57]MH_I2C_Read... [16:07:57]Read from MH i2c: E2 17 00 [16:07:57]MH_I2C_Read... [16:07:57]Read from MH i2c: E2 17 00 61 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 60 [16:07:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [16:07:57]wFMCommunicate OK [16:07:57]CreateOFDProtocolMessage done [16:07:57]OFDSenderStorePacket 12522 [16:07:57]StoreOFDPacket docnum=12522 [16:07:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 35 01 00 00 CD FC 2D 01 A5 8E 5A 03 01 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 34 36 39 30 33 32 39 30 31 34 30 37 37 06 04 2F 00 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 BC D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 42 61 62 79 66 6F 78 20 34 35 D0 B3 2F 33 30 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 18 00 00 00 F4 03 04 00 EC 96 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 EA 30 00 00 35 04 06 00 43 5A 4F 16 87 62 4D EA 3F 07 F2 0F 5A 7D [16:07:57]CheckFolder [16:07:57]dirname=/storage/ofd_packets [16:07:57]CheckFolder done [16:07:57]ProducePacketName [16:07:57]name=ofd_packets/00012522 [16:07:57]NVStorageSaveData ofd_packets/00012522 [16:07:57]File name is /storage/ofd_packets/00012522 [16:07:57]Write 339 bytes [16:07:57]NVStorageSaveData done [16:07:57]OFDSenderStorePacket done [16:07:57]KKMCreateOFDPacket done [16:07:57]NVStorageSaveData kkm_last_timestamp [16:07:57]File name is /storage/kkm_last_timestamp [16:07:57]Write 4 bytes [16:07:57]NVStorageSaveData done [16:07:57]ExternCall_PrintAddStr [16:07:57]wPrintStart [16:07:57]Write to MH i2c: 01 00 00 62 2B 8D [16:07:57]Write i2c OK [16:07:57]MH_I2C_Read... [16:07:57]Read from MH i2c: 01 [16:07:57]MH_I2C_Read... [16:07:57]Read from MH i2c: 01 07 00 [16:07:57]MH_I2C_Read... [16:07:57]Read from MH i2c: 01 07 00 62 2B 00 00 00 00 00 FF 0F A2 [16:07:57]RasterBufferAndPrint [16:07:57]line Счет N : (3)32797 [16:07:57]line ИНН: 02508201610067 [16:07:57]line Контрольно-Кассовый Чек [16:07:57]line ПРОДАЖА [16:07:57]line Товар: 4690329014077 [16:07:57]line Шоколад молочный Babyfox 45г/30 [16:07:57]line 1.000 * 40.00 [16:07:57]line = 40.00 [16:07:57]line НДС 12% НСП 1% [16:07:57]line > о реализуемом товаре [16:07:57]line ИТОГО: 40.00 [16:07:57]line НСП 1% : 0.35 [16:07:57]line НДС 12% : 4.25 [16:07:57]line Наличными: 40.00 [16:07:57]line Безнал.: 0.00 [16:07:57]line Место: АЗС № 106 "Партнер Нефть" [16:07:57]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [16:07:57]line СНО: Общий режим [16:07:57]line Чек 24 19.04.2024 16:08 [16:07:57]line Смена: 279 ФФД: 1.0 [16:07:57]line ЗНМ: 0300000004 [16:07:57]line РНМ: 0000000000100748 [16:07:57]line Версия ККМ: 001 [16:07:57]line ФМ: 0000000000965685 [16:07:57]line ФД: 12522 [16:07:57]line ФПД: 74055152994146 [16:07:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T160812&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12522&fm=74055152994146&tin=02508201610067®Number=0000000000100748&sum=4000 [16:07:57]line 0 [16:07:57]OFD Sender: Processing packet 12522 [packets to send 7, broken 6] [16:07:57]ProducePacketName [16:07:57]name=ofd_packets/00012522 [16:07:57]OFD Sender: To server: pG, [16:07:57]CommunicateWithHost lk.salyk.kg:30040 [16:07:57]ConnectInit lk.salyk.kg [16:07:57]written 0, free lines is 4095 [16:07:57]Connected sock=10 [16:07:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 35 01 00 00 CD FC 2D 01 A5 8E 5A 03 01 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 34 36 39 30 33 32 39 30 31 34 30 37 37 06 04 2F 00 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 BC D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 42 61 62 79 66 6F 78 20 34 35 D0 B3 2F 33 30 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 18 00 00 00 F4 03 04 00 EC 96 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 EA 30 00 00 35 04 06 00 43 5A 4F 16 87 62 4D EA 3F 07 F2 0F 5A 7D [16:07:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 78 15 47 00 76 F0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 EA 30 00 00 F4 03 04 00 73 3F 22 66 B6 04 01 00 00 21 12 21 21 0C AC 2F DF [16:07:57]CommunicateWithHost err = 0 [16:07:57]CheckOFDResponse [16:07:57]1017 (14) - 77093643461234 [16:07:57]1041 (16) - 0000000000965685 [16:07:57]1040 (4) - 12522 [16:07:57]1012 (4) - 19.04.2024 09:54 [16:07:57]1206 (1) - 0 [16:07:57]OFD Sender: Remove packet 12522 [16:07:57]ProducePacketName [16:07:57]name=ofd_packets/00012522 [16:07:57]NVStorageDeleteData [16:07:58]Write to MH i2c: 01 00 00 8A 2B B5 [16:07:58]Write i2c OK [16:07:58]MH_I2C_Read... [16:07:58]Read from MH i2c: 01 [16:07:58]MH_I2C_Read... [16:07:58]Read from MH i2c: 01 07 00 [16:07:58]MH_I2C_Read... [16:07:58]Read from MH i2c: 01 07 00 8A 2B 00 00 00 00 00 FD 0C C5 [16:07:58]RasterBufferAndPrint [16:07:58]line [16:07:58]line [16:07:58]line [16:07:58]line [16:07:58]line [16:07:58]written 0, free lines is 3334 [16:07:58]MH_Cut [16:07:58]Write to MH i2c: D1 01 00 91 2B 01 8E [16:07:58]Write i2c OK [16:07:58]MH_I2C_Read... [16:07:58]Read from MH i2c: D1 [16:07:58]MH_I2C_Read... [16:07:58]Read from MH i2c: D1 01 00 [16:07:58]MH_I2C_Read... [16:07:58]Read from MH i2c: D1 01 00 91 2B 00 8D [16:07:58]Write to MH i2c: 01 00 00 92 2B BD [16:07:58]Write i2c OK [16:07:58]MH_I2C_Read... [16:07:58]OFD Sender: No OFD packet to send [16:07:58]*** Cut start [16:07:58]*** Partial cut [16:07:58]*** CUTSNS_PIN = 1 [16:07:58]*** CUTSNS_PIN = 0 [16:07:59]*** Brake cut motor [16:07:59]Read from MH i2c: 01 [16:07:59]MH_I2C_Read... [16:07:59]*** Stop cut motor [16:07:59]*** Cut end [16:07:59]Read from MH i2c: 01 07 00 [16:07:59]MH_I2C_Read... [16:07:59]Read from MH i2c: 01 07 00 92 2B 00 00 00 00 00 FF 0F D2 [16:07:59]process_action close_receipt done [16:07:59]requested_data is exist [16:07:59]produce_requested_data [16:07:59]requested_item fm.sn is exist - process it [16:07:59]wFMCommunicate request_size=4 [16:07:59]MH_SAM_APDU [16:07:59]CAPDU: 80 11 00 00 [16:07:59]Write to MH i2c: E2 08 00 93 2B 80 11 00 00 00 00 00 00 38 [16:07:59]Write i2c OK [16:07:59]MH_I2C_Read... [16:07:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:07:59]Read from MH i2c: E2 [16:07:59]MH_I2C_Read... [16:07:59]Read from MH i2c: E2 17 00 [16:07:59]MH_I2C_Read... [16:07:59]Read from MH i2c: E2 17 00 93 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 92 [16:07:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [16:07:59]wFMCommunicate OK [16:07:59]requested_item fd.num is exist - process it [16:07:59]SAM_PROTO_GetFieldsCounters [16:07:59]wFMCommunicate request_size=4 [16:07:59]MH_SAM_APDU [16:07:59]CAPDU: 80 13 00 00 [16:07:59]Write to MH i2c: E2 08 00 94 2B 80 13 00 00 00 00 00 00 3B [16:07:59]Write i2c OK [16:07:59]MH_I2C_Read... [16:07:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:07:59]Read from MH i2c: E2 [16:07:59]MH_I2C_Read... [16:07:59]Read from MH i2c: E2 62 00 [16:07:59]MH_I2C_Read... [16:07:59]Read from MH i2c: E2 62 00 94 2B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 EA 30 00 00 0E 04 04 00 17 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 D8 [16:07:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 EA 30 00 00 0E 04 04 00 17 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 [16:07:59]wFMCommunicate OK [16:07:59]SAM_PROTO_GetFieldsCounters done [16:07:59]requested_item shift.num is exist - process it [16:07:59]requested_item shift.opened is exist - process it [16:07:59]req_shift_opened [16:07:59]FM_GetShiftState [16:07:59]SAM_PROTO_GetShiftState [16:07:59]wFMCommunicate request_size=4 [16:07:59]MH_SAM_APDU [16:07:59]CAPDU: 80 13 01 00 [16:07:59]Write to MH i2c: E2 08 00 95 2B 80 13 01 00 00 00 00 00 3D [16:07:59]Write i2c OK [16:07:59]MH_I2C_Read... [16:07:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:07:59]Read from MH i2c: E2 [16:07:59]MH_I2C_Read... [16:07:59]Read from MH i2c: E2 0E 00 [16:07:59]MH_I2C_Read... [16:07:59]Read from MH i2c: E2 0E 00 95 2B 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 33 [16:07:59]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [16:07:59]wFMCommunicate OK [16:07:59]SAM_PROTO_GetShiftState done [16:07:59]FM_GetShiftState done [16:07:59]req_shift_opened done [16:07:59]requested_item shift.open_date is exist - process it [16:07:59]req_shift_open_date [16:07:59]req_shift_open_date done [16:07:59]produce_requested_data done [16:07:59]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12522,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [16:07:59]process_action_free close_receipt [16:07:59]json_value_free [16:07:59]json_value_free done [16:07:59]process_json_proto returns [16:07:59]Send response to host [16:07:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12522,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [16:07:59]free response buf [16:07:59]execute_script done [16:07:59]execute_script returns [16:07:59]free content buf [16:07:59]Sock 9.Close socket [16:07:59]Sock 9.Thread stoped [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:58]OFD Sender: No OFD packet to send [16:13:03]OFD Sender: No OFD packet to send [16:13:08]OFD Sender: No OFD packet to send [16:13:13]OFD Sender: No OFD packet to send [16:13:18]OFD Sender: No OFD packet to send [16:13:23]OFD Sender: No OFD packet to send [16:13:28]OFD Sender: No OFD packet to send [16:13:33]OFD Sender: No OFD packet to send [16:13:38]OFD Sender: No OFD packet to send [16:13:43]OFD Sender: No OFD packet to send [16:13:48]OFD Sender: No OFD packet to send [16:13:53]OFD Sender: No OFD packet to send [16:13:58]OFD Sender: No OFD packet to send [16:14:03]OFD Sender: No OFD packet to send [16:14:08]OFD Sender: No OFD packet to send [16:14:13]OFD Sender: No OFD packet to send [16:14:18]OFD Sender: No OFD packet to send [16:14:23]OFD Sender: No OFD packet to send [16:14:28]OFD Sender: No OFD packet to send [16:14:33]OFD Sender: No OFD packet to send [16:14:38]OFD Sender: No OFD packet to send [16:14:43]OFD Sender: No OFD packet to send [16:14:48]OFD Sender: No OFD packet to send [16:14:53]OFD Sender: No OFD packet to send [16:14:58]OFD Sender: No OFD packet to send [16:15:03]OFD Sender: No OFD packet to send [16:15:08]OFD Sender: No OFD packet to send [16:15:13]OFD Sender: No OFD packet to send [16:15:18]OFD Sender: No OFD packet to send [16:15:23]OFD Sender: No OFD packet to send [16:15:28]OFD Sender: No OFD packet to send [16:15:33]OFD Sender: No OFD packet to send [16:15:38]OFD Sender: No OFD packet to send [16:15:43]OFD Sender: No OFD packet to send [16:15:48]OFD Sender: No OFD packet to send [16:15:53]OFD Sender: No OFD packet to send [16:15:58]OFD Sender: No OFD packet to send [16:16:03]OFD Sender: No OFD packet to send [16:16:08]OFD Sender: No OFD packet to send [16:16:13]OFD Sender: No OFD packet to send [16:16:18]OFD Sender: No OFD packet to send [16:16:23]OFD Sender: No OFD packet to send [16:16:28]OFD Sender: No OFD packet to send [16:16:33]OFD Sender: No OFD packet to send [16:16:38]OFD Sender: No OFD packet to send [16:16:43]OFD Sender: No OFD packet to send [16:16:48]OFD Sender: No OFD packet to send [16:16:53]OFD Sender: No OFD packet to send [16:16:58]OFD Sender: No OFD packet to send [16:17:03]OFD Sender: No OFD packet to send [16:17:08]OFD Sender: No OFD packet to send [16:17:13]OFD Sender: No OFD packet to send [16:17:18]OFD Sender: No OFD packet to send [16:17:23]OFD Sender: No OFD packet to send [16:17:28]OFD Sender: No OFD packet to send [16:17:33]OFD Sender: No OFD packet to send [16:17:38]OFD Sender: No OFD packet to send [16:17:43]OFD Sender: No OFD packet to send [16:17:48]OFD Sender: No OFD packet to send [16:17:53]OFD Sender: No OFD packet to send [16:17:58]OFD Sender: No OFD packet to send [16:18:03]OFD Sender: No OFD packet to send [16:18:08]OFD Sender: No OFD packet to send [16:18:13]OFD Sender: No OFD packet to send [16:18:18]OFD Sender: No OFD packet to send [16:18:23]OFD Sender: No OFD packet to send [16:18:28]OFD Sender: No OFD packet to send [16:18:33]OFD Sender: No OFD packet to send [16:18:38]OFD Sender: No OFD packet to send [16:18:43]OFD Sender: No OFD packet to send [16:18:48]OFD Sender: No OFD packet to send [16:18:53]OFD Sender: No OFD packet to send [16:18:58]OFD Sender: No OFD packet to send [16:19:03]OFD Sender: No OFD packet to send [16:19:08]OFD Sender: No OFD packet to send [16:19:13]OFD Sender: No OFD packet to send [16:19:18]OFD Sender: No OFD packet to send [16:19:23]OFD Sender: No OFD packet to send [16:19:28]OFD Sender: No OFD packet to send [16:19:33]OFD Sender: No OFD packet to send [16:19:38]OFD Sender: No OFD packet to send [16:19:43]OFD Sender: No OFD packet to send [16:19:48]OFD Sender: No OFD packet to send [16:19:53]OFD Sender: No OFD packet to send [16:19:58]OFD Sender: No OFD packet to send [16:20:03]OFD Sender: No OFD packet to send [16:20:08]OFD Sender: No OFD packet to send [16:20:13]OFD Sender: No OFD packet to send [16:20:18]OFD Sender: No OFD packet to send [16:20:23]OFD Sender: No OFD packet to send [16:20:28]OFD Sender: No OFD packet to send [16:20:33]OFD Sender: No OFD packet to send [16:20:38]OFD Sender: No OFD packet to send [16:20:43]OFD Sender: No OFD packet to send [16:20:48]OFD Sender: No OFD packet to send [16:20:53]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]OFD Sender: No OFD packet to send [16:25:49]OFD Sender: No OFD packet to send [16:25:54]OFD Sender: No OFD packet to send [16:25:59]OFD Sender: No OFD packet to send [16:26:04]OFD Sender: No OFD packet to send [16:26:09]OFD Sender: No OFD packet to send [16:26:14]OFD Sender: No OFD packet to send [16:26:19]OFD Sender: No OFD packet to send [16:26:24]OFD Sender: No OFD packet to send [16:26:29]OFD Sender: No OFD packet to send [16:26:34]OFD Sender: No OFD packet to send [16:26:39]OFD Sender: No OFD packet to send [16:26:44]OFD Sender: No OFD packet to send [16:26:49]OFD Sender: No OFD packet to send [16:26:54]OFD Sender: No OFD packet to send [16:26:59]OFD Sender: No OFD packet to send [16:27:04]OFD Sender: No OFD packet to send [16:27:09]OFD Sender: No OFD packet to send [16:27:14]OFD Sender: No OFD packet to send [16:27:19]OFD Sender: No OFD packet to send [16:27:24]OFD Sender: No OFD packet to send [16:27:29]OFD Sender: No OFD packet to send [16:27:34]OFD Sender: No OFD packet to send [16:27:39]OFD Sender: No OFD packet to send [16:27:44]OFD Sender: No OFD packet to send [16:27:49]OFD Sender: No OFD packet to send [16:27:54]OFD Sender: No OFD packet to send [16:27:59]OFD Sender: No OFD packet to send [16:28:04]OFD Sender: No OFD packet to send [16:28:09]OFD Sender: No OFD packet to send [16:28:14]OFD Sender: No OFD packet to send [16:28:19]OFD Sender: No OFD packet to send [16:28:24]OFD Sender: No OFD packet to send [16:28:29]OFD Sender: No OFD packet to send [16:28:34]OFD Sender: No OFD packet to send [16:28:39]OFD Sender: No OFD packet to send [16:28:44]OFD Sender: No OFD packet to send [16:28:49]OFD Sender: No OFD packet to send [16:28:54]OFD Sender: No OFD packet to send [16:28:59]OFD Sender: No OFD packet to send [16:29:04]OFD Sender: No OFD packet to send [16:29:09]OFD Sender: No OFD packet to send [16:29:14]OFD Sender: No OFD packet to send [16:29:19]OFD Sender: No OFD packet to send [16:29:24]OFD Sender: No OFD packet to send [16:29:29]OFD Sender: No OFD packet to send [16:29:34]OFD Sender: No OFD packet to send [16:29:39]OFD Sender: No OFD packet to send [16:29:44]OFD Sender: No OFD packet to send [16:29:49]OFD Sender: No OFD packet to send [16:29:54]OFD Sender: No OFD packet to send [16:29:59]OFD Sender: No OFD packet to send [16:30:04]OFD Sender: No OFD packet to send [16:30:09]OFD Sender: No OFD packet to send [16:30:14]OFD Sender: No OFD packet to send [16:30:19]OFD Sender: No OFD packet to send [16:30:24]OFD Sender: No OFD packet to send [16:30:29]OFD Sender: No OFD packet to send [16:30:34]OFD Sender: No OFD packet to send [16:30:39]OFD Sender: No OFD packet to send [16:30:44]OFD Sender: No OFD packet to send [16:30:49]OFD Sender: No OFD packet to send [16:30:54]OFD Sender: No OFD packet to send [16:30:59]OFD Sender: No OFD packet to send [16:31:04]OFD Sender: No OFD packet to send [16:31:09]OFD Sender: No OFD packet to send [16:31:14]OFD Sender: No OFD packet to send [16:31:19]OFD Sender: No OFD packet to send [16:31:24]OFD Sender: No OFD packet to send [16:31:29]OFD Sender: No OFD packet to send [16:31:34]OFD Sender: No OFD packet to send [16:31:39]OFD Sender: No OFD packet to send [16:31:44]OFD Sender: No OFD packet to send [16:31:49]OFD Sender: No OFD packet to send [16:31:54]OFD Sender: No OFD packet to send [16:31:59]OFD Sender: No OFD packet to send [16:32:04]OFD Sender: No OFD packet to send [16:32:09]OFD Sender: No OFD packet to send [16:32:14]OFD Sender: No OFD packet to send [16:32:19]OFD Sender: No OFD packet to send [16:32:24]OFD Sender: No OFD packet to send [16:32:29]OFD Sender: No OFD packet to send [16:32:34]OFD Sender: No OFD packet to send [16:32:39]OFD Sender: No OFD packet to send [16:32:44]OFD Sender: No OFD packet to send [16:32:49]OFD Sender: No OFD packet to send [16:32:54]OFD Sender: No OFD packet to send [16:32:59]OFD Sender: No OFD packet to send [16:33:04]OFD Sender: No OFD packet to send [16:33:09]OFD Sender: No OFD packet to send [16:33:14]OFD Sender: No OFD packet to send [16:33:19]OFD Sender: No OFD packet to send [16:33:24]OFD Sender: No OFD packet to send [16:33:29]OFD Sender: No OFD packet to send [16:33:34]OFD Sender: No OFD packet to send [16:33:39]OFD Sender: No OFD packet to send [16:33:44]OFD Sender: No OFD packet to send [16:33:49]OFD Sender: No OFD packet to send [16:33:54]OFD Sender: No OFD packet to send [16:33:59]OFD Sender: No OFD packet to send [16:34:04]OFD Sender: No OFD packet to send [16:34:09]OFD Sender: No OFD packet to send [16:34:14]OFD Sender: No OFD packet to send [16:34:19]OFD Sender: No OFD packet to send [16:34:24]OFD Sender: No OFD packet to send [16:34:29]OFD Sender: No OFD packet to send [16:34:34]OFD Sender: No OFD packet to send [16:34:39]OFD Sender: No OFD packet to send [16:34:44]OFD Sender: No OFD packet to send [16:34:49]OFD Sender: No OFD packet to send [16:34:54]OFD Sender: No OFD packet to send [16:34:59]OFD Sender: No OFD packet to send [16:35:04]OFD Sender: No OFD packet to send [16:35:09]OFD Sender: No OFD packet to send [16:35:14]OFD Sender: No OFD packet to send [16:35:17]accept exits with 8 [16:35:17]New connection [16:35:17]New thread 3067100516 created [16:35:17]Thread 3067243876 joined [16:35:17]Waiting for new connection... [16:35:17] Sock 8.Parse request [16:35:17]Sock 8.Check first char [16:35:17]Sock 8.First char is OK [16:35:17]request: POST /json_proto HTTP/1.0 [16:35:17]Method: POST [16:35:17]URL: /json_proto [16:35:17]Method is POST - this is cgi request [16:35:17]url: /json_proto [16:35:17]query_string will be loaded in cgi processing [16:35:17]execute_cgi json_proto POST (null) [16:35:17]execute_cgi path=json_proto method=POST [16:35:17]POST find Content-Length [16:35:17]Host: 172.17.62.6:8080 [16:35:17]Content-Length: 913 [16:35:17]Content-Type: application/json [16:35:17] [16:35:17]POST finish read [16:35:17]Found Content-Length = 913 [16:35:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32798", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 255.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:35:17]execute_script... [16:35:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32798", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 255.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:35:17]POST & json_proto [16:35:17]process_json_proto [16:35:17]json parsed OK: [16:35:17]protocol is kg_v1.0 [16:35:17]action value=close_receipt [16:35:17]process_action close_receipt [16:35:17]cmd_close_receipt [16:35:17]MH_GetDate [16:35:17]Write to MH i2c: F0 00 00 96 2B B0 [16:35:17]Write i2c OK [16:35:17]MH_I2C_Read... [16:35:17]Read from MH i2c: F0 [16:35:17]MH_I2C_Read... [16:35:17]Read from MH i2c: F0 09 00 [16:35:17]MH_I2C_Read... [16:35:17]Read from MH i2c: F0 09 00 96 2B 00 56 9D 22 66 61 69 D2 64 34 [16:35:17]GetLastDocTimeStamp 1713542892 [16:35:17]current date 1713544534 [16:35:17]FM_GetShiftState [16:35:17]SAM_PROTO_GetShiftState [16:35:17]wFMCommunicate request_size=4 [16:35:17]MH_SAM_APDU [16:35:17]CAPDU: 80 13 01 00 [16:35:17]Write to MH i2c: E2 08 00 97 2B 80 13 01 00 00 00 00 00 3F [16:35:17]Write i2c OK [16:35:17]MH_I2C_Read... [16:35:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:35:17]Read from MH i2c: E2 [16:35:17]MH_I2C_Read... [16:35:17]Read from MH i2c: E2 0E 00 [16:35:17]MH_I2C_Read... [16:35:17]Read from MH i2c: E2 0E 00 97 2B 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 35 [16:35:17]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [16:35:17]wFMCommunicate OK [16:35:17]SAM_PROTO_GetShiftState done [16:35:17]FM_GetShiftState done [16:35:17]opened in 1713485995 [16:35:17]opened+sec_in_day 1713572395 [16:35:17]quantity*price = 12500 [16:35:17]sum+1 = 12501 [16:35:17]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036220012 Кофе Капучино XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 255.00 НСП 1% : 2.26 НДС 12% : 27.07 Наличными: 255.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 25 19.04.2024 16:35 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12523 ФПД: 131228413882232 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T163534&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12523&fm=131228413882232&tin=02508201610067®Number=0000000000100748&sum=25500 0 [16:35:18]StoreToDocumentArchive [16:35:18]shift 279 fd 12523 [16:35:18]save to /storage/0279/doc_00012523 [16:35:18]save last doc name /storage/0279/doc_00012523 to /storage/kkm_last_doc_name [16:35:18]save OK [16:35:18]Clear old archive folders... [16:35:18]ProcessDocumentItem done err = 0, tmpTLVsize=396 [16:35:18]tlvbuf is 01CC04D0 [16:35:18]SAM_PROTO_ClearQueue [16:35:18]wFMCommunicate request_size=4 [16:35:18]MH_SAM_APDU [16:35:18]CAPDU: 80 09 00 00 [16:35:18]Write to MH i2c: E2 08 00 A4 2B 80 09 00 00 00 00 00 00 41 [16:35:18]Write i2c OK [16:35:18]MH_I2C_Read... [16:35:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:35:18]Read from MH i2c: E2 [16:35:18]MH_I2C_Read... [16:35:18]Read from MH i2c: E2 03 00 [16:35:18]MH_I2C_Read... [16:35:18]Read from MH i2c: E2 03 00 A4 2B 00 90 00 43 [16:35:18]RAPDU: 90 00 [16:35:18]wFMCommunicate OK [16:35:18]SAM_PROTO_ClearQueue done [16:35:18]KKMCreateOFDPacket [16:35:18]OFDProtocolAddRootSTLVToBuf [16:35:18]FM_MakeSignedData [16:35:18]FM_MakeSignedData [16:35:18]SAM_PROTO_SignData [16:35:18]wFMCommunicate request_size=4 [16:35:18]MH_SAM_APDU [16:35:18]CAPDU: 80 0D 01 02 [16:35:18]Write to MH i2c: E2 08 00 A5 2B 80 0D 01 02 00 00 00 00 49 [16:35:18]Write i2c OK [16:35:18]MH_I2C_Read... [16:35:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:35:19]Read from MH i2c: E2 [16:35:19]MH_I2C_Read... [16:35:19]Read from MH i2c: E2 03 00 [16:35:19]MH_I2C_Read... [16:35:19]Read from MH i2c: E2 03 00 A5 2B 00 90 00 44 [16:35:19]RAPDU: 90 00 [16:35:19]wFMCommunicate OK [16:35:19]wFMCommunicate request_size=255 [16:35:19]MH_SAM_APDU [16:35:19]CAPDU: 80 0D 02 02 FA 03 00 8C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 63 00 00 00 00 EB 03 26 00 EF [16:35:19]Write to MH i2c: E2 02 01 A6 2B 80 0D 02 02 FA 00 03 00 8C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 63 00 00 00 00 EB 03 26 00 EF 00 00 5C [16:35:19]Write i2c OK [16:35:19]MH_I2C_Read... [16:35:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:35:19]Read from MH i2c: E2 [16:35:19]MH_I2C_Read... [16:35:19]Read from MH i2c: E2 03 00 [16:35:19]MH_I2C_Read... [16:35:19]Read from MH i2c: E2 03 00 A6 2B 00 90 00 45 [16:35:19]RAPDU: 90 00 [16:35:19]wFMCommunicate OK [16:35:19]wFMCommunicate request_size=155 [16:35:19]MH_SAM_APDU [16:35:19]CAPDU: 80 0D 02 02 96 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 0A 00 00 00 00 07 04 06 00 9C 63 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 56 9D 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 EB 30 00 00 35 04 06 00 77 59 FE FE 6F 78 [16:35:19]Write to MH i2c: E2 9E 00 A7 2B 80 0D 02 02 96 00 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 0A 00 00 00 00 07 04 06 00 9C 63 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 56 9D 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 EB 30 00 00 35 04 06 00 77 59 FE FE 6F 78 00 00 AC [16:35:19]Write i2c OK [16:35:19]MH_I2C_Read... [16:35:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:35:19]Read from MH i2c: E2 [16:35:19]MH_I2C_Read... [16:35:19]Read from MH i2c: E2 03 00 [16:35:19]MH_I2C_Read... [16:35:19]Read from MH i2c: E2 03 00 A7 2B 00 90 00 46 [16:35:19]RAPDU: 90 00 [16:35:19]wFMCommunicate OK [16:35:19]wFMCommunicate request_size=4 [16:35:19]MH_SAM_APDU [16:35:19]CAPDU: 80 0D 03 02 [16:35:19]Write to MH i2c: E2 08 00 A8 2B 80 0D 03 02 00 00 00 00 4E [16:35:19]Write i2c OK [16:35:19]MH_I2C_Read... [16:35:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:35:19]Read from MH i2c: E2 [16:35:19]MH_I2C_Read... [16:35:19]Read from MH i2c: E2 0B 00 [16:35:19]MH_I2C_Read... [16:35:19]Read from MH i2c: E2 0B 00 A8 2B 00 61 F1 4E AA C4 D9 04 58 90 00 92 [16:35:19]RAPDU: 61 F1 4E AA C4 D9 04 58 90 00 [16:35:19]wFMCommunicate OK [16:35:19]SAM_PROTO_SignData done [16:35:19]FM_MakeSignedData done [16:35:19]CreateOFDProtocolMessage [16:35:19]wFMCommunicate request_size=4 [16:35:19]MH_SAM_APDU [16:35:19]CAPDU: 80 11 00 00 [16:35:19]Write to MH i2c: E2 08 00 A9 2B 80 11 00 00 00 00 00 00 4E [16:35:19]Write i2c OK [16:35:19]MH_I2C_Read... [16:35:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:35:19]Read from MH i2c: E2 [16:35:19]MH_I2C_Read... [16:35:19]Read from MH i2c: E2 17 00 [16:35:19]MH_I2C_Read... [16:35:19]Read from MH i2c: E2 17 00 A9 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 A8 [16:35:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [16:35:19]wFMCommunicate OK [16:35:19]CreateOFDProtocolMessage done [16:35:19]OFDSenderStorePacket 12523 [16:35:19]StoreOFDPacket docnum=12523 [16:35:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 A0 01 00 00 33 57 98 01 DB 36 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 63 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 0A 00 00 00 00 07 04 06 00 9C 63 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 56 9D 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 EB 30 00 00 35 04 06 00 77 59 FE FE 6F 78 61 F1 4E AA C4 D9 04 58 [16:35:19]CheckFolder [16:35:19]dirname=/storage/ofd_packets [16:35:19]CheckFolder done [16:35:19]ProducePacketName [16:35:19]name=ofd_packets/00012523 [16:35:19]NVStorageSaveData ofd_packets/00012523 [16:35:19]File name is /storage/ofd_packets/00012523 [16:35:19]Write 446 bytes [16:35:19]NVStorageSaveData done [16:35:19]OFDSenderStorePacket done [16:35:19]KKMCreateOFDPacket done [16:35:19]NVStorageSaveData kkm_last_timestamp [16:35:19]File name is /storage/kkm_last_timestamp [16:35:19]Write 4 bytes [16:35:19]NVStorageSaveData done [16:35:19]ExternCall_PrintAddStr [16:35:19]wPrintStart [16:35:19]Write to MH i2c: 01 00 00 AA 2B D5 [16:35:19]Write i2c OK [16:35:19]MH_I2C_Read... [16:35:19]Read from MH i2c: 01 [16:35:19]MH_I2C_Read... [16:35:19]Read from MH i2c: 01 07 00 [16:35:19]MH_I2C_Read... [16:35:19]Read from MH i2c: 01 07 00 AA 2B 00 00 00 00 00 FF 0F EA [16:35:19]RasterBufferAndPrint [16:35:19]line Счет N : (3)32798 [16:35:19]line ИНН: 02508201610067 [16:35:19]line Контрольно-Кассовый Чек [16:35:19]line ПРОДАЖА [16:35:19]line Товар: 2000036190018 [16:35:19]line Кофе Американо XL(GABB TRADE) [16:35:19]line 1.000 * 125.00 [16:35:19]line = 125.00 [16:35:19]line НДС 12% НСП 1% [16:35:19]line > о реализуемом товаре [16:35:19]line Товар: 2000036220012 [16:35:19]line Кофе Капучино XL(GABB TRADE) [16:35:19]line 1.000 * 130.00 [16:35:19]line = 130.00 [16:35:19]line НДС 12% НСП 1% [16:35:19]line > о реализуемом товаре [16:35:19]line ИТОГО: 255.00 [16:35:19]line НСП 1% : 2.26 [16:35:19]line НДС 12% : 27.07 [16:35:19]line Наличными: 255.00 [16:35:19]line Безнал.: 0.00 [16:35:19]line Место: АЗС № 106 "Партнер Нефть" [16:35:19]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [16:35:19]line СНО: Общий режим [16:35:19]line Чек 25 19.04.2024 16:35 [16:35:19]line Смена: 279 ФФД: 1.0 [16:35:19]line ЗНМ: 0300000004 [16:35:19]line РНМ: 0000000000100748 [16:35:19]line Версия ККМ: 001 [16:35:19]line ФМ: 0000000000965685 [16:35:19]line ФД: 12523 [16:35:19]line ФПД: 131228413882232 [16:35:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T163534&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12523&fm=131228413882232&tin=02508201610067®Number=0000000000100748&sum=25500 [16:35:19]line 0 [16:35:19]OFD Sender: Processing packet 12523 [packets to send 7, broken 6] [16:35:19]ProducePacketName [16:35:19]name=ofd_packets/00012523 [16:35:19]OFD Sender: To server: pG, [16:35:19]CommunicateWithHost lk.salyk.kg:30040 [16:35:19]ConnectInit lk.salyk.kg [16:35:19]written 0, free lines is 4095 [16:35:19]Connected sock=10 [16:35:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 A0 01 00 00 33 57 98 01 DB 36 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 63 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E2 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 93 0A 00 00 00 00 07 04 06 00 9C 63 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 56 9D 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 EB 30 00 00 35 04 06 00 77 59 FE FE 6F 78 61 F1 4E AA C4 D9 04 58 [16:35:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 53 43 47 00 5C 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 36 35 36 38 35 10 04 04 00 EB 30 00 00 F4 03 04 00 DD 45 22 66 B6 04 01 00 00 F1 0A B1 3A D0 63 EC 02 [16:35:20]CommunicateWithHost err = 0 [16:35:20]CheckOFDResponse [16:35:20]1017 (14) - 77093643461234 [16:35:20]1041 (16) - 0000000000965685 [16:35:20]1040 (4) - 12523 [16:35:20]1012 (4) - 19.04.2024 10:22 [16:35:20]1206 (1) - 0 [16:35:20]OFD Sender: Remove packet 12523 [16:35:20]ProducePacketName [16:35:20]name=ofd_packets/00012523 [16:35:20]NVStorageDeleteData [16:35:20]Write to MH i2c: 01 00 00 D9 2B 04 [16:35:20]Write i2c OK [16:35:20]MH_I2C_Read... [16:35:20]Read from MH i2c: 01 [16:35:20]MH_I2C_Read... [16:35:20]Read from MH i2c: 01 07 00 [16:35:20]MH_I2C_Read... [16:35:20]Read from MH i2c: 01 07 00 D9 2B 00 00 00 00 00 AF 0C C6 [16:35:20]RasterBufferAndPrint [16:35:20]line [16:35:20]line [16:35:20]line [16:35:20]line [16:35:20]line [16:35:20]written 0, free lines is 3254 [16:35:20]MH_Cut [16:35:20]Write to MH i2c: D1 01 00 E0 2B 01 DD [16:35:20]Write i2c OK [16:35:20]MH_I2C_Read... [16:35:20]Read from MH i2c: D1 [16:35:20]MH_I2C_Read... [16:35:20]Read from MH i2c: D1 01 00 [16:35:20]MH_I2C_Read... [16:35:20]Read from MH i2c: D1 01 00 E0 2B 00 DC [16:35:20]Write to MH i2c: 01 00 00 E1 2B 0C [16:35:20]Write i2c OK [16:35:20]MH_I2C_Read... [16:35:20]OFD Sender: No OFD packet to send [16:35:21]*** Cut start [16:35:21]*** Partial cut [16:35:21]*** CUTSNS_PIN = 1 [16:35:21]*** CUTSNS_PIN = 0 [16:35:21]*** Brake cut motor [16:35:21]Read from MH i2c: 01 [16:35:21]MH_I2C_Read... [16:35:21]*** Stop cut motor [16:35:21]*** Cut end [16:35:21]Read from MH i2c: 01 07 00 [16:35:21]MH_I2C_Read... [16:35:21]Read from MH i2c: 01 07 00 E1 2B 00 00 00 00 00 FF 0F 21 [16:35:21]process_action close_receipt done [16:35:21]requested_data is exist [16:35:21]produce_requested_data [16:35:21]requested_item fm.sn is exist - process it [16:35:21]wFMCommunicate request_size=4 [16:35:21]MH_SAM_APDU [16:35:21]CAPDU: 80 11 00 00 [16:35:21]Write to MH i2c: E2 08 00 E2 2B 80 11 00 00 00 00 00 00 87 [16:35:21]Write i2c OK [16:35:21]MH_I2C_Read... [16:35:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:35:21]Read from MH i2c: E2 [16:35:21]MH_I2C_Read... [16:35:21]Read from MH i2c: E2 17 00 [16:35:21]MH_I2C_Read... [16:35:21]Read from MH i2c: E2 17 00 E2 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 E1 [16:35:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [16:35:21]wFMCommunicate OK [16:35:21]requested_item fd.num is exist - process it [16:35:21]SAM_PROTO_GetFieldsCounters [16:35:21]wFMCommunicate request_size=4 [16:35:21]MH_SAM_APDU [16:35:21]CAPDU: 80 13 00 00 [16:35:21]Write to MH i2c: E2 08 00 E3 2B 80 13 00 00 00 00 00 00 8A [16:35:21]Write i2c OK [16:35:21]MH_I2C_Read... [16:35:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:35:21]Read from MH i2c: E2 [16:35:21]MH_I2C_Read... [16:35:21]Read from MH i2c: E2 62 00 [16:35:21]MH_I2C_Read... [16:35:21]Read from MH i2c: E2 62 00 E3 2B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 EB 30 00 00 0E 04 04 00 17 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 2B [16:35:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 EB 30 00 00 0E 04 04 00 17 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 [16:35:21]wFMCommunicate OK [16:35:21]SAM_PROTO_GetFieldsCounters done [16:35:21]requested_item shift.num is exist - process it [16:35:21]requested_item shift.opened is exist - process it [16:35:21]req_shift_opened [16:35:21]FM_GetShiftState [16:35:21]SAM_PROTO_GetShiftState [16:35:21]wFMCommunicate request_size=4 [16:35:21]MH_SAM_APDU [16:35:21]CAPDU: 80 13 01 00 [16:35:21]Write to MH i2c: E2 08 00 E4 2B 80 13 01 00 00 00 00 00 8C [16:35:21]Write i2c OK [16:35:21]MH_I2C_Read... [16:35:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:35:22]Read from MH i2c: E2 [16:35:22]MH_I2C_Read... [16:35:22]Read from MH i2c: E2 0E 00 [16:35:22]MH_I2C_Read... [16:35:22]Read from MH i2c: E2 0E 00 E4 2B 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 82 [16:35:22]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [16:35:22]wFMCommunicate OK [16:35:22]SAM_PROTO_GetShiftState done [16:35:22]FM_GetShiftState done [16:35:22]req_shift_opened done [16:35:22]requested_item shift.open_date is exist - process it [16:35:22]req_shift_open_date [16:35:22]req_shift_open_date done [16:35:22]produce_requested_data done [16:35:22]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12523,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [16:35:22]process_action_free close_receipt [16:35:22]json_value_free [16:35:22]json_value_free done [16:35:22]process_json_proto returns [16:35:22]Send response to host [16:35:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12523,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [16:35:22]free response buf [16:35:22]execute_script done [16:35:22]execute_script returns [16:35:22]free content buf [16:35:22]Sock 8.Close socket [16:35:22]Sock 8.Thread stoped [16:35:25]OFD Sender: No OFD packet to send [16:35:30]OFD Sender: No OFD packet to send [16:35:35]OFD Sender: No OFD packet to send [16:35:40]OFD Sender: No OFD packet to send [16:35:45]OFD Sender: No OFD packet to send [16:35:50]OFD Sender: No OFD packet to send [16:35:55]OFD Sender: No OFD packet to send [16:36:00]OFD Sender: No OFD packet to send [16:36:05]OFD Sender: No OFD packet to send [16:36:10]OFD Sender: No OFD packet to send [16:36:15]OFD Sender: No OFD packet to send [16:36:20]OFD Sender: No OFD packet to send [16:36:25]OFD Sender: No OFD packet to send [16:36:30]OFD Sender: No OFD packet to send [16:36:35]OFD Sender: No OFD packet to send [16:36:40]OFD Sender: No OFD packet to send [16:36:45]OFD Sender: No OFD packet to send [16:36:50]OFD Sender: No OFD packet to send [16:36:55]OFD Sender: No OFD packet to send [16:37:00]OFD Sender: No OFD packet to send [16:37:05]OFD Sender: No OFD packet to send [16:37:10]OFD Sender: No OFD packet to send [16:37:15]OFD Sender: No OFD packet to send [16:37:20]OFD Sender: No OFD packet to send [16:37:25]OFD Sender: No OFD packet to send [16:37:30]OFD Sender: No OFD packet to send [16:37:35]OFD Sender: No OFD packet to send [16:37:40]OFD Sender: No OFD packet to send [16:37:45]OFD Sender: No OFD packet to send [16:37:50]OFD Sender: No OFD packet to send [16:37:55]OFD Sender: No OFD packet to send [16:38:00]OFD Sender: No OFD packet to send [16:38:05]OFD Sender: No OFD packet to send [16:38:10]OFD Sender: No OFD packet to send [16:38:15]OFD Sender: No OFD packet to send [16:38:20]OFD Sender: No OFD packet to send [16:38:25]OFD Sender: No OFD packet to send [16:38:30]OFD Sender: No OFD packet to send [16:38:35]OFD Sender: No OFD packet to send [16:38:40]OFD Sender: No OFD packet to send [16:38:45]OFD Sender: No OFD packet to send [16:38:50]OFD Sender: No OFD packet to send [16:38:55]OFD Sender: No OFD packet to send [16:39:00]OFD Sender: No OFD packet to send [16:39:05]OFD Sender: No OFD packet to send [16:39:10]OFD Sender: No OFD packet to send [16:39:15]OFD Sender: No OFD packet to send [16:39:20]OFD Sender: No OFD packet to send [16:39:25]OFD Sender: No OFD packet to send [16:39:30]OFD Sender: No OFD packet to send [16:39:35]OFD Sender: No OFD packet to send [16:39:40]OFD Sender: No OFD packet to send [16:39:45]OFD Sender: No OFD packet to send [16:39:50]OFD Sender: No OFD packet to send [16:39:55]OFD Sender: No OFD packet to send [16:40:00]OFD Sender: No OFD packet to send [16:40:05]OFD Sender: No OFD packet to send [16:40:10]OFD Sender: No OFD packet to send [16:40:15]OFD Sender: No OFD packet to send [16:40:20]OFD Sender: No OFD packet to send [16:40:25]OFD Sender: No OFD packet to send [16:40:30]OFD Sender: No OFD packet to send [16:40:35]OFD Sender: No OFD packet to send [16:40:40]OFD Sender: No OFD packet to send [16:40:45]OFD Sender: No OFD packet to send [16:40:50]OFD Sender: No OFD packet to send [16:40:55]OFD Sender: No OFD packet to send [16:41:00]OFD Sender: No OFD packet to send [16:41:05]OFD Sender: No OFD packet to send [16:41:10]OFD Sender: No OFD packet to send [16:41:15]OFD Sender: No OFD packet to send [16:41:20]OFD Sender: No OFD packet to send [16:41:25]OFD Sender: No OFD packet to send [16:41:30]OFD Sender: No OFD packet to send [16:41:35]OFD Sender: No OFD packet to send [16:41:41]OFD Sender: No OFD packet to send [16:41:46]OFD Sender: No OFD packet to send [16:41:51]OFD Sender: No OFD packet to send [16:41:56]OFD Sender: No OFD packet to send [16:42:01]OFD Sender: No OFD packet to send [16:42:06]OFD Sender: No OFD packet to send [16:42:11]OFD Sender: No OFD packet to send [16:42:16]OFD Sender: No OFD packet to send [16:42:21]OFD Sender: No OFD packet to send [16:42:26]OFD Sender: No OFD packet to send [16:42:31]OFD Sender: No OFD packet to send [16:42:36]OFD Sender: No OFD packet to send [16:42:41]OFD Sender: No OFD packet to send [16:42:46]OFD Sender: No OFD packet to send [16:42:51]OFD Sender: No OFD packet to send [16:42:56]OFD Sender: No OFD packet to send [16:43:01]OFD Sender: No OFD packet to send [16:43:06]OFD Sender: No OFD packet to send [16:43:11]OFD Sender: No OFD packet to send [16:43:16]OFD Sender: No OFD packet to send [16:43:21]OFD Sender: No OFD packet to send [16:43:26]OFD Sender: No OFD packet to send [16:43:31]OFD Sender: No OFD packet to send [16:43:36]OFD Sender: No OFD packet to send [16:43:41]OFD Sender: No OFD packet to send [16:43:46]OFD Sender: No OFD packet to send [16:43:51]OFD Sender: No OFD packet to send [16:43:56]OFD Sender: No OFD packet to send [16:44:01]OFD Sender: No OFD packet to send [16:44:06]OFD Sender: No OFD packet to send [16:44:11]OFD Sender: No OFD packet to send [16:44:16]OFD Sender: No OFD packet to send [16:44:21]OFD Sender: No OFD packet to send [16:44:26]OFD Sender: No OFD packet to send [16:44:31]OFD Sender: No OFD packet to send [16:44:36]OFD Sender: No OFD packet to send [16:44:41]OFD Sender: No OFD packet to send [16:44:46]OFD Sender: No OFD packet to send [16:44:51]OFD Sender: No OFD packet to send [16:44:56]OFD Sender: No OFD packet to send [16:45:01]OFD Sender: No OFD packet to send [16:45:06]OFD Sender: No OFD packet to send [16:45:11]OFD Sender: No OFD packet to send [16:45:16]OFD Sender: No OFD packet to send [16:45:21]OFD Sender: No OFD packet to send [16:45:26]OFD Sender: No OFD packet to send [16:45:31]OFD Sender: No OFD packet to send [16:45:36]OFD Sender: No OFD packet to send [16:45:41]OFD Sender: No OFD packet to send [16:45:46]OFD Sender: No OFD packet to send [16:45:51]OFD Sender: No OFD packet to send [16:45:56]OFD Sender: No OFD packet to send [16:46:01]OFD Sender: No OFD packet to send [16:46:06]OFD Sender: No OFD packet to send [16:46:11]OFD Sender: No OFD packet to send [16:46:16]OFD Sender: No OFD packet to send [16:46:21]OFD Sender: No OFD packet to send [16:46:26]OFD Sender: No OFD packet to send [16:46:31]OFD Sender: No OFD packet to send [16:46:36]OFD Sender: No OFD packet to send [16:46:41]OFD Sender: No OFD packet to send [16:46:46]OFD Sender: No OFD packet to send [16:46:51]OFD Sender: No OFD packet to send [16:46:56]OFD Sender: No OFD packet to send [16:47:01]OFD Sender: No OFD packet to send [16:47:06]OFD Sender: No OFD packet to send [16:47:11]OFD Sender: No OFD packet to send [16:47:16]OFD Sender: No OFD packet to send [16:47:21]OFD Sender: No OFD packet to send [16:47:26]OFD Sender: No OFD packet to send [16:47:31]OFD Sender: No OFD packet to send [16:47:36]OFD Sender: No OFD packet to send [16:47:41]OFD Sender: No OFD packet to send [16:47:46]OFD Sender: No OFD packet to send [16:47:51]OFD Sender: No OFD packet to send [16:47:56]OFD Sender: No OFD packet to send [16:48:01]OFD Sender: No OFD packet to send [16:48:06]OFD Sender: No OFD packet to send [16:48:11]OFD Sender: No OFD packet to send [16:48:16]OFD Sender: No OFD packet to send [16:48:21]OFD Sender: No OFD packet to send [16:48:26]OFD Sender: No OFD packet to send [16:48:31]OFD Sender: No OFD packet to send [16:48:36]OFD Sender: No OFD packet to send [16:48:41]OFD Sender: No OFD packet to send [16:48:46]OFD Sender: No OFD packet to send [16:48:51]OFD Sender: No OFD packet to send [16:48:56]OFD Sender: No OFD packet to send [16:49:01]OFD Sender: No OFD packet to send [16:49:06]OFD Sender: No OFD packet to send [16:49:11]OFD Sender: No OFD packet to send [16:49:16]OFD Sender: No OFD packet to send [16:49:21]OFD Sender: No OFD packet to send [16:49:26]OFD Sender: No OFD packet to send [16:49:31]OFD Sender: No OFD packet to send [16:49:36]OFD Sender: No OFD packet to send [16:49:41]OFD Sender: No OFD packet to send [16:49:46]OFD Sender: No OFD packet to send [16:49:51]OFD Sender: No OFD packet to send [16:49:56]OFD Sender: No OFD packet to send [16:50:01]OFD Sender: No OFD packet to send [16:50:06]OFD Sender: No OFD packet to send [16:50:11]OFD Sender: No OFD packet to send [16:50:16]OFD Sender: No OFD packet to send [16:50:21]OFD Sender: No OFD packet to send [16:50:26]OFD Sender: No OFD packet to send [16:50:31]OFD Sender: No OFD packet to send [16:50:36]OFD Sender: No OFD packet to send [16:50:41]OFD Sender: No OFD packet to send [16:50:46]OFD Sender: No OFD packet to send [16:50:51]OFD Sender: No OFD packet to send [16:50:56]OFD Sender: No OFD packet to send [16:51:01]OFD Sender: No OFD packet to send [16:51:06]OFD Sender: No OFD packet to send [16:51:11]OFD Sender: No OFD packet to send [16:51:16]OFD Sender: No OFD packet to send [16:51:21]OFD Sender: No OFD packet to send [16:51:26]OFD Sender: No OFD packet to send [16:51:31]OFD Sender: No OFD packet to send [16:51:36]OFD Sender: No OFD packet to send [16:51:41]OFD Sender: No OFD packet to send [16:51:46]OFD Sender: No OFD packet to send [16:51:51]OFD Sender: No OFD packet to send [16:51:56]OFD Sender: No OFD packet to send [16:52:01]OFD Sender: No OFD packet to send [16:52:06]OFD Sender: No OFD packet to send [16:52:11]OFD Sender: No OFD packet to send [16:52:16]OFD Sender: No OFD packet to send [16:52:21]OFD Sender: No OFD packet to send [16:52:26]OFD Sender: No OFD packet to send [16:52:31]OFD Sender: No OFD packet to send [16:52:36]OFD Sender: No OFD packet to send [16:52:41]OFD Sender: No OFD packet to send [16:52:46]OFD Sender: No OFD packet to send [16:52:51]OFD Sender: No OFD packet to send [16:52:56]OFD Sender: No OFD packet to send [16:53:01]OFD Sender: No OFD packet to send [16:53:06]OFD Sender: No OFD packet to send [16:53:11]OFD Sender: No OFD packet to send [16:53:16]OFD Sender: No OFD packet to send [16:53:21]OFD Sender: No OFD packet to send [16:53:26]OFD Sender: No OFD packet to send [16:53:31]OFD Sender: No OFD packet to send [16:53:36]OFD Sender: No OFD packet to send [16:53:41]OFD Sender: No OFD packet to send [16:53:46]OFD Sender: No OFD packet to send [16:53:51]OFD Sender: No OFD packet to send [16:53:56]OFD Sender: No OFD packet to send [16:54:01]OFD Sender: No OFD packet to send [16:54:06]OFD Sender: No OFD packet to send [16:54:11]OFD Sender: No OFD packet to send [16:54:16]OFD Sender: No OFD packet to send [16:54:21]OFD Sender: No OFD packet to send [16:54:26]OFD Sender: No OFD packet to send [16:54:31]OFD Sender: No OFD packet to send [16:54:36]OFD Sender: No OFD packet to send [16:54:41]OFD Sender: No OFD packet to send [16:54:46]OFD Sender: No OFD packet to send [16:54:51]OFD Sender: No OFD packet to send [16:54:56]OFD Sender: No OFD packet to send [16:55:01]OFD Sender: No OFD packet to send [16:55:06]OFD Sender: No OFD packet to send [16:55:11]OFD Sender: No OFD packet to send [16:55:16]OFD Sender: No OFD packet to send [16:55:21]OFD Sender: No OFD packet to send [16:55:26]OFD Sender: No OFD packet to send [16:55:31]OFD Sender: No OFD packet to send [16:55:36]OFD Sender: No OFD packet to send [16:55:41]OFD Sender: No OFD packet to send [16:55:46]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:02]OFD Sender: No OFD packet to send [17:03:07]OFD Sender: No OFD packet to send [17:03:12]OFD Sender: No OFD packet to send [17:03:17]OFD Sender: No OFD packet to send [17:03:22]OFD Sender: No OFD packet to send [17:03:27]OFD Sender: No OFD packet to send [17:03:32]OFD Sender: No OFD packet to send [17:03:37]OFD Sender: No OFD packet to send [17:03:42]OFD Sender: No OFD packet to send [17:03:47]OFD Sender: No OFD packet to send [17:03:52]OFD Sender: No OFD packet to send [17:03:57]OFD Sender: No OFD packet to send [17:04:02]OFD Sender: No OFD packet to send [17:04:07]OFD Sender: No OFD packet to send [17:04:12]OFD Sender: No OFD packet to send [17:04:17]OFD Sender: No OFD packet to send [17:04:22]OFD Sender: No OFD packet to send [17:04:27]OFD Sender: No OFD packet to send [17:04:32]OFD Sender: No OFD packet to send [17:04:37]OFD Sender: No OFD packet to send [17:04:42]OFD Sender: No OFD packet to send [17:04:47]OFD Sender: No OFD packet to send [17:04:52]OFD Sender: No OFD packet to send [17:04:57]OFD Sender: No OFD packet to send [17:04:57]accept exits with 9 [17:04:57]New connection [17:04:57]New thread 3067243876 created [17:04:57]Thread 3067100516 joined [17:04:57]Waiting for new connection... [17:04:57] Sock 9.Parse request [17:04:57]Sock 9.Check first char [17:04:57]Sock 9.First char is OK [17:04:57]request: POST /json_proto HTTP/1.0 [17:04:57]Method: POST [17:04:57]URL: /json_proto [17:04:57]Method is POST - this is cgi request [17:04:57]url: /json_proto [17:04:57]query_string will be loaded in cgi processing [17:04:57]execute_cgi json_proto POST (null) [17:04:57]execute_cgi path=json_proto method=POST [17:04:57]POST find Content-Length [17:04:57]Host: 172.17.62.6:8080 [17:04:57]Content-Length: 645 [17:04:57]Content-Type: application/json [17:04:57] [17:04:57]POST finish read [17:04:57]Found Content-Length = 645 [17:04:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32799", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:04:57]execute_script... [17:04: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)32799", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:04:57]POST & json_proto [17:04:57]process_json_proto [17:04:57]json parsed OK: [17:04:57]protocol is kg_v1.0 [17:04:57]action value=close_receipt [17:04:57]process_action close_receipt [17:04:57]cmd_close_receipt [17:04:57]MH_GetDate [17:04:57]Write to MH i2c: F0 00 00 E5 2B FF [17:04:57]Write i2c OK [17:04:57]MH_I2C_Read... [17:04:57]Read from MH i2c: F0 [17:04:57]MH_I2C_Read... [17:04:57]Read from MH i2c: F0 09 00 [17:04:57]MH_I2C_Read... [17:04:57]Read from MH i2c: F0 09 00 E5 2B 00 4A A4 22 66 61 69 D2 64 7E [17:04:57]GetLastDocTimeStamp 1713544534 [17:04:57]current date 1713546314 [17:04:57]FM_GetShiftState [17:04:57]SAM_PROTO_GetShiftState [17:04:57]wFMCommunicate request_size=4 [17:04:57]MH_SAM_APDU [17:04:57]CAPDU: 80 13 01 00 [17:04:57]Write to MH i2c: E2 08 00 E6 2B 80 13 01 00 00 00 00 00 8E [17:04:57]Write i2c OK [17:04:57]MH_I2C_Read... [17:04:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:04:57]Read from MH i2c: E2 [17:04:57]MH_I2C_Read... [17:04:57]Read from MH i2c: E2 0E 00 [17:04:57]MH_I2C_Read... [17:04:57]Read from MH i2c: E2 0E 00 E6 2B 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 84 [17:04:57]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [17:04:57]wFMCommunicate OK [17:04:57]SAM_PROTO_GetShiftState done [17:04:57]FM_GetShiftState done [17:04:57]opened in 1713485995 [17:04:57]opened+sec_in_day 1713572395 [17:04:57]quantity*price = 13000 [17:04:57]sum+1 = 13001 [17:04:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 26 19.04.2024 17:05 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12524 ФПД: 92247384905737 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T170514&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12524&fm=92247384905737&tin=02508201610067®Number=0000000000100748&sum=13000 0 [17:04:58]StoreToDocumentArchive [17:04:58]shift 279 fd 12524 [17:04:58]save to /storage/0279/doc_00012524 [17:04:58]save last doc name /storage/0279/doc_00012524 to /storage/kkm_last_doc_name [17:04:58]save OK [17:04:58]Clear old archive folders... [17:04:58]ProcessDocumentItem done err = 0, tmpTLVsize=282 [17:04:58]tlvbuf is 01D8AF10 [17:04:58]SAM_PROTO_ClearQueue [17:04:58]wFMCommunicate request_size=4 [17:04:58]MH_SAM_APDU [17:04:58]CAPDU: 80 09 00 00 [17:04:58]Write to MH i2c: E2 08 00 F3 2B 80 09 00 00 00 00 00 00 90 [17:04:58]Write i2c OK [17:04:58]MH_I2C_Read... [17:04:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:04:58]Read from MH i2c: E2 [17:04:58]MH_I2C_Read... [17:04:58]Read from MH i2c: E2 03 00 [17:04:58]MH_I2C_Read... [17:04:58]Read from MH i2c: E2 03 00 F3 2B 00 90 00 92 [17:04:58]RAPDU: 90 00 [17:04:58]wFMCommunicate OK [17:04:58]SAM_PROTO_ClearQueue done [17:04:58]KKMCreateOFDPacket [17:04:58]OFDProtocolAddRootSTLVToBuf [17:04:58]FM_MakeSignedData [17:04:58]FM_MakeSignedData [17:04:58]SAM_PROTO_SignData [17:04:58]wFMCommunicate request_size=4 [17:04:58]MH_SAM_APDU [17:04:58]CAPDU: 80 0D 01 02 [17:04:58]Write to MH i2c: E2 08 00 F4 2B 80 0D 01 02 00 00 00 00 98 [17:04:58]Write i2c OK [17:04:58]MH_I2C_Read... [17:04:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:04:58]Read from MH i2c: E2 [17:04:58]MH_I2C_Read... [17:04:58]Read from MH i2c: E2 03 00 [17:04:58]MH_I2C_Read... [17:04:58]Read from MH i2c: E2 03 00 F4 2B 00 90 00 93 [17:04:58]RAPDU: 90 00 [17:04:58]wFMCommunicate OK [17:04:58]wFMCommunicate request_size=255 [17:04:58]MH_SAM_APDU [17:04:58]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 4A A4 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 [17:04:58]Write to MH i2c: E2 02 01 F5 2B 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 4A A4 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 00 00 4A [17:04:58]Write i2c OK [17:04:58]MH_I2C_Read... [17:04:59]Read from MH i2c: E2 [17:04:59]MH_I2C_Read... [17:04:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:04:59]Read from MH i2c: E2 03 00 [17:04:59]MH_I2C_Read... [17:04:59]Read from MH i2c: E2 03 00 F5 2B 00 90 00 94 [17:04:59]RAPDU: 90 00 [17:04:59]wFMCommunicate OK [17:04:59]wFMCommunicate request_size=41 [17:04:59]MH_SAM_APDU [17:04:59]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 EC 30 00 00 35 04 06 00 53 E6 04 9B D8 09 [17:04:59]Write to MH i2c: E2 2C 00 F6 2B 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 EC 30 00 00 35 04 06 00 53 E6 04 9B D8 09 00 00 46 [17:04:59]Write i2c OK [17:04:59]MH_I2C_Read... [17:04:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:04:59]Read from MH i2c: E2 [17:04:59]MH_I2C_Read... [17:04:59]Read from MH i2c: E2 03 00 [17:04:59]MH_I2C_Read... [17:04:59]Read from MH i2c: E2 03 00 F6 2B 00 90 00 95 [17:04:59]RAPDU: 90 00 [17:04:59]wFMCommunicate OK [17:04:59]wFMCommunicate request_size=4 [17:04:59]MH_SAM_APDU [17:04:59]CAPDU: 80 0D 03 02 [17:04:59]Write to MH i2c: E2 08 00 F7 2B 80 0D 03 02 00 00 00 00 9D [17:04:59]Write i2c OK [17:04:59]MH_I2C_Read... [17:04:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:04:59]Read from MH i2c: E2 [17:04:59]MH_I2C_Read... [17:04:59]Read from MH i2c: E2 0B 00 [17:04:59]MH_I2C_Read... [17:04:59]Read from MH i2c: E2 0B 00 F7 2B 00 E1 41 3C FC EF E4 C2 73 90 00 00 [17:04:59]RAPDU: E1 41 3C FC EF E4 C2 73 90 00 [17:04:59]wFMCommunicate OK [17:04:59]SAM_PROTO_SignData done [17:04:59]FM_MakeSignedData done [17:04:59]CreateOFDProtocolMessage [17:04:59]wFMCommunicate request_size=4 [17:04:59]MH_SAM_APDU [17:04:59]CAPDU: 80 11 00 00 [17:04:59]Write to MH i2c: E2 08 00 F8 2B 80 11 00 00 00 00 00 00 9D [17:04:59]Write i2c OK [17:04:59]MH_I2C_Read... [17:04:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:04:59]Read from MH i2c: E2 [17:04:59]MH_I2C_Read... [17:04:59]Read from MH i2c: E2 17 00 [17:04:59]MH_I2C_Read... [17:04:59]Read from MH i2c: E2 17 00 F8 2B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 F7 [17:04:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [17:04:59]wFMCommunicate OK [17:04:59]CreateOFDProtocolMessage done [17:04:59]OFDSenderStorePacket 12524 [17:04:59]StoreOFDPacket docnum=12524 [17:04:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2E 01 00 00 DD F1 26 01 22 22 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 4A A4 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 EC 30 00 00 35 04 06 00 53 E6 04 9B D8 09 E1 41 3C FC EF E4 C2 73 [17:04:59]CheckFolder [17:04:59]dirname=/storage/ofd_packets [17:04:59]CheckFolder done [17:04:59]ProducePacketName [17:04:59]name=ofd_packets/00012524 [17:04:59]NVStorageSaveData ofd_packets/00012524 [17:04:59]File name is /storage/ofd_packets/00012524 [17:04:59]Write 332 bytes [17:04:59]NVStorageSaveData done [17:04:59]OFDSenderStorePacket done [17:04:59]KKMCreateOFDPacket done [17:04:59]NVStorageSaveData kkm_last_timestamp [17:04:59]File name is /storage/kkm_last_timestamp [17:04:59]Write 4 bytes [17:04:59]NVStorageSaveData done [17:04:59]ExternCall_PrintAddStr [17:04:59]wPrintStart [17:04:59]Write to MH i2c: 01 00 00 F9 2B 24 [17:04:59]Write i2c OK [17:04:59]MH_I2C_Read... [17:04:59]Read from MH i2c: 01 [17:04:59]MH_I2C_Read... [17:04:59]Read from MH i2c: 01 07 00 [17:04:59]MH_I2C_Read... [17:04:59]Read from MH i2c: 01 07 00 F9 2B 00 00 00 00 00 FF 0F 39 [17:04:59]RasterBufferAndPrint [17:04:59]line Счет N : (3)32799 [17:04:59]line ИНН: 02508201610067 [17:04:59]line Контрольно-Кассовый Чек [17:04:59]line ПРОДАЖА [17:04:59]line Товар: 2000036220012 [17:04:59]line Кофе Капучино XL(GABB TRADE) [17:04:59]line 1.000 * 130.00 [17:04:59]line = 130.00 [17:04:59]line НДС 12% НСП 1% [17:04:59]line > о реализуемом товаре [17:04:59]line ИТОГО: 130.00 [17:04:59]line НСП 1% : 1.15 [17:04:59]line НДС 12% : 13.80 [17:04:59]line Наличными: 130.00 [17:04:59]line Безнал.: 0.00 [17:04:59]line Место: АЗС № 106 "Партнер Нефть" [17:04:59]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [17:04:59]line СНО: Общий режим [17:04:59]line Чек 26 19.04.2024 17:05 [17:04:59]line Смена: 279 ФФД: 1.0 [17:04:59]line ЗНМ: 0300000004 [17:04:59]line РНМ: 0000000000100748 [17:04:59]line Версия ККМ: 001 [17:04:59]line ФМ: 0000000000965685 [17:04:59]line ФД: 12524 [17:04:59]line ФПД: 92247384905737 [17:04:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T170514&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12524&fm=92247384905737&tin=02508201610067®Number=0000000000100748&sum=13000 [17:04:59]line 0 [17:04:59]OFD Sender: Processing packet 12524 [packets to send 7, broken 6] [17:04:59]ProducePacketName [17:04:59]name=ofd_packets/00012524 [17:04:59]OFD Sender: To server: pG, [17:04:59]CommunicateWithHost lk.salyk.kg:30040 [17:04:59]ConnectInit lk.salyk.kg [17:04:59]written 0, free lines is 4095 [17:04:59]Connected sock=10 [17:04:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2E 01 00 00 DD F1 26 01 22 22 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 4A A4 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 EC 30 00 00 35 04 06 00 53 E6 04 9B D8 09 E1 41 3C FC EF E4 C2 73 [17:04:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 70 C9 47 00 82 FB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 36 38 35 10 04 04 00 EC 30 00 00 F4 03 04 00 D1 4C 22 66 B6 04 01 00 00 48 9D 37 33 93 28 6B 37 [17:04:59]CommunicateWithHost err = 0 [17:04:59]CheckOFDResponse [17:04:59]1017 (14) - 77093643461234 [17:04:59]1041 (16) - 0000000000965685 [17:04:59]1040 (4) - 12524 [17:04:59]1012 (4) - 19.04.2024 10:52 [17:04:59]1206 (1) - 0 [17:04:59]OFD Sender: Remove packet 12524 [17:04:59]ProducePacketName [17:04:59]name=ofd_packets/00012524 [17:04:59]NVStorageDeleteData [17:05:00]Write to MH i2c: 01 00 00 21 2C 4D [17:05:00]Write i2c OK [17:05:00]MH_I2C_Read... [17:05:00]Read from MH i2c: 01 [17:05:00]MH_I2C_Read... [17:05:00]Read from MH i2c: 01 07 00 [17:05:00]MH_I2C_Read... [17:05:00]Read from MH i2c: 01 07 00 21 2C 00 00 00 00 00 F7 0C 57 [17:05:00]RasterBufferAndPrint [17:05:00]line [17:05:00]line [17:05:00]line [17:05:00]line [17:05:00]line [17:05:00]written 0, free lines is 3326 [17:05:00]MH_Cut [17:05:00]Write to MH i2c: D1 01 00 28 2C 01 26 [17:05:00]Write i2c OK [17:05:00]MH_I2C_Read... [17:05:00]Read from MH i2c: D1 [17:05:00]MH_I2C_Read... [17:05:00]Read from MH i2c: D1 01 00 [17:05:00]MH_I2C_Read... [17:05:00]Read from MH i2c: D1 01 00 28 2C 00 25 [17:05:00]Write to MH i2c: 01 00 00 29 2C 55 [17:05:00]Write i2c OK [17:05:00]MH_I2C_Read... [17:05:00]OFD Sender: No OFD packet to send [17:05:00]*** Cut start [17:05:00]*** Partial cut [17:05:00]*** CUTSNS_PIN = 1 [17:05:00]*** CUTSNS_PIN = 0 [17:05:01]*** Brake cut motor [17:05:01]Read from MH i2c: 01 [17:05:01]MH_I2C_Read... [17:05:01]*** Stop cut motor [17:05:01]*** Cut end [17:05:01]Read from MH i2c: 01 07 00 [17:05:01]MH_I2C_Read... [17:05:01]Read from MH i2c: 01 07 00 29 2C 00 00 00 00 00 FF 0F 6A [17:05:01]process_action close_receipt done [17:05:01]requested_data is exist [17:05:01]produce_requested_data [17:05:01]requested_item fm.sn is exist - process it [17:05:01]wFMCommunicate request_size=4 [17:05:01]MH_SAM_APDU [17:05:01]CAPDU: 80 11 00 00 [17:05:01]Write to MH i2c: E2 08 00 2A 2C 80 11 00 00 00 00 00 00 D0 [17:05:01]Write i2c OK [17:05:01]MH_I2C_Read... [17:05:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:05:01]Read from MH i2c: E2 [17:05:01]MH_I2C_Read... [17:05:01]Read from MH i2c: E2 17 00 [17:05:01]MH_I2C_Read... [17:05:01]Read from MH i2c: E2 17 00 2A 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 2A [17:05:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [17:05:01]wFMCommunicate OK [17:05:01]requested_item fd.num is exist - process it [17:05:01]SAM_PROTO_GetFieldsCounters [17:05:01]wFMCommunicate request_size=4 [17:05:01]MH_SAM_APDU [17:05:01]CAPDU: 80 13 00 00 [17:05:01]Write to MH i2c: E2 08 00 2B 2C 80 13 00 00 00 00 00 00 D3 [17:05:01]Write i2c OK [17:05:01]MH_I2C_Read... [17:05:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:05:01]Read from MH i2c: E2 [17:05:01]MH_I2C_Read... [17:05:01]Read from MH i2c: E2 62 00 [17:05:01]MH_I2C_Read... [17:05:01]Read from MH i2c: E2 62 00 2B 2C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 EC 30 00 00 0E 04 04 00 17 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 78 [17:05:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 EC 30 00 00 0E 04 04 00 17 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 [17:05:01]wFMCommunicate OK [17:05:01]SAM_PROTO_GetFieldsCounters done [17:05:01]requested_item shift.num is exist - process it [17:05:01]requested_item shift.opened is exist - process it [17:05:01]req_shift_opened [17:05:01]FM_GetShiftState [17:05:01]SAM_PROTO_GetShiftState [17:05:01]wFMCommunicate request_size=4 [17:05:01]MH_SAM_APDU [17:05:01]CAPDU: 80 13 01 00 [17:05:01]Write to MH i2c: E2 08 00 2C 2C 80 13 01 00 00 00 00 00 D5 [17:05:01]Write i2c OK [17:05:01]MH_I2C_Read... [17:05:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:05:01]Read from MH i2c: E2 [17:05:01]MH_I2C_Read... [17:05:01]Read from MH i2c: E2 0E 00 [17:05:01]MH_I2C_Read... [17:05:01]Read from MH i2c: E2 0E 00 2C 2C 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 CB [17:05:01]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [17:05:01]wFMCommunicate OK [17:05:01]SAM_PROTO_GetShiftState done [17:05:01]FM_GetShiftState done [17:05:01]req_shift_opened done [17:05:01]requested_item shift.open_date is exist - process it [17:05:01]req_shift_open_date [17:05:01]req_shift_open_date done [17:05:01]produce_requested_data done [17:05:01]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12524,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [17:05:01]process_action_free close_receipt [17:05:01]json_value_free [17:05:01]json_value_free done [17:05:01]process_json_proto returns [17:05:01]Send response to host [17:05:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12524,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [17:05:01]free response buf [17:05:01]execute_script done [17:05:01]execute_script returns [17:05:01]free content buf [17:05:01]Sock 9.Close socket [17:05:01]Sock 9.Thread stoped [17:05:05]OFD Sender: No OFD packet to send [17:05:10]OFD Sender: No OFD packet to send [17:05:15]OFD Sender: No OFD packet to send [17:05:20]OFD Sender: No OFD packet to send [17:05:25]OFD Sender: No OFD packet to send [17:05:30]OFD Sender: No OFD packet to send [17:05:35]OFD Sender: No OFD packet to send [17:05:40]OFD Sender: No OFD packet to send [17:05:45]OFD Sender: No OFD packet to send [17:05:50]OFD Sender: No OFD packet to send [17:05:55]OFD Sender: No OFD packet to send [17:06:00]OFD Sender: No OFD packet to send [17:06:05]OFD Sender: No OFD packet to send [17:06:10]OFD Sender: No OFD packet to send [17:06:15]OFD Sender: No OFD packet to send [17:06:20]OFD Sender: No OFD packet to send [17:06:25]OFD Sender: No OFD packet to send [17:06:30]OFD Sender: No OFD packet to send [17:06:35]OFD Sender: No OFD packet to send [17:06:40]OFD Sender: No OFD packet to send [17:06:45]OFD Sender: No OFD packet to send [17:06:50]OFD Sender: No OFD packet to send [17:06:55]OFD Sender: No OFD packet to send [17:07:00]OFD Sender: No OFD packet to send [17:07:05]OFD Sender: No OFD packet to send [17:07:10]OFD Sender: No OFD packet to send [17:07:15]OFD Sender: No OFD packet to send [17:07:20]OFD Sender: No OFD packet to send [17:07:25]OFD Sender: No OFD packet to send [17:07:30]OFD Sender: No OFD packet to send [17:07:35]OFD Sender: No OFD packet to send [17:07:40]OFD Sender: No OFD packet to send [17:07:45]OFD Sender: No OFD packet to send [17:07:50]OFD Sender: No OFD packet to send [17:07:55]OFD Sender: No OFD packet to send [17:08:00]OFD Sender: No OFD packet to send [17:08:05]OFD Sender: No OFD packet to send [17:08:10]OFD Sender: No OFD packet to send [17:08:15]OFD Sender: No OFD packet to send [17:08:20]OFD Sender: No OFD packet to send [17:08:25]OFD Sender: No OFD packet to send [17:08:30]OFD Sender: No OFD packet to send [17:08:35]OFD Sender: No OFD packet to send [17:08:40]OFD Sender: No OFD packet to send [17:08:45]OFD Sender: No OFD packet to send [17:08:50]OFD Sender: No OFD packet to send [17:08:55]OFD Sender: No OFD packet to send [17:09:00]OFD Sender: No OFD packet to send [17:09:05]OFD Sender: No OFD packet to send [17:09:10]OFD Sender: No OFD packet to send [17:09:15]OFD Sender: No OFD packet to send [17:09:20]OFD Sender: No OFD packet to send [17:09:25]OFD Sender: No OFD packet to send [17:09:30]OFD Sender: No OFD packet to send [17:09:35]OFD Sender: No OFD packet to send [17:09:40]OFD Sender: No OFD packet to send [17:09:45]OFD Sender: No OFD packet to send [17:09:50]OFD Sender: No OFD packet to send [17:09:55]OFD Sender: No OFD packet to send [17:10:00]OFD Sender: No OFD packet to send [17:10:05]OFD Sender: No OFD packet to send [17:10:10]OFD Sender: No OFD packet to send [17:10:15]OFD Sender: No OFD packet to send [17:10:20]OFD Sender: No OFD packet to send [17:10:25]OFD Sender: No OFD packet to send [17:10:30]OFD Sender: No OFD packet to send [17:10:35]OFD Sender: No OFD packet to send [17:10:40]OFD Sender: No OFD packet to send [17:10:45]OFD Sender: No OFD packet to send [17:10:50]OFD Sender: No OFD packet to send [17:10:55]OFD Sender: No OFD packet to send [17:11:00]OFD Sender: No OFD packet to send [17:11:05]OFD Sender: No OFD packet to send [17:11:10]OFD Sender: No OFD packet to send [17:11:15]OFD Sender: No OFD packet to send [17:11:20]OFD Sender: No OFD packet to send [17:11:25]OFD Sender: No OFD packet to send [17:11:30]OFD Sender: No OFD packet to send [17:11:35]OFD Sender: No OFD packet to send [17:11:40]OFD Sender: No OFD packet to send [17:11:45]OFD Sender: No OFD packet to send [17:11:50]OFD Sender: No OFD packet to send [17:11:55]OFD Sender: No OFD packet to send [17:12:00]OFD Sender: No OFD packet to send [17:12:05]OFD Sender: No OFD packet to send [17:12:10]OFD Sender: No OFD packet to send [17:12:15]OFD Sender: No OFD packet to send [17:12:20]OFD Sender: No OFD packet to send [17:12:25]OFD Sender: No OFD packet to send [17:12:30]OFD Sender: No OFD packet to send [17:12:35]OFD Sender: No OFD packet to send [17:12:40]OFD Sender: No OFD packet to send [17:12:45]OFD Sender: No OFD packet to send [17:12:50]OFD Sender: No OFD packet to send [17:12:55]OFD Sender: No OFD packet to send [17:13:00]OFD Sender: No OFD packet to send [17:13:05]OFD Sender: No OFD packet to send [17:13:10]OFD Sender: No OFD packet to send [17:13:15]OFD Sender: No OFD packet to send [17:13:20]OFD Sender: No OFD packet to send [17:13:25]OFD Sender: No OFD packet to send [17:13:30]OFD Sender: No OFD packet to send [17:13:35]OFD Sender: No OFD packet to send [17:13:40]OFD Sender: No OFD packet to send [17:13:45]OFD Sender: No OFD packet to send [17:13:50]OFD Sender: No OFD packet to send [17:13:55]OFD Sender: No OFD packet to send [17:14:00]OFD Sender: No OFD packet to send [17:14:05]OFD Sender: No OFD packet to send [17:14:10]OFD Sender: No OFD packet to send [17:14:15]OFD Sender: No OFD packet to send [17:14:20]OFD Sender: No OFD packet to send [17:14:25]OFD Sender: No OFD packet to send [17:14:30]OFD Sender: No OFD packet to send [17:14:35]OFD Sender: No OFD packet to send [17:14:40]OFD Sender: No OFD packet to send [17:14:45]OFD Sender: No OFD packet to send [17:14:50]OFD Sender: No OFD packet to send [17:14:55]OFD Sender: No OFD packet to send [17:15:00]OFD Sender: No OFD packet to send [17:15:05]OFD Sender: No OFD packet to send [17:15:10]OFD Sender: No OFD packet to send [17:15:15]OFD Sender: No OFD packet to send [17:15:20]OFD Sender: No OFD packet to send [17:15:25]OFD Sender: No OFD packet to send [17:15:30]OFD Sender: No OFD packet to send [17:15:35]OFD Sender: No OFD packet to send [17:15:40]OFD Sender: No OFD packet to send [17:15:45]OFD Sender: No OFD packet to send [17:15:50]OFD Sender: No OFD packet to send [17:15:55]OFD Sender: No OFD packet to send [17:16:00]OFD Sender: No OFD packet to send [17:16:05]OFD Sender: No OFD packet to send [17:16:11]OFD Sender: No OFD packet to send [17:16:16]OFD Sender: No OFD packet to send [17:16:21]OFD Sender: No OFD packet to send [17:16:26]OFD Sender: No OFD packet to send [17:16:31]OFD Sender: No OFD packet to send [17:16:36]OFD Sender: No OFD packet to send [17:16:41]OFD Sender: No OFD packet to send [17:16:46]OFD Sender: No OFD packet to send [17:16:51]OFD Sender: No OFD packet to send [17:16:56]OFD Sender: No OFD packet to send [17:17:01]OFD Sender: No OFD packet to send [17:17:06]OFD Sender: No OFD packet to send [17:17:11]OFD Sender: No OFD packet to send [17:17:16]OFD Sender: No OFD packet to send [17:17:21]OFD Sender: No OFD packet to send [17:17:26]OFD Sender: No OFD packet to send [17:17:31]OFD Sender: No OFD packet to send [17:17:36]OFD Sender: No OFD packet to send [17:17:41]OFD Sender: No OFD packet to send [17:17:46]OFD Sender: No OFD packet to send [17:17:51]OFD Sender: No OFD packet to send [17:17:56]OFD Sender: No OFD packet to send [17:18:01]OFD Sender: No OFD packet to send [17:18:06]OFD Sender: No OFD packet to send [17:18:11]OFD Sender: No OFD packet to send [17:18:16]OFD Sender: No OFD packet to send [17:18:21]OFD Sender: No OFD packet to send [17:18:26]OFD Sender: No OFD packet to send [17:18:31]OFD Sender: No OFD packet to send [17:18:36]OFD Sender: No OFD packet to send [17:18:41]OFD Sender: No OFD packet to send [17:18:46]OFD Sender: No OFD packet to send [17:18:51]OFD Sender: No OFD packet to send [17:18:56]OFD Sender: No OFD packet to send [17:19:01]OFD Sender: No OFD packet to send [17:19:06]OFD Sender: No OFD packet to send [17:19:11]OFD Sender: No OFD packet to send [17:19:16]OFD Sender: No OFD packet to send [17:19:21]OFD Sender: No OFD packet to send [17:19:26]OFD Sender: No OFD packet to send [17:19:31]OFD Sender: No OFD packet to send [17:19:36]OFD Sender: No OFD packet to send [17:19:41]OFD Sender: No OFD packet to send [17:19:46]OFD Sender: No OFD packet to send [17:19:51]OFD Sender: No OFD packet to send [17:19:56]OFD Sender: No OFD packet to send [17:20:01]OFD Sender: No OFD packet to send [17:20:06]OFD Sender: No OFD packet to send [17:20:11]OFD Sender: No OFD packet to send [17:20:16]OFD Sender: No OFD packet to send [17:20:21]OFD Sender: No OFD packet to send [17:20:26]OFD Sender: No OFD packet to send [17:20:31]OFD Sender: No OFD packet to send [17:20:36]OFD Sender: No OFD packet to send [17:20:41]OFD Sender: No OFD packet to send [17:20:46]OFD Sender: No OFD packet to send [17:20:51]OFD Sender: No OFD packet to send [17:20:56]OFD Sender: No OFD packet to send [17:21:01]OFD Sender: No OFD packet to send [17:21:06]OFD Sender: No OFD packet to send [17:21:11]OFD Sender: No OFD packet to send [17:21:16]OFD Sender: No OFD packet to send [17:21:21]OFD Sender: No OFD packet to send [17:21:26]OFD Sender: No OFD packet to send [17:21:31]OFD Sender: No OFD packet to send [17:21:36]OFD Sender: No OFD packet to send [17:21:41]OFD Sender: No OFD packet to send [17:21:46]OFD Sender: No OFD packet to send [17:21:51]OFD Sender: No OFD packet to send [17:21:56]OFD Sender: No OFD packet to send [17:22:01]OFD Sender: No OFD packet to send [17:22:06]OFD Sender: No OFD packet to send [17:22:11]OFD Sender: No OFD packet to send [17:22:16]OFD Sender: No OFD packet to send [17:22:21]OFD Sender: No OFD packet to send [17:22:26]OFD Sender: No OFD packet to send [17:22:31]OFD Sender: No OFD packet to send [17:22:36]OFD Sender: No OFD packet to send [17:22:41]OFD Sender: No OFD packet to send [17:22:46]OFD Sender: No OFD packet to send [17:22:51]OFD Sender: No OFD packet to send [17:22:56]OFD Sender: No OFD packet to send [17:23:01]OFD Sender: No OFD packet to send [17:23:06]OFD Sender: No OFD packet to send [17:23:11]OFD Sender: No OFD packet to send [17:23:16]OFD Sender: No OFD packet to send [17:23:21]OFD Sender: No OFD packet to send [17:23:26]OFD Sender: No OFD packet to send [17:23:31]OFD Sender: No OFD packet to send [17:23:36]OFD Sender: No OFD packet to send [17:23:41]OFD Sender: No OFD packet to send [17:23:46]OFD Sender: No OFD packet to send [17:23:51]OFD Sender: No OFD packet to send [17:23:56]OFD Sender: No OFD packet to send [17:24:01]OFD Sender: No OFD packet to send [17:24:06]OFD Sender: No OFD packet to send [17:24:11]OFD Sender: No OFD packet to send [17:24:16]OFD Sender: No OFD packet to send [17:24:21]OFD Sender: No OFD packet to send [17:24:26]OFD Sender: No OFD packet to send [17:24:31]OFD Sender: No OFD packet to send [17:24:36]OFD Sender: No OFD packet to send [17:24:41]OFD Sender: No OFD packet to send [17:24:46]OFD Sender: No OFD packet to send [17:24:51]OFD Sender: No OFD packet to send [17:24:56]OFD Sender: No OFD packet to send [17:25:01]OFD Sender: No OFD packet to send [17:25:06]OFD Sender: No OFD packet to send [17:25:11]OFD Sender: No OFD packet to send [17:25:16]OFD Sender: No OFD packet to send [17:25:21]OFD Sender: No OFD packet to send [17:25:26]OFD Sender: No OFD packet to send [17:25:31]OFD Sender: No OFD packet to send [17:25:36]OFD Sender: No OFD packet to send [17:25:41]OFD Sender: No OFD packet to send [17:25:46]OFD Sender: No OFD packet to send [17:25:51]OFD Sender: No OFD packet to send [17:25:56]OFD Sender: No OFD packet to send [17:26:01]OFD Sender: No OFD packet to send [17:26:06]OFD Sender: No OFD packet to send [17:26:11]OFD Sender: No OFD packet to send [17:26:16]OFD Sender: No OFD packet to send [17:26:21]OFD Sender: No OFD packet to send [17:26:26]OFD Sender: No OFD packet to send [17:26:31]OFD Sender: No OFD packet to send [17:26:36]OFD Sender: No OFD packet to send [17:26:41]OFD Sender: No OFD packet to send [17:26:46]OFD Sender: No OFD packet to send [17:26:51]OFD Sender: No OFD packet to send [17:26:56]OFD Sender: No OFD packet to send [17:27:01]OFD Sender: No OFD packet to send [17:27:06]OFD Sender: No OFD packet to send [17:27:11]OFD Sender: No OFD packet to send [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:06]OFD Sender: No OFD packet to send [17:29:11]OFD Sender: No OFD packet to send [17:29:16]OFD Sender: No OFD packet to send [17:29:21]OFD Sender: No OFD packet to send [17:29:26]OFD Sender: No OFD packet to send [17:29:31]OFD Sender: No OFD packet to send [17:29:36]OFD Sender: No OFD packet to send [17:29:41]OFD Sender: No OFD packet to send [17:29:46]OFD Sender: No OFD packet to send [17:29:51]OFD Sender: No OFD packet to send [17:29:56]OFD Sender: No OFD packet to send [17:30:01]OFD Sender: No OFD packet to send [17:30:06]OFD Sender: No OFD packet to send [17:30:11]OFD Sender: No OFD packet to send [17:30:16]OFD Sender: No OFD packet to send [17:30:21]OFD Sender: No OFD packet to send [17:30:26]OFD Sender: No OFD packet to send [17:30:31]OFD Sender: No OFD packet to send [17:30:36]OFD Sender: No OFD packet to send [17:30:41]OFD Sender: No OFD packet to send [17:30:46]OFD Sender: No OFD packet to send [17:30:51]OFD Sender: No OFD packet to send [17:30:56]OFD Sender: No OFD packet to send [17:31:01]OFD Sender: No OFD packet to send [17:31:06]OFD Sender: No OFD packet to send [17:31:11]OFD Sender: No OFD packet to send [17:31:16]OFD Sender: No OFD packet to send [17:31:21]OFD Sender: No OFD packet to send [17:31:26]OFD Sender: No OFD packet to send [17:31:31]OFD Sender: No OFD packet to send [17:31:36]OFD Sender: No OFD packet to send [17:31:41]OFD Sender: No OFD packet to send [17:31:46]OFD Sender: No OFD packet to send [17:31:51]OFD Sender: No OFD packet to send [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:36]OFD Sender: No OFD packet to send [17:35:41]OFD Sender: No OFD packet to send [17:35:46]OFD Sender: No OFD packet to send [17:35:51]OFD Sender: No OFD packet to send [17:35:56]OFD Sender: No OFD packet to send [17:36:01]OFD Sender: No OFD packet to send [17:36:06]OFD Sender: No OFD packet to send [17:36:11]OFD Sender: No OFD packet to send [17:36:16]OFD Sender: No OFD packet to send [17:36:21]OFD Sender: No OFD packet to send [17:36:26]OFD Sender: No OFD packet to send [17:36:31]OFD Sender: No OFD packet to send [17:36:36]OFD Sender: No OFD packet to send [17:36:41]OFD Sender: No OFD packet to send [17:36:46]OFD Sender: No OFD packet to send [17:36:51]OFD Sender: No OFD packet to send [17:36:56]OFD Sender: No OFD packet to send [17:37:01]OFD Sender: No OFD packet to send [17:37:06]OFD Sender: No OFD packet to send [17:37:11]OFD Sender: No OFD packet to send [17:37:16]OFD Sender: No OFD packet to send [17:37:21]OFD Sender: No OFD packet to send [17:37:26]OFD Sender: No OFD packet to send [17:37:32]OFD Sender: No OFD packet to send [17:37:37]OFD Sender: No OFD packet to send [17:37:42]OFD Sender: No OFD packet to send [17:37:47]OFD Sender: No OFD packet to send [17:37:52]OFD Sender: No OFD packet to send [17:37:57]OFD Sender: No OFD packet to send [17:38:02]OFD Sender: No OFD packet to send [17:38:07]OFD Sender: No OFD packet to send [17:38:12]OFD Sender: No OFD packet to send [17:38:17]OFD Sender: No OFD packet to send [17:38:22]OFD Sender: No OFD packet to send [17:38:27]OFD Sender: No OFD packet to send [17:38:32]OFD Sender: No OFD packet to send [17:38:37]OFD Sender: No OFD packet to send [17:38:42]OFD Sender: No OFD packet to send [17:38:47]OFD Sender: No OFD packet to send [17:38:52]OFD Sender: No OFD packet to send [17:38:57]OFD Sender: No OFD packet to send [17:39:02]OFD Sender: No OFD packet to send [17:39:07]OFD Sender: No OFD packet to send [17:39:12]OFD Sender: No OFD packet to send [17:39:17]OFD Sender: No OFD packet to send [17:39:22]OFD Sender: No OFD packet to send [17:39:27]OFD Sender: No OFD packet to send [17:39: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: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:22]OFD Sender: No OFD packet to send [17:40:27]OFD Sender: No OFD packet to send [17:40:32]OFD Sender: No OFD packet to send [17:40:37]OFD Sender: No OFD packet to send [17:40:42]OFD Sender: No OFD packet to send [17:40:47]OFD Sender: No OFD packet to send [17:40:52]OFD Sender: No OFD packet to send [17:40:57]OFD Sender: No OFD packet to send [17:41:02]OFD Sender: No OFD packet to send [17:41:07]OFD Sender: No OFD packet to send [17:41:12]OFD Sender: No OFD packet to send [17:41:17]OFD Sender: No OFD packet to send [17:41:22]OFD Sender: No OFD packet to send [17:41:27]OFD Sender: No OFD packet to send [17:41:32]OFD Sender: No OFD packet to send [17:41:37]OFD Sender: No OFD packet to send [17:41:42]OFD Sender: No OFD packet to send [17:41:47]OFD Sender: No OFD packet to send [17:41:52]OFD Sender: No OFD packet to send [17:41:57]OFD Sender: No OFD packet to send [17:42:02]OFD Sender: No OFD packet to send [17:42:07]OFD Sender: No OFD packet to send [17:42:12]OFD Sender: No OFD packet to send [17:42:17]OFD Sender: No OFD packet to send [17:42:22]OFD Sender: No OFD packet to send [17:42:27]OFD Sender: No OFD packet to send [17:42:32]OFD Sender: No OFD packet to send [17:42:37]OFD Sender: No OFD packet to send [17:42:42]OFD Sender: No OFD packet to send [17:42:47]OFD Sender: No OFD packet to send [17:42:52]OFD Sender: No OFD packet to send [17:42:57]OFD Sender: No OFD packet to send [17:43:02]OFD Sender: No OFD packet to send [17:43:07]OFD Sender: No OFD packet to send [17:43:12]OFD Sender: No OFD packet to send [17:43:17]OFD Sender: No OFD packet to send [17:43:22]OFD Sender: No OFD packet to send [17:43:27]OFD Sender: No OFD packet to send [17:43:32]OFD Sender: No OFD packet to send [17:43:37]OFD Sender: No OFD packet to send [17:43:42]OFD Sender: No OFD packet to send [17:43:47]OFD Sender: No OFD packet to send [17:43:52]OFD Sender: No OFD packet to send [17:43:57]OFD Sender: No OFD packet to send [17:44:02]OFD Sender: No OFD packet to send [17:44:07]OFD Sender: No OFD packet to send [17:44:12]OFD Sender: No OFD packet to send [17:44:17]OFD Sender: No OFD packet to send [17:44:22]OFD Sender: No OFD packet to send [17:44:27]OFD Sender: No OFD packet to send [17:44:32]OFD Sender: No OFD packet to send [17:44:37]OFD Sender: No OFD packet to send [17:44:42]OFD Sender: No OFD packet to send [17:44:47]OFD Sender: No OFD packet to send [17:44:52]OFD Sender: No OFD packet to send [17:44:57]OFD Sender: No OFD packet to send [17:45:02]OFD Sender: No OFD packet to send [17:45:07]OFD Sender: No OFD packet to send [17:45:12]OFD Sender: No OFD packet to send [17:45:17]OFD Sender: No OFD packet to send [17:45:22]OFD Sender: No OFD packet to send [17:45:27]OFD Sender: No OFD packet to send [17:45:32]OFD Sender: No OFD packet to send [17:45:37]OFD Sender: No OFD packet to send [17:45:42]OFD Sender: No OFD packet to send [17:45:47]OFD Sender: No OFD packet to send [17:45:52]OFD Sender: No OFD packet to send [17:45:57]OFD Sender: No OFD packet to send [17:46:02]OFD Sender: No OFD packet to send [17:46:07]OFD Sender: No OFD packet to send [17:46:12]OFD Sender: No OFD packet to send [17:46:17]OFD Sender: No OFD packet to send [17:46:22]OFD Sender: No OFD packet to send [17:46:27]OFD Sender: No OFD packet to send [17:46:32]OFD Sender: No OFD packet to send [17:46:37]OFD Sender: No OFD packet to send [17:46:42]OFD Sender: No OFD packet to send [17:46:47]OFD Sender: No OFD packet to send [17:46:52]OFD Sender: No OFD packet to send [17:46:57]OFD Sender: No OFD packet to send [17:47:02]OFD Sender: No OFD packet to send [17:47:07]OFD Sender: No OFD packet to send [17:47:12]OFD Sender: No OFD packet to send [17:47:17]OFD Sender: No OFD packet to send [17:47:22]OFD Sender: No OFD packet to send [17:47:27]OFD Sender: No OFD packet to send [17:47:32]OFD Sender: No OFD packet to send [17:47:37]OFD Sender: No OFD packet to send [17:47:42]OFD Sender: No OFD packet to send [17:47:47]OFD Sender: No OFD packet to send [17:47:52]OFD Sender: No OFD packet to send [17:47:57]OFD Sender: No OFD packet to send [17:48:02]OFD Sender: No OFD packet to send [17:48:07]OFD Sender: No OFD packet to send [17:48:12]OFD Sender: No OFD packet to send [17:48:17]OFD Sender: No OFD packet to send [17:48:22]OFD Sender: No OFD packet to send [17:48:27]OFD Sender: No OFD packet to send [17:48:32]OFD Sender: No OFD packet to send [17:48:37]OFD Sender: No OFD packet to send [17:48:42]OFD Sender: No OFD packet to send [17:48:47]OFD Sender: No OFD packet to send [17:48:52]OFD Sender: No OFD packet to send [17:48:57]OFD Sender: No OFD packet to send [17:49:02]OFD Sender: No OFD packet to send [17:49:07]OFD Sender: No OFD packet to send [17:49:12]OFD Sender: No OFD packet to send [17:49:17]OFD Sender: No OFD packet to send [17:49:22]OFD Sender: No OFD packet to send [17:49:27]OFD Sender: No OFD packet to send [17:49:32]OFD Sender: No OFD packet to send [17:49:37]OFD Sender: No OFD packet to send [17:49:42]OFD Sender: No OFD packet to send [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:42]OFD Sender: No OFD packet to send [17:51:47]OFD Sender: No OFD packet to send [17:51:52]OFD Sender: No OFD packet to send [17:51:57]OFD Sender: No OFD packet to send [17:52:02]OFD Sender: No OFD packet to send [17:52:07]OFD Sender: No OFD packet to send [17:52:12]OFD Sender: No OFD packet to send [17:52:16]accept exits with 8 [17:52:16]New connection [17:52:16]New thread 3067100516 created [17:52:16]Thread 3067243876 joined [17:52:16]Waiting for new connection... [17:52:16] Sock 8.Parse request [17:52:16]Sock 8.Check first char [17:52:16]Sock 8.First char is OK [17:52:16]request: POST /json_proto HTTP/1.0 [17:52:16]Method: POST [17:52:16]URL: /json_proto [17:52:16]Method is POST - this is cgi request [17:52:16]url: /json_proto [17:52:16]query_string will be loaded in cgi processing [17:52:16]execute_cgi json_proto POST (null) [17:52:16]execute_cgi path=json_proto method=POST [17:52:16]POST find Content-Length [17:52:16]Host: 172.17.62.6:8080 [17:52:16]Content-Length: 667 [17:52:16]Content-Type: application/json [17:52:16] [17:52:16]POST finish read [17:52:16]Found Content-Length = 667 [17:52:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32800", "tax_sys" : 0, "items" : [ { "code": "4870002329951", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u0437\u0435\u043B \u0447\u0430\u0439 Regular", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:52:16]execute_script... [17:52:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32800", "tax_sys" : 0, "items" : [ { "code": "4870002329951", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u0437\u0435\u043B \u0447\u0430\u0439 Regular", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:52:16]POST & json_proto [17:52:16]process_json_proto [17:52:16]json parsed OK: [17:52:16]protocol is kg_v1.0 [17:52:16]action value=close_receipt [17:52:16]process_action close_receipt [17:52:16]cmd_close_receipt [17:52:16]MH_GetDate [17:52:16]Write to MH i2c: F0 00 00 2D 2C 48 [17:52:16]Write i2c OK [17:52:16]MH_I2C_Read... [17:52:16]Read from MH i2c: F0 [17:52:16]MH_I2C_Read... [17:52:16]Read from MH i2c: F0 09 00 [17:52:16]MH_I2C_Read... [17:52:16]Read from MH i2c: F0 09 00 2D 2C 00 61 AF 22 66 61 69 D2 64 E9 [17:52:16]GetLastDocTimeStamp 1713546314 [17:52:16]current date 1713549153 [17:52:16]FM_GetShiftState [17:52:16]SAM_PROTO_GetShiftState [17:52:16]wFMCommunicate request_size=4 [17:52:16]MH_SAM_APDU [17:52:16]CAPDU: 80 13 01 00 [17:52:16]Write to MH i2c: E2 08 00 2E 2C 80 13 01 00 00 00 00 00 D7 [17:52:16]Write i2c OK [17:52:16]MH_I2C_Read... [17:52:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:52:16]Read from MH i2c: E2 [17:52:16]MH_I2C_Read... [17:52:16]Read from MH i2c: E2 0E 00 [17:52:16]MH_I2C_Read... [17:52:16]Read from MH i2c: E2 0E 00 2E 2C 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 CD [17:52:16]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [17:52:16]wFMCommunicate OK [17:52:16]SAM_PROTO_GetShiftState done [17:52:16]FM_GetShiftState done [17:52:16]opened in 1713485995 [17:52:16]opened+sec_in_day 1713572395 [17:52:16]quantity*price = 11000 [17:52:16]sum+1 = 11001 [17:52:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 27 19.04.2024 17:52 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12525 ФПД: 78086143904753 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T175233&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12525&fm=78086143904753&tin=02508201610067®Number=0000000000100748&sum=11000 0 [17:52:17]StoreToDocumentArchive [17:52:17]shift 279 fd 12525 [17:52:17]save to /storage/0279/doc_00012525 [17:52:17]save last doc name /storage/0279/doc_00012525 to /storage/kkm_last_doc_name [17:52:17]save OK [17:52:17]Clear old archive folders... [17:52:17]ProcessDocumentItem done err = 0, tmpTLVsize=296 [17:52:17]tlvbuf is 01D26D80 [17:52:17]SAM_PROTO_ClearQueue [17:52:17]wFMCommunicate request_size=4 [17:52:17]MH_SAM_APDU [17:52:17]CAPDU: 80 09 00 00 [17:52:17]Write to MH i2c: E2 08 00 3B 2C 80 09 00 00 00 00 00 00 D9 [17:52:17]Write i2c OK [17:52:17]MH_I2C_Read... [17:52:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:52:17]Read from MH i2c: E2 [17:52:17]MH_I2C_Read... [17:52:17]Read from MH i2c: E2 03 00 [17:52:17]MH_I2C_Read... [17:52:17]Read from MH i2c: E2 03 00 3B 2C 00 90 00 DB [17:52:17]RAPDU: 90 00 [17:52:17]wFMCommunicate OK [17:52:17]SAM_PROTO_ClearQueue done [17:52:17]KKMCreateOFDPacket [17:52:17]OFDProtocolAddRootSTLVToBuf [17:52:17]FM_MakeSignedData [17:52:17]FM_MakeSignedData [17:52:17]SAM_PROTO_SignData [17:52:17]wFMCommunicate request_size=4 [17:52:17]MH_SAM_APDU [17:52:17]CAPDU: 80 0D 01 02 [17:52:17]Write to MH i2c: E2 08 00 3C 2C 80 0D 01 02 00 00 00 00 E1 [17:52:17]Write i2c OK [17:52:17]MH_I2C_Read... [17:52:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:52:17]Read from MH i2c: E2 [17:52:17]MH_I2C_Read... [17:52:17]Read from MH i2c: E2 03 00 [17:52:17]MH_I2C_Read... [17:52:17]Read from MH i2c: E2 03 00 3C 2C 00 90 00 DC [17:52:17]RAPDU: 90 00 [17:52:17]wFMCommunicate OK [17:52:17]wFMCommunicate request_size=255 [17:52:17]MH_SAM_APDU [17:52:17]CAPDU: 80 0D 02 02 FA 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 61 AF 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [17:52:17]Write to MH i2c: E2 02 01 3D 2C 80 0D 02 02 FA 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 61 AF 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 3B [17:52:17]Write i2c OK [17:52:17]MH_I2C_Read... [17:52:17]OFD Sender: No OFD packet to send [17:52:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:52:17]Read from MH i2c: E2 [17:52:17]MH_I2C_Read... [17:52:17]Read from MH i2c: E2 03 00 [17:52:17]MH_I2C_Read... [17:52:17]Read from MH i2c: E2 03 00 3D 2C 00 90 00 DD [17:52:17]RAPDU: 90 00 [17:52:17]wFMCommunicate OK [17:52:17]wFMCommunicate request_size=55 [17:52:17]MH_SAM_APDU [17:52:17]CAPDU: 80 0D 02 02 32 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 ED 30 00 00 35 04 06 00 47 04 D8 DE 8B F1 [17:52:17]Write to MH i2c: E2 3A 00 3E 2C 80 0D 02 02 32 00 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 ED 30 00 00 35 04 06 00 47 04 D8 DE 8B F1 00 00 D9 [17:52:17]Write i2c OK [17:52:17]MH_I2C_Read... [17:52:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:52:17]Read from MH i2c: E2 [17:52:17]MH_I2C_Read... [17:52:17]Read from MH i2c: E2 03 00 [17:52:17]MH_I2C_Read... [17:52:17]Read from MH i2c: E2 03 00 3E 2C 00 90 00 DE [17:52:17]RAPDU: 90 00 [17:52:17]wFMCommunicate OK [17:52:17]wFMCommunicate request_size=4 [17:52:17]MH_SAM_APDU [17:52:17]CAPDU: 80 0D 03 02 [17:52:17]Write to MH i2c: E2 08 00 3F 2C 80 0D 03 02 00 00 00 00 E6 [17:52:17]Write i2c OK [17:52:17]MH_I2C_Read... [17:52:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:52:17]Read from MH i2c: E2 [17:52:17]MH_I2C_Read... [17:52:17]Read from MH i2c: E2 0B 00 [17:52:17]MH_I2C_Read... [17:52:17]Read from MH i2c: E2 0B 00 3F 2C 00 7D 97 BD FF DD 9B 28 17 90 00 6E [17:52:17]RAPDU: 7D 97 BD FF DD 9B 28 17 90 00 [17:52:17]wFMCommunicate OK [17:52:17]SAM_PROTO_SignData done [17:52:17]FM_MakeSignedData done [17:52:17]CreateOFDProtocolMessage [17:52:17]wFMCommunicate request_size=4 [17:52:17]MH_SAM_APDU [17:52:17]CAPDU: 80 11 00 00 [17:52:17]Write to MH i2c: E2 08 00 40 2C 80 11 00 00 00 00 00 00 E6 [17:52:17]Write i2c OK [17:52:17]MH_I2C_Read... [17:52:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:52:18]Read from MH i2c: E2 [17:52:18]MH_I2C_Read... [17:52:18]Read from MH i2c: E2 17 00 [17:52:18]MH_I2C_Read... [17:52:18]Read from MH i2c: E2 17 00 40 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 40 [17:52:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [17:52:18]wFMCommunicate OK [17:52:18]CreateOFDProtocolMessage done [17:52:18]OFDSenderStorePacket 12525 [17:52:18]StoreOFDPacket docnum=12525 [17:52:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 3C 01 00 00 34 CF 34 01 B9 C2 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 61 AF 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 ED 30 00 00 35 04 06 00 47 04 D8 DE 8B F1 7D 97 BD FF DD 9B 28 17 [17:52:18]CheckFolder [17:52:18]dirname=/storage/ofd_packets [17:52:18]CheckFolder done [17:52:18]ProducePacketName [17:52:18]name=ofd_packets/00012525 [17:52:18]NVStorageSaveData ofd_packets/00012525 [17:52:18]File name is /storage/ofd_packets/00012525 [17:52:18]Write 346 bytes [17:52:18]NVStorageSaveData done [17:52:18]OFDSenderStorePacket done [17:52:18]KKMCreateOFDPacket done [17:52:18]NVStorageSaveData kkm_last_timestamp [17:52:18]File name is /storage/kkm_last_timestamp [17:52:18]Write 4 bytes [17:52:18]NVStorageSaveData done [17:52:18]ExternCall_PrintAddStr [17:52:18]wPrintStart [17:52:18]Write to MH i2c: 01 00 00 41 2C 6D [17:52:18]Write i2c OK [17:52:18]MH_I2C_Read... [17:52:18]Read from MH i2c: 01 [17:52:18]MH_I2C_Read... [17:52:18]Read from MH i2c: 01 07 00 [17:52:18]MH_I2C_Read... [17:52:18]Read from MH i2c: 01 07 00 41 2C 00 00 00 00 00 FF 0F 82 [17:52:18]RasterBufferAndPrint [17:52:18]line Счет N : (3)32800 [17:52:18]line ИНН: 02508201610067 [17:52:18]line Контрольно-Кассовый Чек [17:52:18]line ПРОДАЖА [17:52:18]line Товар: 4870002329951 [17:52:18]line Напиток Lipton IceTea 1л зел чай Regular [17:52:18]line 1.000 * 110.00 [17:52:18]line = 110.00 [17:52:18]line НДС 12% НСП 1% [17:52:18]line > о реализуемом товаре [17:52:18]line ИТОГО: 110.00 [17:52:18]line НСП 1% : 0.97 [17:52:18]line НДС 12% : 11.68 [17:52:18]line Наличными: 110.00 [17:52:18]line Безнал.: 0.00 [17:52:18]line Место: АЗС № 106 "Партнер Нефть" [17:52:18]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [17:52:18]line СНО: Общий режим [17:52:18]line Чек 27 19.04.2024 17:52 [17:52:18]line Смена: 279 ФФД: 1.0 [17:52:18]line ЗНМ: 0300000004 [17:52:18]line РНМ: 0000000000100748 [17:52:18]line Версия ККМ: 001 [17:52:18]line ФМ: 0000000000965685 [17:52:18]line ФД: 12525 [17:52:18]line ФПД: 78086143904753 [17:52:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T175233&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12525&fm=78086143904753&tin=02508201610067®Number=0000000000100748&sum=11000 [17:52:18]line 0 [17:52:18]OFD Sender: Processing packet 12525 [packets to send 7, broken 6] [17:52:18]ProducePacketName [17:52:18]name=ofd_packets/00012525 [17:52:18]OFD Sender: To server: pG, [17:52:18]CommunicateWithHost lk.salyk.kg:30040 [17:52:18]ConnectInit lk.salyk.kg [17:52:18]written 0, free lines is 4095 [17:52:18]Connected sock=10 [17:52:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 3C 01 00 00 34 CF 34 01 B9 C2 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 61 AF 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 ED 30 00 00 35 04 06 00 47 04 D8 DE 8B F1 7D 97 BD FF DD 9B 28 17 [17:52:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 0E A9 47 00 65 A2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 36 38 35 10 04 04 00 ED 30 00 00 F4 03 04 00 E8 57 22 66 B6 04 01 00 00 6C 05 AB 28 FC C6 D7 77 [17:52:18]CommunicateWithHost err = 0 [17:52:18]CheckOFDResponse [17:52:18]1017 (14) - 77093643461234 [17:52:18]1041 (16) - 0000000000965685 [17:52:18]1040 (4) - 12525 [17:52:18]1012 (4) - 19.04.2024 11:39 [17:52:18]1206 (1) - 0 [17:52:18]OFD Sender: Remove packet 12525 [17:52:18]ProducePacketName [17:52:18]name=ofd_packets/00012525 [17:52:18]NVStorageDeleteData [17:52:18]Write to MH i2c: 01 00 00 69 2C 95 [17:52:18]Write i2c OK [17:52:18]MH_I2C_Read... [17:52:18]Read from MH i2c: 01 [17:52:18]MH_I2C_Read... [17:52:18]Read from MH i2c: 01 07 00 [17:52:18]MH_I2C_Read... [17:52:18]Read from MH i2c: 01 07 00 69 2C 00 00 00 00 00 FF 0C A7 [17:52:18]RasterBufferAndPrint [17:52:18]line [17:52:18]line [17:52:18]line [17:52:18]line [17:52:18]line [17:52:18]written 0, free lines is 3333 [17:52:18]MH_Cut [17:52:18]Write to MH i2c: D1 01 00 70 2C 01 6E [17:52:18]Write i2c OK [17:52:18]MH_I2C_Read... [17:52:18]Read from MH i2c: D1 [17:52:18]MH_I2C_Read... [17:52:18]Read from MH i2c: D1 01 00 [17:52:18]MH_I2C_Read... [17:52:18]Read from MH i2c: D1 01 00 70 2C 00 6D [17:52:18]Write to MH i2c: 01 00 00 71 2C 9D [17:52:18]Write i2c OK [17:52:18]MH_I2C_Read... [17:52:19]OFD Sender: No OFD packet to send [17:52:19]*** Cut start [17:52:19]*** Partial cut [17:52:19]*** CUTSNS_PIN = 1 [17:52:19]*** CUTSNS_PIN = 0 [17:52:19]*** Brake cut motor [17:52:20]Read from MH i2c: 01 [17:52:20]MH_I2C_Read... [17:52:20]*** Stop cut motor [17:52:20]*** Cut end [17:52:20]Read from MH i2c: 01 07 00 [17:52:20]MH_I2C_Read... [17:52:20]Read from MH i2c: 01 07 00 71 2C 00 00 00 00 00 FF 0F B2 [17:52:20]process_action close_receipt done [17:52:20]requested_data is exist [17:52:20]produce_requested_data [17:52:20]requested_item fm.sn is exist - process it [17:52:20]wFMCommunicate request_size=4 [17:52:20]MH_SAM_APDU [17:52:20]CAPDU: 80 11 00 00 [17:52:20]Write to MH i2c: E2 08 00 72 2C 80 11 00 00 00 00 00 00 18 [17:52:20]Write i2c OK [17:52:20]MH_I2C_Read... [17:52:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:52:20]Read from MH i2c: E2 [17:52:20]MH_I2C_Read... [17:52:20]Read from MH i2c: E2 17 00 [17:52:20]MH_I2C_Read... [17:52:20]Read from MH i2c: E2 17 00 72 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 72 [17:52:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [17:52:20]wFMCommunicate OK [17:52:20]requested_item fd.num is exist - process it [17:52:20]SAM_PROTO_GetFieldsCounters [17:52:20]wFMCommunicate request_size=4 [17:52:20]MH_SAM_APDU [17:52:20]CAPDU: 80 13 00 00 [17:52:20]Write to MH i2c: E2 08 00 73 2C 80 13 00 00 00 00 00 00 1B [17:52:20]Write i2c OK [17:52:20]MH_I2C_Read... [17:52:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:52:20]Read from MH i2c: E2 [17:52:20]MH_I2C_Read... [17:52:20]Read from MH i2c: E2 62 00 [17:52:20]MH_I2C_Read... [17:52:20]Read from MH i2c: E2 62 00 73 2C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 ED 30 00 00 0E 04 04 00 17 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 C4 [17:52:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 ED 30 00 00 0E 04 04 00 17 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 [17:52:20]wFMCommunicate OK [17:52:20]SAM_PROTO_GetFieldsCounters done [17:52:20]requested_item shift.num is exist - process it [17:52:20]requested_item shift.opened is exist - process it [17:52:20]req_shift_opened [17:52:20]FM_GetShiftState [17:52:20]SAM_PROTO_GetShiftState [17:52:20]wFMCommunicate request_size=4 [17:52:20]MH_SAM_APDU [17:52:20]CAPDU: 80 13 01 00 [17:52:20]Write to MH i2c: E2 08 00 74 2C 80 13 01 00 00 00 00 00 1D [17:52:20]Write i2c OK [17:52:20]MH_I2C_Read... [17:52:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:52:20]Read from MH i2c: E2 [17:52:20]MH_I2C_Read... [17:52:20]Read from MH i2c: E2 0E 00 [17:52:20]MH_I2C_Read... [17:52:20]Read from MH i2c: E2 0E 00 74 2C 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 13 [17:52:20]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [17:52:20]wFMCommunicate OK [17:52:20]SAM_PROTO_GetShiftState done [17:52:20]FM_GetShiftState done [17:52:20]req_shift_opened done [17:52:20]requested_item shift.open_date is exist - process it [17:52:20]req_shift_open_date [17:52:20]req_shift_open_date done [17:52:20]produce_requested_data done [17:52:20]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12525,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [17:52:20]process_action_free close_receipt [17:52:20]json_value_free [17:52:20]json_value_free done [17:52:20]process_json_proto returns [17:52:20]Send response to host [17:52:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12525,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [17:52:20]free response buf [17:52:20]execute_script done [17:52:20]execute_script returns [17:52:20]free content buf [17:52:20]Sock 8.Close socket [17:52:20]Sock 8.Thread stoped [17:52:24]OFD Sender: No OFD packet to send [17:52:29]OFD Sender: No OFD packet to send [17:52:34]OFD Sender: No OFD packet to send [17:52:39]OFD Sender: No OFD packet to send [17:52:44]OFD Sender: No OFD packet to send [17:52:49]OFD Sender: No OFD packet to send [17:52:54]OFD Sender: No OFD packet to send [17:52:59]OFD Sender: No OFD packet to send [17:53:04]OFD Sender: No OFD packet to send [17:53:09]OFD Sender: No OFD packet to send [17:53:14]OFD Sender: No OFD packet to send [17:53:19]OFD Sender: No OFD packet to send [17:53:24]OFD Sender: No OFD packet to send [17:53:29]OFD Sender: No OFD packet to send [17:53:34]OFD Sender: No OFD packet to send [17:53:39]OFD Sender: No OFD packet to send [17:53:44]OFD Sender: No OFD packet to send [17:53:49]OFD Sender: No OFD packet to send [17:53:54]OFD Sender: No OFD packet to send [17:53:59]OFD Sender: No OFD packet to send [17:54:04]OFD Sender: No OFD packet to send [17:54:09]OFD Sender: No OFD packet to send [17:54:14]OFD Sender: No OFD packet to send [17:54:19]OFD Sender: No OFD packet to send [17:54:24]OFD Sender: No OFD packet to send [17:54:29]OFD Sender: No OFD packet to send [17:54:34]OFD Sender: No OFD packet to send [17:54:39]OFD Sender: No OFD packet to send [17:54:44]OFD Sender: No OFD packet to send [17:54:49]OFD Sender: No OFD packet to send [17:54:54]OFD Sender: No OFD packet to send [17:54:59]OFD Sender: No OFD packet to send [17:55:04]OFD Sender: No OFD packet to send [17:55:09]OFD Sender: No OFD packet to send [17:55:14]OFD Sender: No OFD packet to send [17:55:19]OFD Sender: No OFD packet to send [17:55:24]OFD Sender: No OFD packet to send [17:55:29]OFD Sender: No OFD packet to send [17:55:34]OFD Sender: No OFD packet to send [17:55:39]OFD Sender: No OFD packet to send [17:55:44]OFD Sender: No OFD packet to send [17:55:49]OFD Sender: No OFD packet to send [17:55:54]OFD Sender: No OFD packet to send [17:55:59]OFD Sender: No OFD packet to send [17:56:04]OFD Sender: No OFD packet to send [17:56:09]OFD Sender: No OFD packet to send [17:56:14]OFD Sender: No OFD packet to send [17:56:19]OFD Sender: No OFD packet to send [17:56:24]OFD Sender: No OFD packet to send [17:56:29]OFD Sender: No OFD packet to send [17:56:34]OFD Sender: No OFD packet to send [17:56:39]OFD Sender: No OFD packet to send [17:56:44]OFD Sender: No OFD packet to send [17:56:49]OFD Sender: No OFD packet to send [17:56:54]OFD Sender: No OFD packet to send [17:56:59]OFD Sender: No OFD packet to send [17:57:04]OFD Sender: No OFD packet to send [17:57:09]OFD Sender: No OFD packet to send [17:57:14]OFD Sender: No OFD packet to send [17:57:19]OFD Sender: No OFD packet to send [17:57:24]OFD Sender: No OFD packet to send [17:57:29]OFD Sender: No OFD packet to send [17:57:34]OFD Sender: No OFD packet to send [17:57:39]OFD Sender: No OFD packet to send [17:57:44]OFD Sender: No OFD packet to send [17:57:49]OFD Sender: No OFD packet to send [17:57:54]OFD Sender: No OFD packet to send [17:57:59]OFD Sender: No OFD packet to send [17:58:04]OFD Sender: No OFD packet to send [17:58:09]OFD Sender: No OFD packet to send [17:58:14]OFD Sender: No OFD packet to send [17:58:19]OFD Sender: No OFD packet to send [17:58:24]OFD Sender: No OFD packet to send [17:58:29]OFD Sender: No OFD packet to send [17:58:34]OFD Sender: No OFD packet to send [17:58:39]OFD Sender: No OFD packet to send [17:58:44]OFD Sender: No OFD packet to send [17:58:49]OFD Sender: No OFD packet to send [17:58:54]OFD Sender: No OFD packet to send [17:58:59]OFD Sender: No OFD packet to send [17:59:04]OFD Sender: No OFD packet to send [17:59:09]OFD Sender: No OFD packet to send [17:59:14]OFD Sender: No OFD packet to send [17:59:19]OFD Sender: No OFD packet to send [17:59:24]OFD Sender: No OFD packet to send [17:59:29]OFD Sender: No OFD packet to send [17:59:34]OFD Sender: No OFD packet to send [17:59:39]OFD Sender: No OFD packet to send [17:59:44]OFD Sender: No OFD packet to send [17:59:49]OFD Sender: No OFD packet to send [17:59:54]OFD Sender: No OFD packet to send [17:59:59]OFD Sender: No OFD packet to send [18:00:04]OFD Sender: No OFD packet to send [18:00:09]OFD Sender: No OFD packet to send [18:00:14]OFD Sender: No OFD packet to send [18:00:19]OFD Sender: No OFD packet to send [18:00:24]OFD Sender: No OFD packet to send [18:00:29]OFD Sender: No OFD packet to send [18:00:34]OFD Sender: No OFD packet to send [18:00:39]OFD Sender: No OFD packet to send [18:00:44]OFD Sender: No OFD packet to send [18:00:49]OFD Sender: No OFD packet to send [18:00:54]OFD Sender: No OFD packet to send [18:00:59]OFD Sender: No OFD packet to send [18:01:04]OFD Sender: No OFD packet to send [18:01:09]OFD Sender: No OFD packet to send [18:01:14]OFD Sender: No OFD packet to send [18:01:19]OFD Sender: No OFD packet to send [18:01:24]accept exits with 9 [18:01:24]New connection [18:01:24]New thread 3067243876 created [18:01:24]Thread 3067100516 joined [18:01:24]Waiting for new connection... [18:01:24] Sock 9.Parse request [18:01:24]Sock 9.Check first char [18:01:24]Sock 9.First char is OK [18:01:24]request: POST /json_proto HTTP/1.0 [18:01:24]Method: POST [18:01:24]URL: /json_proto [18:01:24]Method is POST - this is cgi request [18:01:24]url: /json_proto [18:01:24]query_string will be loaded in cgi processing [18:01:24]execute_cgi json_proto POST (null) [18:01:24]execute_cgi path=json_proto method=POST [18:01:24]POST find Content-Length [18:01:24]Host: 172.17.62.6:8080 [18:01:24]Content-Length: 682 [18:01:24]Content-Type: application/json [18:01:24] [18:01:24]POST finish read [18:01:24]Found Content-Length = 682 [18:01:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)190984", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.40, "quantity" : 23.300, "sum" : 1500.52, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:01:24]execute_script... [18: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 : (1)190984", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 64.40, "quantity" : 23.300, "sum" : 1500.52, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1500.00, "total" : 1500.00, "payments": [ { "type": 0, "sum" : 1500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:01:24]POST & json_proto [18:01:24]process_json_proto [18:01:24]json parsed OK: [18:01:24]protocol is kg_v1.0 [18:01:24]action value=close_receipt [18:01:24]process_action close_receipt [18:01:24]cmd_close_receipt [18:01:24]MH_GetDate [18:01:24]Write to MH i2c: F0 00 00 75 2C 90 [18:01:24]Write i2c OK [18:01:24]MH_I2C_Read... [18:01:24]Read from MH i2c: F0 [18:01:24]MH_I2C_Read... [18:01:24]Read from MH i2c: F0 09 00 [18:01:24]MH_I2C_Read... [18:01:24]Read from MH i2c: F0 09 00 75 2C 00 85 B1 22 66 61 69 D2 64 57 [18:01:24]GetLastDocTimeStamp 1713549153 [18:01:24]current date 1713549701 [18:01:24]FM_GetShiftState [18:01:24]SAM_PROTO_GetShiftState [18:01:24]wFMCommunicate request_size=4 [18:01:24]MH_SAM_APDU [18:01:24]CAPDU: 80 13 01 00 [18:01:24]Write to MH i2c: E2 08 00 76 2C 80 13 01 00 00 00 00 00 1F [18:01:24]Write i2c OK [18:01:24]MH_I2C_Read... [18:01:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:01:24]Read from MH i2c: E2 [18:01:24]MH_I2C_Read... [18:01:24]Read from MH i2c: E2 0E 00 [18:01:24]MH_I2C_Read... [18:01:24]Read from MH i2c: E2 0E 00 76 2C 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 15 [18:01:24]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [18:01:24]wFMCommunicate OK [18:01:24]SAM_PROTO_GetShiftState done [18:01:24]FM_GetShiftState done [18:01:24]opened in 1713485995 [18:01:24]opened+sec_in_day 1713572395 [18:01:24]quantity*price = 150052 [18:01:24]sum+1 = 150053 [18:01:24]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.52 ИТОГО: 1500.00 Внесено: 1500.00 СДАЧА: 0.00 НСП 1% : 13.28 НДС 12% : 159.35 Наличными: 1500.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 28 19.04.2024 18:01 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12526 ФПД: 220650410116190 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T180141&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12526&fm=220650410116190&tin=02508201610067®Number=0000000000100748&sum=150000 [18:01:25]StoreToDocumentArchive [18:01:25]shift 279 fd 12526 [18:01:25]save to /storage/0279/doc_00012526 [18:01:25]save last doc name /storage/0279/doc_00012526 to /storage/kkm_last_doc_name [18:01:25]save OK [18:01:25]Clear old archive folders... [18:01:25]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:01:25]tlvbuf is 01D269F0 [18:01:25]SAM_PROTO_ClearQueue [18:01:25]wFMCommunicate request_size=4 [18:01:25]MH_SAM_APDU [18:01:25]CAPDU: 80 09 00 00 [18:01:25]Write to MH i2c: E2 08 00 83 2C 80 09 00 00 00 00 00 00 21 [18:01:25]Write i2c OK [18:01:25]MH_I2C_Read... [18:01:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:01:25]Read from MH i2c: E2 [18:01:25]MH_I2C_Read... [18:01:25]Read from MH i2c: E2 03 00 [18:01:25]MH_I2C_Read... [18:01:25]Read from MH i2c: E2 03 00 83 2C 00 90 00 23 [18:01:25]RAPDU: 90 00 [18:01:25]wFMCommunicate OK [18:01:25]SAM_PROTO_ClearQueue done [18:01:25]KKMCreateOFDPacket [18:01:25]OFDProtocolAddRootSTLVToBuf [18:01:25]FM_MakeSignedData [18:01:25]FM_MakeSignedData [18:01:25]SAM_PROTO_SignData [18:01:25]wFMCommunicate request_size=4 [18:01:25]MH_SAM_APDU [18:01:25]CAPDU: 80 0D 01 02 [18:01:25]Write to MH i2c: E2 08 00 84 2C 80 0D 01 02 00 00 00 00 29 [18:01:25]Write i2c OK [18:01:25]MH_I2C_Read... [18:01:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:01:25]Read from MH i2c: E2 [18:01:25]MH_I2C_Read... [18:01:25]Read from MH i2c: E2 03 00 [18:01:25]MH_I2C_Read... [18:01:25]Read from MH i2c: E2 03 00 84 2C 00 90 00 24 [18:01:25]RAPDU: 90 00 [18:01:25]wFMCommunicate OK [18:01:25]wFMCommunicate request_size=255 [18:01:25]MH_SAM_APDU [18:01:25]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 04 5B 00 00 00 00 00 37 04 06 00 28 19 00 00 00 00 13 04 06 00 24 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 85 B1 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 EE 30 00 00 35 04 06 00 C8 [18:01:25]Write to MH i2c: E2 02 01 85 2C 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 04 5B 00 00 00 00 00 37 04 06 00 28 19 00 00 00 00 13 04 06 00 24 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 85 B1 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 EE 30 00 00 35 04 06 00 C8 00 00 45 [18:01:25]Write i2c OK [18:01:25]MH_I2C_Read... [18:01:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:01:26]Read from MH i2c: E2 [18:01:26]MH_I2C_Read... [18:01:26]Read from MH i2c: E2 03 00 [18:01:26]MH_I2C_Read... [18:01:26]Read from MH i2c: E2 03 00 85 2C 00 90 00 25 [18:01:26]RAPDU: 90 00 [18:01:26]wFMCommunicate OK [18:01:26]wFMCommunicate request_size=10 [18:01:26]MH_SAM_APDU [18:01:26]CAPDU: 80 0D 02 02 05 AE 2D 50 84 5E [18:01:26]Write to MH i2c: E2 0D 00 86 2C 80 0D 02 02 05 00 AE 2D 50 84 5E 00 00 43 [18:01:26]Write i2c OK [18:01:26]MH_I2C_Read... [18:01:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:01:26]Read from MH i2c: E2 [18:01:26]MH_I2C_Read... [18:01:26]Read from MH i2c: E2 03 00 [18:01:26]MH_I2C_Read... [18:01:26]Read from MH i2c: E2 03 00 86 2C 00 90 00 26 [18:01:26]RAPDU: 90 00 [18:01:26]wFMCommunicate OK [18:01:26]wFMCommunicate request_size=4 [18:01:26]MH_SAM_APDU [18:01:26]CAPDU: 80 0D 03 02 [18:01:26]Write to MH i2c: E2 08 00 87 2C 80 0D 03 02 00 00 00 00 2E [18:01:26]Write i2c OK [18:01:26]MH_I2C_Read... [18:01:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:01:26]Read from MH i2c: E2 [18:01:26]MH_I2C_Read... [18:01:26]Read from MH i2c: E2 0B 00 [18:01:26]MH_I2C_Read... [18:01:26]Read from MH i2c: E2 0B 00 87 2C 00 D0 30 DE 8E 90 BD 7D 07 90 00 6C [18:01:26]RAPDU: D0 30 DE 8E 90 BD 7D 07 90 00 [18:01:26]wFMCommunicate OK [18:01:26]SAM_PROTO_SignData done [18:01:26]FM_MakeSignedData done [18:01:26]CreateOFDProtocolMessage [18:01:26]wFMCommunicate request_size=4 [18:01:26]MH_SAM_APDU [18:01:26]CAPDU: 80 11 00 00 [18:01:26]Write to MH i2c: E2 08 00 88 2C 80 11 00 00 00 00 00 00 2E [18:01:26]Write i2c OK [18:01:26]MH_I2C_Read... [18:01:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:01:26]Read from MH i2c: E2 [18:01:26]MH_I2C_Read... [18:01:26]Read from MH i2c: E2 17 00 [18:01:26]MH_I2C_Read... [18:01:26]Read from MH i2c: E2 17 00 88 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 88 [18:01:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [18:01:26]wFMCommunicate OK [18:01:26]CreateOFDProtocolMessage done [18:01:26]OFDSenderStorePacket 12526 [18:01:26]StoreOFDPacket docnum=12526 [18:01:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0F 01 00 00 CB 05 07 01 83 8D 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 04 5B 00 00 00 00 00 37 04 06 00 28 19 00 00 00 00 13 04 06 00 24 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 85 B1 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 EE 30 00 00 35 04 06 00 C8 AE 2D 50 84 5E D0 30 DE 8E 90 BD 7D 07 [18:01:26]CheckFolder [18:01:26]dirname=/storage/ofd_packets [18:01:26]CheckFolder done [18:01:26]ProducePacketName [18:01:26]name=ofd_packets/00012526 [18:01:26]NVStorageSaveData ofd_packets/00012526 [18:01:26]File name is /storage/ofd_packets/00012526 [18:01:26]Write 301 bytes [18:01:26]NVStorageSaveData done [18:01:26]OFDSenderStorePacket done [18:01:26]KKMCreateOFDPacket done [18:01:26]NVStorageSaveData kkm_last_timestamp [18:01:26]File name is /storage/kkm_last_timestamp [18:01:26]Write 4 bytes [18:01:26]NVStorageSaveData done [18:01:26]ExternCall_PrintAddStr [18:01:26]wPrintStart [18:01:26]Write to MH i2c: 01 00 00 89 2C B5 [18:01:26]Write i2c OK [18:01:26]MH_I2C_Read... [18:01:26]Read from MH i2c: 01 [18:01:26]MH_I2C_Read... [18:01:26]Read from MH i2c: 01 07 00 [18:01:26]MH_I2C_Read... [18:01:26]Read from MH i2c: 01 07 00 89 2C 00 00 00 00 00 FF 0F CA [18:01:26]RasterBufferAndPrint [18:01:26]line Счет N : (1)190984 [18:01:26]line ИНН: 02508201610067 [18:01:26]line Контрольно-Кассовый Чек [18:01:26]line ПРОДАЖА [18:01:26]line ТРК (МРК, ГНК) : 33 [18:01:26]line Товар: 2710124130 [18:01:26]line Аи-92-К-5 [18:01:26]line 23.300 * 64.40 [18:01:26]line = 1500.52 [18:01:26]line НДС 12% НСП 1% [18:01:26]line > о реализуемом товаре [18:01:26]line ОКРУГЛЕНИЕ: -0.52 [18:01:26]line ИТОГО: 1500.00 [18:01:26]line Внесено: 1500.00 [18:01:26]line СДАЧА: 0.00 [18:01:26]line НСП 1% : 13.28 [18:01:26]line НДС 12% : 159.35 [18:01:26]line Наличными: 1500.00 [18:01:26]line Безнал.: 0.00 [18:01:26]line Место: АЗС № 106 "Партнер Нефть" [18:01:26]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [18:01:26]line СНО: Общий режим [18:01:26]line Чек 28 19.04.2024 18:01 [18:01:26]line Смена: 279 ФФД: 1.0 [18:01:26]line ЗНМ: 0300000004 [18:01:26]line РНМ: 0000000000100748 [18:01:26]line Версия ККМ: 001 [18:01:26]line ФМ: 0000000000965685 [18:01:26]line ФД: 12526 [18:01:26]line ФПД: 220650410116190 [18:01:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T180141&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12526&fm=220650410116190&tin=02508201610067®Number=0000000000100748&sum=150000 [18:01:26]OFD Sender: Processing packet 12526 [packets to send 7, broken 6] [18:01:26]ProducePacketName [18:01:26]name=ofd_packets/00012526 [18:01:26]OFD Sender: To server: pG, [18:01:26]CommunicateWithHost lk.salyk.kg:30040 [18:01:26]ConnectInit lk.salyk.kg [18:01:26]written 0, free lines is 4095 [18:01:26]Connected sock=10 [18:01:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0F 01 00 00 CB 05 07 01 83 8D 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 04 5B 00 00 00 00 00 37 04 06 00 28 19 00 00 00 00 13 04 06 00 24 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 85 B1 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 EE 30 00 00 35 04 06 00 C8 AE 2D 50 84 5E D0 30 DE 8E 90 BD 7D 07 [18:01:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 23 00 47 00 17 8D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 EE 30 00 00 F4 03 04 00 0C 5A 22 66 B6 04 01 00 00 A4 A2 F0 F0 8E 5C 53 C7 [18:01:26]CommunicateWithHost err = 0 [18:01:26]CheckOFDResponse [18:01:26]1017 (14) - 77093643461234 [18:01:26]1041 (16) - 0000000000965685 [18:01:26]1040 (4) - 12526 [18:01:26]1012 (4) - 19.04.2024 11:48 [18:01:26]1206 (1) - 0 [18:01:26]OFD Sender: Remove packet 12526 [18:01:26]ProducePacketName [18:01:26]name=ofd_packets/00012526 [18:01:26]NVStorageDeleteData [18:01:27]Write to MH i2c: 01 00 00 B3 2C DF [18:01:27]Write i2c OK [18:01:27]MH_I2C_Read... [18:01:27]Read from MH i2c: 01 [18:01:27]MH_I2C_Read... [18:01:27]Read from MH i2c: 01 07 00 [18:01:27]MH_I2C_Read... [18:01:27]Read from MH i2c: 01 07 00 B3 2C 00 00 00 00 00 F7 0C E9 [18:01:27]RasterBufferAndPrint [18:01:27]line [18:01:27]line [18:01:27]line [18:01:27]line [18:01:27]line [18:01:27]written 0, free lines is 3326 [18:01:27]MH_Cut [18:01:27]Write to MH i2c: D1 01 00 BA 2C 01 B8 [18:01:27]Write i2c OK [18:01:27]MH_I2C_Read... [18:01:27]Read from MH i2c: D1 [18:01:27]MH_I2C_Read... [18:01:27]Read from MH i2c: D1 01 00 [18:01:27]MH_I2C_Read... [18:01:27]Read from MH i2c: D1 01 00 BA 2C 00 B7 [18:01:27]Write to MH i2c: 01 00 00 BB 2C E7 [18:01:27]Write i2c OK [18:01:27]MH_I2C_Read... [18:01:27]OFD Sender: No OFD packet to send [18:01:27]*** Cut start [18:01:27]*** Partial cut [18:01:27]*** CUTSNS_PIN = 1 [18:01:27]*** CUTSNS_PIN = 0 [18:01:28]*** Brake cut motor [18:01:28]Read from MH i2c: 01 [18:01:28]MH_I2C_Read... [18:01:28]*** Stop cut motor [18:01:28]*** Cut end [18:01:28]Read from MH i2c: 01 07 00 [18:01:28]MH_I2C_Read... [18:01:28]Read from MH i2c: 01 07 00 BB 2C 00 00 00 00 00 FF 0F FC [18:01:28]process_action close_receipt done [18:01:28]requested_data is exist [18:01:28]produce_requested_data [18:01:28]requested_item fm.sn is exist - process it [18:01:28]wFMCommunicate request_size=4 [18:01:28]MH_SAM_APDU [18:01:28]CAPDU: 80 11 00 00 [18:01:28]Write to MH i2c: E2 08 00 BC 2C 80 11 00 00 00 00 00 00 62 [18:01:28]Write i2c OK [18:01:28]MH_I2C_Read... [18:01:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:01:28]Read from MH i2c: E2 [18:01:28]MH_I2C_Read... [18:01:28]Read from MH i2c: E2 17 00 [18:01:28]MH_I2C_Read... [18:01:28]Read from MH i2c: E2 17 00 BC 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 BC [18:01:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [18:01:28]wFMCommunicate OK [18:01:28]requested_item fd.num is exist - process it [18:01:28]SAM_PROTO_GetFieldsCounters [18:01:28]wFMCommunicate request_size=4 [18:01:28]MH_SAM_APDU [18:01:28]CAPDU: 80 13 00 00 [18:01:28]Write to MH i2c: E2 08 00 BD 2C 80 13 00 00 00 00 00 00 65 [18:01:28]Write i2c OK [18:01:28]MH_I2C_Read... [18:01:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:01:28]Read from MH i2c: E2 [18:01:28]MH_I2C_Read... [18:01:28]Read from MH i2c: E2 62 00 [18:01:28]MH_I2C_Read... [18:01:28]Read from MH i2c: E2 62 00 BD 2C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 EE 30 00 00 0E 04 04 00 17 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 12 [18: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 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 EE 30 00 00 0E 04 04 00 17 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 [18:01:28]wFMCommunicate OK [18:01:28]SAM_PROTO_GetFieldsCounters done [18:01:28]requested_item shift.num is exist - process it [18:01:28]requested_item shift.opened is exist - process it [18:01:28]req_shift_opened [18:01:28]FM_GetShiftState [18:01:28]SAM_PROTO_GetShiftState [18:01:28]wFMCommunicate request_size=4 [18:01:28]MH_SAM_APDU [18:01:28]CAPDU: 80 13 01 00 [18:01:28]Write to MH i2c: E2 08 00 BE 2C 80 13 01 00 00 00 00 00 67 [18:01:28]Write i2c OK [18:01:28]MH_I2C_Read... [18:01:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:01:28]Read from MH i2c: E2 [18:01:28]MH_I2C_Read... [18:01:28]Read from MH i2c: E2 0E 00 [18:01:28]MH_I2C_Read... [18:01:28]Read from MH i2c: E2 0E 00 BE 2C 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 5D [18:01:28]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [18:01:28]wFMCommunicate OK [18:01:28]SAM_PROTO_GetShiftState done [18:01:28]FM_GetShiftState done [18:01:28]req_shift_opened done [18:01:28]requested_item shift.open_date is exist - process it [18:01:28]req_shift_open_date [18:01:28]req_shift_open_date done [18:01:28]produce_requested_data done [18:01:28]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12526,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [18:01:28]process_action_free close_receipt [18:01:28]json_value_free [18:01:28]json_value_free done [18:01:28]process_json_proto returns [18:01:28]Send response to host [18:01:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12526,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [18:01:28]free response buf [18:01:28]execute_script done [18:01:28]execute_script returns [18:01:28]free content buf [18:01:28]Sock 9.Close socket [18:01:28]Sock 9.Thread stoped [18:01:32]OFD Sender: No OFD packet to send [18:01:37]OFD Sender: No OFD packet to send [18:01:42]OFD Sender: No OFD packet to send [18:01:47]OFD Sender: No OFD packet to send [18:01:52]OFD Sender: No OFD packet to send [18:01:57]OFD Sender: No OFD packet to send [18:02:02]OFD Sender: No OFD packet to send [18:02:07]OFD Sender: No OFD packet to send [18:02:12]OFD Sender: No OFD packet to send [18:02:17]OFD Sender: No OFD packet to send [18:02:22]OFD Sender: No OFD packet to send [18:02:27]OFD Sender: No OFD packet to send [18:02:32]OFD Sender: No OFD packet to send [18:02:37]OFD Sender: No OFD packet to send [18:02:42]OFD Sender: No OFD packet to send [18:02:47]OFD Sender: No OFD packet to send [18:02:52]OFD Sender: No OFD packet to send [18:02:57]OFD Sender: No OFD packet to send [18:03:02]OFD Sender: No OFD packet to send [18:03:07]OFD Sender: No OFD packet to send [18:03:12]OFD Sender: No OFD packet to send [18:03:17]OFD Sender: No OFD packet to send [18:03:22]OFD Sender: No OFD packet to send [18:03:27]OFD Sender: No OFD packet to send [18:03:32]OFD Sender: No OFD packet to send [18:03:37]OFD Sender: No OFD packet to send [18:03:42]OFD Sender: No OFD packet to send [18:03:47]OFD Sender: No OFD packet to send [18:03:52]OFD Sender: No OFD packet to send [18:03:57]OFD Sender: No OFD packet to send [18:04:02]OFD Sender: No OFD packet to send [18:04:07]OFD Sender: No OFD packet to send [18:04:12]OFD Sender: No OFD packet to send [18:04:17]OFD Sender: No OFD packet to send [18:04:22]OFD Sender: No OFD packet to send [18:04:27]OFD Sender: No OFD packet to send [18:04:32]OFD Sender: No OFD packet to send [18:04:37]OFD Sender: No OFD packet to send [18:04:42]OFD Sender: No OFD packet to send [18:04:47]OFD Sender: No OFD packet to send [18:04:52]OFD Sender: No OFD packet to send [18:04:57]OFD Sender: No OFD packet to send [18:05:02]OFD Sender: No OFD packet to send [18:05:07]OFD Sender: No OFD packet to send [18:05:12]OFD Sender: No OFD packet to send [18:05:17]OFD Sender: No OFD packet to send [18:05:22]OFD Sender: No OFD packet to send [18:05:27]OFD Sender: No OFD packet to send [18:05:32]OFD Sender: No OFD packet to send [18:05:37]OFD Sender: No OFD packet to send [18:05:42]OFD Sender: No OFD packet to send [18:05:47]OFD Sender: No OFD packet to send [18:05:52]OFD Sender: No OFD packet to send [18:05:57]OFD Sender: No OFD packet to send [18:06:02]OFD Sender: No OFD packet to send [18:06:07]OFD Sender: No OFD packet to send [18:06:12]OFD Sender: No OFD packet to send [18:06:17]OFD Sender: No OFD packet to send [18:06:22]OFD Sender: No OFD packet to send [18:06:27]OFD Sender: No OFD packet to send [18:06:32]OFD Sender: No OFD packet to send [18:06:37]OFD Sender: No OFD packet to send [18:06:42]OFD Sender: No OFD packet to send [18:06:47]OFD Sender: No OFD packet to send [18:06:52]OFD Sender: No OFD packet to send [18:06:57]OFD Sender: No OFD packet to send [18:07:02]OFD Sender: No OFD packet to send [18:07:07]OFD Sender: No OFD packet to send [18:07:12]OFD Sender: No OFD packet to send [18:07:17]OFD Sender: No OFD packet to send [18:07:22]OFD Sender: No OFD packet to send [18:07:27]OFD Sender: No OFD packet to send [18:07:32]OFD Sender: No OFD packet to send [18:07:37]OFD Sender: No OFD packet to send [18:07:42]OFD Sender: No OFD packet to send [18:07:47]OFD Sender: No OFD packet to send [18:07:52]OFD Sender: No OFD packet to send [18:07:57]OFD Sender: No OFD packet to send [18:08:02]OFD Sender: No OFD packet to send [18:08:07]OFD Sender: No OFD packet to send [18:08:12]OFD Sender: No OFD packet to send [18:08:17]OFD Sender: No OFD packet to send [18:08:22]OFD Sender: No OFD packet to send [18:08:27]OFD Sender: No OFD packet to send [18:08:32]OFD Sender: No OFD packet to send [18:08:37]OFD Sender: No OFD packet to send [18:08:42]OFD Sender: No OFD packet to send [18:08:47]OFD Sender: No OFD packet to send [18:08:52]OFD Sender: No OFD packet to send [18:08:57]OFD Sender: No OFD packet to send [18:09:02]OFD Sender: No OFD packet to send [18:09:07]OFD Sender: No OFD packet to send [18:09:12]OFD Sender: No OFD packet to send [18:09:17]OFD Sender: No OFD packet to send [18:09:22]OFD Sender: No OFD packet to send [18:09:27]OFD Sender: No OFD packet to send [18:09:32]OFD Sender: No OFD packet to send [18:09:37]OFD Sender: No OFD packet to send [18:09:42]OFD Sender: No OFD packet to send [18:09:47]OFD Sender: No OFD packet to send [18:09:52]OFD Sender: No OFD packet to send [18:09:57]OFD Sender: No OFD packet to send [18:10:02]OFD Sender: No OFD packet to send [18:10:07]OFD Sender: No OFD packet to send [18:10:12]OFD Sender: No OFD packet to send [18:10:17]OFD Sender: No OFD packet to send [18:10:22]OFD Sender: No OFD packet to send [18:10:27]OFD Sender: No OFD packet to send [18:10:32]OFD Sender: No OFD packet to send [18:10:37]OFD Sender: No OFD packet to send [18:10:42]OFD Sender: No OFD packet to send [18:10:47]OFD Sender: No OFD packet to send [18:10:52]OFD Sender: No OFD packet to send [18:10:57]OFD Sender: No OFD packet to send [18:11:02]OFD Sender: No OFD packet to send [18:11:07]OFD Sender: No OFD packet to send [18:11:12]OFD Sender: No OFD packet to send [18:11:17]OFD Sender: No OFD packet to send [18:11:22]OFD Sender: No OFD packet to send [18:11:27]OFD Sender: No OFD packet to send [18:11:32]OFD Sender: No OFD packet to send [18:11:37]OFD Sender: No OFD packet to send [18:11:42]OFD Sender: No OFD packet to send [18:11:47]OFD Sender: No OFD packet to send [18:11:52]OFD Sender: No OFD packet to send [18:11:57]OFD Sender: No OFD packet to send [18:12:02]OFD Sender: No OFD packet to send [18:12:07]OFD Sender: No OFD packet to send [18:12:12]OFD Sender: No OFD packet to send [18:12:17]OFD Sender: No OFD packet to send [18:12:22]OFD Sender: No OFD packet to send [18:12:27]OFD Sender: No OFD packet to send [18:12:32]OFD Sender: No OFD packet to send [18:12:37]OFD Sender: No OFD packet to send [18:12:42]OFD Sender: No OFD packet to send [18:12:47]OFD Sender: No OFD packet to send [18:12:52]OFD Sender: No OFD packet to send [18:12:57]OFD Sender: No OFD packet to send [18:13:02]OFD Sender: No OFD packet to send [18:13:07]OFD Sender: No OFD packet to send [18:13:12]OFD Sender: No OFD packet to send [18:13:17]OFD Sender: No OFD packet to send [18:13:22]OFD Sender: No OFD packet to send [18:13:27]OFD Sender: No OFD packet to send [18:13:33]OFD Sender: No OFD packet to send [18:13:38]OFD Sender: No OFD packet to send [18:13:43]OFD Sender: No OFD packet to send [18:13:48]OFD Sender: No OFD packet to send [18:13:53]OFD Sender: No OFD packet to send [18:13:58]OFD Sender: No OFD packet to send [18:14:03]OFD Sender: No OFD packet to send [18:14:08]OFD Sender: No OFD packet to send [18:14:13]OFD Sender: No OFD packet to send [18:14:18]OFD Sender: No OFD packet to send [18:14:23]OFD Sender: No OFD packet to send [18:14:28]OFD Sender: No OFD packet to send [18:14:33]OFD Sender: No OFD packet to send [18:14:38]OFD Sender: No OFD packet to send [18:14:43]OFD Sender: No OFD packet to send [18:14:48]OFD Sender: No OFD packet to send [18:14:53]OFD Sender: No OFD packet to send [18:14:58]OFD Sender: No OFD packet to send [18:15:03]OFD Sender: No OFD packet to send [18:15:08]OFD Sender: No OFD packet to send [18:15:13]OFD Sender: No OFD packet to send [18:15:18]OFD Sender: No OFD packet to send [18:15:23]OFD Sender: No OFD packet to send [18:15:28]OFD Sender: No OFD packet to send [18:15:33]OFD Sender: No OFD packet to send [18:15:38]OFD Sender: No OFD packet to send [18:15:43]OFD Sender: No OFD packet to send [18:15:48]OFD Sender: No OFD packet to send [18:15:53]OFD Sender: No OFD packet to send [18:15:58]OFD Sender: No OFD packet to send [18:16:03]OFD Sender: No OFD packet to send [18:16:08]OFD Sender: No OFD packet to send [18:16:13]OFD Sender: No OFD packet to send [18:16:18]OFD Sender: No OFD packet to send [18:16:23]OFD Sender: No OFD packet to send [18:16:28]OFD Sender: No OFD packet to send [18:16:33]OFD Sender: No OFD packet to send [18:16:38]OFD Sender: No OFD packet to send [18:16:43]OFD Sender: No OFD packet to send [18:16:48]OFD Sender: No OFD packet to send [18:16:53]OFD Sender: No OFD packet to send [18:16:58]OFD Sender: No OFD packet to send [18:17:03]OFD Sender: No OFD packet to send [18:17:08]OFD Sender: No OFD packet to send [18:17:13]OFD Sender: No OFD packet to send [18:17:18]OFD Sender: No OFD packet to send [18:17:23]OFD Sender: No OFD packet to send [18:17:28]OFD Sender: No OFD packet to send [18:17:33]OFD Sender: No OFD packet to send [18:17:38]OFD Sender: No OFD packet to send [18:17:43]OFD Sender: No OFD packet to send [18:17:48]OFD Sender: No OFD packet to send [18:17:53]OFD Sender: No OFD packet to send [18:17:58]OFD Sender: No OFD packet to send [18:18:03]OFD Sender: No OFD packet to send [18:18:08]OFD Sender: No OFD packet to send [18:18:13]OFD Sender: No OFD packet to send [18:18:18]OFD Sender: No OFD packet to send [18:18:23]OFD Sender: No OFD packet to send [18:18:28]OFD Sender: No OFD packet to send [18:18:33]OFD Sender: No OFD packet to send [18:18:38]OFD Sender: No OFD packet to send [18:18:43]OFD Sender: No OFD packet to send [18:18:48]OFD Sender: No OFD packet to send [18:18:53]OFD Sender: No OFD packet to send [18:18:58]OFD Sender: No OFD packet to send [18:19:03]OFD Sender: No OFD packet to send [18:19:08]OFD Sender: No OFD packet to send [18:19:13]OFD Sender: No OFD packet to send [18:19:18]OFD Sender: No OFD packet to send [18:19:23]OFD Sender: No OFD packet to send [18:19:28]OFD Sender: No OFD packet to send [18:19:33]OFD Sender: No OFD packet to send [18:19:38]OFD Sender: No OFD packet to send [18:19:43]OFD Sender: No OFD packet to send [18:19:48]OFD Sender: No OFD packet to send [18:19:53]OFD Sender: No OFD packet to send [18:19:58]OFD Sender: No OFD packet to send [18:20:03]OFD Sender: No OFD packet to send [18:20:08]OFD Sender: No OFD packet to send [18:20:13]OFD Sender: No OFD packet to send [18:20:18]OFD Sender: No OFD packet to send [18:20:23]OFD Sender: No OFD packet to send [18:20:28]OFD Sender: No OFD packet to send [18:20:33]OFD Sender: No OFD packet to send [18:20:38]OFD Sender: No OFD packet to send [18:20:43]OFD Sender: No OFD packet to send [18:20:48]OFD Sender: No OFD packet to send [18:20:53]OFD Sender: No OFD packet to send [18:20:58]OFD Sender: No OFD packet to send [18:21:03]OFD Sender: No OFD packet to send [18:21:08]OFD Sender: No OFD packet to send [18:21:13]OFD Sender: No OFD packet to send [18:21:18]OFD Sender: No OFD packet to send [18:21:23]OFD Sender: No OFD packet to send [18:21:28]OFD Sender: No OFD packet to send [18:21:33]OFD Sender: No OFD packet to send [18:21:38]OFD Sender: No OFD packet to send [18:21:43]OFD Sender: No OFD packet to send [18:21:48]OFD Sender: No OFD packet to send [18:21:53]OFD Sender: No OFD packet to send [18:21:58]OFD Sender: No OFD packet to send [18:22:03]OFD Sender: No OFD packet to send [18:22:08]OFD Sender: No OFD packet to send [18:22:13]OFD Sender: No OFD packet to send [18:22:18]OFD Sender: No OFD packet to send [18:22:23]OFD Sender: No OFD packet to send [18:22:28]OFD Sender: No OFD packet to send [18:22:33]OFD Sender: No OFD packet to send [18:22:38]OFD Sender: No OFD packet to send [18:22:43]OFD Sender: No OFD packet to send [18:22:48]OFD Sender: No OFD packet to send [18:22:53]OFD Sender: No OFD packet to send [18:22:58]OFD Sender: No OFD packet to send [18:23:03]OFD Sender: No OFD packet to send [18:23:08]OFD Sender: No OFD packet to send [18:23:13]OFD Sender: No OFD packet to send [18:23:18]OFD Sender: No OFD packet to send [18:23:23]OFD Sender: No OFD packet to send [18:23:28]OFD Sender: No OFD packet to send [18:23:33]OFD Sender: No OFD packet to send [18:23:38]OFD Sender: No OFD packet to send [18:23:43]OFD Sender: No OFD packet to send [18:23:48]OFD Sender: No OFD packet to send [18:23:53]OFD Sender: No OFD packet to send [18:23:58]OFD Sender: No OFD packet to send [18:24:03]OFD Sender: No OFD packet to send [18:24:08]OFD Sender: No OFD packet to send [18:24:13]OFD Sender: No OFD packet to send [18:24:18]OFD Sender: No OFD packet to send [18:24:23]OFD Sender: No OFD packet to send [18:24:28]OFD Sender: No OFD packet to send [18:24:33]OFD Sender: No OFD packet to send [18:24:38]OFD Sender: No OFD packet to send [18:24:43]OFD Sender: No OFD packet to send [18:24:48]OFD Sender: No OFD packet to send [18:24:53]OFD Sender: No OFD packet to send [18:24:58]OFD Sender: No OFD packet to send [18:25:03]OFD Sender: No OFD packet to send [18:25:08]OFD Sender: No OFD packet to send [18:25:13]OFD Sender: No OFD packet to send [18:25:18]OFD Sender: No OFD packet to send [18:25:23]OFD Sender: No OFD packet to send [18:25:28]OFD Sender: No OFD packet to send [18:25:33]OFD Sender: No OFD packet to send [18:25:38]OFD Sender: No OFD packet to send [18:25:43]OFD Sender: No OFD packet to send [18:25:48]OFD Sender: No OFD packet to send [18:25:53]OFD Sender: No OFD packet to send [18:25:58]OFD Sender: No OFD packet to send [18:26:03]OFD Sender: No OFD packet to send [18:26:08]OFD Sender: No OFD packet to send [18:26:13]OFD Sender: No OFD packet to send [18:26:18]OFD Sender: No OFD packet to send [18:26:23]OFD Sender: No OFD packet to send [18:26:28]OFD Sender: No OFD packet to send [18:26:33]OFD Sender: No OFD packet to send [18:26:38]OFD Sender: No OFD packet to send [18:26:43]OFD Sender: No OFD packet to send [18:26:48]OFD Sender: No OFD packet to send [18:26:53]OFD Sender: No OFD packet to send [18:26:58]OFD Sender: No OFD packet to send [18:27:03]OFD Sender: No OFD packet to send [18:27:08]OFD Sender: No OFD packet to send [18:27:13]OFD Sender: No OFD packet to send [18:27:18]OFD Sender: No OFD packet to send [18:27:23]OFD Sender: No OFD packet to send [18:27:28]OFD Sender: No OFD packet to send [18:27:33]OFD Sender: No OFD packet to send [18:27:38]OFD Sender: No OFD packet to send [18:27:43]OFD Sender: No OFD packet to send [18:27:48]OFD Sender: No OFD packet to send [18:27:53]OFD Sender: No OFD packet to send [18:27:58]OFD Sender: No OFD packet to send [18:28:03]OFD Sender: No OFD packet to send [18:28:08]OFD Sender: No OFD packet to send [18:28:13]OFD Sender: No OFD packet to send [18:28:18]OFD Sender: No OFD packet to send [18:28:23]OFD Sender: No OFD packet to send [18:28:28]OFD Sender: No OFD packet to send [18:28:33]OFD Sender: No OFD packet to send [18:28:38]OFD Sender: No OFD packet to send [18:28:43]OFD Sender: No OFD packet to send [18:28:48]OFD Sender: No OFD packet to send [18:28:53]OFD Sender: No OFD packet to send [18:28:58]OFD Sender: No OFD packet to send [18:29:03]OFD Sender: No OFD packet to send [18:29:08]OFD Sender: No OFD packet to send [18:29:13]OFD Sender: No OFD packet to send [18:29:18]OFD Sender: No OFD packet to send [18:29:23]OFD Sender: No OFD packet to send [18:29:28]OFD Sender: No OFD packet to send [18:29:33]OFD Sender: No OFD packet to send [18:29:38]OFD Sender: No OFD packet to send [18:29:43]OFD Sender: No OFD packet to send [18:29:48]OFD Sender: No OFD packet to send [18:29:53]OFD Sender: No OFD packet to send [18:29:58]OFD Sender: No OFD packet to send [18:30:03]OFD Sender: No OFD packet to send [18:30:08]OFD Sender: No OFD packet to send [18:30:13]OFD Sender: No OFD packet to send [18:30:18]OFD Sender: No OFD packet to send [18:30:23]OFD Sender: No OFD packet to send [18:30:28]OFD Sender: No OFD packet to send [18:30:33]OFD Sender: No OFD packet to send [18:30:38]OFD Sender: No OFD packet to send [18:30:43]OFD Sender: No OFD packet to send [18:30:48]OFD Sender: No OFD packet to send [18:30:53]OFD Sender: No OFD packet to send [18:30:58]OFD Sender: No OFD packet to send [18:31:03]OFD Sender: No OFD packet to send [18:31:08]OFD Sender: No OFD packet to send [18:31:13]OFD Sender: No OFD packet to send [18:31:18]OFD Sender: No OFD packet to send [18:31:23]OFD Sender: No OFD packet to send [18:31:28]OFD Sender: No OFD packet to send [18:31:33]OFD Sender: No OFD packet to send [18:31:38]OFD Sender: No OFD packet to send [18:31:43]OFD Sender: No OFD packet to send [18:31:48]OFD Sender: No OFD packet to send [18:31:53]OFD Sender: No OFD packet to send [18:31:58]OFD Sender: No OFD packet to send [18:32:03]OFD Sender: No OFD packet to send [18:32:08]OFD Sender: No OFD packet to send [18:32:13]OFD Sender: No OFD packet to send [18:32:18]OFD Sender: No OFD packet to send [18:32:23]OFD Sender: No OFD packet to send [18:32:28]OFD Sender: No OFD packet to send [18:32:33]OFD Sender: No OFD packet to send [18:32:38]OFD Sender: No OFD packet to send [18:32:43]OFD Sender: No OFD packet to send [18:32:48]OFD Sender: No OFD packet to send [18:32:53]OFD Sender: No OFD packet to send [18:32:58]OFD Sender: No OFD packet to send [18:33:03]OFD Sender: No OFD packet to send [18:33:08]OFD Sender: No OFD packet to send [18:33:13]OFD Sender: No OFD packet to send [18:33:18]OFD Sender: No OFD packet to send [18:33:23]OFD Sender: No OFD packet to send [18:33:28]OFD Sender: No OFD packet to send [18:33:33]OFD Sender: No OFD packet to send [18:33:38]OFD Sender: No OFD packet to send [18:33:43]OFD Sender: No OFD packet to send [18:33:48]OFD Sender: No OFD packet to send [18:33:53]OFD Sender: No OFD packet to send [18:33:58]OFD Sender: No OFD packet to send [18:34:03]OFD Sender: No OFD packet to send [18:34:08]OFD Sender: No OFD packet to send [18:34:13]OFD Sender: No OFD packet to send [18:34:18]OFD Sender: No OFD packet to send [18:34:23]OFD Sender: No OFD packet to send [18:34:28]OFD Sender: No OFD packet to send [18:34:33]OFD Sender: No OFD packet to send [18:34:38]OFD Sender: No OFD packet to send [18:34:44]OFD Sender: No OFD packet to send [18:34:49]OFD Sender: No OFD packet to send [18:34:54]OFD Sender: No OFD packet to send [18:34:59]OFD Sender: No OFD packet to send [18:35:04]OFD Sender: No OFD packet to send [18:35:09]OFD Sender: No OFD packet to send [18:35:14]OFD Sender: No OFD packet to send [18:35:19]OFD Sender: No OFD packet to send [18:35:24]OFD Sender: No OFD packet to send [18:35:29]OFD Sender: No OFD packet to send [18:35:34]OFD Sender: No OFD packet to send [18:35:39]OFD Sender: No OFD packet to send [18:35:44]OFD Sender: No OFD packet to send [18:35:49]OFD Sender: No OFD packet to send [18:35:54]OFD Sender: No OFD packet to send [18:35:59]OFD Sender: No OFD packet to send [18:36:04]OFD Sender: No OFD packet to send [18:36:09]OFD Sender: No OFD packet to send [18:36:14]OFD Sender: No OFD packet to send [18:36:19]OFD Sender: No OFD packet to send [18:36:24]OFD Sender: No OFD packet to send [18:36:29]OFD Sender: No OFD packet to send [18:36:34]OFD Sender: No OFD packet to send [18:36:39]OFD Sender: No OFD packet to send [18:36:44]OFD Sender: No OFD packet to send [18:36:49]OFD Sender: No OFD packet to send [18:36:54]OFD Sender: No OFD packet to send [18:36:59]OFD Sender: No OFD packet to send [18:37:04]OFD Sender: No OFD packet to send [18:37:09]OFD Sender: No OFD packet to send [18:37:14]OFD Sender: No OFD packet to send [18:37:19]OFD Sender: No OFD packet to send [18:37:24]OFD Sender: No OFD packet to send [18:37:29]OFD Sender: No OFD packet to send [18:37:34]OFD Sender: No OFD packet to send [18:37:39]OFD Sender: No OFD packet to send [18:37:44]OFD Sender: No OFD packet to send [18:37:49]OFD Sender: No OFD packet to send [18:37:54]OFD Sender: No OFD packet to send [18:37:59]OFD Sender: No OFD packet to send [18:38:04]OFD Sender: No OFD packet to send [18:38:09]OFD Sender: No OFD packet to send [18:38:14]OFD Sender: No OFD packet to send [18:38:19]OFD Sender: No OFD packet to send [18:38:24]OFD Sender: No OFD packet to send [18:38:29]OFD Sender: No OFD packet to send [18:38:34]OFD Sender: No OFD packet to send [18:38:39]OFD Sender: No OFD packet to send [18:38:44]OFD Sender: No OFD packet to send [18:38:49]OFD Sender: No OFD packet to send [18:38:54]OFD Sender: No OFD packet to send [18:38:59]OFD Sender: No OFD packet to send [18:39:04]OFD Sender: No OFD packet to send [18:39:09]OFD Sender: No OFD packet to send [18:39:14]OFD Sender: No OFD packet to send [18:39:19]OFD Sender: No OFD packet to send [18:39:24]OFD Sender: No OFD packet to send [18:39:29]OFD Sender: No OFD packet to send [18:39:34]OFD Sender: No OFD packet to send [18:39:39]OFD Sender: No OFD packet to send [18:39:44]OFD Sender: No OFD packet to send [18:39:49]OFD Sender: No OFD packet to send [18:39:54]OFD Sender: No OFD packet to send [18:39:59]OFD Sender: No OFD packet to send [18:40:04]OFD Sender: No OFD packet to send [18:40:09]OFD Sender: No OFD packet to send [18:40:14]OFD Sender: No OFD packet to send [18:40:19]OFD Sender: No OFD packet to send [18:40:24]OFD Sender: No OFD packet to send [18:40:29]OFD Sender: No OFD packet to send [18:40:34]OFD Sender: No OFD packet to send [18:40:39]OFD Sender: No OFD packet to send [18:40:44]OFD Sender: No OFD packet to send [18:40:49]OFD Sender: No OFD packet to send [18:40:54]OFD Sender: No OFD packet to send [18:40:59]OFD Sender: No OFD packet to send [18:41:04]OFD Sender: No OFD packet to send [18:41:09]OFD Sender: No OFD packet to send [18:41:14]OFD Sender: No OFD packet to send [18:41:19]OFD Sender: No OFD packet to send [18:41:24]OFD Sender: No OFD packet to send [18:41:29]OFD Sender: No OFD packet to send [18:41:34]OFD Sender: No OFD packet to send [18:41:39]OFD Sender: No OFD packet to send [18:41:44]OFD Sender: No OFD packet to send [18:41:49]OFD Sender: No OFD packet to send [18:41:54]OFD Sender: No OFD packet to send [18:41:59]OFD Sender: No OFD packet to send [18:42:04]OFD Sender: No OFD packet to send [18:42:09]OFD Sender: No OFD packet to send [18:42:14]OFD Sender: No OFD packet to send [18:42:19]OFD Sender: No OFD packet to send [18:42:24]OFD Sender: No OFD packet to send [18:42:29]OFD Sender: No OFD packet to send [18:42:34]OFD Sender: No OFD packet to send [18:42:39]OFD Sender: No OFD packet to send [18:42:44]OFD Sender: No OFD packet to send [18:42:49]OFD Sender: No OFD packet to send [18:42:54]OFD Sender: No OFD packet to send [18:42:59]OFD Sender: No OFD packet to send [18:43:04]OFD Sender: No OFD packet to send [18:43:09]OFD Sender: No OFD packet to send [18:43:14]OFD Sender: No OFD packet to send [18:43:19]OFD Sender: No OFD packet to send [18:43:24]OFD Sender: No OFD packet to send [18:43:29]OFD Sender: No OFD packet to send [18:43:34]OFD Sender: No OFD packet to send [18:43:39]OFD Sender: No OFD packet to send [18:43:44]OFD Sender: No OFD packet to send [18:43:49]OFD Sender: No OFD packet to send [18:43:54]OFD Sender: No OFD packet to send [18:43:59]OFD Sender: No OFD packet to send [18:44:04]OFD Sender: No OFD packet to send [18:44:09]OFD Sender: No OFD packet to send [18:44:14]OFD Sender: No OFD packet to send [18:44:19]OFD Sender: No OFD packet to send [18:44:24]OFD Sender: No OFD packet to send [18:44:29]OFD Sender: No OFD packet to send [18:44:34]OFD Sender: No OFD packet to send [18:44:39]OFD Sender: No OFD packet to send [18:44:44]OFD Sender: No OFD packet to send [18:44:49]OFD Sender: No OFD packet to send [18:44:54]OFD Sender: No OFD packet to send [18:44:59]OFD Sender: No OFD packet to send [18:45:04]OFD Sender: No OFD packet to send [18:45:09]OFD Sender: No OFD packet to send [18:45:14]OFD Sender: No OFD packet to send [18:45:19]OFD Sender: No OFD packet to send [18:45:24]OFD Sender: No OFD packet to send [18:45:29]OFD Sender: No OFD packet to send [18:45:34]OFD Sender: No OFD packet to send [18:45:39]OFD Sender: No OFD packet to send [18:45:44]OFD Sender: No OFD packet to send [18:45:49]OFD Sender: No OFD packet to send [18:45:54]OFD Sender: No OFD packet to send [18:45:59]OFD Sender: No OFD packet to send [18:46:04]OFD Sender: No OFD packet to send [18:46:09]OFD Sender: No OFD packet to send [18:46:14]OFD Sender: No OFD packet to send [18:46:19]OFD Sender: No OFD packet to send [18:46:24]OFD Sender: No OFD packet to send [18:46:29]OFD Sender: No OFD packet to send [18:46:34]OFD Sender: No OFD packet to send [18:46:39]OFD Sender: No OFD packet to send [18:46:44]OFD Sender: No OFD packet to send [18:46:49]OFD Sender: No OFD packet to send [18:46:54]OFD Sender: No OFD packet to send [18:46:59]OFD Sender: No OFD packet to send [18:47:04]OFD Sender: No OFD packet to send [18:47:09]OFD Sender: No OFD packet to send [18:47:14]OFD Sender: No OFD packet to send [18:47:19]OFD Sender: No OFD packet to send [18:47:24]OFD Sender: No OFD packet to send [18:47:29]OFD Sender: No OFD packet to send [18:47:34]OFD Sender: No OFD packet to send [18:47:39]OFD Sender: No OFD packet to send [18:47:44]OFD Sender: No OFD packet to send [18:47:49]OFD Sender: No OFD packet to send [18:47:54]OFD Sender: No OFD packet to send [18:47:59]OFD Sender: No OFD packet to send [18:48:04]OFD Sender: No OFD packet to send [18:48:09]OFD Sender: No OFD packet to send [18:48:14]OFD Sender: No OFD packet to send [18:48:19]OFD Sender: No OFD packet to send [18:48:24]OFD Sender: No OFD packet to send [18:48:29]OFD Sender: No OFD packet to send [18:48:34]OFD Sender: No OFD packet to send [18:48:39]OFD Sender: No OFD packet to send [18:48:44]OFD Sender: No OFD packet to send [18:48:49]OFD Sender: No OFD packet to send [18:48:54]OFD Sender: No OFD packet to send [18:48:59]OFD Sender: No OFD packet to send [18:49:04]OFD Sender: No OFD packet to send [18:49:09]OFD Sender: No OFD packet to send [18:49:14]OFD Sender: No OFD packet to send [18:49:19]OFD Sender: No OFD packet to send [18:49:24]OFD Sender: No OFD packet to send [18:49:29]OFD Sender: No OFD packet to send [18:49:34]OFD Sender: No OFD packet to send [18:49:39]OFD Sender: No OFD packet to send [18:49:44]OFD Sender: No OFD packet to send [18:49:49]OFD Sender: No OFD packet to send [18:49:54]OFD Sender: No OFD packet to send [18:49:59]OFD Sender: No OFD packet to send [18:50:04]OFD Sender: No OFD packet to send [18:50:09]OFD Sender: No OFD packet to send [18:50:14]OFD Sender: No OFD packet to send [18:50:19]OFD Sender: No OFD packet to send [18:50:24]OFD Sender: No OFD packet to send [18:50:29]OFD Sender: No OFD packet to send [18:50:34]OFD Sender: No OFD packet to send [18:50:39]OFD Sender: No OFD packet to send [18:50:44]OFD Sender: No OFD packet to send [18:50:49]OFD Sender: No OFD packet to send [18:50:54]OFD Sender: No OFD packet to send [18:50:59]OFD Sender: No OFD packet to send [18:51:04]OFD Sender: No OFD packet to send [18:51:09]OFD Sender: No OFD packet to send [18:51:14]OFD Sender: No OFD packet to send [18:51:19]OFD Sender: No OFD packet to send [18:51:24]OFD Sender: No OFD packet to send [18:51:29]OFD Sender: No OFD packet to send [18:51:34]OFD Sender: No OFD packet to send [18:51:39]OFD Sender: No OFD packet to send [18:51:44]OFD Sender: No OFD packet to send [18:51:49]OFD Sender: No OFD packet to send [18:51:54]OFD Sender: No OFD packet to send [18:51:59]OFD Sender: No OFD packet to send [18:52:04]OFD Sender: No OFD packet to send [18:52:09]OFD Sender: No OFD packet to send [18:52:14]OFD Sender: No OFD packet to send [18:52:19]OFD Sender: No OFD packet to send [18:52:24]OFD Sender: No OFD packet to send [18:52:29]OFD Sender: No OFD packet to send [18:52:34]OFD Sender: No OFD packet to send [18:52:39]OFD Sender: No OFD packet to send [18:52:44]OFD Sender: No OFD packet to send [18:52:49]OFD Sender: No OFD packet to send [18:52:54]OFD Sender: No OFD packet to send [18:52:59]OFD Sender: No OFD packet to send [18:53:04]OFD Sender: No OFD packet to send [18:53:09]OFD Sender: No OFD packet to send [18:53:14]OFD Sender: No OFD packet to send [18:53:19]OFD Sender: No OFD packet to send [18:53:24]OFD Sender: No OFD packet to send [18:53:29]OFD Sender: No OFD packet to send [18:53:34]OFD Sender: No OFD packet to send [18:53:39]OFD Sender: No OFD packet to send [18:53:44]OFD Sender: No OFD packet to send [18:53:49]OFD Sender: No OFD packet to send [18:53:54]OFD Sender: No OFD packet to send [18:53:59]OFD Sender: No OFD packet to send [18:54:04]OFD Sender: No OFD packet to send [18:54:09]OFD Sender: No OFD packet to send [18:54:14]OFD Sender: No OFD packet to send [18:54:19]OFD Sender: No OFD packet to send [18:54:24]OFD Sender: No OFD packet to send [18:54:29]OFD Sender: No OFD packet to send [18:54:34]OFD Sender: No OFD packet to send [18:54:39]OFD Sender: No OFD packet to send [18:54:44]OFD Sender: No OFD packet to send [18:54:49]OFD Sender: No OFD packet to send [18:54:54]OFD Sender: No OFD packet to send [18:54:59]OFD Sender: No OFD packet to send [18:55:04]OFD Sender: No OFD packet to send [18:55:09]OFD Sender: No OFD packet to send [18:55:14]OFD Sender: No OFD packet to send [18:55:19]OFD Sender: No OFD packet to send [18:55:24]OFD Sender: No OFD packet to send [18:55:29]OFD Sender: No OFD packet to send [18:55:34]OFD Sender: No OFD packet to send [18:55:39]OFD Sender: No OFD packet to send [18:55:44]OFD Sender: No OFD packet to send [18:55:49]OFD Sender: No OFD packet to send [18:55:54]OFD Sender: No OFD packet to send [18:56:00]OFD Sender: No OFD packet to send [18:56:05]OFD Sender: No OFD packet to send [18:56:10]OFD Sender: No OFD packet to send [18:56:15]OFD Sender: No OFD packet to send [18:56:20]OFD Sender: No OFD packet to send [18:56:25]OFD Sender: No OFD packet to send [18:56:30]OFD Sender: No OFD packet to send [18:56:35]OFD Sender: No OFD packet to send [18:56:39]accept exits with 8 [18:56:39]New connection [18:56:39]New thread 3067100516 created [18:56:39]Thread 3067243876 joined [18:56:39]Waiting for new connection... [18:56:39] Sock 8.Parse request [18:56:39]Sock 8.Check first char [18:56:39]Sock 8.First char is OK [18:56:39]request: POST /json_proto HTTP/1.0 [18:56:39]Method: POST [18:56:39]URL: /json_proto [18:56:39]Method is POST - this is cgi request [18:56:39]url: /json_proto [18:56:39]query_string will be loaded in cgi processing [18:56:39]execute_cgi json_proto POST (null) [18:56:39]execute_cgi path=json_proto method=POST [18:56:39]POST find Content-Length [18:56:39]Host: 172.17.62.6:8080 [18:56:39]Content-Length: 680 [18:56:39]Content-Type: application/json [18:56:39] [18:56:39]POST finish read [18:56:39]Found Content-Length = 680 [18:56:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32801", "tax_sys" : 0, "items" : [ { "code": "4011100091993", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u041C\u0438\u043B\u043A\u0438 \u0412\u0435\u0439 26\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:56:39]execute_script... [18:56:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32801", "tax_sys" : 0, "items" : [ { "code": "4011100091993", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u041C\u0438\u043B\u043A\u0438 \u0412\u0435\u0439 26\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:56:39]POST & json_proto [18:56:39]process_json_proto [18:56:39]json parsed OK: [18:56:39]protocol is kg_v1.0 [18:56:39]action value=close_receipt [18:56:39]process_action close_receipt [18:56:39]cmd_close_receipt [18:56:39]MH_GetDate [18:56:39]Write to MH i2c: F0 00 00 BF 2C DA [18:56:39]Write i2c OK [18:56:39]MH_I2C_Read... [18:56:39]Read from MH i2c: F0 [18:56:39]MH_I2C_Read... [18:56:39]Read from MH i2c: F0 09 00 [18:56:39]MH_I2C_Read... [18:56:39]Read from MH i2c: F0 09 00 BF 2C 00 78 BE 22 66 61 69 D2 64 A1 [18:56:39]GetLastDocTimeStamp 1713549701 [18:56:39]current date 1713553016 [18:56:39]FM_GetShiftState [18:56:39]SAM_PROTO_GetShiftState [18:56:39]wFMCommunicate request_size=4 [18:56:39]MH_SAM_APDU [18:56:39]CAPDU: 80 13 01 00 [18:56:39]Write to MH i2c: E2 08 00 C0 2C 80 13 01 00 00 00 00 00 69 [18:56:39]Write i2c OK [18:56:39]MH_I2C_Read... [18:56:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:56:39]Read from MH i2c: E2 [18:56:39]MH_I2C_Read... [18:56:39]Read from MH i2c: E2 0E 00 [18:56:39]MH_I2C_Read... [18:56:39]Read from MH i2c: E2 0E 00 C0 2C 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 5F [18:56:39]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [18:56:39]wFMCommunicate OK [18:56:39]SAM_PROTO_GetShiftState done [18:56:39]FM_GetShiftState done [18:56:39]opened in 1713485995 [18:56:39]opened+sec_in_day 1713572395 [18:56:39]quantity*price = 3500 [18:56:39]sum+1 = 3501 [18:56:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 35.00 НСП 1% : 0.31 НДС 12% : 3.72 Наличными: 35.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 29 19.04.2024 18:56 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12527 ФПД: 180805537776681 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T185656&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12527&fm=180805537776681&tin=02508201610067®Number=0000000000100748&sum=3500 0 [18:56:40]StoreToDocumentArchive [18:56:40]shift 279 fd 12527 [18:56:40]save to /storage/0279/doc_00012527 [18:56:40]save last doc name /storage/0279/doc_00012527 to /storage/kkm_last_doc_name [18:56:40]save OK [18:56:40]Clear old archive folders... [18:56:40]ProcessDocumentItem done err = 0, tmpTLVsize=288 [18:56:40]tlvbuf is 01D4ADB0 [18:56:40]SAM_PROTO_ClearQueue [18:56:40]wFMCommunicate request_size=4 [18:56:40]MH_SAM_APDU [18:56:40]CAPDU: 80 09 00 00 [18:56:40]Write to MH i2c: E2 08 00 CD 2C 80 09 00 00 00 00 00 00 6B [18:56:40]Write i2c OK [18:56:40]MH_I2C_Read... [18:56:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:56:40]Read from MH i2c: E2 [18:56:40]MH_I2C_Read... [18:56:40]Read from MH i2c: E2 03 00 [18:56:40]MH_I2C_Read... [18:56:40]Read from MH i2c: E2 03 00 CD 2C 00 90 00 6D [18:56:40]RAPDU: 90 00 [18:56:40]wFMCommunicate OK [18:56:40]SAM_PROTO_ClearQueue done [18:56:40]KKMCreateOFDPacket [18:56:40]OFDProtocolAddRootSTLVToBuf [18:56:40]FM_MakeSignedData [18:56:40]FM_MakeSignedData [18:56:40]SAM_PROTO_SignData [18:56:40]wFMCommunicate request_size=4 [18:56:40]MH_SAM_APDU [18:56:40]CAPDU: 80 0D 01 02 [18:56:40]Write to MH i2c: E2 08 00 CE 2C 80 0D 01 02 00 00 00 00 73 [18:56:40]Write i2c OK [18:56:40]MH_I2C_Read... [18:56:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:56:40]Read from MH i2c: E2 [18:56:40]MH_I2C_Read... [18:56:40]Read from MH i2c: E2 03 00 [18:56:40]MH_I2C_Read... [18:56:40]Read from MH i2c: E2 03 00 CE 2C 00 90 00 6E [18:56:40]RAPDU: 90 00 [18:56:40]wFMCommunicate OK [18:56:40]wFMCommunicate request_size=255 [18:56:40]MH_SAM_APDU [18:56:40]CAPDU: 80 0D 02 02 FA 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 39 39 33 06 04 2E 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 9C D0 B8 D0 BB D0 BA D0 B8 20 D0 92 D0 B5 D0 B9 20 32 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 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 78 BE 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 [18:56:40]Write to MH i2c: E2 02 01 CF 2C 80 0D 02 02 FA 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 39 39 33 06 04 2E 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 9C D0 B8 D0 BB D0 BA D0 B8 20 D0 92 D0 B5 D0 B9 20 32 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 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 78 BE 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 00 00 AC [18:56:40]Write i2c OK [18:56:40]MH_I2C_Read... [18:56:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:56:40]Read from MH i2c: E2 [18:56:40]MH_I2C_Read... [18:56:40]Read from MH i2c: E2 03 00 [18:56:40]MH_I2C_Read... [18:56:40]Read from MH i2c: E2 03 00 CF 2C 00 90 00 6F [18:56:40]RAPDU: 90 00 [18:56:40]wFMCommunicate OK [18:56:40]wFMCommunicate request_size=47 [18:56:40]MH_SAM_APDU [18:56:40]CAPDU: 80 0D 02 02 2A 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 EF 30 00 00 35 04 06 00 A4 71 11 DA 44 29 [18:56:40]Write to MH i2c: E2 32 00 D0 2C 80 0D 02 02 2A 00 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 EF 30 00 00 35 04 06 00 A4 71 11 DA 44 29 00 00 CC [18:56:40]Write i2c OK [18:56:40]MH_I2C_Read... [18:56:40]Read from MH i2c: E2 [18:56:40]MH_I2C_Read... [18:56:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:56:40]Read from MH i2c: E2 03 00 [18:56:40]MH_I2C_Read... [18:56:40]Read from MH i2c: E2 03 00 D0 2C 00 90 00 70 [18:56:40]RAPDU: 90 00 [18:56:40]wFMCommunicate OK [18:56:40]wFMCommunicate request_size=4 [18:56:40]MH_SAM_APDU [18:56:40]CAPDU: 80 0D 03 02 [18:56:40]Write to MH i2c: E2 08 00 D1 2C 80 0D 03 02 00 00 00 00 78 [18:56:40]Write i2c OK [18:56:40]MH_I2C_Read... [18:56:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:56:41]Read from MH i2c: E2 [18:56:41]MH_I2C_Read... [18:56:41]Read from MH i2c: E2 0B 00 [18:56:41]MH_I2C_Read... [18:56:41]Read from MH i2c: E2 0B 00 D1 2C 00 35 BD C1 C7 1C A8 E3 DD 90 00 77 [18:56:41]RAPDU: 35 BD C1 C7 1C A8 E3 DD 90 00 [18:56:41]wFMCommunicate OK [18:56:41]SAM_PROTO_SignData done [18:56:41]FM_MakeSignedData done [18:56:41]CreateOFDProtocolMessage [18:56:41]wFMCommunicate request_size=4 [18:56:41]MH_SAM_APDU [18:56:41]CAPDU: 80 11 00 00 [18:56:41]Write to MH i2c: E2 08 00 D2 2C 80 11 00 00 00 00 00 00 78 [18:56:41]Write i2c OK [18:56:41]MH_I2C_Read... [18:56:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:56:41]Read from MH i2c: E2 [18:56:41]MH_I2C_Read... [18:56:41]Read from MH i2c: E2 17 00 [18:56:41]MH_I2C_Read... [18:56:41]Read from MH i2c: E2 17 00 D2 2C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 D2 [18:56:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [18:56:41]wFMCommunicate OK [18:56:41]CreateOFDProtocolMessage done [18:56:41]OFDSenderStorePacket 12527 [18:56:41]StoreOFDPacket docnum=12527 [18:56:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 34 01 00 00 2C 04 2C 01 49 32 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 39 39 33 06 04 2E 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 9C D0 B8 D0 BB D0 BA D0 B8 20 D0 92 D0 B5 D0 B9 20 32 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 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 78 BE 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 EF 30 00 00 35 04 06 00 A4 71 11 DA 44 29 35 BD C1 C7 1C A8 E3 DD [18:56:41]CheckFolder [18:56:41]dirname=/storage/ofd_packets [18:56:41]CheckFolder done [18:56:41]ProducePacketName [18:56:41]name=ofd_packets/00012527 [18:56:41]NVStorageSaveData ofd_packets/00012527 [18:56:41]File name is /storage/ofd_packets/00012527 [18:56:41]Write 338 bytes [18:56:41]NVStorageSaveData done [18:56:41]OFDSenderStorePacket done [18:56:41]KKMCreateOFDPacket done [18:56:41]NVStorageSaveData kkm_last_timestamp [18:56:41]File name is /storage/kkm_last_timestamp [18:56:41]Write 4 bytes [18:56:41]NVStorageSaveData done [18:56:41]ExternCall_PrintAddStr [18:56:41]wPrintStart [18:56:41]Write to MH i2c: 01 00 00 D3 2C FF [18:56:41]Write i2c OK [18:56:41]MH_I2C_Read... [18:56:41]Read from MH i2c: 01 [18:56:41]MH_I2C_Read... [18:56:41]Read from MH i2c: 01 07 00 [18:56:41]MH_I2C_Read... [18:56:41]Read from MH i2c: 01 07 00 D3 2C 00 00 00 00 00 FF 0F 14 [18:56:41]RasterBufferAndPrint [18:56:41]line Счет N : (3)32801 [18:56:41]line ИНН: 02508201610067 [18:56:41]line Контрольно-Кассовый Чек [18:56:41]line ПРОДАЖА [18:56:41]line Товар: 4011100091993 [18:56:41]line Шок Батончик Милки Вей 26г [18:56:41]line 1.000 * 35.00 [18:56:41]line = 35.00 [18:56:41]line НДС 12% НСП 1% [18:56:41]line > о реализуемом товаре [18:56:41]line ИТОГО: 35.00 [18:56:41]line НСП 1% : 0.31 [18:56:41]line НДС 12% : 3.72 [18:56:41]line Наличными: 35.00 [18:56:41]line Безнал.: 0.00 [18:56:41]line Место: АЗС № 106 "Партнер Нефть" [18:56:41]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [18:56:41]line СНО: Общий режим [18:56:41]line Чек 29 19.04.2024 18:56 [18:56:41]line Смена: 279 ФФД: 1.0 [18:56:41]line ЗНМ: 0300000004 [18:56:41]line РНМ: 0000000000100748 [18:56:41]line Версия ККМ: 001 [18:56:41]line ФМ: 0000000000965685 [18:56:41]line ФД: 12527 [18:56:41]line ФПД: 180805537776681 [18:56:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T185656&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12527&fm=180805537776681&tin=02508201610067®Number=0000000000100748&sum=3500 [18:56:41]line 0 [18:56:41]written 0, free lines is 4095 [18:56:41]OFD Sender: Processing packet 12527 [packets to send 7, broken 6] [18:56:41]ProducePacketName [18:56:41]name=ofd_packets/00012527 [18:56:41]OFD Sender: To server: pG, [18:56:41]CommunicateWithHost lk.salyk.kg:30040 [18:56:41]ConnectInit lk.salyk.kg [18:56:41]Connected sock=10 [18:56:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 34 01 00 00 2C 04 2C 01 49 32 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 39 39 33 06 04 2E 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 9C D0 B8 D0 BB D0 BA D0 B8 20 D0 92 D0 B5 D0 B9 20 32 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 0D 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 78 BE 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 EF 30 00 00 35 04 06 00 A4 71 11 DA 44 29 35 BD C1 C7 1C A8 E3 DD [18:56:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 B8 49 47 00 A2 F2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 36 38 35 10 04 04 00 EF 30 00 00 F4 03 04 00 FF 66 22 66 B6 04 01 00 00 AB 7D 9D 63 94 90 92 12 [18:56:41]CommunicateWithHost err = 0 [18:56:41]CheckOFDResponse [18:56:41]1017 (14) - 77093643461234 [18:56:41]1041 (16) - 0000000000965685 [18:56:41]1040 (4) - 12527 [18:56:41]1012 (4) - 19.04.2024 12:43 [18:56:41]1206 (1) - 0 [18:56:41]OFD Sender: Remove packet 12527 [18:56:41]ProducePacketName [18:56:41]name=ofd_packets/00012527 [18:56:41]NVStorageDeleteData [18:56:41]Write to MH i2c: 01 00 00 FA 2C 26 [18:56:41]Write i2c OK [18:56:41]MH_I2C_Read... [18:56:41]Read from MH i2c: 01 [18:56:41]MH_I2C_Read... [18:56:41]Read from MH i2c: 01 07 00 [18:56:41]MH_I2C_Read... [18:56:41]Read from MH i2c: 01 07 00 FA 2C 00 00 00 00 00 15 0D 4F [18:56:41]RasterBufferAndPrint [18:56:41]line [18:56:41]line [18:56:41]line [18:56:41]line [18:56:41]line [18:56:41]written 0, free lines is 3356 [18:56:41]MH_Cut [18:56:41]Write to MH i2c: D1 01 00 01 2D 01 00 [18:56:41]Write i2c OK [18:56:41]MH_I2C_Read... [18:56:41]Read from MH i2c: D1 [18:56:41]MH_I2C_Read... [18:56:41]Read from MH i2c: D1 01 00 [18:56:41]MH_I2C_Read... [18:56:41]Read from MH i2c: D1 01 00 01 2D 00 FF [18:56:41]Write to MH i2c: 01 00 00 02 2D 2F [18:56:41]Write i2c OK [18:56:41]MH_I2C_Read... [18:56:42]OFD Sender: No OFD packet to send [18:56:42]*** Cut start [18:56:42]*** Partial cut [18:56:42]*** CUTSNS_PIN = 1 [18:56:42]*** CUTSNS_PIN = 0 [18:56:42]*** Brake cut motor [18:56:43]Read from MH i2c: 01 [18:56:43]MH_I2C_Read... [18:56:43]*** Stop cut motor [18:56:43]*** Cut end [18:56:43]Read from MH i2c: 01 07 00 [18:56:43]MH_I2C_Read... [18:56:43]Read from MH i2c: 01 07 00 02 2D 00 00 00 00 00 FF 0F 44 [18:56:43]process_action close_receipt done [18:56:43]requested_data is exist [18:56:43]produce_requested_data [18:56:43]requested_item fm.sn is exist - process it [18:56:43]wFMCommunicate request_size=4 [18:56:43]MH_SAM_APDU [18:56:43]CAPDU: 80 11 00 00 [18:56:43]Write to MH i2c: E2 08 00 03 2D 80 11 00 00 00 00 00 00 AA [18:56:43]Write i2c OK [18:56:43]MH_I2C_Read... [18:56:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:56:43]Read from MH i2c: E2 [18:56:43]MH_I2C_Read... [18:56:43]Read from MH i2c: E2 17 00 [18:56:43]MH_I2C_Read... [18:56:43]Read from MH i2c: E2 17 00 03 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 04 [18:56:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [18:56:43]wFMCommunicate OK [18:56:43]requested_item fd.num is exist - process it [18:56:43]SAM_PROTO_GetFieldsCounters [18:56:43]wFMCommunicate request_size=4 [18:56:43]MH_SAM_APDU [18:56:43]CAPDU: 80 13 00 00 [18:56:43]Write to MH i2c: E2 08 00 04 2D 80 13 00 00 00 00 00 00 AD [18:56:43]Write i2c OK [18:56:43]MH_I2C_Read... [18:56:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:56:43]Read from MH i2c: E2 [18:56:43]MH_I2C_Read... [18:56:43]Read from MH i2c: E2 62 00 [18:56:43]MH_I2C_Read... [18:56:43]Read from MH i2c: E2 62 00 04 2D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 EF 30 00 00 0E 04 04 00 17 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 5E [18:56:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 EF 30 00 00 0E 04 04 00 17 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 [18:56:43]wFMCommunicate OK [18:56:43]SAM_PROTO_GetFieldsCounters done [18:56:43]requested_item shift.num is exist - process it [18:56:43]requested_item shift.opened is exist - process it [18:56:43]req_shift_opened [18:56:43]FM_GetShiftState [18:56:43]SAM_PROTO_GetShiftState [18:56:43]wFMCommunicate request_size=4 [18:56:43]MH_SAM_APDU [18:56:43]CAPDU: 80 13 01 00 [18:56:43]Write to MH i2c: E2 08 00 05 2D 80 13 01 00 00 00 00 00 AF [18:56:43]Write i2c OK [18:56:43]MH_I2C_Read... [18:56:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:56:43]Read from MH i2c: E2 [18:56:43]MH_I2C_Read... [18:56:43]Read from MH i2c: E2 0E 00 [18:56:43]MH_I2C_Read... [18:56:43]Read from MH i2c: E2 0E 00 05 2D 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 A5 [18:56:43]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [18:56:43]wFMCommunicate OK [18:56:43]SAM_PROTO_GetShiftState done [18:56:43]FM_GetShiftState done [18:56:43]req_shift_opened done [18:56:43]requested_item shift.open_date is exist - process it [18:56:43]req_shift_open_date [18:56:43]req_shift_open_date done [18:56:43]produce_requested_data done [18:56:43]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12527,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [18:56:43]process_action_free close_receipt [18:56:43]json_value_free [18:56:43]json_value_free done [18:56:43]process_json_proto returns [18:56:43]Send response to host [18:56:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12527,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [18:56:43]free response buf [18:56:43]execute_script done [18:56:43]execute_script returns [18:56:43]free content buf [18:56:43]Sock 8.Close socket [18:56:43]Sock 8.Thread stoped [18:56:47]OFD Sender: No OFD packet to send [18:56:52]OFD Sender: No OFD packet to send [18:56:57]OFD Sender: No OFD packet to send [18:56:57]accept exits with 9 [18:56:57]New connection [18:56:57]New thread 3067243876 created [18:56:57]Thread 3067100516 joined [18:56:57]Waiting for new connection... [18:56:57] Sock 9.Parse request [18:56:57]Sock 9.Check first char [18:56:57]Sock 9.First char is OK [18:56:57]request: POST /json_proto HTTP/1.0 [18:56:57]Method: POST [18:56:57]URL: /json_proto [18:56:57]Method is POST - this is cgi request [18:56:57]url: /json_proto [18:56:57]query_string will be loaded in cgi processing [18:56:57]execute_cgi json_proto POST (null) [18:56:57]execute_cgi path=json_proto method=POST [18:56:57]POST find Content-Length [18:56:57]Host: 172.17.62.6:8080 [18:56:57]Content-Length: 589 [18:56:57]Content-Type: application/json [18:56:57] [18:56:57]POST finish read [18:56:57]Found Content-Length = 589 [18:56:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32802", "tax_sys" : 0, "items" : [ { "code": "42113164", "name": "\u0416\u0435\u0432 Orbit White Spearmint", "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" ] } } [18:56:57]execute_script... [18:56: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)32802", "tax_sys" : 0, "items" : [ { "code": "42113164", "name": "\u0416\u0435\u0432 Orbit White Spearmint", "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" ] } } [18:56:57]POST & json_proto [18:56:57]process_json_proto [18:56:57]json parsed OK: [18:56:57]protocol is kg_v1.0 [18:56:57]action value=close_receipt [18:56:57]process_action close_receipt [18:56:57]cmd_close_receipt [18:56:57]MH_GetDate [18:56:57]Write to MH i2c: F0 00 00 06 2D 22 [18:56:57]Write i2c OK [18:56:57]MH_I2C_Read... [18:56:57]Read from MH i2c: F0 [18:56:57]MH_I2C_Read... [18:56:57]Read from MH i2c: F0 09 00 [18:56:57]MH_I2C_Read... [18:56:57]Read from MH i2c: F0 09 00 06 2D 00 8A BE 22 66 61 69 D2 64 FB [18:56:57]GetLastDocTimeStamp 1713553016 [18:56:57]current date 1713553034 [18:56:57]FM_GetShiftState [18:56:57]SAM_PROTO_GetShiftState [18:56:57]wFMCommunicate request_size=4 [18:56:57]MH_SAM_APDU [18:56:57]CAPDU: 80 13 01 00 [18:56:57]Write to MH i2c: E2 08 00 07 2D 80 13 01 00 00 00 00 00 B1 [18:56:57]Write i2c OK [18:56:57]MH_I2C_Read... [18:56:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:56:57]Read from MH i2c: E2 [18:56:57]MH_I2C_Read... [18:56:57]Read from MH i2c: E2 0E 00 [18:56:57]MH_I2C_Read... [18:56:57]Read from MH i2c: E2 0E 00 07 2D 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 A7 [18:56:57]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [18:56:57]wFMCommunicate OK [18:56:57]SAM_PROTO_GetShiftState done [18:56:57]FM_GetShiftState done [18:56:57]opened in 1713485995 [18:56:57]opened+sec_in_day 1713572395 [18:56:57]quantity*price = 4000 [18:56:57]sum+1 = 4001 [18:56:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 30 19.04.2024 18:57 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12528 ФПД: 65666451993321 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T185714&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12528&fm=65666451993321&tin=02508201610067®Number=0000000000100748&sum=4000 0 [18:56:58]StoreToDocumentArchive [18:56:58]shift 279 fd 12528 [18:56:58]save to /storage/0279/doc_00012528 [18:56:58]save last doc name /storage/0279/doc_00012528 to /storage/kkm_last_doc_name [18:56:58]save OK [18:56:58]Clear old archive folders... [18:56:58]ProcessDocumentItem done err = 0, tmpTLVsize=265 [18:56:58]tlvbuf is 01CFC150 [18:56:58]SAM_PROTO_ClearQueue [18:56:58]wFMCommunicate request_size=4 [18:56:58]MH_SAM_APDU [18:56:58]CAPDU: 80 09 00 00 [18:56:58]Write to MH i2c: E2 08 00 14 2D 80 09 00 00 00 00 00 00 B3 [18:56:58]Write i2c OK [18:56:58]MH_I2C_Read... [18:56:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:56:58]Read from MH i2c: E2 [18:56:58]MH_I2C_Read... [18:56:58]Read from MH i2c: E2 03 00 [18:56:58]MH_I2C_Read... [18:56:58]Read from MH i2c: E2 03 00 14 2D 00 90 00 B5 [18:56:58]RAPDU: 90 00 [18:56:58]wFMCommunicate OK [18:56:58]SAM_PROTO_ClearQueue done [18:56:58]KKMCreateOFDPacket [18:56:58]OFDProtocolAddRootSTLVToBuf [18:56:58]FM_MakeSignedData [18:56:58]FM_MakeSignedData [18:56:58]SAM_PROTO_SignData [18:56:58]wFMCommunicate request_size=4 [18:56:58]MH_SAM_APDU [18:56:58]CAPDU: 80 0D 01 02 [18:56:58]Write to MH i2c: E2 08 00 15 2D 80 0D 01 02 00 00 00 00 BB [18:56:58]Write i2c OK [18:56:58]MH_I2C_Read... [18:56:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:56:58]Read from MH i2c: E2 [18:56:58]MH_I2C_Read... [18:56:58]Read from MH i2c: E2 03 00 [18:56:58]MH_I2C_Read... [18:56:58]Read from MH i2c: E2 03 00 15 2D 00 90 00 B6 [18:56:58]RAPDU: 90 00 [18:56:58]wFMCommunicate OK [18:56:58]wFMCommunicate request_size=255 [18:56:58]MH_SAM_APDU [18:56:58]CAPDU: 80 0D 02 02 FA 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 1E 00 00 00 F4 03 04 00 8A BE 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 [18:56:58]Write to MH i2c: E2 02 01 16 2D 80 0D 02 02 FA 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 1E 00 00 00 F4 03 04 00 8A BE 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 00 00 89 [18:56:58]Write i2c OK [18:56:58]MH_I2C_Read... [18:56:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:56:58]Read from MH i2c: E2 [18:56:58]MH_I2C_Read... [18:56:58]Read from MH i2c: E2 03 00 [18:56:58]MH_I2C_Read... [18:56:58]Read from MH i2c: E2 03 00 16 2D 00 90 00 B7 [18:56:58]RAPDU: 90 00 [18:56:58]wFMCommunicate OK [18:56:58]wFMCommunicate request_size=24 [18:56:58]MH_SAM_APDU [18:56:58]CAPDU: 80 0D 02 02 13 35 10 04 04 00 F0 30 00 00 35 04 06 00 3B B9 29 8B 72 E9 [18:56:58]Write to MH i2c: E2 1B 00 17 2D 80 0D 02 02 13 00 35 10 04 04 00 F0 30 00 00 35 04 06 00 3B B9 29 8B 72 E9 00 00 93 [18:56:58]Write i2c OK [18:56:58]MH_I2C_Read... [18:56:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:56:58]Read from MH i2c: E2 [18:56:58]MH_I2C_Read... [18:56:58]Read from MH i2c: E2 03 00 [18:56:58]MH_I2C_Read... [18:56:58]Read from MH i2c: E2 03 00 17 2D 00 90 00 B8 [18:56:58]RAPDU: 90 00 [18:56:58]wFMCommunicate OK [18:56:58]wFMCommunicate request_size=4 [18:56:58]MH_SAM_APDU [18:56:58]CAPDU: 80 0D 03 02 [18:56:58]Write to MH i2c: E2 08 00 18 2D 80 0D 03 02 00 00 00 00 C0 [18:56:58]Write i2c OK [18:56:58]MH_I2C_Read... [18:56:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:56:58]Read from MH i2c: E2 [18:56:58]MH_I2C_Read... [18:56:58]Read from MH i2c: E2 0B 00 [18:56:58]MH_I2C_Read... [18:56:58]Read from MH i2c: E2 0B 00 18 2D 00 F8 4C F2 13 91 59 91 54 90 00 D9 [18:56:58]RAPDU: F8 4C F2 13 91 59 91 54 90 00 [18:56:58]wFMCommunicate OK [18:56:58]SAM_PROTO_SignData done [18:56:58]FM_MakeSignedData done [18:56:58]CreateOFDProtocolMessage [18:56:58]wFMCommunicate request_size=4 [18:56:58]MH_SAM_APDU [18:56:58]CAPDU: 80 11 00 00 [18:56:58]Write to MH i2c: E2 08 00 19 2D 80 11 00 00 00 00 00 00 C0 [18:56:58]Write i2c OK [18:56:58]MH_I2C_Read... [18:56:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:56:59]Read from MH i2c: E2 [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: E2 17 00 [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: E2 17 00 19 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 1A [18:56:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [18:56:59]wFMCommunicate OK [18:56:59]CreateOFDProtocolMessage done [18:56:59]OFDSenderStorePacket 12528 [18:56:59]StoreOFDPacket docnum=12528 [18:56:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 1D 01 00 00 B2 F4 15 01 9B B2 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 1E 00 00 00 F4 03 04 00 8A BE 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F0 30 00 00 35 04 06 00 3B B9 29 8B 72 E9 F8 4C F2 13 91 59 91 54 [18:56:59]CheckFolder [18:56:59]dirname=/storage/ofd_packets [18:56:59]CheckFolder done [18:56:59]ProducePacketName [18:56:59]name=ofd_packets/00012528 [18:56:59]NVStorageSaveData ofd_packets/00012528 [18:56:59]File name is /storage/ofd_packets/00012528 [18:56:59]Write 315 bytes [18:56:59]NVStorageSaveData done [18:56:59]OFDSenderStorePacket done [18:56:59]KKMCreateOFDPacket done [18:56:59]NVStorageSaveData kkm_last_timestamp [18:56:59]File name is /storage/kkm_last_timestamp [18:56:59]Write 4 bytes [18:56:59]NVStorageSaveData done [18:56:59]ExternCall_PrintAddStr [18:56:59]wPrintStart [18:56:59]Write to MH i2c: 01 00 00 1A 2D 47 [18:56:59]Write i2c OK [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: 01 [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: 01 07 00 [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: 01 07 00 1A 2D 00 00 00 00 00 FF 0F 5C [18:56:59]RasterBufferAndPrint [18:56:59]line Счет N : (3)32802 [18:56:59]line ИНН: 02508201610067 [18:56:59]line Контрольно-Кассовый Чек [18:56:59]line ПРОДАЖА [18:56:59]line Товар: 42113164 [18:56:59]line Жев Orbit White Spearmint [18:56:59]line 1.000 * 40.00 [18:56:59]line = 40.00 [18:56:59]line НДС 12% НСП 1% [18:56:59]line > о реализуемом товаре [18:56:59]line ИТОГО: 40.00 [18:56:59]line НСП 1% : 0.35 [18:56:59]line НДС 12% : 4.25 [18:56:59]line Наличными: 40.00 [18:56:59]line Безнал.: 0.00 [18:56:59]line Место: АЗС № 106 "Партнер Нефть" [18:56:59]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [18:56:59]line СНО: Общий режим [18:56:59]line Чек 30 19.04.2024 18:57 [18:56:59]line Смена: 279 ФФД: 1.0 [18:56:59]line ЗНМ: 0300000004 [18:56:59]line РНМ: 0000000000100748 [18:56:59]line Версия ККМ: 001 [18:56:59]line ФМ: 0000000000965685 [18:56:59]line ФД: 12528 [18:56:59]line ФПД: 65666451993321 [18:56:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T185714&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12528&fm=65666451993321&tin=02508201610067®Number=0000000000100748&sum=4000 [18:56:59]line 0 [18:56:59]OFD Sender: Processing packet 12528 [packets to send 7, broken 6] [18:56:59]ProducePacketName [18:56:59]name=ofd_packets/00012528 [18:56:59]OFD Sender: To server: pG, [18:56:59]CommunicateWithHost lk.salyk.kg:30040 [18:56:59]ConnectInit lk.salyk.kg [18:56:59]written 0, free lines is 4095 [18:56:59]Connected sock=8 [18:56:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 1D 01 00 00 B2 F4 15 01 9B B2 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 08 00 34 32 31 31 33 31 36 34 06 04 1C 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 53 70 65 61 72 6D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 1E 00 00 00 F4 03 04 00 8A BE 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F0 30 00 00 35 04 06 00 3B B9 29 8B 72 E9 F8 4C F2 13 91 59 91 54 [18:56:59]Write to MH i2c: 01 00 00 41 2D 6E [18:56:59]Write i2c OK [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: 01 [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: 01 07 00 [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: 01 07 00 41 2D 00 00 00 00 00 00 0D 82 [18:56:59]RasterBufferAndPrint [18:56:59]line [18:56:59]line [18:56:59]line [18:56:59]line [18:56:59]line [18:56:59]written 0, free lines is 3337 [18:56:59]MH_Cut [18:56:59]Write to MH i2c: D1 01 00 48 2D 01 47 [18:56:59]Write i2c OK [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: D1 [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: D1 01 00 [18:56:59]MH_I2C_Read... [18:56:59]Read from MH i2c: D1 01 00 48 2D 00 46 [18:56:59]Write to MH i2c: 01 00 00 49 2D 76 [18:56:59]Write i2c OK [18:56:59]MH_I2C_Read... [18:56:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 C2 3A 47 00 39 98 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F0 30 00 00 F4 03 04 00 11 67 22 66 B6 04 01 00 00 25 24 0A 6B DB 0B 63 59 [18:56:59]CommunicateWithHost err = 0 [18:56:59]CheckOFDResponse [18:56:59]1017 (14) - 77093643461234 [18:56:59]1041 (16) - 0000000000965685 [18:56:59]1040 (4) - 12528 [18:56:59]1012 (4) - 19.04.2024 12:44 [18:56:59]1206 (1) - 0 [18:56:59]OFD Sender: Remove packet 12528 [18:56:59]ProducePacketName [18:56:59]name=ofd_packets/00012528 [18:56:59]NVStorageDeleteData [18:57:00]OFD Sender: No OFD packet to send [18:57:00]*** Cut start [18:57:00]*** Partial cut [18:57:00]*** CUTSNS_PIN = 1 [18:57:00]*** CUTSNS_PIN = 0 [18:57:00]*** Brake cut motor [18:57:01]Read from MH i2c: 01 [18:57:01]MH_I2C_Read... [18:57:01]*** Stop cut motor [18:57:01]*** Cut end [18:57:01]Read from MH i2c: 01 07 00 [18:57:01]MH_I2C_Read... [18:57:01]Read from MH i2c: 01 07 00 49 2D 00 00 00 00 00 FF 0F 8B [18:57:01]process_action close_receipt done [18:57:01]requested_data is exist [18:57:01]produce_requested_data [18:57:01]requested_item fm.sn is exist - process it [18:57:01]wFMCommunicate request_size=4 [18:57:01]MH_SAM_APDU [18:57:01]CAPDU: 80 11 00 00 [18:57:01]Write to MH i2c: E2 08 00 4A 2D 80 11 00 00 00 00 00 00 F1 [18:57:01]Write i2c OK [18:57:01]MH_I2C_Read... [18:57:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:57:01]Read from MH i2c: E2 [18:57:01]MH_I2C_Read... [18:57:01]Read from MH i2c: E2 17 00 [18:57:01]MH_I2C_Read... [18:57:01]Read from MH i2c: E2 17 00 4A 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 4B [18:57:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [18:57:01]wFMCommunicate OK [18:57:01]requested_item fd.num is exist - process it [18:57:01]SAM_PROTO_GetFieldsCounters [18:57:01]wFMCommunicate request_size=4 [18:57:01]MH_SAM_APDU [18:57:01]CAPDU: 80 13 00 00 [18:57:01]Write to MH i2c: E2 08 00 4B 2D 80 13 00 00 00 00 00 00 F4 [18:57:01]Write i2c OK [18:57:01]MH_I2C_Read... [18:57:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:57:01]Read from MH i2c: E2 [18:57:01]MH_I2C_Read... [18:57:01]Read from MH i2c: E2 62 00 [18:57:01]MH_I2C_Read... [18:57:01]Read from MH i2c: E2 62 00 4B 2D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 F0 30 00 00 0E 04 04 00 17 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 A9 [18:57:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 F0 30 00 00 0E 04 04 00 17 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 [18:57:01]wFMCommunicate OK [18:57:01]SAM_PROTO_GetFieldsCounters done [18:57:01]requested_item shift.num is exist - process it [18:57:01]requested_item shift.opened is exist - process it [18:57:01]req_shift_opened [18:57:01]FM_GetShiftState [18:57:01]SAM_PROTO_GetShiftState [18:57:01]wFMCommunicate request_size=4 [18:57:01]MH_SAM_APDU [18:57:01]CAPDU: 80 13 01 00 [18:57:01]Write to MH i2c: E2 08 00 4C 2D 80 13 01 00 00 00 00 00 F6 [18:57:01]Write i2c OK [18:57:01]MH_I2C_Read... [18:57:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:57:01]Read from MH i2c: E2 [18:57:01]MH_I2C_Read... [18:57:01]Read from MH i2c: E2 0E 00 [18:57:01]MH_I2C_Read... [18:57:01]Read from MH i2c: E2 0E 00 4C 2D 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 EC [18:57:01]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [18:57:01]wFMCommunicate OK [18:57:01]SAM_PROTO_GetShiftState done [18:57:01]FM_GetShiftState done [18:57:01]req_shift_opened done [18:57:01]requested_item shift.open_date is exist - process it [18:57:01]req_shift_open_date [18:57:01]req_shift_open_date done [18:57:01]produce_requested_data done [18:57:01]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12528,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [18:57:01]process_action_free close_receipt [18:57:01]json_value_free [18:57:01]json_value_free done [18:57:01]process_json_proto returns [18:57:01]Send response to host [18:57:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12528,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [18:57:01]free response buf [18:57:01]execute_script done [18:57:01]execute_script returns [18:57:01]free content buf [18:57:01]Sock 9.Close socket [18:57:01]Sock 9.Thread stoped [18:57:05]OFD Sender: No OFD packet to send [18:57:10]OFD Sender: No OFD packet to send [18:57:15]OFD Sender: No OFD packet to send [18:57:20]OFD Sender: No OFD packet to send [18:57:25]OFD Sender: No OFD packet to send [18:57:30]OFD Sender: No OFD packet to send [18:57:35]OFD Sender: No OFD packet to send [18:57:40]OFD Sender: No OFD packet to send [18:57:45]OFD Sender: No OFD packet to send [18:57:50]OFD Sender: No OFD packet to send [18:57:55]OFD Sender: No OFD packet to send [18:58:00]OFD Sender: No OFD packet to send [18:58:05]OFD Sender: No OFD packet to send [18:58:10]OFD Sender: No OFD packet to send [18:58:15]OFD Sender: No OFD packet to send [18:58:20]OFD Sender: No OFD packet to send [18:58:25]OFD Sender: No OFD packet to send [18:58:30]OFD Sender: No OFD packet to send [18:58:35]OFD Sender: No OFD packet to send [18:58:40]OFD Sender: No OFD packet to send [18:58:45]OFD Sender: No OFD packet to send [18:58:50]OFD Sender: No OFD packet to send [18:58:55]OFD Sender: No OFD packet to send [18:59:00]OFD Sender: No OFD packet to send [18:59:05]OFD Sender: No OFD packet to send [18:59:10]OFD Sender: No OFD packet to send [18:59:15]OFD Sender: No OFD packet to send [18:59:20]OFD Sender: No OFD packet to send [18:59:25]OFD Sender: No OFD packet to send [18:59:30]OFD Sender: No OFD packet to send [18:59:35]OFD Sender: No OFD packet to send [18:59:40]OFD Sender: No OFD packet to send [18:59:45]OFD Sender: No OFD packet to send [18:59:50]OFD Sender: No OFD packet to send [18:59:55]OFD Sender: No OFD packet to send [19:00:00]OFD Sender: No OFD packet to send [19:00:05]OFD Sender: No OFD packet to send [19:00:10]OFD Sender: No OFD packet to send [19:00:15]OFD Sender: No OFD packet to send [19:00:20]OFD Sender: No OFD packet to send [19:00:25]OFD Sender: No OFD packet to send [19:00:30]OFD Sender: No OFD packet to send [19:00:35]OFD Sender: No OFD packet to send [19:00:40]OFD Sender: No OFD packet to send [19:00:45]OFD Sender: No OFD packet to send [19:00:50]OFD Sender: No OFD packet to send [19:00:55]OFD Sender: No OFD packet to send [19:01:00]OFD Sender: No OFD packet to send [19:01:05]OFD Sender: No OFD packet to send [19:01:10]OFD Sender: No OFD packet to send [19:01:15]OFD Sender: No OFD packet to send [19:01:20]OFD Sender: No OFD packet to send [19:01:25]OFD Sender: No OFD packet to send [19:01:30]OFD Sender: No OFD packet to send [19:01:35]OFD Sender: No OFD packet to send [19:01:40]OFD Sender: No OFD packet to send [19:01:45]OFD Sender: No OFD packet to send [19:01:50]OFD Sender: No OFD packet to send [19:01:55]OFD Sender: No OFD packet to send [19:02:00]OFD Sender: No OFD packet to send [19:02:05]OFD Sender: No OFD packet to send [19:02:10]OFD Sender: No OFD packet to send [19:02:15]OFD Sender: No OFD packet to send [19:02:20]OFD Sender: No OFD packet to send [19:02:25]OFD Sender: No OFD packet to send [19:02:30]OFD Sender: No OFD packet to send [19:02:35]OFD Sender: No OFD packet to send [19:02:40]OFD Sender: No OFD packet to send [19:02:45]OFD Sender: No OFD packet to send [19:02:50]OFD Sender: No OFD packet to send [19:02:55]OFD Sender: No OFD packet to send [19:03:00]OFD Sender: No OFD packet to send [19:03:05]OFD Sender: No OFD packet to send [19:03:10]OFD Sender: No OFD packet to send [19:03:15]OFD Sender: No OFD packet to send [19:03:20]OFD Sender: No OFD packet to send [19:03:25]OFD Sender: No OFD packet to send [19:03:30]OFD Sender: No OFD packet to send [19:03:35]OFD Sender: No OFD packet to send [19:03:40]OFD Sender: No OFD packet to send [19:03:45]OFD Sender: No OFD packet to send [19:03:50]OFD Sender: No OFD packet to send [19:03:55]OFD Sender: No OFD packet to send [19:04:00]OFD Sender: No OFD packet to send [19:04:05]OFD Sender: No OFD packet to send [19:04:10]OFD Sender: No OFD packet to send [19:04:15]OFD Sender: No OFD packet to send [19:04:20]OFD Sender: No OFD packet to send [19:04:25]OFD Sender: No OFD packet to send [19:04:30]OFD Sender: No OFD packet to send [19:04:35]OFD Sender: No OFD packet to send [19:04:40]OFD Sender: No OFD packet to send [19:04:45]OFD Sender: No OFD packet to send [19:04:50]OFD Sender: No OFD packet to send [19:04:55]OFD Sender: No OFD packet to send [19:05:00]OFD Sender: No OFD packet to send [19:05:05]OFD Sender: No OFD packet to send [19:05:10]OFD Sender: No OFD packet to send [19:05:15]OFD Sender: No OFD packet to send [19:05:20]OFD Sender: No OFD packet to send [19:05:25]OFD Sender: No OFD packet to send [19:05:30]OFD Sender: No OFD packet to send [19:05:35]OFD Sender: No OFD packet to send [19:05:40]OFD Sender: No OFD packet to send [19:05:45]OFD Sender: No OFD packet to send [19:05:50]OFD Sender: No OFD packet to send [19:05:55]OFD Sender: No OFD packet to send [19:06:00]OFD Sender: No OFD packet to send [19:06:05]OFD Sender: No OFD packet to send [19:06:10]OFD Sender: No OFD packet to send [19:06:15]OFD Sender: No OFD packet to send [19:06:20]OFD Sender: No OFD packet to send [19:06:25]OFD Sender: No OFD packet to send [19:06:30]OFD Sender: No OFD packet to send [19:06:35]OFD Sender: No OFD packet to send [19:06:40]OFD Sender: No OFD packet to send [19:06:45]OFD Sender: No OFD packet to send [19:06:50]OFD Sender: No OFD packet to send [19:06:55]OFD Sender: No OFD packet to send [19:07:00]OFD Sender: No OFD packet to send [19:07:05]OFD Sender: No OFD packet to send [19:07:10]OFD Sender: No OFD packet to send [19:07:15]OFD Sender: No OFD packet to send [19:07:20]OFD Sender: No OFD packet to send [19:07:25]OFD Sender: No OFD packet to send [19:07:30]OFD Sender: No OFD packet to send [19:07:35]OFD Sender: No OFD packet to send [19:07:40]OFD Sender: No OFD packet to send [19:07:45]OFD Sender: No OFD packet to send [19:07:50]OFD Sender: No OFD packet to send [19:07:55]OFD Sender: No OFD packet to send [19:08:00]OFD Sender: No OFD packet to send [19:08:05]OFD Sender: No OFD packet to send [19:08:10]OFD Sender: No OFD packet to send [19:08:15]OFD Sender: No OFD packet to send [19:08:20]OFD Sender: No OFD packet to send [19:08:25]OFD Sender: No OFD packet to send [19:08:30]OFD Sender: No OFD packet to send [19:08:35]OFD Sender: No OFD packet to send [19:08:40]OFD Sender: No OFD packet to send [19:08:45]OFD Sender: No OFD packet to send [19:08:50]OFD Sender: No OFD packet to send [19:08:55]OFD Sender: No OFD packet to send [19:09:00]OFD Sender: No OFD packet to send [19:09:05]OFD Sender: No OFD packet to send [19:09:10]OFD Sender: No OFD packet to send [19:09:15]OFD Sender: No OFD packet to send [19:09:20]OFD Sender: No OFD packet to send [19:09:25]OFD Sender: No OFD packet to send [19:09:30]OFD Sender: No OFD packet to send [19:09:35]OFD Sender: No OFD packet to send [19:09:40]OFD Sender: No OFD packet to send [19:09:45]OFD Sender: No OFD packet to send [19:09:50]OFD Sender: No OFD packet to send [19:09:55]OFD Sender: No OFD packet to send [19:10:00]OFD Sender: No OFD packet to send [19:10:05]OFD Sender: No OFD packet to send [19:10:10]OFD Sender: No OFD packet to send [19:10:15]OFD Sender: No OFD packet to send [19:10:20]OFD Sender: No OFD packet to send [19:10:25]OFD Sender: No OFD packet to send [19:10:30]OFD Sender: No OFD packet to send [19:10:35]OFD Sender: No OFD packet to send [19:10:40]OFD Sender: No OFD packet to send [19:10:45]OFD Sender: No OFD packet to send [19:10:50]OFD Sender: No OFD packet to send [19:10:55]OFD Sender: No OFD packet to send [19:11:00]OFD Sender: No OFD packet to send [19:11:05]OFD Sender: No OFD packet to send [19:11:11]OFD Sender: No OFD packet to send [19:11:16]OFD Sender: No OFD packet to send [19:11:21]OFD Sender: No OFD packet to send [19:11:26]OFD Sender: No OFD packet to send [19:11:31]OFD Sender: No OFD packet to send [19:11:36]OFD Sender: No OFD packet to send [19:11:41]OFD Sender: No OFD packet to send [19:11:46]OFD Sender: No OFD packet to send [19:11:51]OFD Sender: No OFD packet to send [19:11:56]OFD Sender: No OFD packet to send [19:12:01]OFD Sender: No OFD packet to send [19:12:06]OFD Sender: No OFD packet to send [19:12:11]OFD Sender: No OFD packet to send [19:12:16]OFD Sender: No OFD packet to send [19:12:21]OFD Sender: No OFD packet to send [19:12:26]OFD Sender: No OFD packet to send [19:12:31]OFD Sender: No OFD packet to send [19:12:36]OFD Sender: No OFD packet to send [19:12:41]OFD Sender: No OFD packet to send [19:12:46]OFD Sender: No OFD packet to send [19:12:51]OFD Sender: No OFD packet to send [19:12:56]OFD Sender: No OFD packet to send [19:13:01]OFD Sender: No OFD packet to send [19:13:06]OFD Sender: No OFD packet to send [19:13:11]OFD Sender: No OFD packet to send [19:13:16]OFD Sender: No OFD packet to send [19:13:21]OFD Sender: No OFD packet to send [19:13:26]OFD Sender: No OFD packet to send [19:13:31]OFD Sender: No OFD packet to send [19:13:36]OFD Sender: No OFD packet to send [19:13:41]OFD Sender: No OFD packet to send [19:13:46]OFD Sender: No OFD packet to send [19:13:51]OFD Sender: No OFD packet to send [19:13:56]OFD Sender: No OFD packet to send [19:14:01]OFD Sender: No OFD packet to send [19:14:06]OFD Sender: No OFD packet to send [19:14:11]OFD Sender: No OFD packet to send [19:14:16]OFD Sender: No OFD packet to send [19:14:21]OFD Sender: No OFD packet to send [19:14:26]OFD Sender: No OFD packet to send [19:14:31]OFD Sender: No OFD packet to send [19:14:36]OFD Sender: No OFD packet to send [19:14:41]OFD Sender: No OFD packet to send [19:14:46]OFD Sender: No OFD packet to send [19:14:51]OFD Sender: No OFD packet to send [19:14:56]OFD Sender: No OFD packet to send [19:15:01]OFD Sender: No OFD packet to send [19:15:06]OFD Sender: No OFD packet to send [19:15:11]OFD Sender: No OFD packet to send [19:15:16]OFD Sender: No OFD packet to send [19:15:21]OFD Sender: No OFD packet to send [19:15:26]OFD Sender: No OFD packet to send [19:15:31]OFD Sender: No OFD packet to send [19:15:36]OFD Sender: No OFD packet to send [19:15:41]OFD Sender: No OFD packet to send [19:15:46]OFD Sender: No OFD packet to send [19:15:51]OFD Sender: No OFD packet to send [19:15:56]OFD Sender: No OFD packet to send [19:16:01]OFD Sender: No OFD packet to send [19:16:06]OFD Sender: No OFD packet to send [19:16:11]OFD Sender: No OFD packet to send [19:16:16]OFD Sender: No OFD packet to send [19:16:21]OFD Sender: No OFD packet to send [19:16:26]OFD Sender: No OFD packet to send [19:16:31]OFD Sender: No OFD packet to send [19:16:36]OFD Sender: No OFD packet to send [19:16:41]OFD Sender: No OFD packet to send [19:16:46]OFD Sender: No OFD packet to send [19:16:51]OFD Sender: No OFD packet to send [19:16:56]OFD Sender: No OFD packet to send [19:17:01]OFD Sender: No OFD packet to send [19:17:06]OFD Sender: No OFD packet to send [19:17:11]OFD Sender: No OFD packet to send [19:17:16]OFD Sender: No OFD packet to send [19:17:21]OFD Sender: No OFD packet to send [19:17:26]OFD Sender: No OFD packet to send [19:17:31]OFD Sender: No OFD packet to send [19:17:36]OFD Sender: No OFD packet to send [19:17:41]OFD Sender: No OFD packet to send [19:17:46]OFD Sender: No OFD packet to send [19:17:51]OFD Sender: No OFD packet to send [19:17:56]OFD Sender: No OFD packet to send [19:18:01]OFD Sender: No OFD packet to send [19:18:06]OFD Sender: No OFD packet to send [19:18:11]OFD Sender: No OFD packet to send [19:18:16]OFD Sender: No OFD packet to send [19:18:21]OFD Sender: No OFD packet to send [19:18:26]OFD Sender: No OFD packet to send [19:18:31]OFD Sender: No OFD packet to send [19:18:36]OFD Sender: No OFD packet to send [19:18:41]OFD Sender: No OFD packet to send [19:18:46]OFD Sender: No OFD packet to send [19:18:51]OFD Sender: No OFD packet to send [19:18:56]OFD Sender: No OFD packet to send [19:19:01]OFD Sender: No OFD packet to send [19:19:06]OFD Sender: No OFD packet to send [19:19:11]OFD Sender: No OFD packet to send [19:19:16]OFD Sender: No OFD packet to send [19:19:21]OFD Sender: No OFD packet to send [19:19:26]OFD Sender: No OFD packet to send [19:19:31]OFD Sender: No OFD packet to send [19:19:36]OFD Sender: No OFD packet to send [19:19:41]OFD Sender: No OFD packet to send [19:19:46]OFD Sender: No OFD packet to send [19:19:51]OFD Sender: No OFD packet to send [19:19:56]OFD Sender: No OFD packet to send [19:20:01]OFD Sender: No OFD packet to send [19:20:06]OFD Sender: No OFD packet to send [19:20:11]OFD Sender: No OFD packet to send [19:20:16]OFD Sender: No OFD packet to send [19:20:21]OFD Sender: No OFD packet to send [19:20:26]OFD Sender: No OFD packet to send [19:20:31]OFD Sender: No OFD packet to send [19:20:36]OFD Sender: No OFD packet to send [19:20:41]OFD Sender: No OFD packet to send [19:20:42]accept exits with 10 [19:20:42]New connection [19:20:42]New thread 3067100516 created [19:20:42]Thread 3067243876 joined [19:20:42]Waiting for new connection... [19:20:42] Sock 10.Parse request [19:20:42]Sock 10.Check first char [19:20:42]Sock 10.First char is OK [19:20:42]request: POST /json_proto HTTP/1.0 [19:20:42]Method: POST [19:20:42]URL: /json_proto [19:20:42]Method is POST - this is cgi request [19:20:42]url: /json_proto [19:20:42]query_string will be loaded in cgi processing [19:20:42]execute_cgi json_proto POST (null) [19:20:42]execute_cgi path=json_proto method=POST [19:20:42]POST find Content-Length [19:20:42]Host: 172.17.62.6:8080 [19:20:42]Content-Length: 215 [19:20:42]Content-Type: application/json [19:20:42] [19:20:42]POST finish read [19:20:42]Found Content-Length = 215 [19:20:42]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" ] } } [19:20:42]execute_script... [19:20:42]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" ] } } [19:20:42]POST & json_proto [19:20:42]process_json_proto [19:20:42]json parsed OK: [19:20:42]protocol is kg_v1.0 [19:20:42]action value=get_value [19:20:42]process_action get_value [19:20:42]cmd_get_value [19:20:42]process_action get_value done [19:20:42]requested_data is exist [19:20:42]produce_requested_data [19:20:42]requested_item kkm.sn is exist - process it [19:20:42]requested_item kkm.ver is exist - process it [19:20:42]requested_item fm.sn is exist - process it [19:20:42]wFMCommunicate request_size=4 [19:20:42]MH_SAM_APDU [19:20:42]CAPDU: 80 11 00 00 [19:20:42]Write to MH i2c: E2 08 00 4D 2D 80 11 00 00 00 00 00 00 F4 [19:20:42]Write i2c OK [19:20:42]MH_I2C_Read... [19:20:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:20:42]Read from MH i2c: E2 [19:20:42]MH_I2C_Read... [19:20:42]Read from MH i2c: E2 17 00 [19:20:42]MH_I2C_Read... [19:20:42]Read from MH i2c: E2 17 00 4D 2D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 4E [19:20:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [19:20:42]wFMCommunicate OK [19:20:42]requested_item fd.num is exist - process it [19:20:42]SAM_PROTO_GetFieldsCounters [19:20:42]wFMCommunicate request_size=4 [19:20:42]MH_SAM_APDU [19:20:42]CAPDU: 80 13 00 00 [19:20:42]Write to MH i2c: E2 08 00 4E 2D 80 13 00 00 00 00 00 00 F7 [19:20:42]Write i2c OK [19:20:42]MH_I2C_Read... [19:20:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:20:42]Read from MH i2c: E2 [19:20:42]MH_I2C_Read... [19:20:42]Read from MH i2c: E2 62 00 [19:20:42]MH_I2C_Read... [19:20:42]Read from MH i2c: E2 62 00 4E 2D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 F0 30 00 00 0E 04 04 00 17 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 AC [19:20:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 F0 30 00 00 0E 04 04 00 17 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 [19:20:42]wFMCommunicate OK [19:20:42]SAM_PROTO_GetFieldsCounters done [19:20:42]requested_item shift.num is exist - process it [19:20:42]requested_item shift.opened is exist - process it [19:20:42]req_shift_opened [19:20:42]FM_GetShiftState [19:20:42]SAM_PROTO_GetShiftState [19:20:42]wFMCommunicate request_size=4 [19:20:42]MH_SAM_APDU [19:20:42]CAPDU: 80 13 01 00 [19:20:42]Write to MH i2c: E2 08 00 4F 2D 80 13 01 00 00 00 00 00 F9 [19:20:42]Write i2c OK [19:20:42]MH_I2C_Read... [19:20:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:20:42]Read from MH i2c: E2 [19:20:42]MH_I2C_Read... [19:20:42]Read from MH i2c: E2 0E 00 [19:20:42]MH_I2C_Read... [19:20:42]Read from MH i2c: E2 0E 00 4F 2D 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 EF [19:20:42]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [19:20:42]wFMCommunicate OK [19:20:42]SAM_PROTO_GetShiftState done [19:20:42]FM_GetShiftState done [19:20:42]req_shift_opened done [19:20:42]requested_item shift.open_date is exist - process it [19:20:42]req_shift_open_date [19:20:42]req_shift_open_date done [19:20:42]produce_requested_data done [19:20:42]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12528,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [19:20:42]process_action_free get_value [19:20:42]json_value_free [19:20:42]json_value_free done [19:20:42]process_json_proto returns [19:20:42]Send response to host [19:20:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12528,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [19:20:42]free response buf [19:20:42]execute_script done [19:20:42]execute_script returns [19:20:42]free content buf [19:20:42]Sock 10.Close socket [19:20:42]Sock 10.Thread stoped [19:20:42]accept exits with 8 [19:20:42]New connection [19:20:42]New thread 3067243876 created [19:20:42]Thread 3067100516 joined [19:20:42]Waiting for new connection... [19:20:42] Sock 8.Parse request [19:20:42]Sock 8.Check first char [19:20:42]Sock 8.First char is OK [19:20:42]request: POST /json_proto HTTP/1.0 [19:20:42]Method: POST [19:20:42]URL: /json_proto [19:20:42]Method is POST - this is cgi request [19:20:42]url: /json_proto [19:20:42]query_string will be loaded in cgi processing [19:20:42]execute_cgi json_proto POST (null) [19:20:42]execute_cgi path=json_proto method=POST [19:20:42]POST find Content-Length [19:20:42]Host: 172.17.62.6:8080 [19:20:42]Content-Length: 331 [19:20:42]Content-Type: application/json [19:20:42] [19:20:42]POST finish read [19:20:42]Found Content-Length = 331 [19:20:42]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" ] } } [19:20:42]execute_script... [19:20:43]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" ] } } [19:20:43]POST & json_proto [19:20:43]process_json_proto [19:20:43]json parsed OK: [19:20:43]protocol is kg_v1.0 [19:20:43]action value=get_value [19:20:43]process_action get_value [19:20:43]cmd_get_value [19:20:43]process_action get_value done [19:20:43]requested_data is exist [19:20:43]produce_requested_data [19:20:43]requested_item fm.sale.total is exist - process it [19:20:43]SAM_PROTO_GetFMData [19:20:43]wFMCommunicate request_size=4 [19:20:43]MH_SAM_APDU [19:20:43]CAPDU: 80 13 03 00 [19:20:43]Write to MH i2c: E2 08 00 50 2D 80 13 03 00 00 00 00 00 FC [19:20:43]Write i2c OK [19:20:43]MH_I2C_Read... [19:20:43]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [19:20:43]Read from MH i2c: E2 [19:20:43]MH_I2C_Read... [19:20:43]Read from MH i2c: E2 FD 00 [19:20:43]MH_I2C_Read... [19:20:43]Read from MH i2c: E2 FD 00 50 2D 00 C1 04 85 04 BD 04 6E 04 04 00 C2 2E 00 00 69 04 A0 00 6F 04 04 00 76 2E 00 00 B1 04 04 00 D7 EE B0 0E 70 04 04 00 AE C0 AC 0C 72 04 04 00 29 2E 04 02 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 13 63 8F 01 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 2D 44 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 62 [19:20:43]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 C2 2E 00 00 69 04 A0 00 6F 04 04 00 76 2E 00 00 B1 04 04 00 D7 EE B0 0E 70 04 04 00 AE C0 AC 0C 72 04 04 00 29 2E 04 02 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 13 63 8F 01 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 2D 44 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 [19:20:43]wFMCommunicate OK [19:20:43]wFMCommunicate request_size=4 [19:20:43]MH_SAM_APDU [19:20:43]CAPDU: 80 17 00 00 [19:20:43]Write to MH i2c: E2 08 00 51 2D 80 17 00 00 00 00 00 00 FE [19:20:43]Write i2c OK [19:20:43]MH_I2C_Read... [19:20:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:20:43]Read from MH i2c: E2 [19:20:43]MH_I2C_Read... [19:20:43]Read from MH i2c: E2 FD 00 [19:20:43]MH_I2C_Read... [19:20:43]Read from MH i2c: E2 FD 00 51 2D 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 9C [19:20:43]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:20:43]wFMCommunicate OK [19:20:43]wFMCommunicate request_size=4 [19:20:43]MH_SAM_APDU [19:20:43]CAPDU: 80 17 00 00 [19:20:43]Write to MH i2c: E2 08 00 52 2D 80 17 00 00 00 00 00 00 FF [19:20:43]Write i2c OK [19:20:43]MH_I2C_Read... [19:20:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:20:44]Read from MH i2c: E2 [19:20:44]MH_I2C_Read... [19:20:44]Read from MH i2c: E2 FD 00 [19:20:44]MH_I2C_Read... [19:20:44]Read from MH i2c: E2 FD 00 52 2D 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 9F [19:20:44]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:20:44]wFMCommunicate OK [19:20:44]wFMCommunicate request_size=4 [19:20:44]MH_SAM_APDU [19:20:44]CAPDU: 80 17 00 00 [19:20:44]Write to MH i2c: E2 08 00 53 2D 80 17 00 00 00 00 00 00 00 [19:20:44]Write i2c OK [19:20:44]MH_I2C_Read... [19:20:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:20:44]Read from MH i2c: E2 [19:20:44]MH_I2C_Read... [19:20:44]Read from MH i2c: E2 FD 00 [19:20:44]MH_I2C_Read... [19:20:44]Read from MH i2c: E2 FD 00 53 2D 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 85 [19:20:44]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:20:44]wFMCommunicate OK [19:20:44]wFMCommunicate request_size=4 [19:20:44]MH_SAM_APDU [19:20:44]CAPDU: 80 17 00 00 [19:20:44]Write to MH i2c: E2 08 00 54 2D 80 17 00 00 00 00 00 00 01 [19:20:44]Write i2c OK [19:20:44]MH_I2C_Read... [19:20:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [19:20:44]Read from MH i2c: E2 [19:20:44]MH_I2C_Read... [19:20:44]Read from MH i2c: E2 DE 00 [19:20:44]MH_I2C_Read... [19:20:44]Read from MH i2c: E2 DE 00 54 2D 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 E0 [19:20:44]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [19:20:44]wFMCommunicate OK [19:20:44]SAM_PROTO_GetFMData done [19:20:44]requested_item fm.sale_refund.total is exist - process it [19:20:44]requested_item fm.buy.total is exist - process it [19:20:44]requested_item shift.sale.total is exist - process it [19:20:44]SAM_PROTO_GetShiftData [19:20:44]wFMCommunicate request_size=4 [19:20:44]MH_SAM_APDU [19:20:44]CAPDU: 80 13 02 00 [19:20:44]Write to MH i2c: E2 08 00 55 2D 80 13 02 00 00 00 00 00 00 [19:20:44]Write i2c OK [19:20:44]MH_I2C_Read... [19:20:45]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [19:20:45]Read from MH i2c: E2 [19:20:45]MH_I2C_Read... [19:20:45]Read from MH i2c: E2 FD 00 [19:20:45]MH_I2C_Read... [19:20:45]Read from MH i2c: E2 FD 00 55 2D 00 AE 04 AA 04 AA 04 6E 04 04 00 1E 00 00 00 69 04 9B 00 6F 04 04 00 1E 00 00 00 B1 04 03 00 60 ED 0C 70 04 03 00 34 8E 0B 72 04 03 00 2C 5F 01 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 76 5F 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 47 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 E9 [19:20:45]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 1E 00 00 00 69 04 9B 00 6F 04 04 00 1E 00 00 00 B1 04 03 00 60 ED 0C 70 04 03 00 34 8E 0B 72 04 03 00 2C 5F 01 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 76 5F 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 47 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 [19:20:45]wFMCommunicate OK [19:20:45]wFMCommunicate request_size=4 [19:20:45]MH_SAM_APDU [19:20:45]CAPDU: 80 17 00 00 [19:20:45]Write to MH i2c: E2 08 00 56 2D 80 17 00 00 00 00 00 00 03 [19:20:45]Write i2c OK [19:20:45]MH_I2C_Read... [19:20:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:20:45]Read from MH i2c: E2 [19:20:45]MH_I2C_Read... [19:20:45]Read from MH i2c: E2 FD 00 [19:20:45]MH_I2C_Read... [19:20:45]Read from MH i2c: E2 FD 00 56 2D 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 25 [19:20:45]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 [19:20:45]wFMCommunicate OK [19:20:45]wFMCommunicate request_size=4 [19:20:45]MH_SAM_APDU [19:20:45]CAPDU: 80 17 00 00 [19:20:45]Write to MH i2c: E2 08 00 57 2D 80 17 00 00 00 00 00 00 04 [19:20:45]Write i2c OK [19:20:45]MH_I2C_Read... [19:20:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:20:45]Read from MH i2c: E2 [19:20:45]MH_I2C_Read... [19:20:45]Read from MH i2c: E2 FD 00 [19:20:45]MH_I2C_Read... [19:20:45]Read from MH i2c: E2 FD 00 57 2D 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 BB [19:20:45]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 [19:20:45]wFMCommunicate OK [19:20:45]wFMCommunicate request_size=4 [19:20:45]MH_SAM_APDU [19:20:45]CAPDU: 80 17 00 00 [19:20:45]Write to MH i2c: E2 08 00 58 2D 80 17 00 00 00 00 00 00 05 [19:20:45]Write i2c OK [19:20:45]MH_I2C_Read... [19:20:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:20:45]Read from MH i2c: E2 [19:20:45]MH_I2C_Read... [19:20:45]Read from MH i2c: E2 FD 00 [19:20:45]MH_I2C_Read... [19:20:46]Read from MH i2c: E2 FD 00 58 2D 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 77 [19:20:46]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 [19:20:46]wFMCommunicate OK [19:20:46]wFMCommunicate request_size=4 [19:20:46]MH_SAM_APDU [19:20:46]CAPDU: 80 17 00 00 [19:20:46]Write to MH i2c: E2 08 00 59 2D 80 17 00 00 00 00 00 00 06 [19:20:46]Write i2c OK [19:20:46]MH_I2C_Read... [19:20:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [19:20:46]Read from MH i2c: E2 [19:20:46]MH_I2C_Read... [19:20:46]Read from MH i2c: E2 CB 00 [19:20:46]MH_I2C_Read... [19:20:46]Read from MH i2c: E2 CB 00 59 2D 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 EF [19:20:46]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 [19:20:46]wFMCommunicate OK [19:20:46]SAM_PROTO_GetShiftData done [19:20:46]requested_item shift.sale.total_cash is exist - process it [19:20:46]requested_item shift.sale_refund.total is exist - process it [19:20:46]requested_item shift.sale_refund.total_cash is exist - process it [19:20:46]requested_item shift.buy.total is exist - process it [19:20:46]requested_item shift.buy.total_cash is exist - process it [19:20:46]produce_requested_data done [19:20:46]produce_requested_data return {"fm.sale.total":2464765.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":8472.00,"shift.sale.total_cash":7573.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} [19:20:46]process_action_free get_value [19:20:46]json_value_free [19:20:46]json_value_free done [19:20:46]process_json_proto returns [19:20:46]Send response to host [19:20:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2464765.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":8472.00,"shift.sale.total_cash":7573.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}}} [19:20:46]free response buf [19:20:46]execute_script done [19:20:46]execute_script returns [19:20:46]free content buf [19:20:46]Sock 8.Close socket [19:20:46]Sock 8.Thread stoped [19:20:46]OFD Sender: No OFD packet to send [19:20:51]OFD Sender: No OFD packet to send [19:20:56]OFD Sender: No OFD packet to send [19:21:01]OFD Sender: No OFD packet to send [19:21:06]OFD Sender: No OFD packet to send [19:21:11]OFD Sender: No OFD packet to send [19:21:16]OFD Sender: No OFD packet to send [19:21:21]OFD Sender: No OFD packet to send [19:21:26]OFD Sender: No OFD packet to send [19:21:31]OFD Sender: No OFD packet to send [19:21:36]OFD Sender: No OFD packet to send [19:21:41]OFD Sender: No OFD packet to send [19:21:46]OFD Sender: No OFD packet to send [19:21:51]OFD Sender: No OFD packet to send [19:21:56]OFD Sender: No OFD packet to send [19:22:01]OFD Sender: No OFD packet to send [19:22:06]OFD Sender: No OFD packet to send [19:22:11]OFD Sender: No OFD packet to send [19:22:16]OFD Sender: No OFD packet to send [19:22:21]OFD Sender: No OFD packet to send [19:22:26]OFD Sender: No OFD packet to send [19:22:31]OFD Sender: No OFD packet to send [19:22:36]OFD Sender: No OFD packet to send [19:22:41]OFD Sender: No OFD packet to send [19:22:46]OFD Sender: No OFD packet to send [19:22:51]OFD Sender: No OFD packet to send [19:22:56]OFD Sender: No OFD packet to send [19:23:01]OFD Sender: No OFD packet to send [19:23:06]OFD Sender: No OFD packet to send [19:23:11]OFD Sender: No OFD packet to send [19:23:16]OFD Sender: No OFD packet to send [19:23:21]OFD Sender: No OFD packet to send [19:23:26]OFD Sender: No OFD packet to send [19:23:31]OFD Sender: No OFD packet to send [19:23:36]OFD Sender: No OFD packet to send [19:23:41]OFD Sender: No OFD packet to send [19:23:46]OFD Sender: No OFD packet to send [19:23:51]OFD Sender: No OFD packet to send [19:23:56]OFD Sender: No OFD packet to send [19:24:01]OFD Sender: No OFD packet to send [19:24:06]OFD Sender: No OFD packet to send [19:24:11]OFD Sender: No OFD packet to send [19:24:16]OFD Sender: No OFD packet to send [19:24:21]OFD Sender: No OFD packet to send [19:24:26]OFD Sender: No OFD packet to send [19:24:31]OFD Sender: No OFD packet to send [19:24:36]OFD Sender: No OFD packet to send [19:24:41]OFD Sender: No OFD packet to send [19:24:46]OFD Sender: No OFD packet to send [19:24:51]OFD Sender: No OFD packet to send [19:24:56]OFD Sender: No OFD packet to send [19:25:01]OFD Sender: No OFD packet to send [19:25:06]OFD Sender: No OFD packet to send [19:25:11]OFD Sender: No OFD packet to send [19:25:16]OFD Sender: No OFD packet to send [19:25:21]OFD Sender: No OFD packet to send [19:25:26]OFD Sender: No OFD packet to send [19:25:31]OFD Sender: No OFD packet to send [19:25:36]OFD Sender: No OFD packet to send [19:25:41]OFD Sender: No OFD packet to send [19:25:46]OFD Sender: No OFD packet to send [19:25:51]OFD Sender: No OFD packet to send [19:25:56]OFD Sender: No OFD packet to send [19:26:01]OFD Sender: No OFD packet to send [19:26:06]OFD Sender: No OFD packet to send [19:26:11]OFD Sender: No OFD packet to send [19:26:16]OFD Sender: No OFD packet to send [19:26:21]OFD Sender: No OFD packet to send [19:26:26]OFD Sender: No OFD packet to send [19:26:31]OFD Sender: No OFD packet to send [19:26:36]OFD Sender: No OFD packet to send [19:26:41]OFD Sender: No OFD packet to send [19:26:46]OFD Sender: No OFD packet to send [19:26:51]OFD Sender: No OFD packet to send [19:26:56]OFD Sender: No OFD packet to send [19:27:01]OFD Sender: No OFD packet to send [19:27:06]OFD Sender: No OFD packet to send [19:27:11]OFD Sender: No OFD packet to send [19:27:16]OFD Sender: No OFD packet to send [19:27:21]OFD Sender: No OFD packet to send [19:27:26]OFD Sender: No OFD packet to send [19:27:31]OFD Sender: No OFD packet to send [19:27:36]OFD Sender: No OFD packet to send [19:27:41]OFD Sender: No OFD packet to send [19:27:46]OFD Sender: No OFD packet to send [19:27:51]OFD Sender: No OFD packet to send [19:27:56]OFD Sender: No OFD packet to send [19:28:01]OFD Sender: No OFD packet to send [19:28:06]OFD Sender: No OFD packet to send [19:28:11]OFD Sender: No OFD packet to send [19:28:16]OFD Sender: No OFD packet to send [19:28:21]OFD Sender: No OFD packet to send [19:28:26]OFD Sender: No OFD packet to send [19:28:31]OFD Sender: No OFD packet to send [19:28:36]OFD Sender: No OFD packet to send [19:28:41]OFD Sender: No OFD packet to send [19:28:46]OFD Sender: No OFD packet to send [19:28:51]OFD Sender: No OFD packet to send [19:28:56]OFD Sender: No OFD packet to send [19:29:01]OFD Sender: No OFD packet to send [19:29:06]OFD Sender: No OFD packet to send [19:29:11]OFD Sender: No OFD packet to send [19:29:16]OFD Sender: No OFD packet to send [19:29:21]OFD Sender: No OFD packet to send [19:29:26]OFD Sender: No OFD packet to send [19:29:31]OFD Sender: No OFD packet to send [19:29:36]OFD Sender: No OFD packet to send [19:29:41]OFD Sender: No OFD packet to send [19:29:46]OFD Sender: No OFD packet to send [19:29:51]OFD Sender: No OFD packet to send [19:29:56]OFD Sender: No OFD packet to send [19:30:01]OFD Sender: No OFD packet to send [19:30:06]OFD Sender: No OFD packet to send [19:30:11]OFD Sender: No OFD packet to send [19:30:16]OFD Sender: No OFD packet to send [19:30:21]OFD Sender: No OFD packet to send [19:30:26]OFD Sender: No OFD packet to send [19:30:31]OFD Sender: No OFD packet to send [19:30:36]OFD Sender: No OFD packet to send [19:30:41]OFD Sender: No OFD packet to send [19:30:46]OFD Sender: No OFD packet to send [19:30:51]OFD Sender: No OFD packet to send [19:30:56]OFD Sender: No OFD packet to send [19:31:01]OFD Sender: No OFD packet to send [19:31:06]OFD Sender: No OFD packet to send [19:31:12]OFD Sender: No OFD packet to send [19:31:17]OFD Sender: No OFD packet to send [19:31:22]OFD Sender: No OFD packet to send [19:31:27]OFD Sender: No OFD packet to send [19:31:32]OFD Sender: No OFD packet to send [19:31:37]OFD Sender: No OFD packet to send [19:31:42]OFD Sender: No OFD packet to send [19:31:47]OFD Sender: No OFD packet to send [19:31:52]OFD Sender: No OFD packet to send [19:31:57]OFD Sender: No OFD packet to send [19:32:02]OFD Sender: No OFD packet to send [19:32:07]OFD Sender: No OFD packet to send [19:32:12]OFD Sender: No OFD packet to send [19:32:17]OFD Sender: No OFD packet to send [19:32:22]OFD Sender: No OFD packet to send [19:32:27]OFD Sender: No OFD packet to send [19:32:32]OFD Sender: No OFD packet to send [19:32:37]OFD Sender: No OFD packet to send [19:32:42]OFD Sender: No OFD packet to send [19:32:47]OFD Sender: No OFD packet to send [19:32:52]OFD Sender: No OFD packet to send [19:32:57]OFD Sender: No OFD packet to send [19:33:02]OFD Sender: No OFD packet to send [19:33:07]OFD Sender: No OFD packet to send [19:33:12]OFD Sender: No OFD packet to send [19:33:17]OFD Sender: No OFD packet to send [19:33:22]OFD Sender: No OFD packet to send [19:33:27]OFD Sender: No OFD packet to send [19:33:32]OFD Sender: No OFD packet to send [19:33:37]OFD Sender: No OFD packet to send [19:33:42]OFD Sender: No OFD packet to send [19:33:47]OFD Sender: No OFD packet to send [19:33:52]OFD Sender: No OFD packet to send [19:33:57]OFD Sender: No OFD packet to send [19:34:02]OFD Sender: No OFD packet to send [19:34:07]OFD Sender: No OFD packet to send [19:34:12]OFD Sender: No OFD packet to send [19:34:17]OFD Sender: No OFD packet to send [19:34:22]OFD Sender: No OFD packet to send [19:34:27]OFD Sender: No OFD packet to send [19:34:32]OFD Sender: No OFD packet to send [19:34:37]OFD Sender: No OFD packet to send [19:34:42]OFD Sender: No OFD packet to send [19:34:47]OFD Sender: No OFD packet to send [19:34:52]OFD Sender: No OFD packet to send [19:34:57]OFD Sender: No OFD packet to send [19:35:02]OFD Sender: No OFD packet to send [19:35:07]OFD Sender: No OFD packet to send [19:35:12]OFD Sender: No OFD packet to send [19:35:17]OFD Sender: No OFD packet to send [19:35:22]OFD Sender: No OFD packet to send [19:35:27]OFD Sender: No OFD packet to send [19:35:32]OFD Sender: No OFD packet to send [19:35:37]OFD Sender: No OFD packet to send [19:35:42]OFD Sender: No OFD packet to send [19:35:47]OFD Sender: No OFD packet to send [19:35:52]OFD Sender: No OFD packet to send [19:35:57]OFD Sender: No OFD packet to send [19:36:02]OFD Sender: No OFD packet to send [19:36:07]OFD Sender: No OFD packet to send [19:36:12]OFD Sender: No OFD packet to send [19:36:17]OFD Sender: No OFD packet to send [19:36:22]OFD Sender: No OFD packet to send [19:36:27]OFD Sender: No OFD packet to send [19:36:32]OFD Sender: No OFD packet to send [19:36:37]OFD Sender: No OFD packet to send [19:36:42]OFD Sender: No OFD packet to send [19:36:47]OFD Sender: No OFD packet to send [19:36:52]OFD Sender: No OFD packet to send [19:36:57]OFD Sender: No OFD packet to send [19:37:02]OFD Sender: No OFD packet to send [19:37:07]OFD Sender: No OFD packet to send [19:37:12]OFD Sender: No OFD packet to send [19:37:17]OFD Sender: No OFD packet to send [19:37:22]OFD Sender: No OFD packet to send [19:37:27]OFD Sender: No OFD packet to send [19:37:32]OFD Sender: No OFD packet to send [19:37:37]OFD Sender: No OFD packet to send [19:37:42]OFD Sender: No OFD packet to send [19:37:47]OFD Sender: No OFD packet to send [19:37:52]OFD Sender: No OFD packet to send [19:37:57]OFD Sender: No OFD packet to send [19:38:02]OFD Sender: No OFD packet to send [19:38:07]OFD Sender: No OFD packet to send [19:38:12]OFD Sender: No OFD packet to send [19:38:17]OFD Sender: No OFD packet to send [19:38:22]OFD Sender: No OFD packet to send [19:38:27]OFD Sender: No OFD packet to send [19:38:32]OFD Sender: No OFD packet to send [19:38:37]OFD Sender: No OFD packet to send [19:38:42]OFD Sender: No OFD packet to send [19:38:47]OFD Sender: No OFD packet to send [19:38:52]OFD Sender: No OFD packet to send [19:38:57]OFD Sender: No OFD packet to send [19:39:02]OFD Sender: No OFD packet to send [19:39:07]OFD Sender: No OFD packet to send [19:39:12]OFD Sender: No OFD packet to send [19:39:17]OFD Sender: No OFD packet to send [19:39:22]OFD Sender: No OFD packet to send [19:39:27]OFD Sender: No OFD packet to send [19:39:32]OFD Sender: No OFD packet to send [19:39:37]OFD Sender: No OFD packet to send [19:39:42]OFD Sender: No OFD packet to send [19:39:47]OFD Sender: No OFD packet to send [19:39:52]OFD Sender: No OFD packet to send [19:39:57]OFD Sender: No OFD packet to send [19:40:02]OFD Sender: No OFD packet to send [19:40:07]OFD Sender: No OFD packet to send [19:40:12]OFD Sender: No OFD packet to send [19:40:17]OFD Sender: No OFD packet to send [19:40:22]OFD Sender: No OFD packet to send [19:40:27]OFD Sender: No OFD packet to send [19:40:32]OFD Sender: No OFD packet to send [19:40:37]OFD Sender: No OFD packet to send [19:40:42]OFD Sender: No OFD packet to send [19:40:47]OFD Sender: No OFD packet to send [19:40:52]OFD Sender: No OFD packet to send [19:40:57]OFD Sender: No OFD packet to send [19:41:02]OFD Sender: No OFD packet to send [19:41:07]OFD Sender: No OFD packet to send [19:41:12]OFD Sender: No OFD packet to send [19:41:17]OFD Sender: No OFD packet to send [19:41:22]OFD Sender: No OFD packet to send [19:41:27]OFD Sender: No OFD packet to send [19:41:32]OFD Sender: No OFD packet to send [19:41:37]OFD Sender: No OFD packet to send [19:41:42]OFD Sender: No OFD packet to send [19:41:47]OFD Sender: No OFD packet to send [19:41:52]OFD Sender: No OFD packet to send [19:41:57]OFD Sender: No OFD packet to send [19:42:02]OFD Sender: No OFD packet to send [19:42:07]OFD Sender: No OFD packet to send [19:42:12]OFD Sender: No OFD packet to send [19:42:17]OFD Sender: No OFD packet to send [19:42:22]OFD Sender: No OFD packet to send [19:42:27]OFD Sender: No OFD packet to send [19:42:32]OFD Sender: No OFD packet to send [19:42:37]OFD Sender: No OFD packet to send [19:42:42]OFD Sender: No OFD packet to send [19:42:47]OFD Sender: No OFD packet to send [19:42:52]OFD Sender: No OFD packet to send [19:42:57]OFD Sender: No OFD packet to send [19:43:02]OFD Sender: No OFD packet to send [19:43:07]OFD Sender: No OFD packet to send [19:43:12]OFD Sender: No OFD packet to send [19:43:17]OFD Sender: No OFD packet to send [19:43:22]OFD Sender: No OFD packet to send [19:43:27]OFD Sender: No OFD packet to send [19:43:32]OFD Sender: No OFD packet to send [19:43:37]OFD Sender: No OFD packet to send [19:43:42]OFD Sender: No OFD packet to send [19:43:47]OFD Sender: No OFD packet to send [19:43:52]OFD Sender: No OFD packet to send [19:43:57]OFD Sender: No OFD packet to send [19:44:02]OFD Sender: No OFD packet to send [19:47:13]OFD Sender: No OFD packet to send [19:47:14]ConnectInit Can't connect to host [19:47:18]OFD Sender: No OFD packet to send [19:47:23]OFD Sender: No OFD packet to send [19:47:28]OFD Sender: No OFD packet to send [19:47:33]OFD Sender: No OFD packet to send [19:47:38]OFD Sender: No OFD packet to send [19:47:43]OFD Sender: No OFD packet to send [19:47:48]OFD Sender: No OFD packet to send [19:47:53]OFD Sender: No OFD packet to send [19:47:58]OFD Sender: No OFD packet to send [19:48:03]OFD Sender: No OFD packet to send [19:48:08]OFD Sender: No OFD packet to send [19:48:13]OFD Sender: No OFD packet to send [19:48:18]OFD Sender: No OFD packet to send [19:48:23]OFD Sender: No OFD packet to send [19:48:28]OFD Sender: No OFD packet to send [19:48:33]OFD Sender: No OFD packet to send [19:48:38]OFD Sender: No OFD packet to send [19:48:43]OFD Sender: No OFD packet to send [19:48:48]OFD Sender: No OFD packet to send [19:48:53]OFD Sender: No OFD packet to send [19:48:58]OFD Sender: No OFD packet to send [19:49:03]OFD Sender: No OFD packet to send [19:49:08]OFD Sender: No OFD packet to send [19:49:13]OFD Sender: No OFD packet to send [19:49:18]OFD Sender: No OFD packet to send [19:49:23]OFD Sender: No OFD packet to send [19:49:28]OFD Sender: No OFD packet to send [19:49:33]OFD Sender: No OFD packet to send [19:49:38]OFD Sender: No OFD packet to send [19:49:43]OFD Sender: No OFD packet to send [19:49:48]OFD Sender: No OFD packet to send [19:49:53]OFD Sender: No OFD packet to send [19:49:58]OFD Sender: No OFD packet to send [19:50:03]OFD Sender: No OFD packet to send [19:50:08]OFD Sender: No OFD packet to send [19:50:13]OFD Sender: No OFD packet to send [19:50:18]OFD Sender: No OFD packet to send [19:50:23]OFD Sender: No OFD packet to send [19:50:28]OFD Sender: No OFD packet to send [19:50:33]OFD Sender: No OFD packet to send [19:50:38]OFD Sender: No OFD packet to send [19:50:43]OFD Sender: No OFD packet to send [19:50:48]OFD Sender: No OFD packet to send [19:50:53]OFD Sender: No OFD packet to send [19:50:58]OFD Sender: No OFD packet to send [19:51:03]OFD Sender: No OFD packet to send [19:51:08]OFD Sender: No OFD packet to send [19:51:13]OFD Sender: No OFD packet to send [19:51:18]OFD Sender: No OFD packet to send [19:51:23]OFD Sender: No OFD packet to send [19:51:28]OFD Sender: No OFD packet to send [19:51:33]OFD Sender: No OFD packet to send [19:51:38]OFD Sender: No OFD packet to send [19:51:43]OFD Sender: No OFD packet to send [19:51:48]OFD Sender: No OFD packet to send [19:51:53]OFD Sender: No OFD packet to send [19:51:58]OFD Sender: No OFD packet to send [19:52:03]OFD Sender: No OFD packet to send [19:52:08]OFD Sender: No OFD packet to send [19:52:13]OFD Sender: No OFD packet to send [19:52:18]OFD Sender: No OFD packet to send [19:52:23]OFD Sender: No OFD packet to send [19:52:28]OFD Sender: No OFD packet to send [19:52:33]OFD Sender: No OFD packet to send [19:52:38]OFD Sender: No OFD packet to send [19:52:43]OFD Sender: No OFD packet to send [19:52:48]OFD Sender: No OFD packet to send [19:52:53]OFD Sender: No OFD packet to send [19:52:58]OFD Sender: No OFD packet to send [19:53:03]OFD Sender: No OFD packet to send [19:53:08]OFD Sender: No OFD packet to send [19:53:13]OFD Sender: No OFD packet to send [19:53:18]OFD Sender: No OFD packet to send [19:53:23]OFD Sender: No OFD packet to send [19:53:28]OFD Sender: No OFD packet to send [19:53:33]OFD Sender: No OFD packet to send [19:53:38]OFD Sender: No OFD packet to send [19:53:43]OFD Sender: No OFD packet to send [19:53:48]OFD Sender: No OFD packet to send [19:53:53]OFD Sender: No OFD packet to send [19:53:58]OFD Sender: No OFD packet to send [19:54:03]OFD Sender: No OFD packet to send [19:54:08]OFD Sender: No OFD packet to send [19:54:09]accept exits with 9 [19:54:09]New connection [19:54:09]New thread 3067264356 created [19:54:09]Waiting for new connection... [19:54:09] Sock 9.Parse request [19:54:09]Sock 9.Check first char [19:54:09]Sock 9.First char is OK [19:54:09]request: POST /json_proto HTTP/1.0 [19:54:09]Method: POST [19:54:09]URL: /json_proto [19:54:09]Method is POST - this is cgi request [19:54:09]url: /json_proto [19:54:09]query_string will be loaded in cgi processing [19:54:09]execute_cgi json_proto POST (null) [19:54:09]execute_cgi path=json_proto method=POST [19:54:09]POST find Content-Length [19:54:09]Host: 172.17.62.6:8080 [19:54:09]Content-Length: 820 [19:54:09]Content-Type: application/json [19:54:09] [19:54:09]POST finish read [19:54:09]Found Content-Length = 820 [19:54:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32803", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.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" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:54:09]execute_script... [19:54:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32803", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.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" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:54:09]POST & json_proto [19:54:09]process_json_proto [19:54:09]json parsed OK: [19:54:09]protocol is kg_v1.0 [19:54:09]action value=close_receipt [19:54:09]process_action close_receipt [19:54:09]cmd_close_receipt [19:54:09]MH_GetDate [19:54:09]Write to MH i2c: F0 00 00 10 00 FF [19:54:09]Write i2c OK [19:54:09]MH_I2C_Read... [19:54:09]Read from MH i2c: F0 [19:54:09]MH_I2C_Read... [19:54:09]Read from MH i2c: F0 09 00 [19:54:09]MH_I2C_Read... [19:54:09]Read from MH i2c: F0 09 00 10 00 00 E1 CB 22 66 61 69 D2 64 3C [19:54:09]GetLastDocTimeStamp 1713553034 [19:54:09]current date 1713556449 [19:54:09]FM_GetShiftState [19:54:09]SAM_PROTO_GetShiftState [19:54:09]wFMCommunicate request_size=4 [19:54:09]MH_SAM_APDU [19:54:09]CAPDU: 80 13 01 00 [19:54:09]Write to MH i2c: E2 08 00 11 00 80 13 01 00 00 00 00 00 8E [19:54:09]Write i2c OK [19:54:09]MH_I2C_Read... [19:54:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:54:09]Read from MH i2c: E2 [19:54:09]MH_I2C_Read... [19:54:09]Read from MH i2c: E2 0E 00 [19:54:09]MH_I2C_Read... [19:54:09]Read from MH i2c: E2 0E 00 11 00 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 84 [19:54:09]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [19:54:09]wFMCommunicate OK [19:54:09]SAM_PROTO_GetShiftState done [19:54:09]FM_GetShiftState done [19:54:09]opened in 1713485995 [19:54:09]opened+sec_in_day 1713572395 [19:54:09]quantity*price = 10500 [19:54:09]sum+1 = 10501 [19:54:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 0.00 Безнал.: 105.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 31 19.04.2024 19:54 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000965685 ФД: 12529 ФПД: 57085141018289 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T195409&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12529&fm=57085141018289&tin=02508201610067®Number=0000000000100748&sum=10500 0 [19:54:10]StoreToDocumentArchive [19:54:10]shift 279 fd 12529 [19:54:10]save to /storage/0279/doc_00012529 [19:54:10]save last doc name /storage/0279/doc_00012529 to /storage/kkm_last_doc_name [19:54:10]save OK [19:54:10]Clear old archive folders... [19:54:10]ProcessDocumentItem done err = 0, tmpTLVsize=280 [19:54:10]tlvbuf is 01FCB880 [19:54:10]SAM_PROTO_ClearQueue [19:54:10]wFMCommunicate request_size=4 [19:54:10]MH_SAM_APDU [19:54:10]CAPDU: 80 09 00 00 [19:54:10]Write to MH i2c: E2 08 00 1E 00 80 09 00 00 00 00 00 00 90 [19:54:10]Write i2c OK [19:54:10]MH_I2C_Read... [19:54:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:54:10]Read from MH i2c: E2 [19:54:10]MH_I2C_Read... [19:54:10]Read from MH i2c: E2 03 00 [19:54:10]MH_I2C_Read... [19:54:10]Read from MH i2c: E2 03 00 1E 00 00 90 00 92 [19:54:10]RAPDU: 90 00 [19:54:10]wFMCommunicate OK [19:54:10]SAM_PROTO_ClearQueue done [19:54:10]KKMCreateOFDPacket [19:54:10]OFDProtocolAddRootSTLVToBuf [19:54:10]FM_MakeSignedData [19:54:10]FM_MakeSignedData [19:54:10]SAM_PROTO_SignData [19:54:10]wFMCommunicate request_size=4 [19:54:10]MH_SAM_APDU [19:54:10]CAPDU: 80 0D 01 02 [19:54:10]Write to MH i2c: E2 08 00 1F 00 80 0D 01 02 00 00 00 00 98 [19:54:10]Write i2c OK [19:54:10]MH_I2C_Read... [19:54:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:54:10]Read from MH i2c: E2 [19:54:10]MH_I2C_Read... [19:54:10]Read from MH i2c: E2 03 00 [19:54:10]MH_I2C_Read... [19:54:10]Read from MH i2c: E2 03 00 1F 00 00 90 00 93 [19:54:10]RAPDU: 90 00 [19:54:10]wFMCommunicate OK [19:54:10]wFMCommunicate request_size=255 [19:54:10]MH_SAM_APDU [19:54:10]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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 E1 CB 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 [19:54:10]Write to MH i2c: E2 02 01 20 00 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 E1 CB 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 00 00 1F [19:54:10]Write i2c OK [19:54:10]MH_I2C_Read... [19:54:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:54:11]Read from MH i2c: E2 [19:54:11]MH_I2C_Read... [19:54:11]Read from MH i2c: E2 03 00 [19:54:11]MH_I2C_Read... [19:54:11]Read from MH i2c: E2 03 00 20 00 00 90 00 94 [19:54:11]RAPDU: 90 00 [19:54:11]wFMCommunicate OK [19:54:11]wFMCommunicate request_size=39 [19:54:11]MH_SAM_APDU [19:54:11]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F1 30 00 00 35 04 06 00 33 EB 2B 8D 66 B1 [19:54:11]Write to MH i2c: E2 2A 00 21 00 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F1 30 00 00 35 04 06 00 33 EB 2B 8D 66 B1 00 00 6B [19:54:11]Write i2c OK [19:54:11]MH_I2C_Read... [19:54:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:54:11]Read from MH i2c: E2 [19:54:11]MH_I2C_Read... [19:54:11]Read from MH i2c: E2 03 00 [19:54:11]MH_I2C_Read... [19:54:11]Read from MH i2c: E2 03 00 21 00 00 90 00 95 [19:54:11]RAPDU: 90 00 [19:54:11]wFMCommunicate OK [19:54:11]wFMCommunicate request_size=4 [19:54:11]MH_SAM_APDU [19:54:11]CAPDU: 80 0D 03 02 [19:54:11]Write to MH i2c: E2 08 00 22 00 80 0D 03 02 00 00 00 00 9D [19:54:11]Write i2c OK [19:54:11]MH_I2C_Read... [19:54:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:54:11]Read from MH i2c: E2 [19:54:11]MH_I2C_Read... [19:54:11]Read from MH i2c: E2 0B 00 [19:54:11]MH_I2C_Read... [19:54:11]Read from MH i2c: E2 0B 00 22 00 00 9F 6C AA E3 6F 6E E1 A7 90 00 9B [19:54:11]RAPDU: 9F 6C AA E3 6F 6E E1 A7 90 00 [19:54:11]wFMCommunicate OK [19:54:11]SAM_PROTO_SignData done [19:54:11]FM_MakeSignedData done [19:54:11]CreateOFDProtocolMessage [19:54:11]wFMCommunicate request_size=4 [19:54:11]MH_SAM_APDU [19:54:11]CAPDU: 80 11 00 00 [19:54:11]Write to MH i2c: E2 08 00 23 00 80 11 00 00 00 00 00 00 9D [19:54:11]Write i2c OK [19:54:11]MH_I2C_Read... [19:54:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:54:11]Read from MH i2c: E2 [19:54:11]MH_I2C_Read... [19:54:11]Read from MH i2c: E2 17 00 [19:54:11]MH_I2C_Read... [19:54:11]Read from MH i2c: E2 17 00 23 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 F7 [19:54:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [19:54:11]wFMCommunicate OK [19:54:11]CreateOFDProtocolMessage done [19:54:11]OFDSenderStorePacket 12529 [19:54:11]StoreOFDPacket docnum=12529 [19:54:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2C 01 00 00 4C 91 24 01 9F 76 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 E1 CB 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F1 30 00 00 35 04 06 00 33 EB 2B 8D 66 B1 9F 6C AA E3 6F 6E E1 A7 [19:54:11]CheckFolder [19:54:11]dirname=/storage/ofd_packets [19:54:11]CheckFolder done [19:54:11]ProducePacketName [19:54:11]name=ofd_packets/00012529 [19:54:11]NVStorageSaveData ofd_packets/00012529 [19:54:11]File name is /storage/ofd_packets/00012529 [19:54:11]Write 330 bytes [19:54:11]NVStorageSaveData done [19:54:11]OFDSenderStorePacket done [19:54:11]KKMCreateOFDPacket done [19:54:11]NVStorageSaveData kkm_last_timestamp [19:54:11]File name is /storage/kkm_last_timestamp [19:54:11]Write 4 bytes [19:54:11]NVStorageSaveData done [19:54:11]ExternCall_PrintAddStr [19:54:11]wPrintStart [19:54:11]Write to MH i2c: 01 00 00 24 00 24 [19:54:11]Write i2c OK [19:54:11]MH_I2C_Read... [19:54:11]Read from MH i2c: 01 [19:54:11]MH_I2C_Read... [19:54:11]Read from MH i2c: 01 07 00 [19:54:11]MH_I2C_Read... [19:54:11]Read from MH i2c: 01 07 00 24 00 00 00 00 00 00 FF 0F 39 [19:54:11]RasterBufferAndPrint [19:54:11]line Счет N : (3)32803 [19:54:11]line ИНН: 02508201610067 [19:54:11]line Контрольно-Кассовый Чек [19:54:11]line ПРОДАЖА [19:54:11]line Товар: 2000036210013 [19:54:11]line Кофе Капучино (GABB TRADE) [19:54:11]line 1.000 * 105.00 [19:54:11]line = 105.00 [19:54:11]line НДС 12% НСП 1% [19:54:11]line > о реализуемом товаре [19:54:11]line ИТОГО: 105.00 [19:54:11]line НСП 1% : 0.93 [19:54:11]line НДС 12% : 11.15 [19:54:11]line Наличными: 0.00 [19:54:11]line Безнал.: 105.00 [19:54:11]line Место: АЗС № 106 "Партнер Нефть" [19:54:11]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [19:54:11]line СНО: Общий режим [19:54:11]line Чек 31 19.04.2024 19:54 [19:54:11]line Смена: 279 ФФД: 1.0 [19:54:11]line ЗНМ: 0300000004 [19:54:11]line РНМ: 0000000000100748 [19:54:11]line Версия ККМ: 001 [19:54:11]line Платежная система: Бакай Банк [19:54:11]line ФМ: 0000000000965685 [19:54:11]line ФД: 12529 [19:54:11]line ФПД: 57085141018289 [19:54:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T195409&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12529&fm=57085141018289&tin=02508201610067®Number=0000000000100748&sum=10500 [19:54:11]line 0 [19:54:11]written 0, free lines is 4095 [19:54:11]OFD Sender: Processing packet 12529 [packets to send 7, broken 6] [19:54:11]ProducePacketName [19:54:11]name=ofd_packets/00012529 [19:54:11]OFD Sender: To server: pG, [19:54:11]CommunicateWithHost lk.salyk.kg:30040 [19:54:11]ConnectInit lk.salyk.kg [19:54:11]Write to MH i2c: 01 00 00 4D 00 4D [19:54:11]Write i2c OK [19:54:11]MH_I2C_Read... [19:54:11]Read from MH i2c: 01 [19:54:11]MH_I2C_Read... [19:54:11]Read from MH i2c: 01 07 00 [19:54:11]MH_I2C_Read... [19:54:11]Read from MH i2c: 01 07 00 4D 00 00 00 00 00 00 07 0D 68 [19:54:11]RasterBufferAndPrint [19:54:11]line [19:54:11]line [19:54:11]line [19:54:11]line [19:54:11]line [19:54:11]written 0, free lines is 3341 [19:54:11]MH_Cut [19:54:11]Write to MH i2c: D1 01 00 54 00 01 26 [19:54:11]Write i2c OK [19:54:11]MH_I2C_Read... [19:54:11]Read from MH i2c: D1 [19:54:11]MH_I2C_Read... [19:54:11]Read from MH i2c: D1 01 00 [19:54:11]MH_I2C_Read... [19:54:11]Connected sock=10 [19:54:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2C 01 00 00 4C 91 24 01 9F 76 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 E1 CB 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F1 30 00 00 35 04 06 00 33 EB 2B 8D 66 B1 9F 6C AA E3 6F 6E E1 A7 [19:54:11]Read from MH i2c: D1 01 00 54 00 00 25 [19:54:11]Write to MH i2c: 01 00 00 55 00 55 [19:54:11]Write i2c OK [19:54:11]MH_I2C_Read... [19:54:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 6A D0 47 00 C9 1D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F1 30 00 00 F4 03 04 00 68 74 22 66 B6 04 01 00 00 DF C8 55 2E 0F EF 5D 20 [19:54:12]CommunicateWithHost err = 0 [19:54:12]CheckOFDResponse [19:54:12]1017 (14) - 77093643461234 [19:54:12]1041 (16) - 0000000000965685 [19:54:12]1040 (4) - 12529 [19:54:12]1012 (4) - 19.04.2024 13:40 [19:54:12]1206 (1) - 0 [19:54:12]OFD Sender: Remove packet 12529 [19:54:12]ProducePacketName [19:54:12]name=ofd_packets/00012529 [19:54:12]NVStorageDeleteData [19:54:12]OFD Sender: No OFD packet to send [19:54:12]*** Cut start [19:54:12]*** Partial cut [19:54:12]*** CUTSNS_PIN = 1 [19:54:12]*** CUTSNS_PIN = 0 [19:54:12]*** Brake cut motor [19:54:13]Read from MH i2c: 01 [19:54:13]MH_I2C_Read... [19:54:13]*** Stop cut motor [19:54:13]*** Cut end [19:54:13]Read from MH i2c: 01 07 00 [19:54:13]MH_I2C_Read... [19:54:13]Read from MH i2c: 01 07 00 55 00 00 00 00 00 00 FF 0F 6A [19:54:13]process_action close_receipt done [19:54:13]requested_data is exist [19:54:13]produce_requested_data [19:54:13]requested_item fm.sn is exist - process it [19:54:13]wFMCommunicate request_size=4 [19:54:13]MH_SAM_APDU [19:54:13]CAPDU: 80 11 00 00 [19:54:13]Write to MH i2c: E2 08 00 56 00 80 11 00 00 00 00 00 00 D0 [19:54:13]Write i2c OK [19:54:13]MH_I2C_Read... [19:54:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:54:13]Read from MH i2c: E2 [19:54:13]MH_I2C_Read... [19:54:13]Read from MH i2c: E2 17 00 [19:54:13]MH_I2C_Read... [19:54:13]Read from MH i2c: E2 17 00 56 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 2A [19:54:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [19:54:13]wFMCommunicate OK [19:54:13]requested_item fd.num is exist - process it [19:54:13]SAM_PROTO_GetFieldsCounters [19:54:13]wFMCommunicate request_size=4 [19:54:13]MH_SAM_APDU [19:54:13]CAPDU: 80 13 00 00 [19:54:13]Write to MH i2c: E2 08 00 57 00 80 13 00 00 00 00 00 00 D3 [19:54:13]Write i2c OK [19:54:13]MH_I2C_Read... [19:54:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:54:13]Read from MH i2c: E2 [19:54:13]MH_I2C_Read... [19:54:13]Read from MH i2c: E2 62 00 [19:54:13]MH_I2C_Read... [19:54:13]Read from MH i2c: E2 62 00 57 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 F1 30 00 00 0E 04 04 00 17 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 8C [19:54:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 F1 30 00 00 0E 04 04 00 17 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 [19:54:13]wFMCommunicate OK [19:54:13]SAM_PROTO_GetFieldsCounters done [19:54:13]requested_item shift.num is exist - process it [19:54:13]requested_item shift.opened is exist - process it [19:54:13]req_shift_opened [19:54:13]FM_GetShiftState [19:54:13]SAM_PROTO_GetShiftState [19:54:13]wFMCommunicate request_size=4 [19:54:13]MH_SAM_APDU [19:54:13]CAPDU: 80 13 01 00 [19:54:13]Write to MH i2c: E2 08 00 58 00 80 13 01 00 00 00 00 00 D5 [19:54:13]Write i2c OK [19:54:13]MH_I2C_Read... [19:54:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:54:13]Read from MH i2c: E2 [19:54:13]MH_I2C_Read... [19:54:13]Read from MH i2c: E2 0E 00 [19:54:13]MH_I2C_Read... [19:54:13]Read from MH i2c: E2 0E 00 58 00 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 CB [19:54:13]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [19:54:13]wFMCommunicate OK [19:54:13]SAM_PROTO_GetShiftState done [19:54:13]FM_GetShiftState done [19:54:13]req_shift_opened done [19:54:13]requested_item shift.open_date is exist - process it [19:54:13]req_shift_open_date [19:54:13]req_shift_open_date done [19:54:13]produce_requested_data done [19:54:13]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12529,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [19:54:13]process_action_free close_receipt [19:54:13]json_value_free [19:54:13]json_value_free done [19:54:13]process_json_proto returns [19:54:13]Send response to host [19:54:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12529,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [19:54:13]free response buf [19:54:13]execute_script done [19:54:13]execute_script returns [19:54:13]free content buf [19:54:13]Sock 9.Close socket [19:54:13]Sock 9.Thread stoped [19:54:17]OFD Sender: No OFD packet to send [19:54:22]OFD Sender: No OFD packet to send [19:54:27]OFD Sender: No OFD packet to send [19:54:32]OFD Sender: No OFD packet to send [19:54:37]OFD Sender: No OFD packet to send [19:54:42]OFD Sender: No OFD packet to send [19:54:47]OFD Sender: No OFD packet to send [19:54:52]OFD Sender: No OFD packet to send [19:54:57]OFD Sender: No OFD packet to send [19:55:02]OFD Sender: No OFD packet to send [19:55:07]OFD Sender: No OFD packet to send [19:55:12]OFD Sender: No OFD packet to send [19:55:17]OFD Sender: No OFD packet to send [19:55:22]OFD Sender: No OFD packet to send [19:55:27]OFD Sender: No OFD packet to send [19:55:32]OFD Sender: No OFD packet to send [19:55:37]OFD Sender: No OFD packet to send [19:55:42]OFD Sender: No OFD packet to send [19:55:47]OFD Sender: No OFD packet to send [19:55:52]OFD Sender: No OFD packet to send [19:55:57]OFD Sender: No OFD packet to send [19:56:02]OFD Sender: No OFD packet to send [19:56:07]OFD Sender: No OFD packet to send [19:56:12]OFD Sender: No OFD packet to send [19:56:17]OFD Sender: No OFD packet to send [19:56:22]OFD Sender: No OFD packet to send [19:56:27]OFD Sender: No OFD packet to send [19:56:32]OFD Sender: No OFD packet to send [19:56:37]OFD Sender: No OFD packet to send [19:56:42]OFD Sender: No OFD packet to send [19:56:47]OFD Sender: No OFD packet to send [19:56:52]OFD Sender: No OFD packet to send [19:56:57]OFD Sender: No OFD packet to send [19:57:02]OFD Sender: No OFD packet to send [19:57:07]OFD Sender: No OFD packet to send [19:57:12]OFD Sender: No OFD packet to send [19:57:17]OFD Sender: No OFD packet to send [19:57:22]OFD Sender: No OFD packet to send [19:57:27]OFD Sender: No OFD packet to send [19:57:32]OFD Sender: No OFD packet to send [19:57:37]OFD Sender: No OFD packet to send [19:57:42]OFD Sender: No OFD packet to send [19:57:47]OFD Sender: No OFD packet to send [19:57:52]OFD Sender: No OFD packet to send [19:57:57]OFD Sender: No OFD packet to send [19:58:02]OFD Sender: No OFD packet to send [19:58:07]OFD Sender: No OFD packet to send [19:58:12]OFD Sender: No OFD packet to send [19:58:17]OFD Sender: No OFD packet to send [19:58:22]OFD Sender: No OFD packet to send [19:58:27]OFD Sender: No OFD packet to send [19:58:32]OFD Sender: No OFD packet to send [19:58:37]OFD Sender: No OFD packet to send [19:58:42]OFD Sender: No OFD packet to send [19:58:47]OFD Sender: No OFD packet to send [19:58:52]OFD Sender: No OFD packet to send [19:58:57]OFD Sender: No OFD packet to send [19:59:02]OFD Sender: No OFD packet to send [19:59:07]OFD Sender: No OFD packet to send [19:59:12]OFD Sender: No OFD packet to send [19:59:17]OFD Sender: No OFD packet to send [19:59:22]OFD Sender: No OFD packet to send [19:59:27]OFD Sender: No OFD packet to send [19:59:32]OFD Sender: No OFD packet to send [19:59:37]OFD Sender: No OFD packet to send [19:59:42]OFD Sender: No OFD packet to send [19:59:47]OFD Sender: No OFD packet to send [19:59:52]OFD Sender: No OFD packet to send [19:59:57]OFD Sender: No OFD packet to send [20:00:02]OFD Sender: No OFD packet to send [20:00:07]OFD Sender: No OFD packet to send [20:00:12]OFD Sender: No OFD packet to send [20:00:17]OFD Sender: No OFD packet to send [20:00:22]OFD Sender: No OFD packet to send [20:00:27]OFD Sender: No OFD packet to send [20:00:32]OFD Sender: No OFD packet to send [20:00:37]OFD Sender: No OFD packet to send [20:00:42]OFD Sender: No OFD packet to send [20:00:47]OFD Sender: No OFD packet to send [20:00:52]OFD Sender: No OFD packet to send [20:00:57]OFD Sender: No OFD packet to send [20:01:02]OFD Sender: No OFD packet to send [20:01:07]OFD Sender: No OFD packet to send [20:01:12]OFD Sender: No OFD packet to send [20:01:17]OFD Sender: No OFD packet to send [20:01:22]OFD Sender: No OFD packet to send [20:01:27]OFD Sender: No OFD packet to send [20:01:32]OFD Sender: No OFD packet to send [20:01:37]OFD Sender: No OFD packet to send [20:01:42]OFD Sender: No OFD packet to send [20:01:47]OFD Sender: No OFD packet to send [20:01:52]OFD Sender: No OFD packet to send [20:01:57]OFD Sender: No OFD packet to send [20:02:02]OFD Sender: No OFD packet to send [20:02:07]OFD Sender: No OFD packet to send [20:02:12]OFD Sender: No OFD packet to send [20:02:17]OFD Sender: No OFD packet to send [20:02:22]OFD Sender: No OFD packet to send [20:02:27]OFD Sender: No OFD packet to send [20:02:32]OFD Sender: No OFD packet to send [20:02:37]OFD Sender: No OFD packet to send [20:02:42]OFD Sender: No OFD packet to send [20:02:47]OFD Sender: No OFD packet to send [20:02:52]OFD Sender: No OFD packet to send [20:02:57]OFD Sender: No OFD packet to send [20:03:02]OFD Sender: No OFD packet to send [20:03:07]OFD Sender: No OFD packet to send [20:03:12]OFD Sender: No OFD packet to send [20:03:17]OFD Sender: No OFD packet to send [20:03:22]OFD Sender: No OFD packet to send [20:03:27]OFD Sender: No OFD packet to send [20:03:32]OFD Sender: No OFD packet to send [20:03:37]OFD Sender: No OFD packet to send [20:03:42]OFD Sender: No OFD packet to send [20:03:47]OFD Sender: No OFD packet to send [20:03:52]OFD Sender: No OFD packet to send [20:03:58]OFD Sender: No OFD packet to send [20:04:03]OFD Sender: No OFD packet to send [20:04:08]OFD Sender: No OFD packet to send [20:04:13]OFD Sender: No OFD packet to send [20:04:18]OFD Sender: No OFD packet to send [20:04:23]OFD Sender: No OFD packet to send [20:04:28]OFD Sender: No OFD packet to send [20:04:33]OFD Sender: No OFD packet to send [20:04:38]OFD Sender: No OFD packet to send [20:04:43]OFD Sender: No OFD packet to send [20:04:48]OFD Sender: No OFD packet to send [20:04:53]OFD Sender: No OFD packet to send [20:04:58]OFD Sender: No OFD packet to send [20:05:03]OFD Sender: No OFD packet to send [20:05:08]OFD Sender: No OFD packet to send [20:05:13]OFD Sender: No OFD packet to send [20:05:18]OFD Sender: No OFD packet to send [20:05:23]OFD Sender: No OFD packet to send [20:05:28]OFD Sender: No OFD packet to send [20:05:33]OFD Sender: No OFD packet to send [20:05:38]OFD Sender: No OFD packet to send [20:05:43]OFD Sender: No OFD packet to send [20:05:48]OFD Sender: No OFD packet to send [20:05:53]OFD Sender: No OFD packet to send [20:05:58]OFD Sender: No OFD packet to send [20:06:03]OFD Sender: No OFD packet to send [20:06:08]OFD Sender: No OFD packet to send [20:06:13]OFD Sender: No OFD packet to send [20:06:18]OFD Sender: No OFD packet to send [20:06:23]OFD Sender: No OFD packet to send [20:06:28]OFD Sender: No OFD packet to send [20:06:33]OFD Sender: No OFD packet to send [20:06:38]OFD Sender: No OFD packet to send [20:06:43]OFD Sender: No OFD packet to send [20:06:48]OFD Sender: No OFD packet to send [20:06:53]OFD Sender: No OFD packet to send [20:06:58]OFD Sender: No OFD packet to send [20:07:03]OFD Sender: No OFD packet to send [20:07:08]OFD Sender: No OFD packet to send [20:07:13]OFD Sender: No OFD packet to send [20:07:18]OFD Sender: No OFD packet to send [20:07:23]OFD Sender: No OFD packet to send [20:07:28]OFD Sender: No OFD packet to send [20:07:33]OFD Sender: No OFD packet to send [20:07:38]OFD Sender: No OFD packet to send [20:07:43]OFD Sender: No OFD packet to send [20:07:48]OFD Sender: No OFD packet to send [20:07:53]OFD Sender: No OFD packet to send [20:07:58]OFD Sender: No OFD packet to send [20:08:03]OFD Sender: No OFD packet to send [20:08:08]OFD Sender: No OFD packet to send [20:08:13]OFD Sender: No OFD packet to send [20:08:18]OFD Sender: No OFD packet to send [20:08:23]OFD Sender: No OFD packet to send [20:08:28]OFD Sender: No OFD packet to send [20:08:33]OFD Sender: No OFD packet to send [20:08:38]OFD Sender: No OFD packet to send [20:08:43]OFD Sender: No OFD packet to send [20:08:48]OFD Sender: No OFD packet to send [20:08:53]OFD Sender: No OFD packet to send [20:08:58]OFD Sender: No OFD packet to send [20:09:03]OFD Sender: No OFD packet to send [20:09:08]OFD Sender: No OFD packet to send [20:09:13]OFD Sender: No OFD packet to send [20:09:18]OFD Sender: No OFD packet to send [20:09:23]OFD Sender: No OFD packet to send [20:09:28]OFD Sender: No OFD packet to send [20:09:33]OFD Sender: No OFD packet to send [20:09:38]OFD Sender: No OFD packet to send [20:09:43]OFD Sender: No OFD packet to send [20:09:48]OFD Sender: No OFD packet to send [20:09:53]OFD Sender: No OFD packet to send [20:09:58]OFD Sender: No OFD packet to send [20:10:03]OFD Sender: No OFD packet to send [20:10:08]OFD Sender: No OFD packet to send [20:10:13]OFD Sender: No OFD packet to send [20:10:18]OFD Sender: No OFD packet to send [20:10:23]OFD Sender: No OFD packet to send [20:10:28]OFD Sender: No OFD packet to send [20:10:33]OFD Sender: No OFD packet to send [20:10:38]OFD Sender: No OFD packet to send [20:10:43]OFD Sender: No OFD packet to send [20:10:48]OFD Sender: No OFD packet to send [20:10:53]OFD Sender: No OFD packet to send [20:10:58]OFD Sender: No OFD packet to send [20:11:03]OFD Sender: No OFD packet to send [20:11:08]OFD Sender: No OFD packet to send [20:11:13]OFD Sender: No OFD packet to send [20:11:18]OFD Sender: No OFD packet to send [20:11:23]OFD Sender: No OFD packet to send [20:11:24]accept exits with 7 [20:11:24]New connection [20:11:24]New thread 3067120996 created [20:11:24]Thread 3067264356 joined [20:11:24]Waiting for new connection... [20:11:24] Sock 7.Parse request [20:11:24]Sock 7.Check first char [20:11:24]Sock 7.First char is OK [20:11:24]request: POST /json_proto HTTP/1.0 [20:11:24]Method: POST [20:11:24]URL: /json_proto [20:11:24]Method is POST - this is cgi request [20:11:24]url: /json_proto [20:11:24]query_string will be loaded in cgi processing [20:11:24]execute_cgi json_proto POST (null) [20:11:24]execute_cgi path=json_proto method=POST [20:11:24]POST find Content-Length [20:11:24]Host: 172.17.62.6:8080 [20:11:24]Content-Length: 820 [20:11:24]Content-Type: application/json [20:11:24] [20:11:24]POST finish read [20:11:24]Found Content-Length = 820 [20:11:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32804", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.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" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:11:24]execute_script... [20:11: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)32804", "tax_sys" : 0, "items" : [ { "code": "2000036210013", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.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" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:11:24]POST & json_proto [20:11:24]process_json_proto [20:11:24]json parsed OK: [20:11:24]protocol is kg_v1.0 [20:11:24]action value=close_receipt [20:11:24]process_action close_receipt [20:11:24]cmd_close_receipt [20:11:24]MH_GetDate [20:11:24]Write to MH i2c: F0 00 00 59 00 48 [20:11:24]Write i2c OK [20:11:24]MH_I2C_Read... [20:11:24]Read from MH i2c: F0 [20:11:24]MH_I2C_Read... [20:11:24]Read from MH i2c: F0 09 00 [20:11:24]MH_I2C_Read... [20:11:24]Read from MH i2c: F0 09 00 59 00 00 EC CF 22 66 61 69 D2 64 94 [20:11:24]GetLastDocTimeStamp 1713556449 [20:11:24]current date 1713557484 [20:11:24]FM_GetShiftState [20:11:24]SAM_PROTO_GetShiftState [20:11:24]wFMCommunicate request_size=4 [20:11:24]MH_SAM_APDU [20:11:24]CAPDU: 80 13 01 00 [20:11:24]Write to MH i2c: E2 08 00 5A 00 80 13 01 00 00 00 00 00 D7 [20:11:24]Write i2c OK [20:11:24]MH_I2C_Read... [20:11:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:11:24]Read from MH i2c: E2 [20:11:24]MH_I2C_Read... [20:11:24]Read from MH i2c: E2 0E 00 [20:11:24]MH_I2C_Read... [20:11:24]Read from MH i2c: E2 0E 00 5A 00 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 CD [20:11:24]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [20:11:24]wFMCommunicate OK [20:11:24]SAM_PROTO_GetShiftState done [20:11:24]FM_GetShiftState done [20:11:24]opened in 1713485995 [20:11:24]opened+sec_in_day 1713572395 [20:11:24]quantity*price = 10500 [20:11:24]sum+1 = 10501 [20:11:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 0.00 Безнал.: 105.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 32 19.04.2024 20:11 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000965685 ФД: 12530 ФПД: 19283825563886 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T201124&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12530&fm=19283825563886&tin=02508201610067®Number=0000000000100748&sum=10500 0 [20:11:25]StoreToDocumentArchive [20:11:25]shift 279 fd 12530 [20:11:25]save to /storage/0279/doc_00012530 [20:11:25]save last doc name /storage/0279/doc_00012530 to /storage/kkm_last_doc_name [20:11:25]save OK [20:11:25]Clear old archive folders... [20:11:25]ProcessDocumentItem done err = 0, tmpTLVsize=280 [20:11:25]tlvbuf is 01FCFA70 [20:11:25]SAM_PROTO_ClearQueue [20:11:25]wFMCommunicate request_size=4 [20:11:25]MH_SAM_APDU [20:11:25]CAPDU: 80 09 00 00 [20:11:25]Write to MH i2c: E2 08 00 67 00 80 09 00 00 00 00 00 00 D9 [20:11:25]Write i2c OK [20:11:25]MH_I2C_Read... [20:11:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:11:25]Read from MH i2c: E2 [20:11:25]MH_I2C_Read... [20:11:25]Read from MH i2c: E2 03 00 [20:11:25]MH_I2C_Read... [20:11:25]Read from MH i2c: E2 03 00 67 00 00 90 00 DB [20:11:25]RAPDU: 90 00 [20:11:25]wFMCommunicate OK [20:11:25]SAM_PROTO_ClearQueue done [20:11:25]KKMCreateOFDPacket [20:11:25]OFDProtocolAddRootSTLVToBuf [20:11:25]FM_MakeSignedData [20:11:25]FM_MakeSignedData [20:11:25]SAM_PROTO_SignData [20:11:25]wFMCommunicate request_size=4 [20:11:25]MH_SAM_APDU [20:11:25]CAPDU: 80 0D 01 02 [20:11:25]Write to MH i2c: E2 08 00 68 00 80 0D 01 02 00 00 00 00 E1 [20:11:25]Write i2c OK [20:11:25]MH_I2C_Read... [20:11:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:11:25]Read from MH i2c: E2 [20:11:25]MH_I2C_Read... [20:11:25]Read from MH i2c: E2 03 00 [20:11:25]MH_I2C_Read... [20:11:25]Read from MH i2c: E2 03 00 68 00 00 90 00 DC [20:11:25]RAPDU: 90 00 [20:11:25]wFMCommunicate OK [20:11:25]wFMCommunicate request_size=255 [20:11:25]MH_SAM_APDU [20:11: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 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 EC CF 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 [20:11:25]Write to MH i2c: E2 02 01 69 00 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 EC CF 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 00 00 78 [20:11:25]Write i2c OK [20:11:25]MH_I2C_Read... [20:11:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:11:26]Read from MH i2c: E2 [20:11:26]MH_I2C_Read... [20:11:26]Read from MH i2c: E2 03 00 [20:11:26]MH_I2C_Read... [20:11:26]Read from MH i2c: E2 03 00 69 00 00 90 00 DD [20:11:26]RAPDU: 90 00 [20:11:26]wFMCommunicate OK [20:11:26]wFMCommunicate request_size=39 [20:11:26]MH_SAM_APDU [20:11:26]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F2 30 00 00 35 04 06 00 11 89 DD 92 98 EE [20:11:26]Write to MH i2c: E2 2A 00 6A 00 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F2 30 00 00 35 04 06 00 11 89 DD 92 98 EE 00 00 57 [20:11:26]Write i2c OK [20:11:26]MH_I2C_Read... [20:11:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:11:26]Read from MH i2c: E2 [20:11:26]MH_I2C_Read... [20:11:26]Read from MH i2c: E2 03 00 [20:11:26]MH_I2C_Read... [20:11:26]Read from MH i2c: E2 03 00 6A 00 00 90 00 DE [20:11:26]RAPDU: 90 00 [20:11:26]wFMCommunicate OK [20:11:26]wFMCommunicate request_size=4 [20:11:26]MH_SAM_APDU [20:11:26]CAPDU: 80 0D 03 02 [20:11:26]Write to MH i2c: E2 08 00 6B 00 80 0D 03 02 00 00 00 00 E6 [20:11:26]Write i2c OK [20:11:26]MH_I2C_Read... [20:11:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:11:26]Read from MH i2c: E2 [20:11:26]MH_I2C_Read... [20:11:26]Read from MH i2c: E2 0B 00 [20:11:26]MH_I2C_Read... [20:11:26]Read from MH i2c: E2 0B 00 6B 00 00 C8 FA BD 77 30 4E A2 8A 90 00 87 [20:11:26]RAPDU: C8 FA BD 77 30 4E A2 8A 90 00 [20:11:26]wFMCommunicate OK [20:11:26]SAM_PROTO_SignData done [20:11:26]FM_MakeSignedData done [20:11:26]CreateOFDProtocolMessage [20:11:26]wFMCommunicate request_size=4 [20:11:26]MH_SAM_APDU [20:11:26]CAPDU: 80 11 00 00 [20:11:26]Write to MH i2c: E2 08 00 6C 00 80 11 00 00 00 00 00 00 E6 [20:11:26]Write i2c OK [20:11:26]MH_I2C_Read... [20:11:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:11:26]Read from MH i2c: E2 [20:11:26]MH_I2C_Read... [20:11:26]Read from MH i2c: E2 17 00 [20:11:26]MH_I2C_Read... [20:11:26]Read from MH i2c: E2 17 00 6C 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 40 [20:11:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [20:11:26]wFMCommunicate OK [20:11:26]CreateOFDProtocolMessage done [20:11:26]OFDSenderStorePacket 12530 [20:11:26]StoreOFDPacket docnum=12530 [20:11:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2C 01 00 00 45 67 24 01 06 CC 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 EC CF 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F2 30 00 00 35 04 06 00 11 89 DD 92 98 EE C8 FA BD 77 30 4E A2 8A [20:11:26]CheckFolder [20:11:26]dirname=/storage/ofd_packets [20:11:26]CheckFolder done [20:11:26]ProducePacketName [20:11:26]name=ofd_packets/00012530 [20:11:26]NVStorageSaveData ofd_packets/00012530 [20:11:26]File name is /storage/ofd_packets/00012530 [20:11:26]Write 330 bytes [20:11:26]NVStorageSaveData done [20:11:26]OFDSenderStorePacket done [20:11:26]KKMCreateOFDPacket done [20:11:26]NVStorageSaveData kkm_last_timestamp [20:11:26]File name is /storage/kkm_last_timestamp [20:11:26]Write 4 bytes [20:11:26]NVStorageSaveData done [20:11:26]ExternCall_PrintAddStr [20:11:26]wPrintStart [20:11:26]Write to MH i2c: 01 00 00 6D 00 6D [20:11:26]Write i2c OK [20:11:26]MH_I2C_Read... [20:11:26]Read from MH i2c: 01 [20:11:26]MH_I2C_Read... [20:11:26]Read from MH i2c: 01 07 00 [20:11:26]MH_I2C_Read... [20:11:26]Read from MH i2c: 01 07 00 6D 00 00 00 00 00 00 FF 0F 82 [20:11:26]RasterBufferAndPrint [20:11:26]line Счет N : (3)32804 [20:11:26]line ИНН: 02508201610067 [20:11:26]line Контрольно-Кассовый Чек [20:11:26]line ПРОДАЖА [20:11:26]line Товар: 2000036210013 [20:11:26]line Кофе Капучино (GABB TRADE) [20:11:26]line 1.000 * 105.00 [20:11:26]line = 105.00 [20:11:26]line НДС 12% НСП 1% [20:11:26]line > о реализуемом товаре [20:11:26]line ИТОГО: 105.00 [20:11:26]line НСП 1% : 0.93 [20:11:26]line НДС 12% : 11.15 [20:11:26]line Наличными: 0.00 [20:11:26]line Безнал.: 105.00 [20:11:26]line Место: АЗС № 106 "Партнер Нефть" [20:11:26]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [20:11:26]line СНО: Общий режим [20:11:26]line Чек 32 19.04.2024 20:11 [20:11:26]line Смена: 279 ФФД: 1.0 [20:11:26]line ЗНМ: 0300000004 [20:11:26]line РНМ: 0000000000100748 [20:11:26]line Версия ККМ: 001 [20:11:26]line Платежная система: Бакай Банк [20:11:26]line ФМ: 0000000000965685 [20:11:26]line ФД: 12530 [20:11:26]line ФПД: 19283825563886 [20:11:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T201124&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12530&fm=19283825563886&tin=02508201610067®Number=0000000000100748&sum=10500 [20:11:26]line 0 [20:11:26]OFD Sender: Processing packet 12530 [packets to send 7, broken 6] [20:11:26]ProducePacketName [20:11:26]name=ofd_packets/00012530 [20:11:26]OFD Sender: To server: pG, [20:11:26]CommunicateWithHost lk.salyk.kg:30040 [20:11:26]ConnectInit lk.salyk.kg [20:11:26]written 0, free lines is 4095 [20:11:27]Write to MH i2c: 01 00 00 96 00 96 [20:11:27]Write i2c OK [20:11:27]MH_I2C_Read... [20:11:27]Read from MH i2c: 01 [20:11:27]MH_I2C_Read... [20:11:27]Read from MH i2c: 01 07 00 [20:11:27]MH_I2C_Read... [20:11:27]Read from MH i2c: 01 07 00 96 00 00 00 00 00 00 EE 0C 97 [20:11:27]RasterBufferAndPrint [20:11:27]line [20:11:27]line [20:11:27]line [20:11:27]line [20:11:27]line [20:11:27]written 0, free lines is 3317 [20:11:27]MH_Cut [20:11:27]Write to MH i2c: D1 01 00 9D 00 01 6F [20:11:27]Write i2c OK [20:11:27]MH_I2C_Read... [20:11:27]Read from MH i2c: D1 [20:11:27]MH_I2C_Read... [20:11:27]Read from MH i2c: D1 01 00 [20:11:27]MH_I2C_Read... [20:11:27]Read from MH i2c: D1 01 00 9D 00 00 6E [20:11:27]Write to MH i2c: 01 00 00 9E 00 9E [20:11:27]Write i2c OK [20:11:27]MH_I2C_Read... [20:11:27]*** Cut start [20:11:27]*** Partial cut [20:11:27]*** CUTSNS_PIN = 1 [20:11:28]*** CUTSNS_PIN = 0 [20:11:28]*** Brake cut motor [20:11:28]Read from MH i2c: 01 [20:11:28]MH_I2C_Read... [20:11:28]*** Stop cut motor [20:11:28]*** Cut end [20:11:28]Read from MH i2c: 01 07 00 [20:11:28]MH_I2C_Read... [20:11:28]Read from MH i2c: 01 07 00 9E 00 00 00 00 00 00 FF 0F B3 [20:11:28]process_action close_receipt done [20:11:28]requested_data is exist [20:11:28]produce_requested_data [20:11:28]requested_item fm.sn is exist - process it [20:11:28]wFMCommunicate request_size=4 [20:11:28]MH_SAM_APDU [20:11:28]CAPDU: 80 11 00 00 [20:11:28]Write to MH i2c: E2 08 00 9F 00 80 11 00 00 00 00 00 00 19 [20:11:28]Write i2c OK [20:11:28]MH_I2C_Read... [20:11:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:11:28]Read from MH i2c: E2 [20:11:28]MH_I2C_Read... [20:11:28]Read from MH i2c: E2 17 00 [20:11:28]MH_I2C_Read... [20:11:28]Read from MH i2c: E2 17 00 9F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 73 [20:11:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [20:11:28]wFMCommunicate OK [20:11:28]requested_item fd.num is exist - process it [20:11:28]SAM_PROTO_GetFieldsCounters [20:11:28]wFMCommunicate request_size=4 [20:11:28]MH_SAM_APDU [20:11:28]CAPDU: 80 13 00 00 [20:11:28]Write to MH i2c: E2 08 00 A0 00 80 13 00 00 00 00 00 00 1C [20:11:28]Write i2c OK [20:11:28]MH_I2C_Read... [20:11:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:11:28]Read from MH i2c: E2 [20:11:28]MH_I2C_Read... [20:11:28]Read from MH i2c: E2 62 00 [20:11:28]MH_I2C_Read... [20:11:28]Read from MH i2c: E2 62 00 A0 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 F2 30 00 00 0E 04 04 00 17 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 D9 [20:11:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 F2 30 00 00 0E 04 04 00 17 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 [20:11:28]wFMCommunicate OK [20:11:28]SAM_PROTO_GetFieldsCounters done [20:11:28]requested_item shift.num is exist - process it [20:11:28]requested_item shift.opened is exist - process it [20:11:28]req_shift_opened [20:11:28]FM_GetShiftState [20:11:28]SAM_PROTO_GetShiftState [20:11:28]wFMCommunicate request_size=4 [20:11:28]MH_SAM_APDU [20:11:28]CAPDU: 80 13 01 00 [20:11:28]Write to MH i2c: E2 08 00 A1 00 80 13 01 00 00 00 00 00 1E [20:11:28]Write i2c OK [20:11:28]MH_I2C_Read... [20:11:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:11:28]Read from MH i2c: E2 [20:11:28]MH_I2C_Read... [20:11:28]Read from MH i2c: E2 0E 00 [20:11:28]MH_I2C_Read... [20:11:28]Read from MH i2c: E2 0E 00 A1 00 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 14 [20:11:28]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [20:11:28]wFMCommunicate OK [20:11:28]SAM_PROTO_GetShiftState done [20:11:28]FM_GetShiftState done [20:11:28]req_shift_opened done [20:11:28]requested_item shift.open_date is exist - process it [20:11:28]req_shift_open_date [20:11:28]req_shift_open_date done [20:11:28]produce_requested_data done [20:11:28]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12530,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [20:11:28]process_action_free close_receipt [20:11:28]json_value_free [20:11:28]json_value_free done [20:11:28]process_json_proto returns [20:11:28]Send response to host [20:11:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12530,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [20:11:28]free response buf [20:11:28]execute_script done [20:11:28]execute_script returns [20:11:28]free content buf [20:11:28]Sock 7.Close socket [20:11:28]Sock 7.Thread stoped [20:11:52]accept exits with 9 [20:11:52]New connection [20:11:52]New thread 3067264356 created [20:11:52]Thread 3067120996 joined [20:11:52]Waiting for new connection... [20:11:52] Sock 9.Parse request [20:11:52]Sock 9.Check first char [20:11:52]Sock 9.First char is OK [20:11:52]request: POST /json_proto HTTP/1.0 [20:11:52]Method: POST [20:11:52]URL: /json_proto [20:11:52]Method is POST - this is cgi request [20:11:52]url: /json_proto [20:11:52]query_string will be loaded in cgi processing [20:11:52]execute_cgi json_proto POST (null) [20:11:52]execute_cgi path=json_proto method=POST [20:11:52]POST find Content-Length [20:11:52]Host: 172.17.62.6:8080 [20:11:52]Content-Length: 584 [20:11:52]Content-Type: application/json [20:11:52] [20:11:52]POST finish read [20:11:52]Found Content-Length = 584 [20:11:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32805", "tax_sys" : 0, "items" : [ { "code": "50173617", "name": "\u0416\u0435\u0432 Orbit Eucalyptus", "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" ] } } [20:11:52]execute_script... [20:11:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32805", "tax_sys" : 0, "items" : [ { "code": "50173617", "name": "\u0416\u0435\u0432 Orbit Eucalyptus", "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" ] } } [20:11:52]POST & json_proto [20:11:52]process_json_proto [20:11:52]json parsed OK: [20:11:52]protocol is kg_v1.0 [20:11:52]action value=close_receipt [20:11:52]process_action close_receipt [20:11:52]cmd_close_receipt [20:11:52]MH_GetDate [20:11:52]Write to MH i2c: F0 00 00 A2 00 91 [20:11:52]Write i2c OK [20:11:52]MH_I2C_Read... [20:11:52]Read from MH i2c: F0 [20:11:52]MH_I2C_Read... [20:11:52]Read from MH i2c: F0 09 00 [20:11:52]MH_I2C_Read... [20:11:52]Read from MH i2c: F0 09 00 A2 00 00 08 D0 22 66 61 69 D2 64 FA [20:11:52]GetLastDocTimeStamp 1713557484 [20:11:52]current date 1713557512 [20:11:52]FM_GetShiftState [20:11:52]SAM_PROTO_GetShiftState [20:11:52]wFMCommunicate request_size=4 [20:11:52]MH_SAM_APDU [20:11:52]CAPDU: 80 13 01 00 [20:11:52]Write to MH i2c: E2 08 00 A3 00 80 13 01 00 00 00 00 00 20 [20:11:52]Write i2c OK [20:11:52]MH_I2C_Read... [20:11:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:11:52]Read from MH i2c: E2 [20:11:52]MH_I2C_Read... [20:11:52]Read from MH i2c: E2 0E 00 [20:11:52]MH_I2C_Read... [20:11:52]Read from MH i2c: E2 0E 00 A3 00 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 16 [20:11:52]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [20:11:52]wFMCommunicate OK [20:11:52]SAM_PROTO_GetShiftState done [20:11:52]FM_GetShiftState done [20:11:52]opened in 1713485995 [20:11:52]opened+sec_in_day 1713572395 [20:11:52]quantity*price = 4000 [20:11:52]sum+1 = 4001 [20:11:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 33 19.04.2024 20:11 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12531 ФПД: 152652085067746 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T201152&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12531&fm=152652085067746&tin=02508201610067®Number=0000000000100748&sum=4000 0 [20:11:53]StoreToDocumentArchive [20:11:53]shift 279 fd 12531 [20:11:53]save to /storage/0279/doc_00012531 [20:11:53]save last doc name /storage/0279/doc_00012531 to /storage/kkm_last_doc_name [20:11:53]save OK [20:11:53]Clear old archive folders... [20:11:53]ProcessDocumentItem done err = 0, tmpTLVsize=260 [20:11:53]tlvbuf is 01FD8980 [20:11:53]SAM_PROTO_ClearQueue [20:11:53]wFMCommunicate request_size=4 [20:11:53]MH_SAM_APDU [20:11:53]CAPDU: 80 09 00 00 [20:11:53]Write to MH i2c: E2 08 00 B0 00 80 09 00 00 00 00 00 00 22 [20:11:53]Write i2c OK [20:11:53]MH_I2C_Read... [20:11:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:11:53]Read from MH i2c: E2 [20:11:53]MH_I2C_Read... [20:11:53]Read from MH i2c: E2 03 00 [20:11:53]MH_I2C_Read... [20:11:53]Read from MH i2c: E2 03 00 B0 00 00 90 00 24 [20:11:53]RAPDU: 90 00 [20:11:53]wFMCommunicate OK [20:11:53]SAM_PROTO_ClearQueue done [20:11:53]KKMCreateOFDPacket [20:11:53]OFDProtocolAddRootSTLVToBuf [20:11:53]FM_MakeSignedData [20:11:53]FM_MakeSignedData [20:11:53]SAM_PROTO_SignData [20:11:53]wFMCommunicate request_size=4 [20:11:53]MH_SAM_APDU [20:11:53]CAPDU: 80 0D 01 02 [20:11:53]Write to MH i2c: E2 08 00 B1 00 80 0D 01 02 00 00 00 00 2A [20:11:53]Write i2c OK [20:11:53]MH_I2C_Read... [20:11:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:11:53]Read from MH i2c: E2 [20:11:53]MH_I2C_Read... [20:11:53]Read from MH i2c: E2 03 00 [20:11:53]MH_I2C_Read... [20:11:53]Read from MH i2c: E2 03 00 B1 00 00 90 00 25 [20:11:53]RAPDU: 90 00 [20:11:53]wFMCommunicate OK [20:11:53]wFMCommunicate request_size=255 [20:11:53]MH_SAM_APDU [20:11:53]CAPDU: 80 0D 02 02 FA 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 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 21 00 00 00 F4 03 04 00 08 D0 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 [20:11:53]Write to MH i2c: E2 02 01 B2 00 80 0D 02 02 FA 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 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 21 00 00 00 F4 03 04 00 08 D0 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 00 00 2C [20:11:53]Write i2c OK [20:11:53]MH_I2C_Read... [20:11:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:11:54]Read from MH i2c: E2 [20:11:54]MH_I2C_Read... [20:11:54]Read from MH i2c: E2 03 00 [20:11:54]MH_I2C_Read... [20:11:54]Read from MH i2c: E2 03 00 B2 00 00 90 00 26 [20:11:54]RAPDU: 90 00 [20:11:54]wFMCommunicate OK [20:11:54]wFMCommunicate request_size=19 [20:11:54]MH_SAM_APDU [20:11:54]CAPDU: 80 0D 02 02 0E F3 30 00 00 35 04 06 00 8A D6 15 4D FF E2 [20:11:54]Write to MH i2c: E2 16 00 B3 00 80 0D 02 02 0E 00 F3 30 00 00 35 04 06 00 8A D6 15 4D FF E2 00 00 4E [20:11:54]Write i2c OK [20:11:54]MH_I2C_Read... [20:11:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:11:54]Read from MH i2c: E2 [20:11:54]MH_I2C_Read... [20:11:54]Read from MH i2c: E2 03 00 [20:11:54]MH_I2C_Read... [20:11:54]Read from MH i2c: E2 03 00 B3 00 00 90 00 27 [20:11:54]RAPDU: 90 00 [20:11:54]wFMCommunicate OK [20:11:54]wFMCommunicate request_size=4 [20:11:54]MH_SAM_APDU [20:11:54]CAPDU: 80 0D 03 02 [20:11:54]Write to MH i2c: E2 08 00 B4 00 80 0D 03 02 00 00 00 00 2F [20:11:54]Write i2c OK [20:11:54]MH_I2C_Read... [20:11:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:11:54]Read from MH i2c: E2 [20:11:54]MH_I2C_Read... [20:11:54]Read from MH i2c: E2 0B 00 [20:11:54]MH_I2C_Read... [20:11:54]Read from MH i2c: E2 0B 00 B4 00 00 92 0E 0F 22 EC E7 2F 71 90 00 74 [20:11:54]RAPDU: 92 0E 0F 22 EC E7 2F 71 90 00 [20:11:54]wFMCommunicate OK [20:11:54]SAM_PROTO_SignData done [20:11:54]FM_MakeSignedData done [20:11:54]CreateOFDProtocolMessage [20:11:54]wFMCommunicate request_size=4 [20:11:54]MH_SAM_APDU [20:11:54]CAPDU: 80 11 00 00 [20:11:54]Write to MH i2c: E2 08 00 B5 00 80 11 00 00 00 00 00 00 2F [20:11:54]Write i2c OK [20:11:54]MH_I2C_Read... [20:11:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:11:54]Read from MH i2c: E2 [20:11:54]MH_I2C_Read... [20:11:54]Read from MH i2c: E2 17 00 [20:11:54]MH_I2C_Read... [20:11:54]Read from MH i2c: E2 17 00 B5 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 89 [20:11:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [20:11:54]wFMCommunicate OK [20:11:54]CreateOFDProtocolMessage done [20:11:54]OFDSenderStorePacket 12531 [20:11:54]StoreOFDPacket docnum=12531 [20:11:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 18 01 00 00 4E B3 10 01 4B 57 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 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 21 00 00 00 F4 03 04 00 08 D0 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F3 30 00 00 35 04 06 00 8A D6 15 4D FF E2 92 0E 0F 22 EC E7 2F 71 [20:11:54]CheckFolder [20:11:54]dirname=/storage/ofd_packets [20:11:54]CheckFolder done [20:11:54]ProducePacketName [20:11:54]name=ofd_packets/00012531 [20:11:54]NVStorageSaveData ofd_packets/00012531 [20:11:54]File name is /storage/ofd_packets/00012531 [20:11:54]Write 310 bytes [20:11:54]NVStorageSaveData done [20:11:54]OFDSenderStorePacket done [20:11:54]KKMCreateOFDPacket done [20:11:54]NVStorageSaveData kkm_last_timestamp [20:11:54]File name is /storage/kkm_last_timestamp [20:11:54]Write 4 bytes [20:11:54]NVStorageSaveData done [20:11:54]ExternCall_PrintAddStr [20:11:54]wPrintStart [20:11:54]Write to MH i2c: 01 00 00 B6 00 B6 [20:11:54]Write i2c OK [20:11:54]MH_I2C_Read... [20:11:54]Read from MH i2c: 01 [20:11:54]MH_I2C_Read... [20:11:54]Read from MH i2c: 01 07 00 [20:11:54]MH_I2C_Read... [20:11:54]Read from MH i2c: 01 07 00 B6 00 00 00 00 00 00 FF 0F CB [20:11:54]RasterBufferAndPrint [20:11:54]line Счет N : (3)32805 [20:11:54]line ИНН: 02508201610067 [20:11:54]line Контрольно-Кассовый Чек [20:11:54]line ПРОДАЖА [20:11:54]line Товар: 50173617 [20:11:54]line Жев Orbit Eucalyptus [20:11:54]line 1.000 * 40.00 [20:11:54]line = 40.00 [20:11:54]line НДС 12% НСП 1% [20:11:54]line > о реализуемом товаре [20:11:54]line ИТОГО: 40.00 [20:11:54]line НСП 1% : 0.35 [20:11:54]line НДС 12% : 4.25 [20:11:54]line Наличными: 40.00 [20:11:54]line Безнал.: 0.00 [20:11:54]line Место: АЗС № 106 "Партнер Нефть" [20:11:54]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [20:11:54]line СНО: Общий режим [20:11:54]line Чек 33 19.04.2024 20:11 [20:11:54]line Смена: 279 ФФД: 1.0 [20:11:54]line ЗНМ: 0300000004 [20:11:54]line РНМ: 0000000000100748 [20:11:54]line Версия ККМ: 001 [20:11:54]line ФМ: 0000000000965685 [20:11:54]line ФД: 12531 [20:11:54]line ФПД: 152652085067746 [20:11:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T201152&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12531&fm=152652085067746&tin=02508201610067®Number=0000000000100748&sum=4000 [20:11:54]line 0 [20:11:54]written 0, free lines is 4095 [20:11:54]Write to MH i2c: 01 00 00 DD 00 DD [20:11:54]Write i2c OK [20:11:54]MH_I2C_Read... [20:11:54]Read from MH i2c: 01 [20:11:54]MH_I2C_Read... [20:11:54]Read from MH i2c: 01 07 00 [20:11:54]MH_I2C_Read... [20:11:54]Read from MH i2c: 01 07 00 DD 00 00 00 00 00 00 0A 0D FB [20:11:54]RasterBufferAndPrint [20:11:54]line [20:11:54]line [20:11:54]line [20:11:54]line [20:11:54]line [20:11:54]written 0, free lines is 3344 [20:11:55]MH_Cut [20:11:55]Write to MH i2c: D1 01 00 E4 00 01 B6 [20:11:55]Write i2c OK [20:11:55]MH_I2C_Read... [20:11:55]Read from MH i2c: D1 [20:11:55]MH_I2C_Read... [20:11:55]Read from MH i2c: D1 01 00 [20:11:55]MH_I2C_Read... [20:11:55]Read from MH i2c: D1 01 00 E4 00 00 B5 [20:11:55]Write to MH i2c: 01 00 00 E5 00 E5 [20:11:55]Write i2c OK [20:11:55]MH_I2C_Read... [20:11:55]*** Cut start [20:11:55]*** Partial cut [20:11:55]*** CUTSNS_PIN = 1 [20:11:55]*** CUTSNS_PIN = 0 [20:11:56]*** Brake cut motor [20:11:56]Read from MH i2c: 01 [20:11:56]MH_I2C_Read... [20:11:56]*** Stop cut motor [20:11:56]*** Cut end [20:11:56]Read from MH i2c: 01 07 00 [20:11:56]MH_I2C_Read... [20:11:56]Read from MH i2c: 01 07 00 E5 00 00 00 00 00 00 FF 0F FA [20:11:56]process_action close_receipt done [20:11:56]requested_data is exist [20:11:56]produce_requested_data [20:11:56]requested_item fm.sn is exist - process it [20:11:56]wFMCommunicate request_size=4 [20:11:56]MH_SAM_APDU [20:11:56]CAPDU: 80 11 00 00 [20:11:56]Write to MH i2c: E2 08 00 E6 00 80 11 00 00 00 00 00 00 60 [20:11:56]Write i2c OK [20:11:56]MH_I2C_Read... [20:11:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:11:56]Read from MH i2c: E2 [20:11:56]MH_I2C_Read... [20:11:56]Read from MH i2c: E2 17 00 [20:11:56]MH_I2C_Read... [20:11:56]Read from MH i2c: E2 17 00 E6 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 BA [20:11:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [20:11:56]wFMCommunicate OK [20:11:56]requested_item fd.num is exist - process it [20:11:56]SAM_PROTO_GetFieldsCounters [20:11:56]wFMCommunicate request_size=4 [20:11:56]MH_SAM_APDU [20:11:56]CAPDU: 80 13 00 00 [20:11:56]Write to MH i2c: E2 08 00 E7 00 80 13 00 00 00 00 00 00 63 [20:11:56]Write i2c OK [20:11:56]MH_I2C_Read... [20:11:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:11:56]Read from MH i2c: E2 [20:11:56]MH_I2C_Read... [20:11:56]Read from MH i2c: E2 62 00 [20:11:56]MH_I2C_Read... [20:11:56]Read from MH i2c: E2 62 00 E7 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 F3 30 00 00 0E 04 04 00 17 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 24 [20:11:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 F3 30 00 00 0E 04 04 00 17 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 [20:11:56]wFMCommunicate OK [20:11:56]SAM_PROTO_GetFieldsCounters done [20:11:56]requested_item shift.num is exist - process it [20:11:56]requested_item shift.opened is exist - process it [20:11:56]req_shift_opened [20:11:56]FM_GetShiftState [20:11:56]SAM_PROTO_GetShiftState [20:11:56]wFMCommunicate request_size=4 [20:11:56]MH_SAM_APDU [20:11:56]CAPDU: 80 13 01 00 [20:11:56]Write to MH i2c: E2 08 00 E8 00 80 13 01 00 00 00 00 00 65 [20:11:56]Write i2c OK [20:11:56]MH_I2C_Read... [20:11:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:11:56]Read from MH i2c: E2 [20:11:56]MH_I2C_Read... [20:11:56]Read from MH i2c: E2 0E 00 [20:11:56]MH_I2C_Read... [20:11:56]Read from MH i2c: E2 0E 00 E8 00 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 5B [20:11:56]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [20:11:56]wFMCommunicate OK [20:11:56]SAM_PROTO_GetShiftState done [20:11:56]FM_GetShiftState done [20:11:56]req_shift_opened done [20:11:56]requested_item shift.open_date is exist - process it [20:11:56]req_shift_open_date [20:11:56]req_shift_open_date done [20:11:56]produce_requested_data done [20:11:56]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12531,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [20:11:56]process_action_free close_receipt [20:11:56]json_value_free [20:11:56]json_value_free done [20:11:56]process_json_proto returns [20:11:56]Send response to host [20:11:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12531,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [20:11:56]free response buf [20:11:56]execute_script done [20:11:56]execute_script returns [20:11:56]free content buf [20:11:56]Sock 9.Close socket [20:11:56]Sock 9.Thread stoped [20:13:36]ConnectInit Can't connect to host [20:13:36]CommunicateWithHost connect error [20:13:36]CommunicateWithHost err = -1 [20:13:36]OFD Sender: Server communicate error [20:13:36]OFD Sender: Processing packet 12530 [packets to send 8, broken 6] [20:13:36]ProducePacketName [20:13:36]name=ofd_packets/00012530 [20:13:36]OFD Sender: To server: pG, [20:13:36]CommunicateWithHost lk.salyk.kg:30040 [20:13:36]ConnectInit lk.salyk.kg [20:15:54]ConnectInit Can't connect to host [20:15:54]CommunicateWithHost connect error [20:15:54]CommunicateWithHost err = -1 [20:15:54]OFD Sender: Server communicate error [20:15:59]OFD Sender: Processing packet 12530 [packets to send 8, broken 6] [20:15:59]ProducePacketName [20:15:59]name=ofd_packets/00012530 [20:15:59]OFD Sender: To server: pG, [20:15:59]CommunicateWithHost lk.salyk.kg:30040 [20:15:59]ConnectInit lk.salyk.kg [20:15:59]Connected sock=9 [20:15:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2C 01 00 00 45 67 24 01 06 CC 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 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 EC CF 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F2 30 00 00 35 04 06 00 11 89 DD 92 98 EE C8 FA BD 77 30 4E A2 8A [20:16:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 3E 7E 47 00 14 D4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F2 30 00 00 F4 03 04 00 84 79 22 66 B6 04 01 00 00 EC 29 38 29 17 55 02 D4 [20:16:00]CommunicateWithHost err = 0 [20:16:00]CheckOFDResponse [20:16:00]1017 (14) - 77093643461234 [20:16:00]1041 (16) - 0000000000965685 [20:16:00]1040 (4) - 12530 [20:16:00]1012 (4) - 19.04.2024 14:02 [20:16:00]1206 (1) - 0 [20:16:00]OFD Sender: Remove packet 12530 [20:16:00]ProducePacketName [20:16:00]name=ofd_packets/00012530 [20:16:00]NVStorageDeleteData [20:16:00]OFD Sender: Processing packet 12531 [packets to send 7, broken 6] [20:16:00]ProducePacketName [20:16:00]name=ofd_packets/00012531 [20:16:00]OFD Sender: To server: pG, [20:16:00]CommunicateWithHost lk.salyk.kg:30040 [20:16:00]ConnectInit lk.salyk.kg [20:16:00]Connected sock=9 [20:16:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 18 01 00 00 4E B3 10 01 4B 57 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 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 21 00 00 00 F4 03 04 00 08 D0 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F3 30 00 00 35 04 06 00 8A D6 15 4D FF E2 92 0E 0F 22 EC E7 2F 71 [20:16:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 25 12 47 00 FF 0C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F3 30 00 00 F4 03 04 00 85 79 22 66 B6 04 01 00 00 3E 31 0A E5 E6 29 B1 44 [20:16:01]CommunicateWithHost err = 0 [20:16:01]CheckOFDResponse [20:16:01]1017 (14) - 77093643461234 [20:16:01]1041 (16) - 0000000000965685 [20:16:01]1040 (4) - 12531 [20:16:01]1012 (4) - 19.04.2024 14:02 [20:16:01]1206 (1) - 0 [20:16:01]OFD Sender: Remove packet 12531 [20:16:01]ProducePacketName [20:16:01]name=ofd_packets/00012531 [20:16:01]NVStorageDeleteData [20:16:01]OFD Sender: No OFD packet to send [20:16:06]OFD Sender: No OFD packet to send [20:16:11]OFD Sender: No OFD packet to send [20:16:16]OFD Sender: No OFD packet to send [20:16:21]OFD Sender: No OFD packet to send [20:16:26]OFD Sender: No OFD packet to send [20:16:31]OFD Sender: No OFD packet to send [20:16:36]OFD Sender: No OFD packet to send [20:16:41]OFD Sender: No OFD packet to send [20:16:46]OFD Sender: No OFD packet to send [20:16:51]OFD Sender: No OFD packet to send [20:16:56]OFD Sender: No OFD packet to send [20:17:01]OFD Sender: No OFD packet to send [20:17:06]OFD Sender: No OFD packet to send [20:17:11]OFD Sender: No OFD packet to send [20:17:16]OFD Sender: No OFD packet to send [20:17:21]OFD Sender: No OFD packet to send [20:17:26]OFD Sender: No OFD packet to send [20:17:31]OFD Sender: No OFD packet to send [20:17:36]OFD Sender: No OFD packet to send [20:17:41]OFD Sender: No OFD packet to send [20:17:46]OFD Sender: No OFD packet to send [20:17:51]OFD Sender: No OFD packet to send [20:17:56]OFD Sender: No OFD packet to send [20:18:01]OFD Sender: No OFD packet to send [20:18:06]OFD Sender: No OFD packet to send [20:18:11]OFD Sender: No OFD packet to send [20:18:16]OFD Sender: No OFD packet to send [20:18:21]OFD Sender: No OFD packet to send [20:18:26]OFD Sender: No OFD packet to send [20:18:31]OFD Sender: No OFD packet to send [20:18:36]OFD Sender: No OFD packet to send [20:18:41]OFD Sender: No OFD packet to send [20:18:46]OFD Sender: No OFD packet to send [20:18:51]OFD Sender: No OFD packet to send [20:18:56]OFD Sender: No OFD packet to send [20:19:01]OFD Sender: No OFD packet to send [20:19:06]OFD Sender: No OFD packet to send [20:19:11]OFD Sender: No OFD packet to send [20:19:16]OFD Sender: No OFD packet to send [20:19:21]OFD Sender: No OFD packet to send [20:19:26]OFD Sender: No OFD packet to send [20:19:31]OFD Sender: No OFD packet to send [20:19:36]OFD Sender: No OFD packet to send [20:19:41]OFD Sender: No OFD packet to send [20:19:46]OFD Sender: No OFD packet to send [20:19:51]OFD Sender: No OFD packet to send [20:19:56]OFD Sender: No OFD packet to send [20:20:01]OFD Sender: No OFD packet to send [20:20:06]OFD Sender: No OFD packet to send [20:20:11]OFD Sender: No OFD packet to send [20:20:16]OFD Sender: No OFD packet to send [20:20:21]OFD Sender: No OFD packet to send [20:20:26]OFD Sender: No OFD packet to send [20:20:31]OFD Sender: No OFD packet to send [20:20:36]OFD Sender: No OFD packet to send [20:20:41]OFD Sender: No OFD packet to send [20:20:46]OFD Sender: No OFD packet to send [20:20:51]OFD Sender: No OFD packet to send [20:20:56]OFD Sender: No OFD packet to send [20:21:01]OFD Sender: No OFD packet to send [20:21:06]OFD Sender: No OFD packet to send [20:21:11]OFD Sender: No OFD packet to send [20:21:16]OFD Sender: No OFD packet to send [20:21:21]OFD Sender: No OFD packet to send [20:21:26]OFD Sender: No OFD packet to send [20:21:31]OFD Sender: No OFD packet to send [20:21:36]OFD Sender: No OFD packet to send [20:21:41]OFD Sender: No OFD packet to send [20:21:46]OFD Sender: No OFD packet to send [20:21:51]OFD Sender: No OFD packet to send [20:21:56]OFD Sender: No OFD packet to send [20:22:01]OFD Sender: No OFD packet to send [20:22:06]OFD Sender: No OFD packet to send [20:22:11]OFD Sender: No OFD packet to send [20:22:16]OFD Sender: No OFD packet to send [20:22:21]OFD Sender: No OFD packet to send [20:22:26]OFD Sender: No OFD packet to send [20:22:31]OFD Sender: No OFD packet to send [20:22:36]OFD Sender: No OFD packet to send [20:22:41]OFD Sender: No OFD packet to send [20:22:46]OFD Sender: No OFD packet to send [20:22:51]OFD Sender: No OFD packet to send [20:22:56]OFD Sender: No OFD packet to send [20:23:01]OFD Sender: No OFD packet to send [20:23:06]OFD Sender: No OFD packet to send [20:23:11]OFD Sender: No OFD packet to send [20:23:16]OFD Sender: No OFD packet to send [20:23:21]OFD Sender: No OFD packet to send [20:23:26]OFD Sender: No OFD packet to send [20:23:31]OFD Sender: No OFD packet to send [20:23:36]OFD Sender: No OFD packet to send [20:23:41]OFD Sender: No OFD packet to send [20:23:46]OFD Sender: No OFD packet to send [20:23:51]OFD Sender: No OFD packet to send [20:23:56]OFD Sender: No OFD packet to send [20:24:01]OFD Sender: No OFD packet to send [20:24:06]OFD Sender: No OFD packet to send [20:24:11]OFD Sender: No OFD packet to send [20:24:16]OFD Sender: No OFD packet to send [20:24:21]OFD Sender: No OFD packet to send [20:24:26]OFD Sender: No OFD packet to send [20:24:31]OFD Sender: No OFD packet to send [20:24:36]OFD Sender: No OFD packet to send [20:24:41]OFD Sender: No OFD packet to send [20:24:46]OFD Sender: No OFD packet to send [20:24:51]OFD Sender: No OFD packet to send [20:24:56]OFD Sender: No OFD packet to send [20:25:01]OFD Sender: No OFD packet to send [20:25:06]OFD Sender: No OFD packet to send [20:25:11]OFD Sender: No OFD packet to send [20:25:16]OFD Sender: No OFD packet to send [20:25:21]OFD Sender: No OFD packet to send [20:25:26]OFD Sender: No OFD packet to send [20:25:31]OFD Sender: No OFD packet to send [20:25:36]OFD Sender: No OFD packet to send [20:25:41]OFD Sender: No OFD packet to send [20:25:46]OFD Sender: No OFD packet to send [20:25:51]OFD Sender: No OFD packet to send [20:25:56]OFD Sender: No OFD packet to send [20:26:01]OFD Sender: No OFD packet to send [20:26:06]OFD Sender: No OFD packet to send [20:26:11]OFD Sender: No OFD packet to send [20:26:16]OFD Sender: No OFD packet to send [20:26:21]OFD Sender: No OFD packet to send [20:26:27]OFD Sender: No OFD packet to send [20:26:32]OFD Sender: No OFD packet to send [20:26:36]recv_with_timeout no data received [20:26:37]OFD Sender: No OFD packet to send [20:26:42]OFD Sender: No OFD packet to send [20:26:47]OFD Sender: No OFD packet to send [20:26:52]OFD Sender: No OFD packet to send [20:26:57]OFD Sender: No OFD packet to send [20:27:02]OFD Sender: No OFD packet to send [20:27:07]OFD Sender: No OFD packet to send [20:27:12]OFD Sender: No OFD packet to send [20:27:17]OFD Sender: No OFD packet to send [20:27:21]accept exits with 7 [20:27:21]New connection [20:27:21]New thread 3067120996 created [20:27:21]Thread 3067264356 joined [20:27:21]Waiting for new connection... [20:27:21] Sock 7.Parse request [20:27:21]Sock 7.Check first char [20:27:21]Sock 7.First char is OK [20:27:21]request: POST /json_proto HTTP/1.0 [20:27:21]Method: POST [20:27:21]URL: /json_proto [20:27:21]Method is POST - this is cgi request [20:27:21]url: /json_proto [20:27:21]query_string will be loaded in cgi processing [20:27:21]execute_cgi json_proto POST (null) [20:27:21]execute_cgi path=json_proto method=POST [20:27:21]POST find Content-Length [20:27:21]Host: 172.17.62.6:8080 [20:27:21]Content-Length: 798 [20:27:21]Content-Type: application/json [20:27:21] [20:27:21]POST finish read [20:27:21]Found Content-Length = 798 [20:27:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32806", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" ] } } [20:27:21]execute_script... [20:27: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)32806", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" ] } } [20:27:21]POST & json_proto [20:27:21]process_json_proto [20:27:21]json parsed OK: [20:27:21]protocol is kg_v1.0 [20:27:21]action value=close_receipt [20:27:21]process_action close_receipt [20:27:21]cmd_close_receipt [20:27:21]MH_GetDate [20:27:21]Write to MH i2c: F0 00 00 E9 00 D8 [20:27:21]Write i2c OK [20:27:21]MH_I2C_Read... [20:27:21]Read from MH i2c: F0 [20:27:21]MH_I2C_Read... [20:27:21]Read from MH i2c: F0 09 00 [20:27:21]MH_I2C_Read... [20:27:21]Read from MH i2c: F0 09 00 E9 00 00 A9 D3 22 66 61 69 D2 64 E5 [20:27:21]GetLastDocTimeStamp 1713557512 [20:27:21]current date 1713558441 [20:27:21]FM_GetShiftState [20:27:21]SAM_PROTO_GetShiftState [20:27:21]wFMCommunicate request_size=4 [20:27:21]MH_SAM_APDU [20:27:21]CAPDU: 80 13 01 00 [20:27:21]Write to MH i2c: E2 08 00 EA 00 80 13 01 00 00 00 00 00 67 [20:27:21]Write i2c OK [20:27:21]MH_I2C_Read... [20:27:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:27:21]Read from MH i2c: E2 [20:27:21]MH_I2C_Read... [20:27:21]Read from MH i2c: E2 0E 00 [20:27:21]MH_I2C_Read... [20:27:21]Read from MH i2c: E2 0E 00 EA 00 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 5D [20:27:21]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [20:27:21]wFMCommunicate OK [20:27:21]SAM_PROTO_GetShiftState done [20:27:21]FM_GetShiftState done [20:27:21]opened in 1713485995 [20:27:21]opened+sec_in_day 1713572395 [20:27:21]quantity*price = 15100 [20:27:21]sum+1 = 15101 [20:27:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 151.00 НСП 1% : 1.34 НДС 12% : 16.03 Наличными: 0.00 Безнал.: 151.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 34 19.04.2024 20:27 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000965685 ФД: 12532 ФПД: 204598238286690 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T202721&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12532&fm=204598238286690&tin=02508201610067®Number=0000000000100748&sum=15100 0 [20:27:22]StoreToDocumentArchive [20:27:22]shift 279 fd 12532 [20:27:22]save to /storage/0279/doc_00012532 [20:27:22]save last doc name /storage/0279/doc_00012532 to /storage/kkm_last_doc_name [20:27:22]save OK [20:27:22]Clear old archive folders... [20:27:22]ProcessDocumentItem done err = 0, tmpTLVsize=274 [20:27:22]tlvbuf is 01FBFB30 [20:27:22]SAM_PROTO_ClearQueue [20:27:22]wFMCommunicate request_size=4 [20:27:22]MH_SAM_APDU [20:27:22]CAPDU: 80 09 00 00 [20:27:22]Write to MH i2c: E2 08 00 F7 00 80 09 00 00 00 00 00 00 69 [20:27:22]Write i2c OK [20:27:22]MH_I2C_Read... [20:27:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:27:22]Read from MH i2c: E2 [20:27:22]MH_I2C_Read... [20:27:22]Read from MH i2c: E2 03 00 [20:27:22]MH_I2C_Read... [20:27:22]Read from MH i2c: E2 03 00 F7 00 00 90 00 6B [20:27:22]RAPDU: 90 00 [20:27:22]wFMCommunicate OK [20:27:22]SAM_PROTO_ClearQueue done [20:27:22]KKMCreateOFDPacket [20:27:22]OFDProtocolAddRootSTLVToBuf [20:27:22]FM_MakeSignedData [20:27:22]FM_MakeSignedData [20:27:22]SAM_PROTO_SignData [20:27:22]wFMCommunicate request_size=4 [20:27:22]MH_SAM_APDU [20:27:22]CAPDU: 80 0D 01 02 [20:27:22]Write to MH i2c: E2 08 00 F8 00 80 0D 01 02 00 00 00 00 71 [20:27:22]Write i2c OK [20:27:22]MH_I2C_Read... [20:27:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:27:22]Read from MH i2c: E2 [20:27:22]MH_I2C_Read... [20:27:22]Read from MH i2c: E2 03 00 [20:27:22]MH_I2C_Read... [20:27:22]Read from MH i2c: E2 03 00 F8 00 00 90 00 6C [20:27:22]RAPDU: 90 00 [20:27:22]wFMCommunicate OK [20:27:22]wFMCommunicate request_size=255 [20:27:22]MH_SAM_APDU [20:27:22]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 22 00 00 00 F4 03 04 00 A9 D3 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 [20:27:22]Write to MH i2c: E2 02 01 F9 00 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 22 00 00 00 F4 03 04 00 A9 D3 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 00 00 73 [20:27:22]Write i2c OK [20:27:22]MH_I2C_Read... [20:27:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:27:23]Read from MH i2c: E2 [20:27:23]MH_I2C_Read... [20:27:23]Read from MH i2c: E2 03 00 [20:27:23]MH_I2C_Read... [20:27:23]Read from MH i2c: E2 03 00 F9 00 00 90 00 6D [20:27:23]RAPDU: 90 00 [20:27:23]wFMCommunicate OK [20:27:23]wFMCommunicate request_size=33 [20:27:23]MH_SAM_APDU [20:27:23]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F4 30 00 00 35 04 06 00 BA 14 BD 50 93 62 [20:27:23]Write to MH i2c: E2 24 00 FA 00 80 0D 02 02 1C 00 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F4 30 00 00 35 04 06 00 BA 14 BD 50 93 62 00 00 FE [20:27:23]Write i2c OK [20:27:23]MH_I2C_Read... [20:27:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:27:23]Read from MH i2c: E2 [20:27:23]MH_I2C_Read... [20:27:23]Read from MH i2c: E2 03 00 [20:27:23]MH_I2C_Read... [20:27:23]Read from MH i2c: E2 03 00 FA 00 00 90 00 6E [20:27:23]RAPDU: 90 00 [20:27:23]wFMCommunicate OK [20:27:23]wFMCommunicate request_size=4 [20:27:23]MH_SAM_APDU [20:27:23]CAPDU: 80 0D 03 02 [20:27:23]Write to MH i2c: E2 08 00 FB 00 80 0D 03 02 00 00 00 00 76 [20:27:23]Write i2c OK [20:27:23]MH_I2C_Read... [20:27:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:27:23]Read from MH i2c: E2 [20:27:23]MH_I2C_Read... [20:27:23]Read from MH i2c: E2 0B 00 [20:27:23]MH_I2C_Read... [20:27:23]Read from MH i2c: E2 0B 00 FB 00 00 CC 58 AE 59 09 0A 7F A7 90 00 DB [20:27:23]RAPDU: CC 58 AE 59 09 0A 7F A7 90 00 [20:27:23]wFMCommunicate OK [20:27:23]SAM_PROTO_SignData done [20:27:23]FM_MakeSignedData done [20:27:23]CreateOFDProtocolMessage [20:27:23]wFMCommunicate request_size=4 [20:27:23]MH_SAM_APDU [20:27:23]CAPDU: 80 11 00 00 [20:27:23]Write to MH i2c: E2 08 00 FC 00 80 11 00 00 00 00 00 00 76 [20:27:23]Write i2c OK [20:27:23]MH_I2C_Read... [20:27:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:27:23]Read from MH i2c: E2 [20:27:23]MH_I2C_Read... [20:27:23]Read from MH i2c: E2 17 00 [20:27:23]MH_I2C_Read... [20:27:23]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 36 35 36 38 35 90 00 D0 [20:27:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [20:27:23]wFMCommunicate OK [20:27:23]CreateOFDProtocolMessage done [20:27:23]OFDSenderStorePacket 12532 [20:27:23]StoreOFDPacket docnum=12532 [20:27:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 26 01 00 00 26 A4 1E 01 6A 6D 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 22 00 00 00 F4 03 04 00 A9 D3 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F4 30 00 00 35 04 06 00 BA 14 BD 50 93 62 CC 58 AE 59 09 0A 7F A7 [20:27:23]CheckFolder [20:27:23]dirname=/storage/ofd_packets [20:27:23]CheckFolder done [20:27:23]ProducePacketName [20:27:23]name=ofd_packets/00012532 [20:27:23]NVStorageSaveData ofd_packets/00012532 [20:27:23]File name is /storage/ofd_packets/00012532 [20:27:23]Write 324 bytes [20:27:23]NVStorageSaveData done [20:27:23]OFDSenderStorePacket done [20:27:23]KKMCreateOFDPacket done [20:27:23]NVStorageSaveData kkm_last_timestamp [20:27:23]File name is /storage/kkm_last_timestamp [20:27:23]Write 4 bytes [20:27:23]NVStorageSaveData done [20:27:23]ExternCall_PrintAddStr [20:27:23]wPrintStart [20:27:23]Write to MH i2c: 01 00 00 FD 00 FD [20:27:23]Write i2c OK [20:27:23]MH_I2C_Read... [20:27:23]Read from MH i2c: 01 [20:27:23]MH_I2C_Read... [20:27:23]Read from MH i2c: 01 07 00 [20:27:23]MH_I2C_Read... [20:27:23]Read from MH i2c: 01 07 00 FD 00 00 00 00 00 00 FF 0F 12 [20:27:23]RasterBufferAndPrint [20:27:23]line Счет N : (3)32806 [20:27:23]line ИНН: 02508201610067 [20:27:23]line Контрольно-Кассовый Чек [20:27:23]line ПРОДАЖА [20:27:23]line Товар: 48741958 [20:27:23]line Сигареты Parliament Aqua Blue [20:27:23]line 1.000 * 151.00 [20:27:23]line = 151.00 [20:27:23]line НДС 12% НСП 1% [20:27:23]line > о реализуемом товаре [20:27:23]line ИТОГО: 151.00 [20:27:23]line НСП 1% : 1.34 [20:27:23]line НДС 12% : 16.03 [20:27:23]line Наличными: 0.00 [20:27:23]line Безнал.: 151.00 [20:27:23]line Место: АЗС № 106 "Партнер Нефть" [20:27:23]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [20:27:23]line СНО: Общий режим [20:27:23]line Чек 34 19.04.2024 20:27 [20:27:23]line Смена: 279 ФФД: 1.0 [20:27:23]line ЗНМ: 0300000004 [20:27:23]line РНМ: 0000000000100748 [20:27:23]line Версия ККМ: 001 [20:27:23]line Платежная система: Бакай Банк [20:27:23]line ФМ: 0000000000965685 [20:27:23]line ФД: 12532 [20:27:23]line ФПД: 204598238286690 [20:27:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T202721&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12532&fm=204598238286690&tin=02508201610067®Number=0000000000100748&sum=15100 [20:27:23]line 0 [20:27:23]OFD Sender: Processing packet 12532 [packets to send 7, broken 6] [20:27:23]ProducePacketName [20:27:23]name=ofd_packets/00012532 [20:27:23]OFD Sender: To server: pG, [20:27:23]CommunicateWithHost lk.salyk.kg:30040 [20:27:23]ConnectInit lk.salyk.kg [20:27:23]written 0, free lines is 4095 [20:27:24]Write to MH i2c: 01 00 00 27 01 28 [20:27:24]Write i2c OK [20:27:24]MH_I2C_Read... [20:27:24]Read from MH i2c: 01 [20:27:24]MH_I2C_Read... [20:27:24]Read from MH i2c: 01 07 00 [20:27:24]MH_I2C_Read... [20:27:24]Read from MH i2c: 01 07 00 27 01 00 00 00 00 00 BB 0C F6 [20:27:24]RasterBufferAndPrint [20:27:24]line [20:27:24]line [20:27:24]line [20:27:24]line [20:27:24]line [20:27:24]written 0, free lines is 3267 [20:27:24]MH_Cut [20:27:24]Write to MH i2c: D1 01 00 2E 01 01 01 [20:27:24]Write i2c OK [20:27:24]MH_I2C_Read... [20:27:24]Read from MH i2c: D1 [20:27:24]MH_I2C_Read... [20:27:24]Read from MH i2c: D1 01 00 [20:27:24]MH_I2C_Read... [20:27:24]Read from MH i2c: D1 01 00 2E 01 00 00 [20:27:24]Write to MH i2c: 01 00 00 2F 01 30 [20:27:24]Write i2c OK [20:27:24]MH_I2C_Read... [20:27:24]*** Cut start [20:27:24]*** Partial cut [20:27:24]*** CUTSNS_PIN = 1 [20:27:24]*** CUTSNS_PIN = 0 [20:27:25]*** Brake cut motor [20:27:25]Read from MH i2c: 01 [20:27:25]MH_I2C_Read... [20:27:25]*** Stop cut motor [20:27:25]*** Cut end [20:27:25]Read from MH i2c: 01 07 00 [20:27:25]MH_I2C_Read... [20:27:25]Read from MH i2c: 01 07 00 2F 01 00 00 00 00 00 FF 0F 45 [20:27:25]process_action close_receipt done [20:27:25]requested_data is exist [20:27:25]produce_requested_data [20:27:25]requested_item fm.sn is exist - process it [20:27:25]wFMCommunicate request_size=4 [20:27:25]MH_SAM_APDU [20:27:25]CAPDU: 80 11 00 00 [20:27:25]Write to MH i2c: E2 08 00 30 01 80 11 00 00 00 00 00 00 AB [20:27:25]Write i2c OK [20:27:25]MH_I2C_Read... [20:27:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:27:25]Read from MH i2c: E2 [20:27:25]MH_I2C_Read... [20:27:25]Read from MH i2c: E2 17 00 [20:27:25]MH_I2C_Read... [20:27:25]Read from MH i2c: E2 17 00 30 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 05 [20:27:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [20:27:25]wFMCommunicate OK [20:27:25]requested_item fd.num is exist - process it [20:27:25]SAM_PROTO_GetFieldsCounters [20:27:25]wFMCommunicate request_size=4 [20:27:25]MH_SAM_APDU [20:27:25]CAPDU: 80 13 00 00 [20:27:25]Write to MH i2c: E2 08 00 31 01 80 13 00 00 00 00 00 00 AE [20:27:25]Write i2c OK [20:27:25]MH_I2C_Read... [20:27:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:27:25]Read from MH i2c: E2 [20:27:25]MH_I2C_Read... [20:27:25]Read from MH i2c: E2 62 00 [20:27:25]MH_I2C_Read... [20:27:25]Read from MH i2c: E2 62 00 31 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 F4 30 00 00 0E 04 04 00 17 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 73 [20:27:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 F4 30 00 00 0E 04 04 00 17 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 [20:27:25]wFMCommunicate OK [20:27:25]SAM_PROTO_GetFieldsCounters done [20:27:25]requested_item shift.num is exist - process it [20:27:25]requested_item shift.opened is exist - process it [20:27:25]req_shift_opened [20:27:25]FM_GetShiftState [20:27:25]SAM_PROTO_GetShiftState [20:27:25]wFMCommunicate request_size=4 [20:27:25]MH_SAM_APDU [20:27:25]CAPDU: 80 13 01 00 [20:27:25]Write to MH i2c: E2 08 00 32 01 80 13 01 00 00 00 00 00 B0 [20:27:25]Write i2c OK [20:27:25]MH_I2C_Read... [20:27:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:27:25]Read from MH i2c: E2 [20:27:25]MH_I2C_Read... [20:27:25]Read from MH i2c: E2 0E 00 [20:27:25]MH_I2C_Read... [20:27:25]Read from MH i2c: E2 0E 00 32 01 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 A6 [20:27:25]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [20:27:25]wFMCommunicate OK [20:27:25]SAM_PROTO_GetShiftState done [20:27:25]FM_GetShiftState done [20:27:25]req_shift_opened done [20:27:25]requested_item shift.open_date is exist - process it [20:27:25]req_shift_open_date [20:27:25]req_shift_open_date done [20:27:25]produce_requested_data done [20:27:25]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12532,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [20:27:25]process_action_free close_receipt [20:27:25]json_value_free [20:27:25]json_value_free done [20:27:25]process_json_proto returns [20:27:25]Send response to host [20:27:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12532,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [20:27:25]free response buf [20:27:25]execute_script done [20:27:25]execute_script returns [20:27:25]free content buf [20:27:25]Sock 7.Close socket [20:27:25]Sock 7.Thread stoped [20:27:26]Connected sock=11 [20:27:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 26 01 00 00 26 A4 1E 01 6A 6D 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 22 00 00 00 F4 03 04 00 A9 D3 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F4 30 00 00 35 04 06 00 BA 14 BD 50 93 62 CC 58 AE 59 09 0A 7F A7 [20:27:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 08 84 47 00 48 29 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F4 30 00 00 F4 03 04 00 33 7C 22 66 B6 04 01 00 00 81 1A C0 B1 02 06 73 DC [20:27:26]CommunicateWithHost err = 0 [20:27:26]CheckOFDResponse [20:27:26]1017 (14) - 77093643461234 [20:27:26]1041 (16) - 0000000000965685 [20:27:26]1040 (4) - 12532 [20:27:26]1012 (4) - 19.04.2024 14:14 [20:27:26]1206 (1) - 0 [20:27:26]OFD Sender: Remove packet 12532 [20:27:26]ProducePacketName [20:27:26]name=ofd_packets/00012532 [20:27:26]NVStorageDeleteData [20:27:27]OFD Sender: No OFD packet to send [20:27:32]OFD Sender: No OFD packet to send [20:27:37]OFD Sender: No OFD packet to send [20:27:42]OFD Sender: No OFD packet to send [20:27:47]OFD Sender: No OFD packet to send [20:27:52]OFD Sender: No OFD packet to send [20:27:57]OFD Sender: No OFD packet to send [20:28:02]OFD Sender: No OFD packet to send [20:28:07]OFD Sender: No OFD packet to send [20:28:12]OFD Sender: No OFD packet to send [20:28:17]OFD Sender: No OFD packet to send [20:28:22]OFD Sender: No OFD packet to send [20:28:27]OFD Sender: No OFD packet to send [20:28:32]OFD Sender: No OFD packet to send [20:28:37]OFD Sender: No OFD packet to send [20:28:42]OFD Sender: No OFD packet to send [20:28:47]OFD Sender: No OFD packet to send [20:28:52]OFD Sender: No OFD packet to send [20:28:57]OFD Sender: No OFD packet to send [20:29:02]OFD Sender: No OFD packet to send [20:29:07]OFD Sender: No OFD packet to send [20:29:12]OFD Sender: No OFD packet to send [20:29:17]OFD Sender: No OFD packet to send [20:29:22]OFD Sender: No OFD packet to send [20:29:27]OFD Sender: No OFD packet to send [20:29:32]OFD Sender: No OFD packet to send [20:29:37]OFD Sender: No OFD packet to send [20:29:42]OFD Sender: No OFD packet to send [20:29:47]OFD Sender: No OFD packet to send [20:29:52]OFD Sender: No OFD packet to send [20:29:57]OFD Sender: No OFD packet to send [20:30:02]OFD Sender: No OFD packet to send [20:30:07]OFD Sender: No OFD packet to send [20:30:12]OFD Sender: No OFD packet to send [20:30:17]OFD Sender: No OFD packet to send [20:30:22]OFD Sender: No OFD packet to send [20:30:27]OFD Sender: No OFD packet to send [20:30:32]OFD Sender: No OFD packet to send [20:30:37]OFD Sender: No OFD packet to send [20:30:42]OFD Sender: No OFD packet to send [20:30:47]OFD Sender: No OFD packet to send [20:30:52]OFD Sender: No OFD packet to send [20:30:57]OFD Sender: No OFD packet to send [20:31:02]OFD Sender: No OFD packet to send [20:31:07]OFD Sender: No OFD packet to send [20:31:12]OFD Sender: No OFD packet to send [20:31:17]OFD Sender: No OFD packet to send [20:31:22]OFD Sender: No OFD packet to send [20:31:27]OFD Sender: No OFD packet to send [20:31:32]OFD Sender: No OFD packet to send [20:31:37]OFD Sender: No OFD packet to send [20:31:42]OFD Sender: No OFD packet to send [20:31:47]OFD Sender: No OFD packet to send [20:31:52]OFD Sender: No OFD packet to send [20:31:57]OFD Sender: No OFD packet to send [20:32:02]OFD Sender: No OFD packet to send [20:32:07]OFD Sender: No OFD packet to send [20:32:12]OFD Sender: No OFD packet to send [20:32:17]OFD Sender: No OFD packet to send [20:32:22]OFD Sender: No OFD packet to send [20:32:27]OFD Sender: No OFD packet to send [20:32:32]OFD Sender: No OFD packet to send [20:32:37]OFD Sender: No OFD packet to send [20:32:42]OFD Sender: No OFD packet to send [20:32:47]OFD Sender: No OFD packet to send [20:32:52]OFD Sender: No OFD packet to send [20:32:57]OFD Sender: No OFD packet to send [20:33:02]OFD Sender: No OFD packet to send [20:33:07]OFD Sender: No OFD packet to send [20:33:12]OFD Sender: No OFD packet to send [20:33:17]OFD Sender: No OFD packet to send [20:33:22]OFD Sender: No OFD packet to send [20:33:27]OFD Sender: No OFD packet to send [20:33:32]OFD Sender: No OFD packet to send [20:33:37]OFD Sender: No OFD packet to send [20:33:42]OFD Sender: No OFD packet to send [20:33:47]OFD Sender: No OFD packet to send [20:33:52]OFD Sender: No OFD packet to send [20:33:57]OFD Sender: No OFD packet to send [20:34:02]OFD Sender: No OFD packet to send [20:34:07]OFD Sender: No OFD packet to send [20:34:12]OFD Sender: No OFD packet to send [20:34:17]OFD Sender: No OFD packet to send [20:34:22]OFD Sender: No OFD packet to send [20:34:27]OFD Sender: No OFD packet to send [20:34:32]OFD Sender: No OFD packet to send [20:34:37]OFD Sender: No OFD packet to send [20:34:42]OFD Sender: No OFD packet to send [20:34:47]OFD Sender: No OFD packet to send [20:34:52]OFD Sender: No OFD packet to send [20:34:57]OFD Sender: No OFD packet to send [20:35:02]OFD Sender: No OFD packet to send [20:35:07]OFD Sender: No OFD packet to send [20:35:12]OFD Sender: No OFD packet to send [20:35:17]OFD Sender: No OFD packet to send [20:35:22]OFD Sender: No OFD packet to send [20:35:27]OFD Sender: No OFD packet to send [20:35:32]OFD Sender: No OFD packet to send [20:35:37]OFD Sender: No OFD packet to send [20:35:42]OFD Sender: No OFD packet to send [20:35:47]OFD Sender: No OFD packet to send [20:35:52]OFD Sender: No OFD packet to send [20:35:57]OFD Sender: No OFD packet to send [20:36:02]OFD Sender: No OFD packet to send [20:36:07]OFD Sender: No OFD packet to send [20:36:12]OFD Sender: No OFD packet to send [20:36:17]OFD Sender: No OFD packet to send [20:36:22]OFD Sender: No OFD packet to send [20:36:27]OFD Sender: No OFD packet to send [20:36:32]OFD Sender: No OFD packet to send [20:36:37]OFD Sender: No OFD packet to send [20:36:42]OFD Sender: No OFD packet to send [20:36:47]OFD Sender: No OFD packet to send [20:36:52]OFD Sender: No OFD packet to send [20:36:57]OFD Sender: No OFD packet to send [20:37:02]OFD Sender: No OFD packet to send [20:37:07]OFD Sender: No OFD packet to send [20:37:12]OFD Sender: No OFD packet to send [20:37:17]OFD Sender: No OFD packet to send [20:37:22]OFD Sender: No OFD packet to send [20:37:27]OFD Sender: No OFD packet to send [20:37:32]OFD Sender: No OFD packet to send [20:37:37]OFD Sender: No OFD packet to send [20:37:42]OFD Sender: No OFD packet to send [20:37:47]OFD Sender: No OFD packet to send [20:37:52]OFD Sender: No OFD packet to send [20:37:57]OFD Sender: No OFD packet to send [20:38:02]OFD Sender: No OFD packet to send [20:38:07]OFD Sender: No OFD packet to send [20:38:12]OFD Sender: No OFD packet to send [20:38:17]OFD Sender: No OFD packet to send [20:38:22]OFD Sender: No OFD packet to send [20:38:27]OFD Sender: No OFD packet to send [20:38:32]OFD Sender: No OFD packet to send [20:38:37]OFD Sender: No OFD packet to send [20:38:42]OFD Sender: No OFD packet to send [20:38:47]OFD Sender: No OFD packet to send [20:38:52]OFD Sender: No OFD packet to send [20:38:57]OFD Sender: No OFD packet to send [20:39:02]OFD Sender: No OFD packet to send [20:39:07]OFD Sender: No OFD packet to send [20:39:12]OFD Sender: No OFD packet to send [20:39:17]OFD Sender: No OFD packet to send [20:39:21]accept exits with 9 [20:39:21]New connection [20:39:21]New thread 3067264356 created [20:39:21]Thread 3067120996 joined [20:39:21]Waiting for new connection... [20:39:21] Sock 9.Parse request [20:39:21]Sock 9.Check first char [20:39:21]Sock 9.First char is OK [20:39:21]request: POST /json_proto HTTP/1.0 [20:39:21]Method: POST [20:39:21]URL: /json_proto [20:39:21]Method is POST - this is cgi request [20:39:21]url: /json_proto [20:39:21]query_string will be loaded in cgi processing [20:39:21]execute_cgi json_proto POST (null) [20:39:21]execute_cgi path=json_proto method=POST [20:39:21]POST find Content-Length [20:39:21]Host: 172.17.62.6:8080 [20:39:21]Content-Length: 810 [20:39:21]Content-Type: application/json [20:39:21] [20:39:21]POST finish read [20:39:21]Found Content-Length = 810 [20:39:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32807", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:39:21]execute_script... [20:39: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)32807", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:39:21]POST & json_proto [20:39:21]process_json_proto [20:39:21]json parsed OK: [20:39:21]protocol is kg_v1.0 [20:39:21]action value=close_receipt [20:39:21]process_action close_receipt [20:39:21]cmd_close_receipt [20:39:21]MH_GetDate [20:39:21]Write to MH i2c: F0 00 00 33 01 23 [20:39:21]Write i2c OK [20:39:21]MH_I2C_Read... [20:39:21]Read from MH i2c: F0 [20:39:21]MH_I2C_Read... [20:39:21]Read from MH i2c: F0 09 00 [20:39:21]MH_I2C_Read... [20:39:21]Read from MH i2c: F0 09 00 33 01 00 79 D6 22 66 61 69 D2 64 03 [20:39:21]GetLastDocTimeStamp 1713558441 [20:39:21]current date 1713559161 [20:39:21]FM_GetShiftState [20:39:21]SAM_PROTO_GetShiftState [20:39:21]wFMCommunicate request_size=4 [20:39:21]MH_SAM_APDU [20:39:21]CAPDU: 80 13 01 00 [20:39:21]Write to MH i2c: E2 08 00 34 01 80 13 01 00 00 00 00 00 B2 [20:39:21]Write i2c OK [20:39:21]MH_I2C_Read... [20:39:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:39:21]Read from MH i2c: E2 [20:39:21]MH_I2C_Read... [20:39:21]Read from MH i2c: E2 0E 00 [20:39:21]MH_I2C_Read... [20:39:21]Read from MH i2c: E2 0E 00 34 01 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 A8 [20:39:21]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [20:39:21]wFMCommunicate OK [20:39:21]SAM_PROTO_GetShiftState done [20:39:21]FM_GetShiftState done [20:39:21]opened in 1713485995 [20:39:21]opened+sec_in_day 1713572395 [20:39:21]quantity*price = 6000 [20:39:21]sum+1 = 6001 [20:39:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 0.00 Безнал.: 60.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 35 19.04.2024 20:39 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000965685 ФД: 12533 ФПД: 133591693296150 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T203922&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12533&fm=133591693296150&tin=02508201610067®Number=0000000000100748&sum=6000 0 [20:39:22]StoreToDocumentArchive [20:39:22]shift 279 fd 12533 [20:39:22]save to /storage/0279/doc_00012533 [20:39:22]save last doc name /storage/0279/doc_00012533 to /storage/kkm_last_doc_name [20:39:22]save OK [20:39:22]Clear old archive folders... [20:39:22]ProcessDocumentItem done err = 0, tmpTLVsize=276 [20:39:22]tlvbuf is 01FCF4E0 [20:39:22]SAM_PROTO_ClearQueue [20:39:22]wFMCommunicate request_size=4 [20:39:22]MH_SAM_APDU [20:39:22]CAPDU: 80 09 00 00 [20:39:22]Write to MH i2c: E2 08 00 41 01 80 09 00 00 00 00 00 00 B4 [20:39:22]Write i2c OK [20:39:22]MH_I2C_Read... [20:39:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:39:22]Read from MH i2c: E2 [20:39:22]MH_I2C_Read... [20:39:22]Read from MH i2c: E2 03 00 [20:39:22]MH_I2C_Read... [20:39:22]Read from MH i2c: E2 03 00 41 01 00 90 00 B6 [20:39:22]RAPDU: 90 00 [20:39:22]wFMCommunicate OK [20:39:22]SAM_PROTO_ClearQueue done [20:39:22]KKMCreateOFDPacket [20:39:22]OFDProtocolAddRootSTLVToBuf [20:39:22]FM_MakeSignedData [20:39:22]FM_MakeSignedData [20:39:22]SAM_PROTO_SignData [20:39:22]wFMCommunicate request_size=4 [20:39:22]MH_SAM_APDU [20:39:22]CAPDU: 80 0D 01 02 [20:39:22]Write to MH i2c: E2 08 00 42 01 80 0D 01 02 00 00 00 00 BC [20:39:22]Write i2c OK [20:39:22]MH_I2C_Read... [20:39:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:39:22]OFD Sender: No OFD packet to send [20:39:22]Read from MH i2c: E2 [20:39:22]MH_I2C_Read... [20:39:22]Read from MH i2c: E2 03 00 [20:39:22]MH_I2C_Read... [20:39:22]Read from MH i2c: E2 03 00 42 01 00 90 00 B7 [20:39:22]RAPDU: 90 00 [20:39:22]wFMCommunicate OK [20:39:22]wFMCommunicate request_size=255 [20:39:22]MH_SAM_APDU [20:39:22]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 7A D6 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 [20:39:22]Write to MH i2c: E2 02 01 43 01 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 7A D6 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 00 00 05 [20:39:22]Write i2c OK [20:39:22]MH_I2C_Read... [20:39:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:39:23]Read from MH i2c: E2 [20:39:23]MH_I2C_Read... [20:39:23]Read from MH i2c: E2 03 00 [20:39:23]MH_I2C_Read... [20:39:23]Read from MH i2c: E2 03 00 43 01 00 90 00 B8 [20:39:23]RAPDU: 90 00 [20:39:23]wFMCommunicate OK [20:39:23]wFMCommunicate request_size=35 [20:39:23]MH_SAM_APDU [20:39:23]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F5 30 00 00 35 04 06 00 79 80 3D 6C 82 16 [20:39:23]Write to MH i2c: E2 26 00 44 01 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F5 30 00 00 35 04 06 00 79 80 3D 6C 82 16 00 00 18 [20:39:23]Write i2c OK [20:39:23]MH_I2C_Read... [20:39:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:39:23]Read from MH i2c: E2 [20:39:23]MH_I2C_Read... [20:39:23]Read from MH i2c: E2 03 00 [20:39:23]MH_I2C_Read... [20:39:23]Read from MH i2c: E2 03 00 44 01 00 90 00 B9 [20:39:23]RAPDU: 90 00 [20:39:23]wFMCommunicate OK [20:39:23]wFMCommunicate request_size=4 [20:39:23]MH_SAM_APDU [20:39:23]CAPDU: 80 0D 03 02 [20:39:23]Write to MH i2c: E2 08 00 45 01 80 0D 03 02 00 00 00 00 C1 [20:39:23]Write i2c OK [20:39:23]MH_I2C_Read... [20:39:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:39:23]Read from MH i2c: E2 [20:39:23]MH_I2C_Read... [20:39:23]Read from MH i2c: E2 0B 00 [20:39:23]MH_I2C_Read... [20:39:23]Read from MH i2c: E2 0B 00 45 01 00 E8 F4 43 68 D3 DF F9 69 90 00 5D [20:39:23]RAPDU: E8 F4 43 68 D3 DF F9 69 90 00 [20:39:23]wFMCommunicate OK [20:39:23]SAM_PROTO_SignData done [20:39:23]FM_MakeSignedData done [20:39:23]CreateOFDProtocolMessage [20:39:23]wFMCommunicate request_size=4 [20:39:23]MH_SAM_APDU [20:39:23]CAPDU: 80 11 00 00 [20:39:23]Write to MH i2c: E2 08 00 46 01 80 11 00 00 00 00 00 00 C1 [20:39:23]Write i2c OK [20:39:23]MH_I2C_Read... [20:39:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:39:23]Read from MH i2c: E2 [20:39:23]MH_I2C_Read... [20:39:23]Read from MH i2c: E2 17 00 [20:39:23]MH_I2C_Read... [20:39:23]Read from MH i2c: E2 17 00 46 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 1B [20:39:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [20:39:23]wFMCommunicate OK [20:39:23]CreateOFDProtocolMessage done [20:39:23]OFDSenderStorePacket 12533 [20:39:23]StoreOFDPacket docnum=12533 [20:39:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 28 01 00 00 11 FB 20 01 6E 6D 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 7A D6 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F5 30 00 00 35 04 06 00 79 80 3D 6C 82 16 E8 F4 43 68 D3 DF F9 69 [20:39:23]CheckFolder [20:39:23]dirname=/storage/ofd_packets [20:39:23]CheckFolder done [20:39:23]ProducePacketName [20:39:23]name=ofd_packets/00012533 [20:39:23]NVStorageSaveData ofd_packets/00012533 [20:39:23]File name is /storage/ofd_packets/00012533 [20:39:23]Write 326 bytes [20:39:23]NVStorageSaveData done [20:39:23]OFDSenderStorePacket done [20:39:23]KKMCreateOFDPacket done [20:39:23]NVStorageSaveData kkm_last_timestamp [20:39:23]File name is /storage/kkm_last_timestamp [20:39:23]Write 4 bytes [20:39:23]NVStorageSaveData done [20:39:23]ExternCall_PrintAddStr [20:39:23]wPrintStart [20:39:23]Write to MH i2c: 01 00 00 47 01 48 [20:39:23]Write i2c OK [20:39:23]MH_I2C_Read... [20:39:23]Read from MH i2c: 01 [20:39:23]MH_I2C_Read... [20:39:23]Read from MH i2c: 01 07 00 [20:39:23]MH_I2C_Read... [20:39:23]Read from MH i2c: 01 07 00 47 01 00 00 00 00 00 FF 0F 5D [20:39:23]RasterBufferAndPrint [20:39:23]line Счет N : (3)32807 [20:39:23]line ИНН: 02508201610067 [20:39:23]line Контрольно-Кассовый Чек [20:39:23]line ПРОДАЖА [20:39:23]line Товар: 4700000310043 [20:39:23]line Вода Жалалабат 27 1л [20:39:23]line 1.000 * 60.00 [20:39:23]line = 60.00 [20:39:23]line НДС 12% НСП 1% [20:39:23]line > о реализуемом товаре [20:39:23]line ИТОГО: 60.00 [20:39:23]line НСП 1% : 0.53 [20:39:23]line НДС 12% : 6.37 [20:39:23]line Наличными: 0.00 [20:39:23]line Безнал.: 60.00 [20:39:23]line Место: АЗС № 106 "Партнер Нефть" [20:39:23]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [20:39:23]line СНО: Общий режим [20:39:23]line Чек 35 19.04.2024 20:39 [20:39:23]line Смена: 279 ФФД: 1.0 [20:39:23]line ЗНМ: 0300000004 [20:39:23]line РНМ: 0000000000100748 [20:39:23]line Версия ККМ: 001 [20:39:23]line Платежная система: О! деньги [20:39:23]line ФМ: 0000000000965685 [20:39:23]line ФД: 12533 [20:39:23]line ФПД: 133591693296150 [20:39:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T203922&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12533&fm=133591693296150&tin=02508201610067®Number=0000000000100748&sum=6000 [20:39:23]line 0 [20:39:23]OFD Sender: Processing packet 12533 [packets to send 7, broken 6] [20:39:23]ProducePacketName [20:39:23]name=ofd_packets/00012533 [20:39:23]OFD Sender: To server: pG, [20:39:23]CommunicateWithHost lk.salyk.kg:30040 [20:39:23]ConnectInit lk.salyk.kg [20:39:23]written 0, free lines is 4095 [20:39:23]Connected sock=10 [20:39:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 28 01 00 00 11 FB 20 01 6E 6D 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 7A D6 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F5 30 00 00 35 04 06 00 79 80 3D 6C 82 16 E8 F4 43 68 D3 DF F9 69 [20:39:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 30 A8 47 00 3E 7E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F5 30 00 00 F4 03 04 00 00 7F 22 66 B6 04 01 00 00 FA 6D F5 61 D7 48 E0 EE [20:39:24]CommunicateWithHost err = 0 [20:39:24]CheckOFDResponse [20:39:24]1017 (14) - 77093643461234 [20:39:24]1041 (16) - 0000000000965685 [20:39:24]1040 (4) - 12533 [20:39:24]1012 (4) - 19.04.2024 14:26 [20:39:24]1206 (1) - 0 [20:39:24]OFD Sender: Remove packet 12533 [20:39:24]ProducePacketName [20:39:24]name=ofd_packets/00012533 [20:39:24]NVStorageDeleteData [20:39:24]Write to MH i2c: 01 00 00 70 01 71 [20:39:24]Write i2c OK [20:39:24]MH_I2C_Read... [20:39:24]Read from MH i2c: 01 [20:39:24]MH_I2C_Read... [20:39:24]Read from MH i2c: 01 07 00 [20:39:24]MH_I2C_Read... [20:39:24]Read from MH i2c: 01 07 00 70 01 00 00 00 00 00 F2 0C 76 [20:39:24]RasterBufferAndPrint [20:39:24]line [20:39:24]line [20:39:24]line [20:39:24]line [20:39:24]line [20:39:24]written 0, free lines is 3320 [20:39:24]MH_Cut [20:39:24]Write to MH i2c: D1 01 00 77 01 01 4A [20:39:24]Write i2c OK [20:39:24]MH_I2C_Read... [20:39:24]Read from MH i2c: D1 [20:39:24]MH_I2C_Read... [20:39:24]Read from MH i2c: D1 01 00 [20:39:24]MH_I2C_Read... [20:39:24]Read from MH i2c: D1 01 00 77 01 00 49 [20:39:24]Write to MH i2c: 01 00 00 78 01 79 [20:39:24]Write i2c OK [20:39:24]MH_I2C_Read... [20:39:24]OFD Sender: No OFD packet to send [20:39:24]*** Cut start [20:39:24]*** Partial cut [20:39:24]*** CUTSNS_PIN = 1 [20:39:24]*** CUTSNS_PIN = 0 [20:39:25]*** Brake cut motor [20:39:25]Read from MH i2c: 01 [20:39:25]MH_I2C_Read... [20:39:25]*** Stop cut motor [20:39:25]*** Cut end [20:39:25]Read from MH i2c: 01 07 00 [20:39:25]MH_I2C_Read... [20:39:25]Read from MH i2c: 01 07 00 78 01 00 00 00 00 00 FF 0F 8E [20:39:25]process_action close_receipt done [20:39:25]requested_data is exist [20:39:25]produce_requested_data [20:39:25]requested_item fm.sn is exist - process it [20:39:25]wFMCommunicate request_size=4 [20:39:25]MH_SAM_APDU [20:39:25]CAPDU: 80 11 00 00 [20:39:25]Write to MH i2c: E2 08 00 79 01 80 11 00 00 00 00 00 00 F4 [20:39:25]Write i2c OK [20:39:25]MH_I2C_Read... [20:39:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:39:25]Read from MH i2c: E2 [20:39:25]MH_I2C_Read... [20:39:25]Read from MH i2c: E2 17 00 [20:39:25]MH_I2C_Read... [20:39:25]Read from MH i2c: E2 17 00 79 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 4E [20:39:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [20:39:25]wFMCommunicate OK [20:39:25]requested_item fd.num is exist - process it [20:39:25]SAM_PROTO_GetFieldsCounters [20:39:25]wFMCommunicate request_size=4 [20:39:25]MH_SAM_APDU [20:39:25]CAPDU: 80 13 00 00 [20:39:25]Write to MH i2c: E2 08 00 7A 01 80 13 00 00 00 00 00 00 F7 [20:39:25]Write i2c OK [20:39:25]MH_I2C_Read... [20:39:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:39:25]Read from MH i2c: E2 [20:39:25]MH_I2C_Read... [20:39:25]Read from MH i2c: E2 62 00 [20:39:25]MH_I2C_Read... [20:39:25]Read from MH i2c: E2 62 00 7A 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 F5 30 00 00 0E 04 04 00 17 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 C0 [20:39:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 F5 30 00 00 0E 04 04 00 17 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 [20:39:25]wFMCommunicate OK [20:39:25]SAM_PROTO_GetFieldsCounters done [20:39:25]requested_item shift.num is exist - process it [20:39:25]requested_item shift.opened is exist - process it [20:39:25]req_shift_opened [20:39:25]FM_GetShiftState [20:39:25]SAM_PROTO_GetShiftState [20:39:25]wFMCommunicate request_size=4 [20:39:25]MH_SAM_APDU [20:39:25]CAPDU: 80 13 01 00 [20:39:25]Write to MH i2c: E2 08 00 7B 01 80 13 01 00 00 00 00 00 F9 [20:39:25]Write i2c OK [20:39:25]MH_I2C_Read... [20:39:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:39:25]Read from MH i2c: E2 [20:39:25]MH_I2C_Read... [20:39:25]Read from MH i2c: E2 0E 00 [20:39:25]MH_I2C_Read... [20:39:25]Read from MH i2c: E2 0E 00 7B 01 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 EF [20:39:25]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [20:39:25]wFMCommunicate OK [20:39:25]SAM_PROTO_GetShiftState done [20:39:25]FM_GetShiftState done [20:39:25]req_shift_opened done [20:39:25]requested_item shift.open_date is exist - process it [20:39:25]req_shift_open_date [20:39:25]req_shift_open_date done [20:39:25]produce_requested_data done [20:39:25]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12533,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [20:39:25]process_action_free close_receipt [20:39:25]json_value_free [20:39:25]json_value_free done [20:39:25]process_json_proto returns [20:39:25]Send response to host [20:39:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12533,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [20:39:25]free response buf [20:39:25]execute_script done [20:39:25]execute_script returns [20:39:25]free content buf [20:39:25]Sock 9.Close socket [20:39:25]Sock 9.Thread stoped [20:39:29]OFD Sender: No OFD packet to send [20:39:34]OFD Sender: No OFD packet to send [20:39:39]OFD Sender: No OFD packet to send [20:39:44]OFD Sender: No OFD packet to send [20:39:49]OFD Sender: No OFD packet to send [20:39:54]OFD Sender: No OFD packet to send [20:39:59]OFD Sender: No OFD packet to send [20:40:04]OFD Sender: No OFD packet to send [20:40:09]OFD Sender: No OFD packet to send [20:40:14]OFD Sender: No OFD packet to send [20:40:19]OFD Sender: No OFD packet to send [20:40:24]OFD Sender: No OFD packet to send [20:40:29]OFD Sender: No OFD packet to send [20:40:34]OFD Sender: No OFD packet to send [20:40:39]OFD Sender: No OFD packet to send [20:40:44]OFD Sender: No OFD packet to send [20:40:49]OFD Sender: No OFD packet to send [20:40:54]OFD Sender: No OFD packet to send [20:40:59]OFD Sender: No OFD packet to send [20:41:04]OFD Sender: No OFD packet to send [20:41:09]OFD Sender: No OFD packet to send [20:41:14]OFD Sender: No OFD packet to send [20:41:19]OFD Sender: No OFD packet to send [20:41:24]OFD Sender: No OFD packet to send [20:41:29]OFD Sender: No OFD packet to send [20:41:34]OFD Sender: No OFD packet to send [20:41:39]OFD Sender: No OFD packet to send [20:41:44]OFD Sender: No OFD packet to send [20:41:49]OFD Sender: No OFD packet to send [20:41:54]OFD Sender: No OFD packet to send [20:41:59]OFD Sender: No OFD packet to send [20:42:04]OFD Sender: No OFD packet to send [20:42:09]OFD Sender: No OFD packet to send [20:42:14]OFD Sender: No OFD packet to send [20:42:19]OFD Sender: No OFD packet to send [20:42:24]OFD Sender: No OFD packet to send [20:42:29]OFD Sender: No OFD packet to send [20:42:34]OFD Sender: No OFD packet to send [20:42:39]OFD Sender: No OFD packet to send [20:42:44]OFD Sender: No OFD packet to send [20:42:49]OFD Sender: No OFD packet to send [20:42:54]OFD Sender: No OFD packet to send [20:42:59]OFD Sender: No OFD packet to send [20:43:04]OFD Sender: No OFD packet to send [20:43:09]OFD Sender: No OFD packet to send [20:43:14]OFD Sender: No OFD packet to send [20:43:19]OFD Sender: No OFD packet to send [20:43:24]OFD Sender: No OFD packet to send [20:43:29]OFD Sender: No OFD packet to send [20:43:34]OFD Sender: No OFD packet to send [20:43:39]OFD Sender: No OFD packet to send [20:43:44]OFD Sender: No OFD packet to send [20:43:49]OFD Sender: No OFD packet to send [20:43:54]OFD Sender: No OFD packet to send [20:43:59]OFD Sender: No OFD packet to send [20:44:04]OFD Sender: No OFD packet to send [20:44:09]OFD Sender: No OFD packet to send [20:44:14]OFD Sender: No OFD packet to send [20:44:19]OFD Sender: No OFD packet to send [20:44:24]OFD Sender: No OFD packet to send [20:44:29]OFD Sender: No OFD packet to send [20:44:34]OFD Sender: No OFD packet to send [20:44:39]OFD Sender: No OFD packet to send [20:44:44]OFD Sender: No OFD packet to send [20:44:49]OFD Sender: No OFD packet to send [20:44:54]OFD Sender: No OFD packet to send [20:44:59]OFD Sender: No OFD packet to send [20:45:04]OFD Sender: No OFD packet to send [20:45:09]OFD Sender: No OFD packet to send [20:45:14]OFD Sender: No OFD packet to send [20:45:19]OFD Sender: No OFD packet to send [20:45:24]OFD Sender: No OFD packet to send [20:45:29]OFD Sender: No OFD packet to send [20:45:34]OFD Sender: No OFD packet to send [20:45:39]OFD Sender: No OFD packet to send [20:45:44]OFD Sender: No OFD packet to send [20:45:49]OFD Sender: No OFD packet to send [20:45:54]OFD Sender: No OFD packet to send [20:45:59]OFD Sender: No OFD packet to send [20:46:04]OFD Sender: No OFD packet to send [20:46:09]OFD Sender: No OFD packet to send [20:46:14]OFD Sender: No OFD packet to send [20:46:19]OFD Sender: No OFD packet to send [20:46:24]OFD Sender: No OFD packet to send [20:46:29]OFD Sender: No OFD packet to send [20:46:34]OFD Sender: No OFD packet to send [20:46:39]OFD Sender: No OFD packet to send [20:46:44]OFD Sender: No OFD packet to send [20:46:49]OFD Sender: No OFD packet to send [20:46:54]OFD Sender: No OFD packet to send [20:46:59]OFD Sender: No OFD packet to send [20:47:04]OFD Sender: No OFD packet to send [20:47:09]OFD Sender: No OFD packet to send [20:47:14]OFD Sender: No OFD packet to send [20:47:19]OFD Sender: No OFD packet to send [20:47:24]OFD Sender: No OFD packet to send [20:47:29]OFD Sender: No OFD packet to send [20:47:34]OFD Sender: No OFD packet to send [20:47:39]OFD Sender: No OFD packet to send [20:47:44]OFD Sender: No OFD packet to send [20:47:49]OFD Sender: No OFD packet to send [20:47:54]OFD Sender: No OFD packet to send [20:47:59]OFD Sender: No OFD packet to send [20:48:04]OFD Sender: No OFD packet to send [20:48:09]OFD Sender: No OFD packet to send [20:48:14]OFD Sender: No OFD packet to send [20:48:19]OFD Sender: No OFD packet to send [20:48:24]OFD Sender: No OFD packet to send [20:48:29]OFD Sender: No OFD packet to send [20:48:34]OFD Sender: No OFD packet to send [20:48:39]OFD Sender: No OFD packet to send [20:48:45]OFD Sender: No OFD packet to send [20:48:50]OFD Sender: No OFD packet to send [20:48:55]OFD Sender: No OFD packet to send [20:49:00]OFD Sender: No OFD packet to send [20:49:05]OFD Sender: No OFD packet to send [20:49:10]OFD Sender: No OFD packet to send [20:49:15]OFD Sender: No OFD packet to send [20:49:20]OFD Sender: No OFD packet to send [20:49:25]OFD Sender: No OFD packet to send [20:49:30]OFD Sender: No OFD packet to send [20:49:35]OFD Sender: No OFD packet to send [20:49:40]OFD Sender: No OFD packet to send [20:49:45]OFD Sender: No OFD packet to send [20:49:50]OFD Sender: No OFD packet to send [20:49:55]OFD Sender: No OFD packet to send [20:50:00]OFD Sender: No OFD packet to send [20:50:05]OFD Sender: No OFD packet to send [20:50:10]OFD Sender: No OFD packet to send [20:50:15]OFD Sender: No OFD packet to send [20:50:20]OFD Sender: No OFD packet to send [20:50:25]OFD Sender: No OFD packet to send [20:50:30]OFD Sender: No OFD packet to send [20:50:35]OFD Sender: No OFD packet to send [20:50:40]OFD Sender: No OFD packet to send [20:50:45]OFD Sender: No OFD packet to send [20:50:50]OFD Sender: No OFD packet to send [20:50:55]OFD Sender: No OFD packet to send [20:51:00]OFD Sender: No OFD packet to send [20:51:05]OFD Sender: No OFD packet to send [20:51:10]OFD Sender: No OFD packet to send [20:51:15]OFD Sender: No OFD packet to send [20:51:16]accept exits with 7 [20:51:16]New connection [20:51:16]New thread 3067120996 created [20:51:16]Thread 3067264356 joined [20:51:16]Waiting for new connection... [20:51:16] Sock 7.Parse request [20:51:16]Sock 7.Check first char [20:51:16]Sock 7.First char is OK [20:51:16]request: POST /json_proto HTTP/1.0 [20:51:16]Method: POST [20:51:16]URL: /json_proto [20:51:16]Method is POST - this is cgi request [20:51:16]url: /json_proto [20:51:16]query_string will be loaded in cgi processing [20:51:16]execute_cgi json_proto POST (null) [20:51:16]execute_cgi path=json_proto method=POST [20:51:16]POST find Content-Length [20:51:16]Host: 172.17.62.6:8080 [20:51:16]Content-Length: 791 [20:51:16]Content-Type: application/json [20:51:16] [20:51:16]POST finish read [20:51:16]Found Content-Length = 791 [20:51:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32808", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:51:16]execute_script... [20:51:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32808", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:51:16]POST & json_proto [20:51:16]process_json_proto [20:51:16]json parsed OK: [20:51:16]protocol is kg_v1.0 [20:51:16]action value=close_receipt [20:51:16]process_action close_receipt [20:51:16]cmd_close_receipt [20:51:16]MH_GetDate [20:51:16]Write to MH i2c: F0 00 00 7C 01 6C [20:51:16]Write i2c OK [20:51:16]MH_I2C_Read... [20:51:16]Read from MH i2c: F0 [20:51:16]MH_I2C_Read... [20:51:16]Read from MH i2c: F0 09 00 [20:51:16]MH_I2C_Read... [20:51:16]Read from MH i2c: F0 09 00 7C 01 00 44 D9 22 66 61 69 D2 64 1A [20:51:16]GetLastDocTimeStamp 1713559162 [20:51:16]current date 1713559876 [20:51:16]FM_GetShiftState [20:51:16]SAM_PROTO_GetShiftState [20:51:16]wFMCommunicate request_size=4 [20:51:16]MH_SAM_APDU [20:51:16]CAPDU: 80 13 01 00 [20:51:16]Write to MH i2c: E2 08 00 7D 01 80 13 01 00 00 00 00 00 FB [20:51:16]Write i2c OK [20:51:16]MH_I2C_Read... [20:51:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:51:16]Read from MH i2c: E2 [20:51:16]MH_I2C_Read... [20:51:16]Read from MH i2c: E2 0E 00 [20:51:16]MH_I2C_Read... [20:51:16]Read from MH i2c: E2 0E 00 7D 01 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 F1 [20:51:16]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [20:51:16]wFMCommunicate OK [20:51:16]SAM_PROTO_GetShiftState done [20:51:16]FM_GetShiftState done [20:51:16]opened in 1713485995 [20:51:16]opened+sec_in_day 1713572395 [20:51:16]quantity*price = 1000 [20:51:16]sum+1 = 1001 [20:51:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 0.00 Безнал.: 10.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 36 19.04.2024 20:51 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000965685 ФД: 12534 ФПД: 59298892436004 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T205116&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12534&fm=59298892436004&tin=02508201610067®Number=0000000000100748&sum=1000 0 [20:51:17]StoreToDocumentArchive [20:51:17]shift 279 fd 12534 [20:51:17]save to /storage/0279/doc_00012534 [20:51:17]save last doc name /storage/0279/doc_00012534 to /storage/kkm_last_doc_name [20:51:17]save OK [20:51:17]Clear old archive folders... [20:51:17]ProcessDocumentItem done err = 0, tmpTLVsize=273 [20:51:17]tlvbuf is 01FCDFC0 [20:51:17]SAM_PROTO_ClearQueue [20:51:17]wFMCommunicate request_size=4 [20:51:17]MH_SAM_APDU [20:51:17]CAPDU: 80 09 00 00 [20:51:17]Write to MH i2c: E2 08 00 8A 01 80 09 00 00 00 00 00 00 FD [20:51:17]Write i2c OK [20:51:17]MH_I2C_Read... [20:51:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:51:17]Read from MH i2c: E2 [20:51:17]MH_I2C_Read... [20:51:17]Read from MH i2c: E2 03 00 [20:51:17]MH_I2C_Read... [20:51:17]Read from MH i2c: E2 03 00 8A 01 00 90 00 FF [20:51:17]RAPDU: 90 00 [20:51:17]wFMCommunicate OK [20:51:17]SAM_PROTO_ClearQueue done [20:51:17]KKMCreateOFDPacket [20:51:17]OFDProtocolAddRootSTLVToBuf [20:51:17]FM_MakeSignedData [20:51:17]FM_MakeSignedData [20:51:17]SAM_PROTO_SignData [20:51:17]wFMCommunicate request_size=4 [20:51:17]MH_SAM_APDU [20:51:17]CAPDU: 80 0D 01 02 [20:51:17]Write to MH i2c: E2 08 00 8B 01 80 0D 01 02 00 00 00 00 05 [20:51:17]Write i2c OK [20:51:17]MH_I2C_Read... [20:51:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:51:17]Read from MH i2c: E2 [20:51:17]MH_I2C_Read... [20:51:17]Read from MH i2c: E2 03 00 [20:51:17]MH_I2C_Read... [20:51:17]Read from MH i2c: E2 03 00 8B 01 00 90 00 00 [20:51:17]RAPDU: 90 00 [20:51:17]wFMCommunicate OK [20:51:17]wFMCommunicate request_size=255 [20:51:17]MH_SAM_APDU [20:51:17]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 03 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 44 D9 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 [20:51:17]Write to MH i2c: E2 02 01 8C 01 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 03 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 44 D9 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 00 00 20 [20:51:17]Write i2c OK [20:51:17]MH_I2C_Read... [20:51:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:51:18]Read from MH i2c: E2 [20:51:18]MH_I2C_Read... [20:51:18]Read from MH i2c: E2 03 00 [20:51:18]MH_I2C_Read... [20:51:18]Read from MH i2c: E2 03 00 8C 01 00 90 00 01 [20:51:18]RAPDU: 90 00 [20:51:18]wFMCommunicate OK [20:51:18]wFMCommunicate request_size=32 [20:51:18]MH_SAM_APDU [20:51:18]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 36 38 35 10 04 04 00 F6 30 00 00 35 04 06 00 35 EE 99 6B 52 24 [20:51:18]Write to MH i2c: E2 23 00 8D 01 80 0D 02 02 1B 00 30 30 30 39 36 35 36 38 35 10 04 04 00 F6 30 00 00 35 04 06 00 35 EE 99 6B 52 24 00 00 2F [20:51:18]Write i2c OK [20:51:18]MH_I2C_Read... [20:51:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:51:18]Read from MH i2c: E2 [20:51:18]MH_I2C_Read... [20:51:18]Read from MH i2c: E2 03 00 [20:51:18]MH_I2C_Read... [20:51:18]Read from MH i2c: E2 03 00 8D 01 00 90 00 02 [20:51:18]RAPDU: 90 00 [20:51:18]wFMCommunicate OK [20:51:18]wFMCommunicate request_size=4 [20:51:18]MH_SAM_APDU [20:51:18]CAPDU: 80 0D 03 02 [20:51:18]Write to MH i2c: E2 08 00 8E 01 80 0D 03 02 00 00 00 00 0A [20:51:18]Write i2c OK [20:51:18]MH_I2C_Read... [20:51:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:51:18]Read from MH i2c: E2 [20:51:18]MH_I2C_Read... [20:51:18]Read from MH i2c: E2 0B 00 [20:51:18]MH_I2C_Read... [20:51:18]Read from MH i2c: E2 0B 00 8E 01 00 4A 4A BE 7B D3 5A B2 50 90 00 07 [20:51:18]RAPDU: 4A 4A BE 7B D3 5A B2 50 90 00 [20:51:18]wFMCommunicate OK [20:51:18]SAM_PROTO_SignData done [20:51:18]FM_MakeSignedData done [20:51:18]CreateOFDProtocolMessage [20:51:18]wFMCommunicate request_size=4 [20:51:18]MH_SAM_APDU [20:51:18]CAPDU: 80 11 00 00 [20:51:18]Write to MH i2c: E2 08 00 8F 01 80 11 00 00 00 00 00 00 0A [20:51:18]Write i2c OK [20:51:18]MH_I2C_Read... [20:51:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:51:18]Read from MH i2c: E2 [20:51:18]MH_I2C_Read... [20:51:18]Read from MH i2c: E2 17 00 [20:51:18]MH_I2C_Read... [20:51:18]Read from MH i2c: E2 17 00 8F 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 64 [20:51:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [20:51:18]wFMCommunicate OK [20:51:18]CreateOFDProtocolMessage done [20:51:18]OFDSenderStorePacket 12534 [20:51:18]StoreOFDPacket docnum=12534 [20:51:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 25 01 00 00 F6 5C 1D 01 B7 60 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 03 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 44 D9 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F6 30 00 00 35 04 06 00 35 EE 99 6B 52 24 4A 4A BE 7B D3 5A B2 50 [20:51:18]CheckFolder [20:51:18]dirname=/storage/ofd_packets [20:51:18]CheckFolder done [20:51:18]ProducePacketName [20:51:18]name=ofd_packets/00012534 [20:51:18]NVStorageSaveData ofd_packets/00012534 [20:51:18]File name is /storage/ofd_packets/00012534 [20:51:18]Write 323 bytes [20:51:18]NVStorageSaveData done [20:51:18]OFDSenderStorePacket done [20:51:18]KKMCreateOFDPacket done [20:51:18]NVStorageSaveData kkm_last_timestamp [20:51:18]File name is /storage/kkm_last_timestamp [20:51:18]Write 4 bytes [20:51:18]NVStorageSaveData done [20:51:18]ExternCall_PrintAddStr [20:51:18]wPrintStart [20:51:18]Write to MH i2c: 01 00 00 90 01 91 [20:51:18]Write i2c OK [20:51:18]MH_I2C_Read... [20:51:18]Read from MH i2c: 01 [20:51:18]MH_I2C_Read... [20:51:18]Read from MH i2c: 01 07 00 [20:51:18]MH_I2C_Read... [20:51:18]Read from MH i2c: 01 07 00 90 01 00 00 00 00 00 FF 0F A6 [20:51:18]RasterBufferAndPrint [20:51:18]line Счет N : (3)32808 [20:51:18]line ИНН: 02508201610067 [20:51:18]line Контрольно-Кассовый Чек [20:51:18]line ПРОДАЖА [20:51:18]line Товар: 46226624 [20:51:18]line Mentos ПВ Клубника 6*100*2 [20:51:18]line 1.000 * 10.00 [20:51:18]line = 10.00 [20:51:18]line НДС 12% НСП 1% [20:51:18]line > о реализуемом товаре [20:51:18]line ИТОГО: 10.00 [20:51:18]line НСП 1% : 0.09 [20:51:18]line НДС 12% : 1.06 [20:51:18]line Наличными: 0.00 [20:51:18]line Безнал.: 10.00 [20:51:18]line Место: АЗС № 106 "Партнер Нефть" [20:51:18]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [20:51:18]line СНО: Общий режим [20:51:18]line Чек 36 19.04.2024 20:51 [20:51:18]line Смена: 279 ФФД: 1.0 [20:51:18]line ЗНМ: 0300000004 [20:51:18]line РНМ: 0000000000100748 [20:51:18]line Версия ККМ: 001 [20:51:18]line Платежная система: О! деньги [20:51:18]line ФМ: 0000000000965685 [20:51:18]line ФД: 12534 [20:51:18]line ФПД: 59298892436004 [20:51:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T205116&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12534&fm=59298892436004&tin=02508201610067®Number=0000000000100748&sum=1000 [20:51:18]line 0 [20:51:18]OFD Sender: Processing packet 12534 [packets to send 7, broken 6] [20:51:18]ProducePacketName [20:51:18]name=ofd_packets/00012534 [20:51:18]OFD Sender: To server: pG, [20:51:18]CommunicateWithHost lk.salyk.kg:30040 [20:51:18]ConnectInit lk.salyk.kg [20:51:18]written 0, free lines is 4095 [20:51:18]Connected sock=10 [20:51:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 25 01 00 00 F6 5C 1D 01 B7 60 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 03 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 44 D9 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F6 30 00 00 35 04 06 00 35 EE 99 6B 52 24 4A 4A BE 7B D3 5A B2 50 [20:51:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 C2 0A 47 00 55 D8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F6 30 00 00 F4 03 04 00 CB 81 22 66 B6 04 01 00 00 23 0B 78 4B 5A 99 E1 36 [20:51:18]CommunicateWithHost err = 0 [20:51:18]CheckOFDResponse [20:51:18]1017 (14) - 77093643461234 [20:51:18]1041 (16) - 0000000000965685 [20:51:18]1040 (4) - 12534 [20:51:18]1012 (4) - 19.04.2024 14:38 [20:51:18]1206 (1) - 0 [20:51:18]OFD Sender: Remove packet 12534 [20:51:18]ProducePacketName [20:51:18]name=ofd_packets/00012534 [20:51:18]NVStorageDeleteData [20:51:18]Write to MH i2c: 01 00 00 B9 01 BA [20:51:18]Write i2c OK [20:51:18]MH_I2C_Read... [20:51:18]Read from MH i2c: 01 [20:51:18]MH_I2C_Read... [20:51:18]Read from MH i2c: 01 07 00 [20:51:18]MH_I2C_Read... [20:51:18]Read from MH i2c: 01 07 00 B9 01 00 00 00 00 00 FB 0C C8 [20:51:18]RasterBufferAndPrint [20:51:18]line [20:51:18]line [20:51:18]line [20:51:18]line [20:51:18]line [20:51:18]written 0, free lines is 3329 [20:51:19]MH_Cut [20:51:19]Write to MH i2c: D1 01 00 C0 01 01 93 [20:51:19]Write i2c OK [20:51:19]MH_I2C_Read... [20:51:19]Read from MH i2c: D1 [20:51:19]MH_I2C_Read... [20:51:19]Read from MH i2c: D1 01 00 [20:51:19]MH_I2C_Read... [20:51:19]Read from MH i2c: D1 01 00 C0 01 00 92 [20:51:19]Write to MH i2c: 01 00 00 C1 01 C2 [20:51:19]Write i2c OK [20:51:19]MH_I2C_Read... [20:51:19]OFD Sender: No OFD packet to send [20:51:19]*** Cut start [20:51:19]*** Partial cut [20:51:19]*** CUTSNS_PIN = 1 [20:51:19]*** CUTSNS_PIN = 0 [20:51:20]*** Brake cut motor [20:51:20]Read from MH i2c: 01 [20:51:20]MH_I2C_Read... [20:51:20]*** Stop cut motor [20:51:20]*** Cut end [20:51:20]Read from MH i2c: 01 07 00 [20:51:20]MH_I2C_Read... [20:51:20]Read from MH i2c: 01 07 00 C1 01 00 00 00 00 00 FF 0F D7 [20:51:20]process_action close_receipt done [20:51:20]requested_data is exist [20:51:20]produce_requested_data [20:51:20]requested_item fm.sn is exist - process it [20:51:20]wFMCommunicate request_size=4 [20:51:20]MH_SAM_APDU [20:51:20]CAPDU: 80 11 00 00 [20:51:20]Write to MH i2c: E2 08 00 C2 01 80 11 00 00 00 00 00 00 3D [20:51:20]Write i2c OK [20:51:20]MH_I2C_Read... [20:51:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:51:20]Read from MH i2c: E2 [20:51:20]MH_I2C_Read... [20:51:20]Read from MH i2c: E2 17 00 [20:51:20]MH_I2C_Read... [20:51:20]Read from MH i2c: E2 17 00 C2 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 97 [20:51:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [20:51:20]wFMCommunicate OK [20:51:20]requested_item fd.num is exist - process it [20:51:20]SAM_PROTO_GetFieldsCounters [20:51:20]wFMCommunicate request_size=4 [20:51:20]MH_SAM_APDU [20:51:20]CAPDU: 80 13 00 00 [20:51:20]Write to MH i2c: E2 08 00 C3 01 80 13 00 00 00 00 00 00 40 [20:51:20]Write i2c OK [20:51:20]MH_I2C_Read... [20:51:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:51:20]Read from MH i2c: E2 [20:51:20]MH_I2C_Read... [20:51:20]Read from MH i2c: E2 62 00 [20:51:20]MH_I2C_Read... [20:51:20]Read from MH i2c: E2 62 00 C3 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 F6 30 00 00 0E 04 04 00 17 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 0D [20:51:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 F6 30 00 00 0E 04 04 00 17 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 [20:51:20]wFMCommunicate OK [20:51:20]SAM_PROTO_GetFieldsCounters done [20:51:20]requested_item shift.num is exist - process it [20:51:20]requested_item shift.opened is exist - process it [20:51:20]req_shift_opened [20:51:20]FM_GetShiftState [20:51:20]SAM_PROTO_GetShiftState [20:51:20]wFMCommunicate request_size=4 [20:51:20]MH_SAM_APDU [20:51:20]CAPDU: 80 13 01 00 [20:51:20]Write to MH i2c: E2 08 00 C4 01 80 13 01 00 00 00 00 00 42 [20:51:20]Write i2c OK [20:51:20]MH_I2C_Read... [20:51:20]Read from MH i2c: E2 [20:51:20]MH_I2C_Read... [20:51:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:51:20]Read from MH i2c: E2 0E 00 [20:51:20]MH_I2C_Read... [20:51:20]Read from MH i2c: E2 0E 00 C4 01 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 38 [20:51:20]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [20:51:20]wFMCommunicate OK [20:51:20]SAM_PROTO_GetShiftState done [20:51:20]FM_GetShiftState done [20:51:20]req_shift_opened done [20:51:20]requested_item shift.open_date is exist - process it [20:51:20]req_shift_open_date [20:51:20]req_shift_open_date done [20:51:20]produce_requested_data done [20:51:20]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12534,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [20:51:20]process_action_free close_receipt [20:51:20]json_value_free [20:51:20]json_value_free done [20:51:20]process_json_proto returns [20:51:20]Send response to host [20:51:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12534,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [20:51:20]free response buf [20:51:20]execute_script done [20:51:20]execute_script returns [20:51:20]free content buf [20:51:20]Sock 7.Close socket [20:51:20]Sock 7.Thread stoped [20:51:24]OFD Sender: No OFD packet to send [20:51:29]OFD Sender: No OFD packet to send [20:51:34]OFD Sender: No OFD packet to send [20:51:39]OFD Sender: No OFD packet to send [20:51:44]OFD Sender: No OFD packet to send [20:51:49]OFD Sender: No OFD packet to send [20:51:54]OFD Sender: No OFD packet to send [20:51:59]OFD Sender: No OFD packet to send [20:52:04]OFD Sender: No OFD packet to send [20:52:09]OFD Sender: No OFD packet to send [20:52:14]OFD Sender: No OFD packet to send [20:52:19]OFD Sender: No OFD packet to send [20:52:24]OFD Sender: No OFD packet to send [20:52:29]OFD Sender: No OFD packet to send [20:52:34]OFD Sender: No OFD packet to send [20:52:39]OFD Sender: No OFD packet to send [20:52:44]OFD Sender: No OFD packet to send [20:52:49]OFD Sender: No OFD packet to send [20:52:54]OFD Sender: No OFD packet to send [20:52:59]OFD Sender: No OFD packet to send [20:53:04]OFD Sender: No OFD packet to send [20:53:09]OFD Sender: No OFD packet to send [20:53:14]OFD Sender: No OFD packet to send [20:53:19]OFD Sender: No OFD packet to send [20:53:24]OFD Sender: No OFD packet to send [20:53:29]OFD Sender: No OFD packet to send [20:53:34]OFD Sender: No OFD packet to send [20:53:39]OFD Sender: No OFD packet to send [20:53:44]OFD Sender: No OFD packet to send [20:53:49]OFD Sender: No OFD packet to send [20:53:54]OFD Sender: No OFD packet to send [20:53:59]OFD Sender: No OFD packet to send [20:54:04]OFD Sender: No OFD packet to send [20:54:09]OFD Sender: No OFD packet to send [20:54:14]OFD Sender: No OFD packet to send [20:54:19]OFD Sender: No OFD packet to send [20:54:24]OFD Sender: No OFD packet to send [20:54:29]OFD Sender: No OFD packet to send [20:54:34]OFD Sender: No OFD packet to send [20:54:39]OFD Sender: No OFD packet to send [20:54:44]OFD Sender: No OFD packet to send [20:54:49]OFD Sender: No OFD packet to send [20:54:54]OFD Sender: No OFD packet to send [20:54:59]OFD Sender: No OFD packet to send [20:55:04]OFD Sender: No OFD packet to send [20:55:09]OFD Sender: No OFD packet to send [20:55:14]OFD Sender: No OFD packet to send [20:55:19]OFD Sender: No OFD packet to send [20:55:24]OFD Sender: No OFD packet to send [20:55:29]OFD Sender: No OFD packet to send [20:55:34]OFD Sender: No OFD packet to send [20:55:39]OFD Sender: No OFD packet to send [20:55:44]OFD Sender: No OFD packet to send [20:55:49]OFD Sender: No OFD packet to send [20:55:54]OFD Sender: No OFD packet to send [20:55:59]OFD Sender: No OFD packet to send [20:56:04]OFD Sender: No OFD packet to send [20:56:09]OFD Sender: No OFD packet to send [20:56:14]OFD Sender: No OFD packet to send [20:56:19]OFD Sender: No OFD packet to send [20:56:24]OFD Sender: No OFD packet to send [20:56:29]OFD Sender: No OFD packet to send [20:56:34]OFD Sender: No OFD packet to send [20:56:39]OFD Sender: No OFD packet to send [20:56:44]OFD Sender: No OFD packet to send [20:56:49]OFD Sender: No OFD packet to send [20:56:54]OFD Sender: No OFD packet to send [20:56:59]OFD Sender: No OFD packet to send [20:57:04]OFD Sender: No OFD packet to send [20:57:09]OFD Sender: No OFD packet to send [20:57:14]OFD Sender: No OFD packet to send [20:57:19]OFD Sender: No OFD packet to send [20:57:24]OFD Sender: No OFD packet to send [20:57:29]OFD Sender: No OFD packet to send [20:57:34]OFD Sender: No OFD packet to send [20:57:39]OFD Sender: No OFD packet to send [20:57:44]OFD Sender: No OFD packet to send [20:57:49]OFD Sender: No OFD packet to send [20:57:54]OFD Sender: No OFD packet to send [20:57:59]OFD Sender: No OFD packet to send [20:58:04]OFD Sender: No OFD packet to send [20:58:09]OFD Sender: No OFD packet to send [20:58:14]OFD Sender: No OFD packet to send [20:58:19]OFD Sender: No OFD packet to send [20:58:24]OFD Sender: No OFD packet to send [20:58:29]OFD Sender: No OFD packet to send [20:58:34]OFD Sender: No OFD packet to send [20:58:39]OFD Sender: No OFD packet to send [20:58:44]OFD Sender: No OFD packet to send [20:58:49]OFD Sender: No OFD packet to send [20:58:54]OFD Sender: No OFD packet to send [20:58:59]OFD Sender: No OFD packet to send [20:59:04]OFD Sender: No OFD packet to send [20:59:09]OFD Sender: No OFD packet to send [20:59:14]OFD Sender: No OFD packet to send [20:59:19]OFD Sender: No OFD packet to send [20:59:24]OFD Sender: No OFD packet to send [20:59:29]OFD Sender: No OFD packet to send [20:59:34]OFD Sender: No OFD packet to send [20:59:39]OFD Sender: No OFD packet to send [20:59:44]OFD Sender: No OFD packet to send [20:59:49]OFD Sender: No OFD packet to send [20:59:54]OFD Sender: No OFD packet to send [20:59:59]OFD Sender: No OFD packet to send [21:00:04]OFD Sender: No OFD packet to send [21:00:09]OFD Sender: No OFD packet to send [21:00:14]OFD Sender: No OFD packet to send [21:00:19]OFD Sender: No OFD packet to send [21:00:24]OFD Sender: No OFD packet to send [21:00:28]accept exits with 9 [21:00:28]New connection [21:00:28]New thread 3067264356 created [21:00:28]Thread 3067120996 joined [21:00:28]Waiting for new connection... [21:00:28] Sock 9.Parse request [21:00:28]Sock 9.Check first char [21:00:28]Sock 9.First char is OK [21:00:28]request: POST /json_proto HTTP/1.0 [21:00:28]Method: POST [21:00:28]URL: /json_proto [21:00:28]Method is POST - this is cgi request [21:00:28]url: /json_proto [21:00:28]query_string will be loaded in cgi processing [21:00:28]execute_cgi json_proto POST (null) [21:00:28]execute_cgi path=json_proto method=POST [21:00:28]POST find Content-Length [21:00:28]Host: 172.17.62.6:8080 [21:00:28]Content-Length: 810 [21:00:28]Content-Type: application/json [21:00:28] [21:00:28]POST finish read [21:00:28]Found Content-Length = 810 [21:00:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32809", "tax_sys" : 0, "items" : [ { "code": "4630026561436", "name": "\u041A\u043E\u043D.BABYFOX c \u043C\u043E\u043B.\u043D\u0430\u0447.120\u0433", "price" : 105.00, "quantity" : 1.000, "sum" : 105.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" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:00:28]execute_script... [21:00: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)32809", "tax_sys" : 0, "items" : [ { "code": "4630026561436", "name": "\u041A\u043E\u043D.BABYFOX c \u043C\u043E\u043B.\u043D\u0430\u0447.120\u0433", "price" : 105.00, "quantity" : 1.000, "sum" : 105.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" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:00:28]POST & json_proto [21:00:28]process_json_proto [21:00:28]json parsed OK: [21:00:28]protocol is kg_v1.0 [21:00:28]action value=close_receipt [21:00:28]process_action close_receipt [21:00:28]cmd_close_receipt [21:00:28]MH_GetDate [21:00:28]Write to MH i2c: F0 00 00 C5 01 B5 [21:00:28]Write i2c OK [21:00:28]MH_I2C_Read... [21:00:28]Read from MH i2c: F0 [21:00:28]MH_I2C_Read... [21:00:28]Read from MH i2c: F0 09 00 [21:00:28]MH_I2C_Read... [21:00:28]Read from MH i2c: F0 09 00 C5 01 00 6C DB 22 66 61 69 D2 64 8D [21:00:28]GetLastDocTimeStamp 1713559876 [21:00:28]current date 1713560428 [21:00:28]FM_GetShiftState [21:00:28]SAM_PROTO_GetShiftState [21:00:28]wFMCommunicate request_size=4 [21:00:28]MH_SAM_APDU [21:00:28]CAPDU: 80 13 01 00 [21:00:28]Write to MH i2c: E2 08 00 C6 01 80 13 01 00 00 00 00 00 44 [21:00:28]Write i2c OK [21:00:28]MH_I2C_Read... [21:00:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:00:28]Read from MH i2c: E2 [21:00:28]MH_I2C_Read... [21:00:28]Read from MH i2c: E2 0E 00 [21:00:28]MH_I2C_Read... [21:00:28]Read from MH i2c: E2 0E 00 C6 01 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 3A [21:00:28]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [21:00:28]wFMCommunicate OK [21:00:28]SAM_PROTO_GetShiftState done [21:00:28]FM_GetShiftState done [21:00:28]opened in 1713485995 [21:00:28]opened+sec_in_day 1713572395 [21:00:28]quantity*price = 10500 [21:00:28]sum+1 = 10501 [21:00:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 0.00 Безнал.: 105.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 37 19.04.2024 21:00 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000965685 ФД: 12535 ФПД: 199733147318140 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T210028&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12535&fm=199733147318140&tin=02508201610067®Number=0000000000100748&sum=10500 0 [21:00:29]StoreToDocumentArchive [21:00:29]shift 279 fd 12535 [21:00:29]save to /storage/0279/doc_00012535 [21:00:29]save last doc name /storage/0279/doc_00012535 to /storage/kkm_last_doc_name [21:00:29]save OK [21:00:29]Clear old archive folders... [21:00:29]ProcessDocumentItem done err = 0, tmpTLVsize=278 [21:00:29]tlvbuf is 01FBE940 [21:00:29]SAM_PROTO_ClearQueue [21:00:29]wFMCommunicate request_size=4 [21:00:29]MH_SAM_APDU [21:00:29]CAPDU: 80 09 00 00 [21:00:29]Write to MH i2c: E2 08 00 D3 01 80 09 00 00 00 00 00 00 46 [21:00:29]Write i2c OK [21:00:29]MH_I2C_Read... [21:00:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:00:29]Read from MH i2c: E2 [21:00:29]MH_I2C_Read... [21:00:29]Read from MH i2c: E2 03 00 [21:00:29]MH_I2C_Read... [21:00:29]Read from MH i2c: E2 03 00 D3 01 00 90 00 48 [21:00:29]RAPDU: 90 00 [21:00:29]wFMCommunicate OK [21:00:29]SAM_PROTO_ClearQueue done [21:00:29]KKMCreateOFDPacket [21:00:29]OFDProtocolAddRootSTLVToBuf [21:00:29]FM_MakeSignedData [21:00:29]FM_MakeSignedData [21:00:29]SAM_PROTO_SignData [21:00:29]wFMCommunicate request_size=4 [21:00:29]MH_SAM_APDU [21:00:29]CAPDU: 80 0D 01 02 [21:00:29]Write to MH i2c: E2 08 00 D4 01 80 0D 01 02 00 00 00 00 4E [21:00:29]Write i2c OK [21:00:29]MH_I2C_Read... [21:00:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:00:29]Read from MH i2c: E2 [21:00:29]MH_I2C_Read... [21:00:29]Read from MH i2c: E2 03 00 [21:00:29]MH_I2C_Read... [21:00:29]Read from MH i2c: E2 03 00 D4 01 00 90 00 49 [21:00:29]RAPDU: 90 00 [21:00:29]wFMCommunicate OK [21:00:29]wFMCommunicate request_size=255 [21:00:29]MH_SAM_APDU [21:00:29]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 33 30 30 32 36 35 36 31 34 33 36 06 04 24 00 D0 9A D0 BE D0 BD 2E 42 41 42 59 46 4F 58 20 63 20 D0 BC D0 BE D0 BB 2E D0 BD D0 B0 D1 87 2E 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 6C DB 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 [21:00:29]Write to MH i2c: E2 02 01 D5 01 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 33 30 30 32 36 35 36 31 34 33 36 06 04 24 00 D0 9A D0 BE D0 BD 2E 42 41 42 59 46 4F 58 20 63 20 D0 BC D0 BE D0 BB 2E D0 BD D0 B0 D1 87 2E 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 6C DB 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 00 00 02 [21:00:29]Write i2c OK [21:00:29]MH_I2C_Read... [21:00:29]OFD Sender: No OFD packet to send [21:00:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:00:30]Read from MH i2c: E2 [21:00:30]MH_I2C_Read... [21:00:30]Read from MH i2c: E2 03 00 [21:00:30]MH_I2C_Read... [21:00:30]Read from MH i2c: E2 03 00 D5 01 00 90 00 4A [21:00:30]RAPDU: 90 00 [21:00:30]wFMCommunicate OK [21:00:30]wFMCommunicate request_size=37 [21:00:30]MH_SAM_APDU [21:00:30]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F7 30 00 00 35 04 06 00 B5 A7 FF 4B B7 7C [21:00:30]Write to MH i2c: E2 28 00 D6 01 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F7 30 00 00 35 04 06 00 B5 A7 FF 4B B7 7C 00 00 AF [21:00:30]Write i2c OK [21:00:30]MH_I2C_Read... [21:00:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:00:30]Read from MH i2c: E2 [21:00:30]MH_I2C_Read... [21:00:30]Read from MH i2c: E2 03 00 [21:00:30]MH_I2C_Read... [21:00:30]Read from MH i2c: E2 03 00 D6 01 00 90 00 4B [21:00:30]RAPDU: 90 00 [21:00:30]wFMCommunicate OK [21:00:30]wFMCommunicate request_size=4 [21:00:30]MH_SAM_APDU [21:00:30]CAPDU: 80 0D 03 02 [21:00:30]Write to MH i2c: E2 08 00 D7 01 80 0D 03 02 00 00 00 00 53 [21:00:30]Write i2c OK [21:00:30]MH_I2C_Read... [21:00:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:00:30]Read from MH i2c: E2 [21:00:30]MH_I2C_Read... [21:00:30]Read from MH i2c: E2 0B 00 [21:00:30]MH_I2C_Read... [21:00:30]Read from MH i2c: E2 0B 00 D7 01 00 B5 5D DA A9 6B 86 5A 0B 90 00 3F [21:00:30]RAPDU: B5 5D DA A9 6B 86 5A 0B 90 00 [21:00:30]wFMCommunicate OK [21:00:30]SAM_PROTO_SignData done [21:00:30]FM_MakeSignedData done [21:00:30]CreateOFDProtocolMessage [21:00:30]wFMCommunicate request_size=4 [21:00:30]MH_SAM_APDU [21:00:30]CAPDU: 80 11 00 00 [21:00:30]Write to MH i2c: E2 08 00 D8 01 80 11 00 00 00 00 00 00 53 [21:00:30]Write i2c OK [21:00:30]MH_I2C_Read... [21:00:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:00:30]Read from MH i2c: E2 [21:00:30]MH_I2C_Read... [21:00:30]Read from MH i2c: E2 17 00 [21:00:30]MH_I2C_Read... [21:00:30]Read from MH i2c: E2 17 00 D8 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 AD [21:00:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [21:00:30]wFMCommunicate OK [21:00:30]CreateOFDProtocolMessage done [21:00:30]OFDSenderStorePacket 12535 [21:00:30]StoreOFDPacket docnum=12535 [21:00:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2A 01 00 00 E1 A9 22 01 C2 CB 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 33 30 30 32 36 35 36 31 34 33 36 06 04 24 00 D0 9A D0 BE D0 BD 2E 42 41 42 59 46 4F 58 20 63 20 D0 BC D0 BE D0 BB 2E D0 BD D0 B0 D1 87 2E 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 6C DB 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F7 30 00 00 35 04 06 00 B5 A7 FF 4B B7 7C B5 5D DA A9 6B 86 5A 0B [21:00:30]CheckFolder [21:00:30]dirname=/storage/ofd_packets [21:00:30]CheckFolder done [21:00:30]ProducePacketName [21:00:30]name=ofd_packets/00012535 [21:00:30]NVStorageSaveData ofd_packets/00012535 [21:00:30]File name is /storage/ofd_packets/00012535 [21:00:30]Write 328 bytes [21:00:30]NVStorageSaveData done [21:00:30]OFDSenderStorePacket done [21:00:30]KKMCreateOFDPacket done [21:00:30]NVStorageSaveData kkm_last_timestamp [21:00:30]File name is /storage/kkm_last_timestamp [21:00:30]Write 4 bytes [21:00:30]NVStorageSaveData done [21:00:30]ExternCall_PrintAddStr [21:00:30]wPrintStart [21:00:30]Write to MH i2c: 01 00 00 D9 01 DA [21:00:30]Write i2c OK [21:00:30]MH_I2C_Read... [21:00:30]Read from MH i2c: 01 [21:00:30]MH_I2C_Read... [21:00:30]Read from MH i2c: 01 07 00 [21:00:30]MH_I2C_Read... [21:00:30]Read from MH i2c: 01 07 00 D9 01 00 00 00 00 00 FF 0F EF [21:00:30]RasterBufferAndPrint [21:00:30]line Счет N : (3)32809 [21:00:30]line ИНН: 02508201610067 [21:00:30]line Контрольно-Кассовый Чек [21:00:30]line ПРОДАЖА [21:00:30]line Товар: 4630026561436 [21:00:30]line Кон.BABYFOX c мол.нач.120г [21:00:30]line 1.000 * 105.00 [21:00:30]line = 105.00 [21:00:30]line НДС 12% НСП 1% [21:00:30]line > о реализуемом товаре [21:00:30]line ИТОГО: 105.00 [21:00:30]line НСП 1% : 0.93 [21:00:30]line НДС 12% : 11.15 [21:00:30]line Наличными: 0.00 [21:00:30]line Безнал.: 105.00 [21:00:30]line Место: АЗС № 106 "Партнер Нефть" [21:00:30]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [21:00:30]line СНО: Общий режим [21:00:30]line Чек 37 19.04.2024 21:00 [21:00:30]line Смена: 279 ФФД: 1.0 [21:00:30]line ЗНМ: 0300000004 [21:00:30]line РНМ: 0000000000100748 [21:00:30]line Версия ККМ: 001 [21:00:30]line Платежная система: Бакай Банк [21:00:30]line ФМ: 0000000000965685 [21:00:30]line ФД: 12535 [21:00:30]line ФПД: 199733147318140 [21:00:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T210028&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12535&fm=199733147318140&tin=02508201610067®Number=0000000000100748&sum=10500 [21:00:30]line 0 [21:00:30]OFD Sender: Processing packet 12535 [packets to send 7, broken 6] [21:00:30]ProducePacketName [21:00:30]name=ofd_packets/00012535 [21:00:30]OFD Sender: To server: pG, [21:00:30]CommunicateWithHost lk.salyk.kg:30040 [21:00:30]ConnectInit lk.salyk.kg [21:00:30]written 0, free lines is 4095 [21:00:30]Connected sock=10 [21:00:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2A 01 00 00 E1 A9 22 01 C2 CB 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 33 30 30 32 36 35 36 31 34 33 36 06 04 24 00 D0 9A D0 BE D0 BD 2E 42 41 42 59 46 4F 58 20 63 20 D0 BC D0 BE D0 BB 2E D0 BD D0 B0 D1 87 2E 31 32 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 6C DB 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F7 30 00 00 35 04 06 00 B5 A7 FF 4B B7 7C B5 5D DA A9 6B 86 5A 0B [21:00:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 B0 63 47 00 24 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 36 35 36 38 35 10 04 04 00 F7 30 00 00 F4 03 04 00 F3 83 22 66 B6 04 01 00 00 33 CE E8 36 BF D1 19 5A [21:00:31]CommunicateWithHost err = 0 [21:00:31]CheckOFDResponse [21:00:31]1017 (14) - 77093643461234 [21:00:31]1041 (16) - 0000000000965685 [21:00:31]1040 (4) - 12535 [21:00:31]1012 (4) - 19.04.2024 14:47 [21:00:31]1206 (1) - 0 [21:00:31]OFD Sender: Remove packet 12535 [21:00:31]ProducePacketName [21:00:31]name=ofd_packets/00012535 [21:00:31]NVStorageDeleteData [21:00:31]Write to MH i2c: 01 00 00 02 02 04 [21:00:31]Write i2c OK [21:00:31]MH_I2C_Read... [21:00:31]Read from MH i2c: 01 [21:00:31]MH_I2C_Read... [21:00:31]Read from MH i2c: 01 07 00 [21:00:31]MH_I2C_Read... [21:00:31]Read from MH i2c: 01 07 00 02 02 00 00 00 00 00 E7 0C FE [21:00:31]RasterBufferAndPrint [21:00:31]line [21:00:31]line [21:00:31]line [21:00:31]line [21:00:31]line [21:00:31]written 0, free lines is 3310 [21:00:31]MH_Cut [21:00:31]Write to MH i2c: D1 01 00 09 02 01 DD [21:00:31]Write i2c OK [21:00:31]MH_I2C_Read... [21:00:31]Read from MH i2c: D1 [21:00:31]MH_I2C_Read... [21:00:31]Read from MH i2c: D1 01 00 [21:00:31]MH_I2C_Read... [21:00:31]Read from MH i2c: D1 01 00 09 02 00 DC [21:00:31]Write to MH i2c: 01 00 00 0A 02 0C [21:00:31]Write i2c OK [21:00:31]MH_I2C_Read... [21:00:31]OFD Sender: No OFD packet to send [21:00:31]*** Cut start [21:00:31]*** Partial cut [21:00:31]*** CUTSNS_PIN = 1 [21:00:31]*** CUTSNS_PIN = 0 [21:00:32]*** Brake cut motor [21:00:32]Read from MH i2c: 01 [21:00:32]MH_I2C_Read... [21:00:32]*** Stop cut motor [21:00:32]*** Cut end [21:00:32]Read from MH i2c: 01 07 00 [21:00:32]MH_I2C_Read... [21:00:32]Read from MH i2c: 01 07 00 0A 02 00 00 00 00 00 FF 0F 21 [21:00:32]process_action close_receipt done [21:00:32]requested_data is exist [21:00:32]produce_requested_data [21:00:32]requested_item fm.sn is exist - process it [21:00:32]wFMCommunicate request_size=4 [21:00:32]MH_SAM_APDU [21:00:32]CAPDU: 80 11 00 00 [21:00:32]Write to MH i2c: E2 08 00 0B 02 80 11 00 00 00 00 00 00 87 [21:00:32]Write i2c OK [21:00:32]MH_I2C_Read... [21:00:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:00:32]Read from MH i2c: E2 [21:00:32]MH_I2C_Read... [21:00:32]Read from MH i2c: E2 17 00 [21:00:32]MH_I2C_Read... [21:00:32]Read from MH i2c: E2 17 00 0B 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 E1 [21:00:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [21:00:32]wFMCommunicate OK [21:00:32]requested_item fd.num is exist - process it [21:00:32]SAM_PROTO_GetFieldsCounters [21:00:32]wFMCommunicate request_size=4 [21:00:32]MH_SAM_APDU [21:00:32]CAPDU: 80 13 00 00 [21:00:32]Write to MH i2c: E2 08 00 0C 02 80 13 00 00 00 00 00 00 8A [21:00:32]Write i2c OK [21:00:32]MH_I2C_Read... [21:00:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:00:32]Read from MH i2c: E2 [21:00:32]MH_I2C_Read... [21:00:32]Read from MH i2c: E2 62 00 [21:00:32]MH_I2C_Read... [21:00:32]Read from MH i2c: E2 62 00 0C 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 F7 30 00 00 0E 04 04 00 17 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 5B [21:00:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 F7 30 00 00 0E 04 04 00 17 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 [21:00:32]wFMCommunicate OK [21:00:32]SAM_PROTO_GetFieldsCounters done [21:00:32]requested_item shift.num is exist - process it [21:00:32]requested_item shift.opened is exist - process it [21:00:32]req_shift_opened [21:00:32]FM_GetShiftState [21:00:32]SAM_PROTO_GetShiftState [21:00:32]wFMCommunicate request_size=4 [21:00:32]MH_SAM_APDU [21:00:32]CAPDU: 80 13 01 00 [21:00:32]Write to MH i2c: E2 08 00 0D 02 80 13 01 00 00 00 00 00 8C [21:00:32]Write i2c OK [21:00:32]MH_I2C_Read... [21:00:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:00:32]Read from MH i2c: E2 [21:00:32]MH_I2C_Read... [21:00:32]Read from MH i2c: E2 0E 00 [21:00:32]MH_I2C_Read... [21:00:32]Read from MH i2c: E2 0E 00 0D 02 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 82 [21:00:32]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [21:00:32]wFMCommunicate OK [21:00:32]SAM_PROTO_GetShiftState done [21:00:32]FM_GetShiftState done [21:00:32]req_shift_opened done [21:00:32]requested_item shift.open_date is exist - process it [21:00:32]req_shift_open_date [21:00:32]req_shift_open_date done [21:00:32]produce_requested_data done [21:00:32]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12535,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [21:00:32]process_action_free close_receipt [21:00:32]json_value_free [21:00:32]json_value_free done [21:00:32]process_json_proto returns [21:00:32]Send response to host [21:00:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12535,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [21:00:32]free response buf [21:00:32]execute_script done [21:00:32]execute_script returns [21:00:32]free content buf [21:00:32]Sock 9.Close socket [21:00:32]Sock 9.Thread stoped [21:00:36]OFD Sender: No OFD packet to send [21:00:41]OFD Sender: No OFD packet to send [21:00:46]OFD Sender: No OFD packet to send [21:00:51]OFD Sender: No OFD packet to send [21:00:56]OFD Sender: No OFD packet to send [21:01:01]OFD Sender: No OFD packet to send [21:01:06]OFD Sender: No OFD packet to send [21:01:11]OFD Sender: No OFD packet to send [21:01:16]OFD Sender: No OFD packet to send [21:01:21]OFD Sender: No OFD packet to send [21:01:26]OFD Sender: No OFD packet to send [21:01:31]OFD Sender: No OFD packet to send [21:01:36]OFD Sender: No OFD packet to send [21:01:41]OFD Sender: No OFD packet to send [21:01:46]OFD Sender: No OFD packet to send [21:01:51]OFD Sender: No OFD packet to send [21:01:56]OFD Sender: No OFD packet to send [21:02:01]OFD Sender: No OFD packet to send [21:02:06]OFD Sender: No OFD packet to send [21:02:11]OFD Sender: No OFD packet to send [21:02:16]OFD Sender: No OFD packet to send [21:02:21]OFD Sender: No OFD packet to send [21:02:26]OFD Sender: No OFD packet to send [21:02:31]OFD Sender: No OFD packet to send [21:02:36]OFD Sender: No OFD packet to send [21:02:41]OFD Sender: No OFD packet to send [21:02:46]OFD Sender: No OFD packet to send [21:02:51]OFD Sender: No OFD packet to send [21:02:56]OFD Sender: No OFD packet to send [21:03:01]OFD Sender: No OFD packet to send [21:03:06]OFD Sender: No OFD packet to send [21:03:11]OFD Sender: No OFD packet to send [21:03:16]OFD Sender: No OFD packet to send [21:03:21]OFD Sender: No OFD packet to send [21:03:23]recv_with_timeout no data received [21:03:26]OFD Sender: No OFD packet to send [21:03:31]OFD Sender: No OFD packet to send [21:03:36]OFD Sender: No OFD packet to send [21:03:41]OFD Sender: No OFD packet to send [21:03:46]OFD Sender: No OFD packet to send [21:03:49]accept exits with 7 [21:03:49]New connection [21:03:49]New thread 3067120996 created [21:03:49]Thread 3067264356 joined [21:03:49]Waiting for new connection... [21:03:49] Sock 7.Parse request [21:03:49]Sock 7.Check first char [21:03:49]Sock 7.First char is OK [21:03:49]request: POST /json_proto HTTP/1.0 [21:03:49]Method: POST [21:03:49]URL: /json_proto [21:03:49]Method is POST - this is cgi request [21:03:49]url: /json_proto [21:03:49]query_string will be loaded in cgi processing [21:03:49]execute_cgi json_proto POST (null) [21:03:49]execute_cgi path=json_proto method=POST [21:03:49]POST find Content-Length [21:03:49]Host: 172.17.62.6:8080 [21:03:49]Content-Length: 636 [21:03:49]Content-Type: application/json [21:03:49] [21:03:49]POST finish read [21:03:49]Found Content-Length = 636 [21:03:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32810", "tax_sys" : 0, "items" : [ { "code": "4680036912698", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u0436/\u0431 0,45\u043B MINT", "price" : 90.00, "quantity" : 2.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:03:49]execute_script... [21:03: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)32810", "tax_sys" : 0, "items" : [ { "code": "4680036912698", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u0436/\u0431 0,45\u043B MINT", "price" : 90.00, "quantity" : 2.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:03:49]POST & json_proto [21:03:49]process_json_proto [21:03:49]json parsed OK: [21:03:49]protocol is kg_v1.0 [21:03:49]action value=close_receipt [21:03:49]process_action close_receipt [21:03:49]cmd_close_receipt [21:03:49]MH_GetDate [21:03:49]Write to MH i2c: F0 00 00 0E 02 FF [21:03:49]Write i2c OK [21:03:49]MH_I2C_Read... [21:03:49]Read from MH i2c: F0 [21:03:49]MH_I2C_Read... [21:03:49]Read from MH i2c: F0 09 00 [21:03:49]MH_I2C_Read... [21:03:49]Read from MH i2c: F0 09 00 0E 02 00 35 DC 22 66 61 69 D2 64 A1 [21:03:49]GetLastDocTimeStamp 1713560428 [21:03:49]current date 1713560629 [21:03:49]FM_GetShiftState [21:03:49]SAM_PROTO_GetShiftState [21:03:49]wFMCommunicate request_size=4 [21:03:49]MH_SAM_APDU [21:03:49]CAPDU: 80 13 01 00 [21:03:49]Write to MH i2c: E2 08 00 0F 02 80 13 01 00 00 00 00 00 8E [21:03:49]Write i2c OK [21:03:49]MH_I2C_Read... [21:03:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:03:49]Read from MH i2c: E2 [21:03:49]MH_I2C_Read... [21:03:49]Read from MH i2c: E2 0E 00 [21:03:49]MH_I2C_Read... [21:03:49]Read from MH i2c: E2 0E 00 0F 02 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 84 [21:03:49]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [21:03:49]wFMCommunicate OK [21:03:49]SAM_PROTO_GetShiftState done [21:03:49]FM_GetShiftState done [21:03:49]opened in 1713485995 [21:03:49]opened+sec_in_day 1713572395 [21:03:49]quantity*price = 18000 [21:03:49]sum+1 = 18001 [21:03:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.11 Наличными: 180.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 38 19.04.2024 21:03 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12536 ФПД: 269896395297433 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T210349&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12536&fm=269896395297433&tin=02508201610067®Number=0000000000100748&sum=18000 0 [21:03:50]StoreToDocumentArchive [21:03:50]shift 279 fd 12536 [21:03:50]save to /storage/0279/doc_00012536 [21:03:50]save last doc name /storage/0279/doc_00012536 to /storage/kkm_last_doc_name [21:03:50]save OK [21:03:50]Clear old archive folders... [21:03:50]ProcessDocumentItem done err = 0, tmpTLVsize=282 [21:03:50]tlvbuf is B6F0D460 [21:03:50]SAM_PROTO_ClearQueue [21:03:50]wFMCommunicate request_size=4 [21:03:50]MH_SAM_APDU [21:03:50]CAPDU: 80 09 00 00 [21:03:50]Write to MH i2c: E2 08 00 1C 02 80 09 00 00 00 00 00 00 90 [21:03:50]Write i2c OK [21:03:50]MH_I2C_Read... [21:03:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:03:50]Read from MH i2c: E2 [21:03:50]MH_I2C_Read... [21:03:50]Read from MH i2c: E2 03 00 [21:03:50]MH_I2C_Read... [21:03:50]Read from MH i2c: E2 03 00 1C 02 00 90 00 92 [21:03:50]RAPDU: 90 00 [21:03:50]wFMCommunicate OK [21:03:50]SAM_PROTO_ClearQueue done [21:03:50]KKMCreateOFDPacket [21:03:50]OFDProtocolAddRootSTLVToBuf [21:03:50]FM_MakeSignedData [21:03:50]FM_MakeSignedData [21:03:50]SAM_PROTO_SignData [21:03:50]wFMCommunicate request_size=4 [21:03:50]MH_SAM_APDU [21:03:50]CAPDU: 80 0D 01 02 [21:03:50]Write to MH i2c: E2 08 00 1D 02 80 0D 01 02 00 00 00 00 98 [21:03:50]Write i2c OK [21:03:50]MH_I2C_Read... [21:03:50]Read from MH i2c: E2 [21:03:50]MH_I2C_Read... [21:03:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:03:50]Read from MH i2c: E2 03 00 [21:03:50]MH_I2C_Read... [21:03:50]Read from MH i2c: E2 03 00 1D 02 00 90 00 93 [21:03:50]RAPDU: 90 00 [21:03:50]wFMCommunicate OK [21:03:50]wFMCommunicate request_size=255 [21:03:50]MH_SAM_APDU [21:03:50]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 32 36 39 38 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 4D 49 4E 54 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 35 DC 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 [21:03:50]Write to MH i2c: E2 02 01 1E 02 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 32 36 39 38 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 4D 49 4E 54 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 35 DC 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 00 00 03 [21:03:50]Write i2c OK [21:03:50]MH_I2C_Read... [21:03:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:03:50]Read from MH i2c: E2 [21:03:50]MH_I2C_Read... [21:03:50]Read from MH i2c: E2 03 00 [21:03:50]MH_I2C_Read... [21:03:50]Read from MH i2c: E2 03 00 1E 02 00 90 00 94 [21:03:50]RAPDU: 90 00 [21:03:50]wFMCommunicate OK [21:03:50]wFMCommunicate request_size=41 [21:03:50]MH_SAM_APDU [21:03:50]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F8 30 00 00 35 04 06 00 F5 78 26 C4 92 99 [21:03:50]Write to MH i2c: E2 2C 00 1F 02 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F8 30 00 00 35 04 06 00 F5 78 26 C4 92 99 00 00 1B [21:03:50]Write i2c OK [21:03:50]MH_I2C_Read... [21:03:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:03:51]Read from MH i2c: E2 [21:03:51]MH_I2C_Read... [21:03:51]Read from MH i2c: E2 03 00 [21:03:51]MH_I2C_Read... [21:03:51]Read from MH i2c: E2 03 00 1F 02 00 90 00 95 [21:03:51]RAPDU: 90 00 [21:03:51]wFMCommunicate OK [21:03:51]wFMCommunicate request_size=4 [21:03:51]MH_SAM_APDU [21:03:51]CAPDU: 80 0D 03 02 [21:03:51]Write to MH i2c: E2 08 00 20 02 80 0D 03 02 00 00 00 00 9D [21:03:51]Write i2c OK [21:03:51]MH_I2C_Read... [21:03:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:03:51]Read from MH i2c: E2 [21:03:51]MH_I2C_Read... [21:03:51]Read from MH i2c: E2 0B 00 [21:03:51]MH_I2C_Read... [21:03:51]Read from MH i2c: E2 0B 00 20 02 00 66 2C 32 E1 3A 2F DD A5 90 00 2E [21:03:51]RAPDU: 66 2C 32 E1 3A 2F DD A5 90 00 [21:03:51]wFMCommunicate OK [21:03:51]SAM_PROTO_SignData done [21:03:51]FM_MakeSignedData done [21:03:51]CreateOFDProtocolMessage [21:03:51]wFMCommunicate request_size=4 [21:03:51]MH_SAM_APDU [21:03:51]CAPDU: 80 11 00 00 [21:03:51]Write to MH i2c: E2 08 00 21 02 80 11 00 00 00 00 00 00 9D [21:03:51]Write i2c OK [21:03:51]MH_I2C_Read... [21:03:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:03:51]Read from MH i2c: E2 [21:03:51]MH_I2C_Read... [21:03:51]Read from MH i2c: E2 17 00 [21:03:51]MH_I2C_Read... [21:03:51]Read from MH i2c: E2 17 00 21 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 F7 [21:03:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [21:03:51]wFMCommunicate OK [21:03:51]CreateOFDProtocolMessage done [21:03:51]OFDSenderStorePacket 12536 [21:03:51]StoreOFDPacket docnum=12536 [21:03:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2E 01 00 00 11 AD 26 01 74 00 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 32 36 39 38 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 4D 49 4E 54 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 35 DC 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F8 30 00 00 35 04 06 00 F5 78 26 C4 92 99 66 2C 32 E1 3A 2F DD A5 [21:03:51]CheckFolder [21:03:51]dirname=/storage/ofd_packets [21:03:51]CheckFolder done [21:03:51]ProducePacketName [21:03:51]name=ofd_packets/00012536 [21:03:51]NVStorageSaveData ofd_packets/00012536 [21:03:51]File name is /storage/ofd_packets/00012536 [21:03:51]Write 332 bytes [21:03:51]NVStorageSaveData done [21:03:51]OFDSenderStorePacket done [21:03:51]KKMCreateOFDPacket done [21:03:51]NVStorageSaveData kkm_last_timestamp [21:03:51]File name is /storage/kkm_last_timestamp [21:03:51]Write 4 bytes [21:03:51]NVStorageSaveData done [21:03:51]ExternCall_PrintAddStr [21:03:51]wPrintStart [21:03:51]Write to MH i2c: 01 00 00 22 02 24 [21:03:51]Write i2c OK [21:03:51]MH_I2C_Read... [21:03:51]Read from MH i2c: 01 [21:03:51]MH_I2C_Read... [21:03:51]Read from MH i2c: 01 07 00 [21:03:51]MH_I2C_Read... [21:03:51]Read from MH i2c: 01 07 00 22 02 00 00 00 00 00 FF 0F 39 [21:03:51]RasterBufferAndPrint [21:03:51]line Счет N : (3)32810 [21:03:51]line ИНН: 02508201610067 [21:03:51]line Контрольно-Кассовый Чек [21:03:51]line ПРОДАЖА [21:03:51]line Товар: 4680036912698 [21:03:51]line Напиток Gorilla ж/б 0,45л MINT [21:03:51]line 2.000 * 90.00 [21:03:51]line = 180.00 [21:03:51]line НДС 12% НСП 1% [21:03:51]line > о реализуемом товаре [21:03:51]line ИТОГО: 180.00 [21:03:51]line НСП 1% : 1.59 [21:03:51]line НДС 12% : 19.11 [21:03:51]line Наличными: 180.00 [21:03:51]line Безнал.: 0.00 [21:03:51]line Место: АЗС № 106 "Партнер Нефть" [21:03:51]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [21:03:51]line СНО: Общий режим [21:03:51]line Чек 38 19.04.2024 21:03 [21:03:51]line Смена: 279 ФФД: 1.0 [21:03:51]line ЗНМ: 0300000004 [21:03:51]line РНМ: 0000000000100748 [21:03:51]line Версия ККМ: 001 [21:03:51]line ФМ: 0000000000965685 [21:03:51]line ФД: 12536 [21:03:51]line ФПД: 269896395297433 [21:03:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T210349&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12536&fm=269896395297433&tin=02508201610067®Number=0000000000100748&sum=18000 [21:03:51]line 0 [21:03:51]OFD Sender: Processing packet 12536 [packets to send 7, broken 6] [21:03:51]ProducePacketName [21:03:51]name=ofd_packets/00012536 [21:03:51]OFD Sender: To server: pG, [21:03:51]CommunicateWithHost lk.salyk.kg:30040 [21:03:51]ConnectInit lk.salyk.kg [21:03:51]written 0, free lines is 4095 [21:03:51]Connected sock=10 [21:03:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2E 01 00 00 11 AD 26 01 74 00 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 38 30 30 33 36 39 31 32 36 39 38 06 04 28 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 4D 49 4E 54 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 50 46 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 35 DC 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F8 30 00 00 35 04 06 00 F5 78 26 C4 92 99 66 2C 32 E1 3A 2F DD A5 [21:03:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 72 31 47 00 A8 7E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F8 30 00 00 F4 03 04 00 BC 84 22 66 B6 04 01 00 00 67 9C 6F 5D EF 8A 35 4D [21:03:51]CommunicateWithHost err = 0 [21:03:51]CheckOFDResponse [21:03:51]1017 (14) - 77093643461234 [21:03:51]1041 (16) - 0000000000965685 [21:03:51]1040 (4) - 12536 [21:03:51]1012 (4) - 19.04.2024 14:50 [21:03:51]1206 (1) - 0 [21:03:51]OFD Sender: Remove packet 12536 [21:03:51]ProducePacketName [21:03:51]name=ofd_packets/00012536 [21:03:51]NVStorageDeleteData [21:03:51]Write to MH i2c: 01 00 00 4A 02 4C [21:03:51]Write i2c OK [21:03:51]MH_I2C_Read... [21:03:51]Read from MH i2c: 01 [21:03:51]MH_I2C_Read... [21:03:51]Read from MH i2c: 01 07 00 [21:03:51]MH_I2C_Read... [21:03:51]Read from MH i2c: 01 07 00 4A 02 00 00 00 00 00 02 0D 62 [21:03:51]RasterBufferAndPrint [21:03:51]line [21:03:51]line [21:03:51]line [21:03:51]line [21:03:51]line [21:03:51]written 0, free lines is 3337 [21:03:51]MH_Cut [21:03:51]Write to MH i2c: D1 01 00 51 02 01 25 [21:03:51]Write i2c OK [21:03:51]MH_I2C_Read... [21:03:51]Read from MH i2c: D1 [21:03:51]MH_I2C_Read... [21:03:51]Read from MH i2c: D1 01 00 [21:03:51]MH_I2C_Read... [21:03:51]Read from MH i2c: D1 01 00 51 02 00 24 [21:03:51]Write to MH i2c: 01 00 00 52 02 54 [21:03:51]Write i2c OK [21:03:51]MH_I2C_Read... [21:03:52]OFD Sender: No OFD packet to send [21:03:52]*** Cut start [21:03:52]*** Partial cut [21:03:52]*** CUTSNS_PIN = 1 [21:03:52]*** CUTSNS_PIN = 0 [21:03:52]*** Brake cut motor [21:03:53]Read from MH i2c: 01 [21:03:53]MH_I2C_Read... [21:03:53]*** Stop cut motor [21:03:53]*** Cut end [21:03:53]Read from MH i2c: 01 07 00 [21:03:53]MH_I2C_Read... [21:03:53]Read from MH i2c: 01 07 00 52 02 00 00 00 00 00 FF 0F 69 [21:03:53]process_action close_receipt done [21:03:53]requested_data is exist [21:03:53]produce_requested_data [21:03:53]requested_item fm.sn is exist - process it [21:03:53]wFMCommunicate request_size=4 [21:03:53]MH_SAM_APDU [21:03:53]CAPDU: 80 11 00 00 [21:03:53]Write to MH i2c: E2 08 00 53 02 80 11 00 00 00 00 00 00 CF [21:03:53]Write i2c OK [21:03:53]MH_I2C_Read... [21:03:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:03:53]Read from MH i2c: E2 [21:03:53]MH_I2C_Read... [21:03:53]Read from MH i2c: E2 17 00 [21:03:53]MH_I2C_Read... [21:03:53]Read from MH i2c: E2 17 00 53 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 29 [21:03:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [21:03:53]wFMCommunicate OK [21:03:53]requested_item fd.num is exist - process it [21:03:53]SAM_PROTO_GetFieldsCounters [21:03:53]wFMCommunicate request_size=4 [21:03:53]MH_SAM_APDU [21:03:53]CAPDU: 80 13 00 00 [21:03:53]Write to MH i2c: E2 08 00 54 02 80 13 00 00 00 00 00 00 D2 [21:03:53]Write i2c OK [21:03:53]MH_I2C_Read... [21:03:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:03:53]Read from MH i2c: E2 [21:03:53]MH_I2C_Read... [21:03:53]Read from MH i2c: E2 62 00 [21:03:53]MH_I2C_Read... [21:03:53]Read from MH i2c: E2 62 00 54 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 F8 30 00 00 0E 04 04 00 17 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 A7 [21:03:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 F8 30 00 00 0E 04 04 00 17 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 [21:03:53]wFMCommunicate OK [21:03:53]SAM_PROTO_GetFieldsCounters done [21:03:53]requested_item shift.num is exist - process it [21:03:53]requested_item shift.opened is exist - process it [21:03:53]req_shift_opened [21:03:53]FM_GetShiftState [21:03:53]SAM_PROTO_GetShiftState [21:03:53]wFMCommunicate request_size=4 [21:03:53]MH_SAM_APDU [21:03:53]CAPDU: 80 13 01 00 [21:03:53]Write to MH i2c: E2 08 00 55 02 80 13 01 00 00 00 00 00 D4 [21:03:53]Write i2c OK [21:03:53]MH_I2C_Read... [21:03:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:03:53]Read from MH i2c: E2 [21:03:53]MH_I2C_Read... [21:03:53]Read from MH i2c: E2 0E 00 [21:03:53]MH_I2C_Read... [21:03:53]Read from MH i2c: E2 0E 00 55 02 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 CA [21:03:53]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [21:03:53]wFMCommunicate OK [21:03:53]SAM_PROTO_GetShiftState done [21:03:53]FM_GetShiftState done [21:03:53]req_shift_opened done [21:03:53]requested_item shift.open_date is exist - process it [21:03:53]req_shift_open_date [21:03:53]req_shift_open_date done [21:03:53]produce_requested_data done [21:03:53]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12536,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [21:03:53]process_action_free close_receipt [21:03:53]json_value_free [21:03:53]json_value_free done [21:03:53]process_json_proto returns [21:03:53]Send response to host [21:03:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12536,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [21:03:53]free response buf [21:03:53]execute_script done [21:03:53]execute_script returns [21:03:53]free content buf [21:03:53]Sock 7.Close socket [21:03:53]Sock 7.Thread stoped [21:03:57]OFD Sender: No OFD packet to send [21:04:02]OFD Sender: No OFD packet to send [21:04:07]OFD Sender: No OFD packet to send [21:04:12]OFD Sender: No OFD packet to send [21:04:17]OFD Sender: No OFD packet to send [21:04:22]OFD Sender: No OFD packet to send [21:04:27]OFD Sender: No OFD packet to send [21:04:32]OFD Sender: No OFD packet to send [21:04:37]OFD Sender: No OFD packet to send [21:04:42]OFD Sender: No OFD packet to send [21:04:47]OFD Sender: No OFD packet to send [21:04:52]OFD Sender: No OFD packet to send [21:04:57]OFD Sender: No OFD packet to send [21:05:02]OFD Sender: No OFD packet to send [21:05:07]OFD Sender: No OFD packet to send [21:05:12]OFD Sender: No OFD packet to send [21:05:17]OFD Sender: No OFD packet to send [21:05:22]OFD Sender: No OFD packet to send [21:05:27]OFD Sender: No OFD packet to send [21:05:32]OFD Sender: No OFD packet to send [21:05:37]OFD Sender: No OFD packet to send [21:05:42]OFD Sender: No OFD packet to send [21:05:47]OFD Sender: No OFD packet to send [21:05:52]OFD Sender: No OFD packet to send [21:05:57]OFD Sender: No OFD packet to send [21:06:02]OFD Sender: No OFD packet to send [21:06:07]OFD Sender: No OFD packet to send [21:06:12]OFD Sender: No OFD packet to send [21:06:17]OFD Sender: No OFD packet to send [21:06:22]OFD Sender: No OFD packet to send [21:06:27]OFD Sender: No OFD packet to send [21:06:32]OFD Sender: No OFD packet to send [21:06:37]OFD Sender: No OFD packet to send [21:06:42]OFD Sender: No OFD packet to send [21:06:47]OFD Sender: No OFD packet to send [21:06:52]OFD Sender: No OFD packet to send [21:06:57]OFD Sender: No OFD packet to send [21:07:02]OFD Sender: No OFD packet to send [21:07:07]OFD Sender: No OFD packet to send [21:07:12]OFD Sender: No OFD packet to send [21:07:17]OFD Sender: No OFD packet to send [21:07:22]OFD Sender: No OFD packet to send [21:07:27]OFD Sender: No OFD packet to send [21:07:32]OFD Sender: No OFD packet to send [21:07:37]OFD Sender: No OFD packet to send [21:07:42]OFD Sender: No OFD packet to send [21:07:47]OFD Sender: No OFD packet to send [21:07:52]OFD Sender: No OFD packet to send [21:07:57]OFD Sender: No OFD packet to send [21:08:02]OFD Sender: No OFD packet to send [21:08:07]OFD Sender: No OFD packet to send [21:08:12]OFD Sender: No OFD packet to send [21:08:17]OFD Sender: No OFD packet to send [21:08:22]OFD Sender: No OFD packet to send [21:08:27]OFD Sender: No OFD packet to send [21:08:32]OFD Sender: No OFD packet to send [21:08:37]OFD Sender: No OFD packet to send [21:08:42]OFD Sender: No OFD packet to send [21:08:47]OFD Sender: No OFD packet to send [21:08:52]OFD Sender: No OFD packet to send [21:08:57]OFD Sender: No OFD packet to send [21:09:02]OFD Sender: No OFD packet to send [21:09:07]OFD Sender: No OFD packet to send [21:09:12]OFD Sender: No OFD packet to send [21:09:17]OFD Sender: No OFD packet to send [21:09:22]OFD Sender: No OFD packet to send [21:09:27]OFD Sender: No OFD packet to send [21:09:32]OFD Sender: No OFD packet to send [21:09:37]OFD Sender: No OFD packet to send [21:09:42]OFD Sender: No OFD packet to send [21:09:47]OFD Sender: No OFD packet to send [21:09:52]OFD Sender: No OFD packet to send [21:09:57]OFD Sender: No OFD packet to send [21:10:02]OFD Sender: No OFD packet to send [21:10:07]OFD Sender: No OFD packet to send [21:10:12]OFD Sender: No OFD packet to send [21:10:17]OFD Sender: No OFD packet to send [21:10:22]OFD Sender: No OFD packet to send [21:10:27]OFD Sender: No OFD packet to send [21:10:32]OFD Sender: No OFD packet to send [21:10:37]OFD Sender: No OFD packet to send [21:10:42]OFD Sender: No OFD packet to send [21:10:47]OFD Sender: No OFD packet to send [21:10:52]OFD Sender: No OFD packet to send [21:10:57]OFD Sender: No OFD packet to send [21:11:02]OFD Sender: No OFD packet to send [21:11:07]OFD Sender: No OFD packet to send [21:11:12]OFD Sender: No OFD packet to send [21:11:17]OFD Sender: No OFD packet to send [21:11:22]OFD Sender: No OFD packet to send [21:11:27]OFD Sender: No OFD packet to send [21:11:32]OFD Sender: No OFD packet to send [21:11:37]OFD Sender: No OFD packet to send [21:11:42]OFD Sender: No OFD packet to send [21:11:47]OFD Sender: No OFD packet to send [21:11:52]OFD Sender: No OFD packet to send [21:11:57]OFD Sender: No OFD packet to send [21:12:02]OFD Sender: No OFD packet to send [21:12:07]OFD Sender: No OFD packet to send [21:12:12]OFD Sender: No OFD packet to send [21:12:17]OFD Sender: No OFD packet to send [21:12:22]OFD Sender: No OFD packet to send [21:12:27]OFD Sender: No OFD packet to send [21:12:32]OFD Sender: No OFD packet to send [21:12:37]OFD Sender: No OFD packet to send [21:12:42]OFD Sender: No OFD packet to send [21:12:47]OFD Sender: No OFD packet to send [21:12:52]OFD Sender: No OFD packet to send [21:12:57]OFD Sender: No OFD packet to send [21:13:02]OFD Sender: No OFD packet to send [21:13:07]OFD Sender: No OFD packet to send [21:13:12]OFD Sender: No OFD packet to send [21:13:17]OFD Sender: No OFD packet to send [21:13:22]OFD Sender: No OFD packet to send [21:13:27]OFD Sender: No OFD packet to send [21:13:32]OFD Sender: No OFD packet to send [21:13:37]OFD Sender: No OFD packet to send [21:13:42]OFD Sender: No OFD packet to send [21:13:47]OFD Sender: No OFD packet to send [21:13:52]OFD Sender: No OFD packet to send [21:13:57]OFD Sender: No OFD packet to send [21:14:02]OFD Sender: No OFD packet to send [21:14:07]OFD Sender: No OFD packet to send [21:14:12]OFD Sender: No OFD packet to send [21:14:17]OFD Sender: No OFD packet to send [21:14:22]OFD Sender: No OFD packet to send [21:14:27]OFD Sender: No OFD packet to send [21:14:32]OFD Sender: No OFD packet to send [21:14:37]OFD Sender: No OFD packet to send [21:14:42]OFD Sender: No OFD packet to send [21:14:47]OFD Sender: No OFD packet to send [21:14:52]OFD Sender: No OFD packet to send [21:14:57]OFD Sender: No OFD packet to send [21:15:02]OFD Sender: No OFD packet to send [21:15:07]OFD Sender: No OFD packet to send [21:15:12]OFD Sender: No OFD packet to send [21:15:17]OFD Sender: No OFD packet to send [21:15:22]OFD Sender: No OFD packet to send [21:15:27]OFD Sender: No OFD packet to send [21:15:32]OFD Sender: No OFD packet to send [21:15:37]OFD Sender: No OFD packet to send [21:15:42]OFD Sender: No OFD packet to send [21:15:47]OFD Sender: No OFD packet to send [21:15:52]OFD Sender: No OFD packet to send [21:15:57]OFD Sender: No OFD packet to send [21:16:02]OFD Sender: No OFD packet to send [21:16:07]OFD Sender: No OFD packet to send [21:16:12]OFD Sender: No OFD packet to send [21:16:17]OFD Sender: No OFD packet to send [21:16:22]OFD Sender: No OFD packet to send [21:16:27]OFD Sender: No OFD packet to send [21:16:32]OFD Sender: No OFD packet to send [21:16:37]OFD Sender: No OFD packet to send [21:16:42]OFD Sender: No OFD packet to send [21:16:47]OFD Sender: No OFD packet to send [21:16:52]OFD Sender: No OFD packet to send [21:16:57]OFD Sender: No OFD packet to send [21:17:02]OFD Sender: No OFD packet to send [21:17:08]OFD Sender: No OFD packet to send [21:17:13]OFD Sender: No OFD packet to send [21:17:18]OFD Sender: No OFD packet to send [21:17:23]OFD Sender: No OFD packet to send [21:17:28]OFD Sender: No OFD packet to send [21:17:33]OFD Sender: No OFD packet to send [21:17:38]OFD Sender: No OFD packet to send [21:17:43]OFD Sender: No OFD packet to send [21:17:48]OFD Sender: No OFD packet to send [21:17:53]OFD Sender: No OFD packet to send [21:17:58]OFD Sender: No OFD packet to send [21:18:03]OFD Sender: No OFD packet to send [21:18:08]OFD Sender: No OFD packet to send [21:18:13]OFD Sender: No OFD packet to send [21:18:18]OFD Sender: No OFD packet to send [21:18:23]OFD Sender: No OFD packet to send [21:18:28]OFD Sender: No OFD packet to send [21:18:33]OFD Sender: No OFD packet to send [21:18:38]OFD Sender: No OFD packet to send [21:18:43]OFD Sender: No OFD packet to send [21:18:48]OFD Sender: No OFD packet to send [21:18:53]OFD Sender: No OFD packet to send [21:18:58]OFD Sender: No OFD packet to send [21:19:03]OFD Sender: No OFD packet to send [21:19:08]OFD Sender: No OFD packet to send [21:19:13]OFD Sender: No OFD packet to send [21:19:18]OFD Sender: No OFD packet to send [21:19:23]OFD Sender: No OFD packet to send [21:19:28]OFD Sender: No OFD packet to send [21:19:33]OFD Sender: No OFD packet to send [21:19:38]OFD Sender: No OFD packet to send [21:19:43]OFD Sender: No OFD packet to send [21:19:48]OFD Sender: No OFD packet to send [21:19:53]OFD Sender: No OFD packet to send [21:19:58]OFD Sender: No OFD packet to send [21:20:03]OFD Sender: No OFD packet to send [21:20:08]OFD Sender: No OFD packet to send [21:20:13]OFD Sender: No OFD packet to send [21:20:18]OFD Sender: No OFD packet to send [21:20:23]OFD Sender: No OFD packet to send [21:20:28]OFD Sender: No OFD packet to send [21:20:33]OFD Sender: No OFD packet to send [21:20:38]OFD Sender: No OFD packet to send [21:20:43]OFD Sender: No OFD packet to send [21:20:48]OFD Sender: No OFD packet to send [21:20:53]OFD Sender: No OFD packet to send [21:20:58]OFD Sender: No OFD packet to send [21:21:03]OFD Sender: No OFD packet to send [21:21:08]OFD Sender: No OFD packet to send [21:21:13]OFD Sender: No OFD packet to send [21:21:18]OFD Sender: No OFD packet to send [21:21:23]OFD Sender: No OFD packet to send [21:21:28]OFD Sender: No OFD packet to send [21:21:33]OFD Sender: No OFD packet to send [21:21:38]OFD Sender: No OFD packet to send [21:21:43]OFD Sender: No OFD packet to send [21:21:48]OFD Sender: No OFD packet to send [21:21:53]OFD Sender: No OFD packet to send [21:21:58]OFD Sender: No OFD packet to send [21:22:03]OFD Sender: No OFD packet to send [21:22:08]OFD Sender: No OFD packet to send [21:22:13]OFD Sender: No OFD packet to send [21:22:18]OFD Sender: No OFD packet to send [21:22:23]OFD Sender: No OFD packet to send [21:22:28]OFD Sender: No OFD packet to send [21:22:33]OFD Sender: No OFD packet to send [21:22:38]OFD Sender: No OFD packet to send [21:22:43]OFD Sender: No OFD packet to send [21:22:48]OFD Sender: No OFD packet to send [21:22:53]OFD Sender: No OFD packet to send [21:22:58]OFD Sender: No OFD packet to send [21:23:03]OFD Sender: No OFD packet to send [21:23:08]OFD Sender: No OFD packet to send [21:23:13]OFD Sender: No OFD packet to send [21:23:18]OFD Sender: No OFD packet to send [21:23:23]OFD Sender: No OFD packet to send [21:23:28]OFD Sender: No OFD packet to send [21:23:33]OFD Sender: No OFD packet to send [21:23:38]OFD Sender: No OFD packet to send [21:23:43]OFD Sender: No OFD packet to send [21:23:48]OFD Sender: No OFD packet to send [21:23:53]OFD Sender: No OFD packet to send [21:23:58]OFD Sender: No OFD packet to send [21:24:03]OFD Sender: No OFD packet to send [21:24:08]OFD Sender: No OFD packet to send [21:24:13]OFD Sender: No OFD packet to send [21:24:18]OFD Sender: No OFD packet to send [21:24:23]OFD Sender: No OFD packet to send [21:24:28]OFD Sender: No OFD packet to send [21:24:33]OFD Sender: No OFD packet to send [21:24:38]OFD Sender: No OFD packet to send [21:24:43]OFD Sender: No OFD packet to send [21:24:48]OFD Sender: No OFD packet to send [21:24:53]OFD Sender: No OFD packet to send [21:24:58]OFD Sender: No OFD packet to send [21:25:03]OFD Sender: No OFD packet to send [21:25:08]OFD Sender: No OFD packet to send [21:25:13]OFD Sender: No OFD packet to send [21:25:18]OFD Sender: No OFD packet to send [21:25:23]OFD Sender: No OFD packet to send [21:25:28]OFD Sender: No OFD packet to send [21:25:33]OFD Sender: No OFD packet to send [21:25:38]OFD Sender: No OFD packet to send [21:25:43]OFD Sender: No OFD packet to send [21:25:48]OFD Sender: No OFD packet to send [21:25:53]OFD Sender: No OFD packet to send [21:25:58]OFD Sender: No OFD packet to send [21:26:03]OFD Sender: No OFD packet to send [21:26:08]OFD Sender: No OFD packet to send [21:26:13]OFD Sender: No OFD packet to send [21:26:18]OFD Sender: No OFD packet to send [21:26:23]OFD Sender: No OFD packet to send [21:26:28]OFD Sender: No OFD packet to send [21:26:33]OFD Sender: No OFD packet to send [21:26:38]OFD Sender: No OFD packet to send [21:26:43]OFD Sender: No OFD packet to send [21:26:48]OFD Sender: No OFD packet to send [21:26:53]OFD Sender: No OFD packet to send [21:26:58]OFD Sender: No OFD packet to send [21:27:03]OFD Sender: No OFD packet to send [21:27:08]OFD Sender: No OFD packet to send [21:27:13]OFD Sender: No OFD packet to send [21:27:18]OFD Sender: No OFD packet to send [21:27:23]OFD Sender: No OFD packet to send [21:27:28]OFD Sender: No OFD packet to send [21:27:33]OFD Sender: No OFD packet to send [21:27:38]OFD Sender: No OFD packet to send [21:27:43]OFD Sender: No OFD packet to send [21:27:48]OFD Sender: No OFD packet to send [21:27:53]OFD Sender: No OFD packet to send [21:27:58]OFD Sender: No OFD packet to send [21:28:03]OFD Sender: No OFD packet to send [21:28:08]OFD Sender: No OFD packet to send [21:28:13]OFD Sender: No OFD packet to send [21:28:18]OFD Sender: No OFD packet to send [21:28:23]OFD Sender: No OFD packet to send [21:28:28]OFD Sender: No OFD packet to send [21:28:33]OFD Sender: No OFD packet to send [21:28:38]OFD Sender: No OFD packet to send [21:28:43]OFD Sender: No OFD packet to send [21:28:48]OFD Sender: No OFD packet to send [21:28:53]OFD Sender: No OFD packet to send [21:28:58]OFD Sender: No OFD packet to send [21:29:03]OFD Sender: No OFD packet to send [21:29:08]OFD Sender: No OFD packet to send [21:29:13]OFD Sender: No OFD packet to send [21:29:18]OFD Sender: No OFD packet to send [21:29:23]OFD Sender: No OFD packet to send [21:29:28]OFD Sender: No OFD packet to send [21:29:33]OFD Sender: No OFD packet to send [21:29:38]OFD Sender: No OFD packet to send [21:29:43]OFD Sender: No OFD packet to send [21:29:48]OFD Sender: No OFD packet to send [21:29:53]OFD Sender: No OFD packet to send [21:29:58]OFD Sender: No OFD packet to send [21:30:03]OFD Sender: No OFD packet to send [21:30:08]OFD Sender: No OFD packet to send [21:30:13]OFD Sender: No OFD packet to send [21:30:18]OFD Sender: No OFD packet to send [21:30:23]OFD Sender: No OFD packet to send [21:30:28]OFD Sender: No OFD packet to send [21:30:33]OFD Sender: No OFD packet to send [21:30:38]OFD Sender: No OFD packet to send [21:30:43]OFD Sender: No OFD packet to send [21:30:48]OFD Sender: No OFD packet to send [21:30:53]OFD Sender: No OFD packet to send [21:30:58]OFD Sender: No OFD packet to send [21:31:03]OFD Sender: No OFD packet to send [21:31:08]OFD Sender: No OFD packet to send [21:31:13]OFD Sender: No OFD packet to send [21:31:18]OFD Sender: No OFD packet to send [21:31:23]OFD Sender: No OFD packet to send [21:31:28]OFD Sender: No OFD packet to send [21:31:33]OFD Sender: No OFD packet to send [21:31:38]OFD Sender: No OFD packet to send [21:31:43]OFD Sender: No OFD packet to send [21:31:48]OFD Sender: No OFD packet to send [21:31:53]OFD Sender: No OFD packet to send [21:31:58]OFD Sender: No OFD packet to send [21:32:03]OFD Sender: No OFD packet to send [21:32:08]OFD Sender: No OFD packet to send [21:32:13]OFD Sender: No OFD packet to send [21:32:18]OFD Sender: No OFD packet to send [21:32:23]OFD Sender: No OFD packet to send [21:32:28]OFD Sender: No OFD packet to send [21:32:33]OFD Sender: No OFD packet to send [21:32:38]OFD Sender: No OFD packet to send [21:32:43]OFD Sender: No OFD packet to send [21:32:48]OFD Sender: No OFD packet to send [21:32:53]OFD Sender: No OFD packet to send [21:32:58]OFD Sender: No OFD packet to send [21:33:03]OFD Sender: No OFD packet to send [21:33:08]OFD Sender: No OFD packet to send [21:33:13]OFD Sender: No OFD packet to send [21:33:18]OFD Sender: No OFD packet to send [21:33:23]OFD Sender: No OFD packet to send [21:33:28]OFD Sender: No OFD packet to send [21:33:33]OFD Sender: No OFD packet to send [21:33:38]OFD Sender: No OFD packet to send [21:33:43]OFD Sender: No OFD packet to send [21:33:48]OFD Sender: No OFD packet to send [21:33:53]OFD Sender: No OFD packet to send [21:33:58]OFD Sender: No OFD packet to send [21:34:03]OFD Sender: No OFD packet to send [21:34:08]OFD Sender: No OFD packet to send [21:34:13]OFD Sender: No OFD packet to send [21:34:18]OFD Sender: No OFD packet to send [21:34:23]OFD Sender: No OFD packet to send [21:34:28]OFD Sender: No OFD packet to send [21:34:33]OFD Sender: No OFD packet to send [21:34:38]OFD Sender: No OFD packet to send [21:34:43]OFD Sender: No OFD packet to send [21:34:48]OFD Sender: No OFD packet to send [21:34:53]OFD Sender: No OFD packet to send [21:34:58]OFD Sender: No OFD packet to send [21:35:03]OFD Sender: No OFD packet to send [21:35:08]OFD Sender: No OFD packet to send [21:35:13]OFD Sender: No OFD packet to send [21:35:18]OFD Sender: No OFD packet to send [21:35:23]OFD Sender: No OFD packet to send [21:35:28]OFD Sender: No OFD packet to send [21:35:33]OFD Sender: No OFD packet to send [21:35:38]OFD Sender: No OFD packet to send [21:35:43]OFD Sender: No OFD packet to send [21:35:48]OFD Sender: No OFD packet to send [21:35:53]OFD Sender: No OFD packet to send [21:35:58]OFD Sender: No OFD packet to send [21:36:03]OFD Sender: No OFD packet to send [21:36:08]OFD Sender: No OFD packet to send [21:36:13]OFD Sender: No OFD packet to send [21:36:18]OFD Sender: No OFD packet to send [21:36:23]OFD Sender: No OFD packet to send [21:36:28]OFD Sender: No OFD packet to send [21:36:33]OFD Sender: No OFD packet to send [21:36:38]OFD Sender: No OFD packet to send [21:36:43]OFD Sender: No OFD packet to send [21:36:48]OFD Sender: No OFD packet to send [21:36:53]OFD Sender: No OFD packet to send [21:36:58]OFD Sender: No OFD packet to send [21:37:03]OFD Sender: No OFD packet to send [21:37:08]OFD Sender: No OFD packet to send [21:37:13]OFD Sender: No OFD packet to send [21:37:18]OFD Sender: No OFD packet to send [21:37:23]OFD Sender: No OFD packet to send [21:37:28]OFD Sender: No OFD packet to send [21:37:33]OFD Sender: No OFD packet to send [21:37:38]OFD Sender: No OFD packet to send [21:37:43]OFD Sender: No OFD packet to send [21:37:48]OFD Sender: No OFD packet to send [21:37:53]OFD Sender: No OFD packet to send [21:37:58]OFD Sender: No OFD packet to send [21:38:03]OFD Sender: No OFD packet to send [21:38:08]OFD Sender: No OFD packet to send [21:38:13]OFD Sender: No OFD packet to send [21:38:18]OFD Sender: No OFD packet to send [21:38:23]OFD Sender: No OFD packet to send [21:38:28]OFD Sender: No OFD packet to send [21:38:34]OFD Sender: No OFD packet to send [21:38:39]OFD Sender: No OFD packet to send [21:38:44]OFD Sender: No OFD packet to send [21:38:49]OFD Sender: No OFD packet to send [21:38:54]OFD Sender: No OFD packet to send [21:38:59]OFD Sender: No OFD packet to send [21:39:04]OFD Sender: No OFD packet to send [21:39:09]OFD Sender: No OFD packet to send [21:39:14]OFD Sender: No OFD packet to send [21:39:19]OFD Sender: No OFD packet to send [21:39:24]OFD Sender: No OFD packet to send [21:39:29]OFD Sender: No OFD packet to send [21:39:34]OFD Sender: No OFD packet to send [21:39:39]OFD Sender: No OFD packet to send [21:39:44]OFD Sender: No OFD packet to send [21:39:49]OFD Sender: No OFD packet to send [21:39:54]OFD Sender: No OFD packet to send [21:39:59]OFD Sender: No OFD packet to send [21:40:04]OFD Sender: No OFD packet to send [21:40:09]OFD Sender: No OFD packet to send [21:40:14]OFD Sender: No OFD packet to send [21:40:19]OFD Sender: No OFD packet to send [21:40:24]OFD Sender: No OFD packet to send [21:40:29]OFD Sender: No OFD packet to send [21:40:34]OFD Sender: No OFD packet to send [21:40:39]OFD Sender: No OFD packet to send [21:40:44]OFD Sender: No OFD packet to send [21:40:49]OFD Sender: No OFD packet to send [21:40:54]OFD Sender: No OFD packet to send [21:40:59]OFD Sender: No OFD packet to send [21:41:04]OFD Sender: No OFD packet to send [21:41:09]OFD Sender: No OFD packet to send [21:41:14]OFD Sender: No OFD packet to send [21:41:19]OFD Sender: No OFD packet to send [21:41:24]OFD Sender: No OFD packet to send [21:41:29]OFD Sender: No OFD packet to send [21:41:34]OFD Sender: No OFD packet to send [21:41:39]OFD Sender: No OFD packet to send [21:41:44]OFD Sender: No OFD packet to send [21:41:49]OFD Sender: No OFD packet to send [21:41:54]OFD Sender: No OFD packet to send [21:41:59]OFD Sender: No OFD packet to send [21:42:04]OFD Sender: No OFD packet to send [21:42:09]OFD Sender: No OFD packet to send [21:42:14]OFD Sender: No OFD packet to send [21:42:19]OFD Sender: No OFD packet to send [21:42:24]OFD Sender: No OFD packet to send [21:42:29]OFD Sender: No OFD packet to send [21:42:34]OFD Sender: No OFD packet to send [21:42:39]OFD Sender: No OFD packet to send [21:42:44]OFD Sender: No OFD packet to send [21:42:49]OFD Sender: No OFD packet to send [21:42:54]OFD Sender: No OFD packet to send [21:42:59]OFD Sender: No OFD packet to send [21:43:04]OFD Sender: No OFD packet to send [21:43:09]OFD Sender: No OFD packet to send [21:43:14]OFD Sender: No OFD packet to send [21:43:19]OFD Sender: No OFD packet to send [21:43:24]OFD Sender: No OFD packet to send [21:43:29]OFD Sender: No OFD packet to send [21:43:34]OFD Sender: No OFD packet to send [21:43:39]OFD Sender: No OFD packet to send [21:43:44]OFD Sender: No OFD packet to send [21:43:49]OFD Sender: No OFD packet to send [21:43:54]OFD Sender: No OFD packet to send [21:43:59]OFD Sender: No OFD packet to send [21:44:04]OFD Sender: No OFD packet to send [21:44:09]OFD Sender: No OFD packet to send [21:44:14]OFD Sender: No OFD packet to send [21:44:19]OFD Sender: No OFD packet to send [21:44:24]OFD Sender: No OFD packet to send [21:44:29]OFD Sender: No OFD packet to send [21:44:34]OFD Sender: No OFD packet to send [21:44:39]OFD Sender: No OFD packet to send [21:44:44]OFD Sender: No OFD packet to send [21:44:49]OFD Sender: No OFD packet to send [21:44:54]OFD Sender: No OFD packet to send [21:44:59]OFD Sender: No OFD packet to send [21:45:04]OFD Sender: No OFD packet to send [21:45:09]OFD Sender: No OFD packet to send [21:45:14]OFD Sender: No OFD packet to send [21:45:19]OFD Sender: No OFD packet to send [21:45:24]OFD Sender: No OFD packet to send [21:45:29]OFD Sender: No OFD packet to send [21:45:34]OFD Sender: No OFD packet to send [21:45:39]OFD Sender: No OFD packet to send [21:45:44]OFD Sender: No OFD packet to send [21:45:49]OFD Sender: No OFD packet to send [21:45:54]OFD Sender: No OFD packet to send [21:45:59]OFD Sender: No OFD packet to send [21:46:04]OFD Sender: No OFD packet to send [21:46:09]OFD Sender: No OFD packet to send [21:46:14]OFD Sender: No OFD packet to send [21:46:19]OFD Sender: No OFD packet to send [21:46:24]OFD Sender: No OFD packet to send [21:46:29]OFD Sender: No OFD packet to send [21:46:34]OFD Sender: No OFD packet to send [21:46:39]OFD Sender: No OFD packet to send [21:46:44]OFD Sender: No OFD packet to send [21:46:49]OFD Sender: No OFD packet to send [21:46:54]OFD Sender: No OFD packet to send [21:46:59]OFD Sender: No OFD packet to send [21:47:04]OFD Sender: No OFD packet to send [21:47:09]OFD Sender: No OFD packet to send [21:47:14]OFD Sender: No OFD packet to send [21:47:19]OFD Sender: No OFD packet to send [21:47:24]OFD Sender: No OFD packet to send [21:47:29]OFD Sender: No OFD packet to send [21:47:34]OFD Sender: No OFD packet to send [21:47:39]OFD Sender: No OFD packet to send [21:47:44]OFD Sender: No OFD packet to send [21:47:49]OFD Sender: No OFD packet to send [21:47:54]OFD Sender: No OFD packet to send [21:47:59]OFD Sender: No OFD packet to send [21:48:04]OFD Sender: No OFD packet to send [21:48:09]OFD Sender: No OFD packet to send [21:48:14]OFD Sender: No OFD packet to send [21:48:19]OFD Sender: No OFD packet to send [21:48:24]OFD Sender: No OFD packet to send [21:48:29]OFD Sender: No OFD packet to send [21:48:34]OFD Sender: No OFD packet to send [21:48:39]OFD Sender: No OFD packet to send [21:48:44]OFD Sender: No OFD packet to send [21:48:49]OFD Sender: No OFD packet to send [21:48:54]OFD Sender: No OFD packet to send [21:48:59]OFD Sender: No OFD packet to send [21:49:04]OFD Sender: No OFD packet to send [21:49:09]OFD Sender: No OFD packet to send [21:49:14]OFD Sender: No OFD packet to send [21:49:19]OFD Sender: No OFD packet to send [21:49:24]OFD Sender: No OFD packet to send [21:49:29]OFD Sender: No OFD packet to send [21:49:34]OFD Sender: No OFD packet to send [21:49:39]OFD Sender: No OFD packet to send [21:49:44]OFD Sender: No OFD packet to send [21:49:49]OFD Sender: No OFD packet to send [21:49:54]OFD Sender: No OFD packet to send [21:49:59]OFD Sender: No OFD packet to send [21:50:04]OFD Sender: No OFD packet to send [21:50:09]OFD Sender: No OFD packet to send [21:50:14]OFD Sender: No OFD packet to send [21:50:19]OFD Sender: No OFD packet to send [21:50:24]OFD Sender: No OFD packet to send [21:50:29]OFD Sender: No OFD packet to send [21:50:34]OFD Sender: No OFD packet to send [21:50:39]OFD Sender: No OFD packet to send [21:50:44]OFD Sender: No OFD packet to send [21:50:49]OFD Sender: No OFD packet to send [21:50:54]OFD Sender: No OFD packet to send [21:50:59]OFD Sender: No OFD packet to send [21:51:04]OFD Sender: No OFD packet to send [21:51:09]OFD Sender: No OFD packet to send [21:51:14]OFD Sender: No OFD packet to send [21:51:19]OFD Sender: No OFD packet to send [21:51:24]OFD Sender: No OFD packet to send [21:51:29]OFD Sender: No OFD packet to send [21:51:34]OFD Sender: No OFD packet to send [21:51:39]OFD Sender: No OFD packet to send [21:51:44]OFD Sender: No OFD packet to send [21:51:49]OFD Sender: No OFD packet to send [21:51:54]OFD Sender: No OFD packet to send [21:51:59]OFD Sender: No OFD packet to send [21:52:04]OFD Sender: No OFD packet to send [21:52:09]OFD Sender: No OFD packet to send [21:52:14]OFD Sender: No OFD packet to send [21:52:19]OFD Sender: No OFD packet to send [21:52:24]OFD Sender: No OFD packet to send [21:52:29]OFD Sender: No OFD packet to send [21:52:34]OFD Sender: No OFD packet to send [21:52:39]OFD Sender: No OFD packet to send [21:52:44]OFD Sender: No OFD packet to send [21:52:49]OFD Sender: No OFD packet to send [21:52:54]OFD Sender: No OFD packet to send [21:52:59]OFD Sender: No OFD packet to send [21:53:04]OFD Sender: No OFD packet to send [21:53:09]OFD Sender: No OFD packet to send [21:53:14]OFD Sender: No OFD packet to send [21:53:19]OFD Sender: No OFD packet to send [21:53:24]OFD Sender: No OFD packet to send [21:53:29]OFD Sender: No OFD packet to send [21:53:34]OFD Sender: No OFD packet to send [21:53:39]OFD Sender: No OFD packet to send [21:53:44]OFD Sender: No OFD packet to send [21:53:49]OFD Sender: No OFD packet to send [21:53:54]OFD Sender: No OFD packet to send [21:53:59]OFD Sender: No OFD packet to send [21:54:04]OFD Sender: No OFD packet to send [21:54:09]OFD Sender: No OFD packet to send [21:54:14]OFD Sender: No OFD packet to send [21:54:19]OFD Sender: No OFD packet to send [21:54:24]OFD Sender: No OFD packet to send [21:54:29]OFD Sender: No OFD packet to send [21:54:34]OFD Sender: No OFD packet to send [21:54:39]OFD Sender: No OFD packet to send [21:54:44]OFD Sender: No OFD packet to send [21:54:49]OFD Sender: No OFD packet to send [21:54:54]OFD Sender: No OFD packet to send [21:54:59]OFD Sender: No OFD packet to send [21:55:04]OFD Sender: No OFD packet to send [21:55:09]OFD Sender: No OFD packet to send [21:55:14]OFD Sender: No OFD packet to send [21:55:19]OFD Sender: No OFD packet to send [21:55:24]OFD Sender: No OFD packet to send [21:55:29]OFD Sender: No OFD packet to send [21:55:34]OFD Sender: No OFD packet to send [21:55:39]OFD Sender: No OFD packet to send [21:55:44]OFD Sender: No OFD packet to send [21:55:49]OFD Sender: No OFD packet to send [21:55:54]OFD Sender: No OFD packet to send [21:55:59]OFD Sender: No OFD packet to send [21:56:04]OFD Sender: No OFD packet to send [21:56:09]OFD Sender: No OFD packet to send [21:56:14]OFD Sender: No OFD packet to send [21:56:19]OFD Sender: No OFD packet to send [21:56:24]OFD Sender: No OFD packet to send [21:56:29]OFD Sender: No OFD packet to send [21:56:34]OFD Sender: No OFD packet to send [21:56:39]OFD Sender: No OFD packet to send [21:56:44]OFD Sender: No OFD packet to send [21:56:49]OFD Sender: No OFD packet to send [21:56:54]OFD Sender: No OFD packet to send [21:56:59]OFD Sender: No OFD packet to send [21:57:04]OFD Sender: No OFD packet to send [21:57:09]OFD Sender: No OFD packet to send [21:57:14]OFD Sender: No OFD packet to send [21:57:19]OFD Sender: No OFD packet to send [21:57:24]OFD Sender: No OFD packet to send [21:57:29]OFD Sender: No OFD packet to send [21:57:34]OFD Sender: No OFD packet to send [21:57:39]OFD Sender: No OFD packet to send [21:57:44]OFD Sender: No OFD packet to send [21:57:49]OFD Sender: No OFD packet to send [21:57:54]OFD Sender: No OFD packet to send [21:57:59]OFD Sender: No OFD packet to send [21:58:04]OFD Sender: No OFD packet to send [21:58:09]OFD Sender: No OFD packet to send [21:58:14]OFD Sender: No OFD packet to send [21:58:19]OFD Sender: No OFD packet to send [21:58:24]OFD Sender: No OFD packet to send [21:58:29]OFD Sender: No OFD packet to send [21:58:34]OFD Sender: No OFD packet to send [21:58:39]OFD Sender: No OFD packet to send [21:58:44]OFD Sender: No OFD packet to send [21:58:49]OFD Sender: No OFD packet to send [21:58:54]OFD Sender: No OFD packet to send [21:58:59]OFD Sender: No OFD packet to send [21:59:04]OFD Sender: No OFD packet to send [21:59:09]OFD Sender: No OFD packet to send [21:59:14]OFD Sender: No OFD packet to send [21:59:19]OFD Sender: No OFD packet to send [21:59:24]OFD Sender: No OFD packet to send [21:59:29]OFD Sender: No OFD packet to send [21:59:34]OFD Sender: No OFD packet to send [21:59:39]OFD Sender: No OFD packet to send [21:59:44]OFD Sender: No OFD packet to send [21:59:49]OFD Sender: No OFD packet to send [21:59:54]OFD Sender: No OFD packet to send [22:00:00]OFD Sender: No OFD packet to send [22:00:05]OFD Sender: No OFD packet to send [22:00:10]OFD Sender: No OFD packet to send [22:00:15]OFD Sender: No OFD packet to send [22:00:20]OFD Sender: No OFD packet to send [22:00:25]OFD Sender: No OFD packet to send [22:00:30]OFD Sender: No OFD packet to send [22:00:35]OFD Sender: No OFD packet to send [22:00:40]OFD Sender: No OFD packet to send [22:00:45]OFD Sender: No OFD packet to send [22:00:50]OFD Sender: No OFD packet to send [22:00:55]OFD Sender: No OFD packet to send [22:01:00]OFD Sender: No OFD packet to send [22:01:05]OFD Sender: No OFD packet to send [22:01:10]OFD Sender: No OFD packet to send [22:01:15]OFD Sender: No OFD packet to send [22:01:20]OFD Sender: No OFD packet to send [22:01:25]OFD Sender: No OFD packet to send [22:01:30]OFD Sender: No OFD packet to send [22:01:35]OFD Sender: No OFD packet to send [22:01:40]OFD Sender: No OFD packet to send [22:01:45]OFD Sender: No OFD packet to send [22:01:50]OFD Sender: No OFD packet to send [22:01:55]OFD Sender: No OFD packet to send [22:02:00]OFD Sender: No OFD packet to send [22:02:05]OFD Sender: No OFD packet to send [22:02:10]OFD Sender: No OFD packet to send [22:02:15]OFD Sender: No OFD packet to send [22:02:20]OFD Sender: No OFD packet to send [22:02:25]OFD Sender: No OFD packet to send [22:02:30]OFD Sender: No OFD packet to send [22:02:35]OFD Sender: No OFD packet to send [22:02:40]OFD Sender: No OFD packet to send [22:02:45]OFD Sender: No OFD packet to send [22:02:50]OFD Sender: No OFD packet to send [22:02:55]OFD Sender: No OFD packet to send [22:03:00]OFD Sender: No OFD packet to send [22:03:05]OFD Sender: No OFD packet to send [22:03:10]OFD Sender: No OFD packet to send [22:03:15]OFD Sender: No OFD packet to send [22:03:20]OFD Sender: No OFD packet to send [22:03:25]OFD Sender: No OFD packet to send [22:03:30]OFD Sender: No OFD packet to send [22:03:35]OFD Sender: No OFD packet to send [22:03:40]OFD Sender: No OFD packet to send [22:03:45]OFD Sender: No OFD packet to send [22:03:50]OFD Sender: No OFD packet to send [22:03:55]OFD Sender: No OFD packet to send [22:04:00]OFD Sender: No OFD packet to send [22:04:05]OFD Sender: No OFD packet to send [22:04:10]OFD Sender: No OFD packet to send [22:04:15]OFD Sender: No OFD packet to send [22:04:20]OFD Sender: No OFD packet to send [22:04:25]OFD Sender: No OFD packet to send [22:04:30]OFD Sender: No OFD packet to send [22:04:35]OFD Sender: No OFD packet to send [22:04:40]OFD Sender: No OFD packet to send [22:04:45]OFD Sender: No OFD packet to send [22:04:50]OFD Sender: No OFD packet to send [22:04:55]OFD Sender: No OFD packet to send [22:05:00]OFD Sender: No OFD packet to send [22:05:05]OFD Sender: No OFD packet to send [22:05:10]OFD Sender: No OFD packet to send [22:05:15]OFD Sender: No OFD packet to send [22:05:20]OFD Sender: No OFD packet to send [22:05:25]OFD Sender: No OFD packet to send [22:05:30]OFD Sender: No OFD packet to send [22:05:35]OFD Sender: No OFD packet to send [22:05:40]OFD Sender: No OFD packet to send [22:05:45]OFD Sender: No OFD packet to send [22:05:50]OFD Sender: No OFD packet to send [22:05:54]accept exits with 9 [22:05:54]New connection [22:05:54]New thread 3067264356 created [22:05:54]Thread 3067120996 joined [22:05:54]Waiting for new connection... [22:05:54] Sock 9.Parse request [22:05:54]Sock 9.Check first char [22:05:54]Sock 9.First char is OK [22:05:54]request: POST /json_proto HTTP/1.0 [22:05:54]Method: POST [22:05:54]URL: /json_proto [22:05:54]Method is POST - this is cgi request [22:05:54]url: /json_proto [22:05:54]query_string will be loaded in cgi processing [22:05:54]execute_cgi json_proto POST (null) [22:05:54]execute_cgi path=json_proto method=POST [22:05:54]POST find Content-Length [22:05:54]Host: 172.17.62.6:8080 [22:05:54]Content-Length: 646 [22:05:54]Content-Type: application/json [22:05:54] [22:05:54]POST finish read [22:05:54]Found Content-Length = 646 [22:05:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32811", "tax_sys" : 0, "items" : [ { "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 220.00, "quantity" : 1.000, "sum" : 220.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 220.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:05:54]execute_script... [22:05: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)32811", "tax_sys" : 0, "items" : [ { "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 220.00, "quantity" : 1.000, "sum" : 220.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 220.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:05:54]POST & json_proto [22:05:54]process_json_proto [22:05:54]json parsed OK: [22:05:54]protocol is kg_v1.0 [22:05:54]action value=close_receipt [22:05:54]process_action close_receipt [22:05:54]cmd_close_receipt [22:05:54]MH_GetDate [22:05:54]Write to MH i2c: F0 00 00 56 02 47 [22:05:54]Write i2c OK [22:05:54]MH_I2C_Read... [22:05:54]Read from MH i2c: F0 [22:05:54]MH_I2C_Read... [22:05:54]Read from MH i2c: F0 09 00 [22:05:54]MH_I2C_Read... [22:05:54]Read from MH i2c: F0 09 00 56 02 00 C3 EA 22 66 61 69 D2 64 85 [22:05:54]GetLastDocTimeStamp 1713560629 [22:05:54]current date 1713564355 [22:05:54]FM_GetShiftState [22:05:54]SAM_PROTO_GetShiftState [22:05:54]wFMCommunicate request_size=4 [22:05:54]MH_SAM_APDU [22:05:54]CAPDU: 80 13 01 00 [22:05:54]Write to MH i2c: E2 08 00 57 02 80 13 01 00 00 00 00 00 D6 [22:05:54]Write i2c OK [22:05:54]MH_I2C_Read... [22:05:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:05:54]Read from MH i2c: E2 [22:05:54]MH_I2C_Read... [22:05:54]Read from MH i2c: E2 0E 00 [22:05:54]MH_I2C_Read... [22:05:54]Read from MH i2c: E2 0E 00 57 02 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 CC [22:05:54]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [22:05:54]wFMCommunicate OK [22:05:54]SAM_PROTO_GetShiftState done [22:05:54]FM_GetShiftState done [22:05:54]opened in 1713485995 [22:05:54]opened+sec_in_day 1713572395 [22:05:54]quantity*price = 22000 [22:05:54]sum+1 = 22001 [22:05:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 220.00 НСП 1% : 1.95 НДС 12% : 23.36 Наличными: 220.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 39 19.04.2024 22:05 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12537 ФПД: 126125072848529 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T220555&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12537&fm=126125072848529&tin=02508201610067®Number=0000000000100748&sum=22000 0 [22:05:55]StoreToDocumentArchive [22:05:55]shift 279 fd 12537 [22:05:55]save to /storage/0279/doc_00012537 [22:05:55]save last doc name /storage/0279/doc_00012537 to /storage/kkm_last_doc_name [22:05:55]save OK [22:05:55]Clear old archive folders... [22:05:55]ProcessDocumentItem done err = 0, tmpTLVsize=279 [22:05:55]tlvbuf is 01FC7970 [22:05:55]SAM_PROTO_ClearQueue [22:05:55]wFMCommunicate request_size=4 [22:05:55]MH_SAM_APDU [22:05:55]CAPDU: 80 09 00 00 [22:05:55]Write to MH i2c: E2 08 00 64 02 80 09 00 00 00 00 00 00 D8 [22:05:55]Write i2c OK [22:05:55]MH_I2C_Read... [22:05:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:05:55]Read from MH i2c: E2 [22:05:55]MH_I2C_Read... [22:05:55]Read from MH i2c: E2 03 00 [22:05:55]MH_I2C_Read... [22:05:55]Read from MH i2c: E2 03 00 64 02 00 90 00 DA [22:05:55]RAPDU: 90 00 [22:05:55]wFMCommunicate OK [22:05:55]SAM_PROTO_ClearQueue done [22:05:55]KKMCreateOFDPacket [22:05:55]OFDProtocolAddRootSTLVToBuf [22:05:55]FM_MakeSignedData [22:05:55]FM_MakeSignedData [22:05:55]SAM_PROTO_SignData [22:05:55]wFMCommunicate request_size=4 [22:05:55]MH_SAM_APDU [22:05:55]CAPDU: 80 0D 01 02 [22:05:55]Write to MH i2c: E2 08 00 65 02 80 0D 01 02 00 00 00 00 E0 [22:05:55]Write i2c OK [22:05:55]MH_I2C_Read... [22:05:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:05:55]Read from MH i2c: E2 [22:05:55]MH_I2C_Read... [22:05:55]Read from MH i2c: E2 03 00 [22:05:55]MH_I2C_Read... [22:05:55]Read from MH i2c: E2 03 00 65 02 00 90 00 DB [22:05:55]RAPDU: 90 00 [22:05:55]wFMCommunicate OK [22:05:55]wFMCommunicate request_size=255 [22:05:55]MH_SAM_APDU [22:05:55]CAPDU: 80 0D 02 02 FA 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 55 00 00 00 00 13 04 06 00 F0 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 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 C3 EA 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 [22:05:55]Write to MH i2c: E2 02 01 66 02 80 0D 02 02 FA 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 55 00 00 00 00 13 04 06 00 F0 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 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 C3 EA 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 00 00 20 [22:05:55]Write i2c OK [22:05:55]MH_I2C_Read... [22:05:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:05:55]Read from MH i2c: E2 [22:05:55]MH_I2C_Read... [22:05:55]Read from MH i2c: E2 03 00 [22:05:55]MH_I2C_Read... [22:05:55]Read from MH i2c: E2 03 00 66 02 00 90 00 DC [22:05:55]RAPDU: 90 00 [22:05:55]wFMCommunicate OK [22:05:55]wFMCommunicate request_size=38 [22:05:55]MH_SAM_APDU [22:05:55]CAPDU: 80 0D 02 02 21 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F9 30 00 00 35 04 06 00 72 B5 C8 2A 16 91 [22:05:55]Write to MH i2c: E2 29 00 67 02 80 0D 02 02 21 00 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F9 30 00 00 35 04 06 00 72 B5 C8 2A 16 91 00 00 5C [22:05:55]Write i2c OK [22:05:55]MH_I2C_Read... [22:05:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:05:55]Read from MH i2c: E2 [22:05:55]MH_I2C_Read... [22:05:55]Read from MH i2c: E2 03 00 [22:05:55]MH_I2C_Read... [22:05:55]Read from MH i2c: E2 03 00 67 02 00 90 00 DD [22:05:55]RAPDU: 90 00 [22:05:55]wFMCommunicate OK [22:05:55]wFMCommunicate request_size=4 [22:05:55]MH_SAM_APDU [22:05:55]CAPDU: 80 0D 03 02 [22:05:55]Write to MH i2c: E2 08 00 68 02 80 0D 03 02 00 00 00 00 E5 [22:05:55]Write i2c OK [22:05:55]MH_I2C_Read... [22:05:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:05:56]Read from MH i2c: E2 [22:05:56]MH_I2C_Read... [22:05:56]Read from MH i2c: E2 0B 00 [22:05:56]MH_I2C_Read... [22:05:56]Read from MH i2c: E2 0B 00 68 02 00 62 35 AB 67 A1 01 C6 FB 90 00 F2 [22:05:56]RAPDU: 62 35 AB 67 A1 01 C6 FB 90 00 [22:05:56]wFMCommunicate OK [22:05:56]SAM_PROTO_SignData done [22:05:56]FM_MakeSignedData done [22:05:56]CreateOFDProtocolMessage [22:05:56]wFMCommunicate request_size=4 [22:05:56]MH_SAM_APDU [22:05:56]CAPDU: 80 11 00 00 [22:05:56]Write to MH i2c: E2 08 00 69 02 80 11 00 00 00 00 00 00 E5 [22:05:56]Write i2c OK [22:05:56]MH_I2C_Read... [22:05:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:05:56]Read from MH i2c: E2 [22:05:56]MH_I2C_Read... [22:05:56]Read from MH i2c: E2 17 00 [22:05:56]MH_I2C_Read... [22:05:56]Read from MH i2c: E2 17 00 69 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 3F [22:05:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:05:56]wFMCommunicate OK [22:05:56]CreateOFDProtocolMessage done [22:05:56]OFDSenderStorePacket 12537 [22:05:56]StoreOFDPacket docnum=12537 [22:05:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2B 01 00 00 CB 5C 23 01 F4 33 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 55 00 00 00 00 13 04 06 00 F0 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 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 C3 EA 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F9 30 00 00 35 04 06 00 72 B5 C8 2A 16 91 62 35 AB 67 A1 01 C6 FB [22:05:56]CheckFolder [22:05:56]dirname=/storage/ofd_packets [22:05:56]CheckFolder done [22:05:56]ProducePacketName [22:05:56]name=ofd_packets/00012537 [22:05:56]NVStorageSaveData ofd_packets/00012537 [22:05:56]File name is /storage/ofd_packets/00012537 [22:05:56]Write 329 bytes [22:05:56]NVStorageSaveData done [22:05:56]OFDSenderStorePacket done [22:05:56]KKMCreateOFDPacket done [22:05:56]NVStorageSaveData kkm_last_timestamp [22:05:56]File name is /storage/kkm_last_timestamp [22:05:56]Write 4 bytes [22:05:56]NVStorageSaveData done [22:05:56]ExternCall_PrintAddStr [22:05:56]wPrintStart [22:05:56]Write to MH i2c: 01 00 00 6A 02 6C [22:05:56]Write i2c OK [22:05:56]MH_I2C_Read... [22:05:56]Read from MH i2c: 01 [22:05:56]MH_I2C_Read... [22:05:56]Read from MH i2c: 01 07 00 [22:05:56]MH_I2C_Read... [22:05:56]Read from MH i2c: 01 07 00 6A 02 00 00 00 00 00 FF 0F 81 [22:05:56]RasterBufferAndPrint [22:05:56]line Счет N : (3)32811 [22:05:56]line ИНН: 02508201610067 [22:05:56]line Контрольно-Кассовый Чек [22:05:56]line ПРОДАЖА [22:05:56]line Товар: 90448300 [22:05:56]line Энерг напиток Red Bull 0,355л [22:05:56]line 1.000 * 220.00 [22:05:56]line = 220.00 [22:05:56]line НДС 12% НСП 1% [22:05:56]line > о реализуемом товаре [22:05:56]line ИТОГО: 220.00 [22:05:56]line НСП 1% : 1.95 [22:05:56]line НДС 12% : 23.36 [22:05:56]line Наличными: 220.00 [22:05:56]line Безнал.: 0.00 [22:05:56]line Место: АЗС № 106 "Партнер Нефть" [22:05:56]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [22:05:56]line СНО: Общий режим [22:05:56]line Чек 39 19.04.2024 22:05 [22:05:56]line Смена: 279 ФФД: 1.0 [22:05:56]line ЗНМ: 0300000004 [22:05:56]line РНМ: 0000000000100748 [22:05:56]line Версия ККМ: 001 [22:05:56]line ФМ: 0000000000965685 [22:05:56]line ФД: 12537 [22:05:56]line ФПД: 126125072848529 [22:05:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T220555&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12537&fm=126125072848529&tin=02508201610067®Number=0000000000100748&sum=22000 [22:05:56]line 0 [22:05:56]OFD Sender: Processing packet 12537 [packets to send 7, broken 6] [22:05:56]ProducePacketName [22:05:56]name=ofd_packets/00012537 [22:05:56]OFD Sender: To server: pG, [22:05:56]CommunicateWithHost lk.salyk.kg:30040 [22:05:56]ConnectInit lk.salyk.kg [22:05:56]written 0, free lines is 4095 [22:05:56]Connected sock=7 [22:05:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2B 01 00 00 CB 5C 23 01 F4 33 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F0 55 00 00 00 00 13 04 06 00 F0 55 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 55 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 09 00 00 00 00 07 04 06 00 F0 55 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 C3 EA 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F9 30 00 00 35 04 06 00 72 B5 C8 2A 16 91 62 35 AB 67 A1 01 C6 FB [22:05:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 0C 98 47 00 BE 2D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 F9 30 00 00 F4 03 04 00 49 93 22 66 B6 04 01 00 00 D2 E1 5E 16 D0 32 77 1E [22:05:56]CommunicateWithHost err = 0 [22:05:56]CheckOFDResponse [22:05:56]1017 (14) - 77093643461234 [22:05:56]1041 (16) - 0000000000965685 [22:05:56]1040 (4) - 12537 [22:05:56]1012 (4) - 19.04.2024 15:52 [22:05:56]1206 (1) - 0 [22:05:56]OFD Sender: Remove packet 12537 [22:05:56]ProducePacketName [22:05:56]name=ofd_packets/00012537 [22:05:56]NVStorageDeleteData [22:05:56]Write to MH i2c: 01 00 00 91 02 93 [22:05:56]Write i2c OK [22:05:56]MH_I2C_Read... [22:05:56]Read from MH i2c: 01 [22:05:56]MH_I2C_Read... [22:05:56]Read from MH i2c: 01 07 00 [22:05:56]MH_I2C_Read... [22:05:56]Read from MH i2c: 01 07 00 91 02 00 00 00 00 00 1C 0D C3 [22:05:56]RasterBufferAndPrint [22:05:56]line [22:05:56]line [22:05:56]line [22:05:56]line [22:05:56]line [22:05:56]written 0, free lines is 3362 [22:05:56]MH_Cut [22:05:56]Write to MH i2c: D1 01 00 98 02 01 6C [22:05:56]Write i2c OK [22:05:56]MH_I2C_Read... [22:05:56]Read from MH i2c: D1 [22:05:56]MH_I2C_Read... [22:05:56]Read from MH i2c: D1 01 00 [22:05:56]MH_I2C_Read... [22:05:56]Read from MH i2c: D1 01 00 98 02 00 6B [22:05:56]Write to MH i2c: 01 00 00 99 02 9B [22:05:56]Write i2c OK [22:05:56]MH_I2C_Read... [22:05:57]OFD Sender: No OFD packet to send [22:05:57]*** Cut start [22:05:57]*** Partial cut [22:05:57]*** CUTSNS_PIN = 1 [22:05:57]*** CUTSNS_PIN = 0 [22:05:57]*** Brake cut motor [22:05:58]Read from MH i2c: 01 [22:05:58]MH_I2C_Read... [22:05:58]*** Stop cut motor [22:05:58]*** Cut end [22:05:58]Read from MH i2c: 01 07 00 [22:05:58]MH_I2C_Read... [22:05:58]Read from MH i2c: 01 07 00 99 02 00 00 00 00 00 FF 0F B0 [22:05:58]process_action close_receipt done [22:05:58]requested_data is exist [22:05:58]produce_requested_data [22:05:58]requested_item fm.sn is exist - process it [22:05:58]wFMCommunicate request_size=4 [22:05:58]MH_SAM_APDU [22:05:58]CAPDU: 80 11 00 00 [22:05:58]Write to MH i2c: E2 08 00 9A 02 80 11 00 00 00 00 00 00 16 [22:05:58]Write i2c OK [22:05:58]MH_I2C_Read... [22:05:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:05:58]Read from MH i2c: E2 [22:05:58]MH_I2C_Read... [22:05:58]Read from MH i2c: E2 17 00 [22:05:58]MH_I2C_Read... [22:05:58]Read from MH i2c: E2 17 00 9A 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 70 [22:05:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:05:58]wFMCommunicate OK [22:05:58]requested_item fd.num is exist - process it [22:05:58]SAM_PROTO_GetFieldsCounters [22:05:58]wFMCommunicate request_size=4 [22:05:58]MH_SAM_APDU [22:05:58]CAPDU: 80 13 00 00 [22:05:58]Write to MH i2c: E2 08 00 9B 02 80 13 00 00 00 00 00 00 19 [22:05:58]Write i2c OK [22:05:58]MH_I2C_Read... [22:05:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:05:58]Read from MH i2c: E2 [22:05:58]MH_I2C_Read... [22:05:58]Read from MH i2c: E2 62 00 [22:05:58]MH_I2C_Read... [22:05:58]Read from MH i2c: E2 62 00 9B 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 F9 30 00 00 0E 04 04 00 17 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 F2 [22:05:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 F9 30 00 00 0E 04 04 00 17 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 [22:05:58]wFMCommunicate OK [22:05:58]SAM_PROTO_GetFieldsCounters done [22:05:58]requested_item shift.num is exist - process it [22:05:58]requested_item shift.opened is exist - process it [22:05:58]req_shift_opened [22:05:58]FM_GetShiftState [22:05:58]SAM_PROTO_GetShiftState [22:05:58]wFMCommunicate request_size=4 [22:05:58]MH_SAM_APDU [22:05:58]CAPDU: 80 13 01 00 [22:05:58]Write to MH i2c: E2 08 00 9C 02 80 13 01 00 00 00 00 00 1B [22:05:58]Write i2c OK [22:05:58]MH_I2C_Read... [22:05:58]Read from MH i2c: E2 [22:05:58]MH_I2C_Read... [22:05:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:05:58]Read from MH i2c: E2 0E 00 [22:05:58]MH_I2C_Read... [22:05:58]Read from MH i2c: E2 0E 00 9C 02 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 11 [22:05:58]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [22:05:58]wFMCommunicate OK [22:05:58]SAM_PROTO_GetShiftState done [22:05:58]FM_GetShiftState done [22:05:58]req_shift_opened done [22:05:58]requested_item shift.open_date is exist - process it [22:05:58]req_shift_open_date [22:05:58]req_shift_open_date done [22:05:58]produce_requested_data done [22:05:58]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12537,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [22:05:58]process_action_free close_receipt [22:05:58]json_value_free [22:05:58]json_value_free done [22:05:58]process_json_proto returns [22:05:58]Send response to host [22:05:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12537,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [22:05:58]free response buf [22:05:58]execute_script done [22:05:58]execute_script returns [22:05:58]free content buf [22:05:58]Sock 9.Close socket [22:05:58]Sock 9.Thread stoped [22:06:02]OFD Sender: No OFD packet to send [22:06:07]OFD Sender: No OFD packet to send [22:06:12]OFD Sender: No OFD packet to send [22:06:17]OFD Sender: No OFD packet to send [22:06:22]OFD Sender: No OFD packet to send [22:06:27]OFD Sender: No OFD packet to send [22:06:32]OFD Sender: No OFD packet to send [22:06:37]OFD Sender: No OFD packet to send [22:06:42]OFD Sender: No OFD packet to send [22:06:47]OFD Sender: No OFD packet to send [22:06:52]OFD Sender: No OFD packet to send [22:06:57]OFD Sender: No OFD packet to send [22:07:02]OFD Sender: No OFD packet to send [22:07:07]OFD Sender: No OFD packet to send [22:07:12]OFD Sender: No OFD packet to send [22:07:17]OFD Sender: No OFD packet to send [22:07:22]OFD Sender: No OFD packet to send [22:07:27]OFD Sender: No OFD packet to send [22:07:32]OFD Sender: No OFD packet to send [22:07:37]OFD Sender: No OFD packet to send [22:07:42]OFD Sender: No OFD packet to send [22:07:47]OFD Sender: No OFD packet to send [22:07:52]OFD Sender: No OFD packet to send [22:07:57]OFD Sender: No OFD packet to send [22:08:02]OFD Sender: No OFD packet to send [22:08:07]OFD Sender: No OFD packet to send [22:08:12]OFD Sender: No OFD packet to send [22:08:17]OFD Sender: No OFD packet to send [22:08:22]OFD Sender: No OFD packet to send [22:08:27]OFD Sender: No OFD packet to send [22:08:32]OFD Sender: No OFD packet to send [22:08:37]OFD Sender: No OFD packet to send [22:08:42]OFD Sender: No OFD packet to send [22:08:47]OFD Sender: No OFD packet to send [22:08:52]OFD Sender: No OFD packet to send [22:08:57]OFD Sender: No OFD packet to send [22:09:02]OFD Sender: No OFD packet to send [22:09:07]OFD Sender: No OFD packet to send [22:09:12]OFD Sender: No OFD packet to send [22:09:17]OFD Sender: No OFD packet to send [22:09:22]OFD Sender: No OFD packet to send [22:09:27]OFD Sender: No OFD packet to send [22:09:32]OFD Sender: No OFD packet to send [22:09:37]OFD Sender: No OFD packet to send [22:09:42]OFD Sender: No OFD packet to send [22:09:47]OFD Sender: No OFD packet to send [22:09:52]OFD Sender: No OFD packet to send [22:09:57]OFD Sender: No OFD packet to send [22:10:02]OFD Sender: No OFD packet to send [22:10:07]OFD Sender: No OFD packet to send [22:10:12]OFD Sender: No OFD packet to send [22:10:17]OFD Sender: No OFD packet to send [22:10:22]OFD Sender: No OFD packet to send [22:10:27]OFD Sender: No OFD packet to send [22:10:32]OFD Sender: No OFD packet to send [22:10:37]OFD Sender: No OFD packet to send [22:10:42]OFD Sender: No OFD packet to send [22:10:47]OFD Sender: No OFD packet to send [22:10:52]OFD Sender: No OFD packet to send [22:10:57]OFD Sender: No OFD packet to send [22:11:02]OFD Sender: No OFD packet to send [22:11:07]OFD Sender: No OFD packet to send [22:11:12]OFD Sender: No OFD packet to send [22:11:17]OFD Sender: No OFD packet to send [22:11:22]OFD Sender: No OFD packet to send [22:11:27]OFD Sender: No OFD packet to send [22:11:32]OFD Sender: No OFD packet to send [22:11:37]OFD Sender: No OFD packet to send [22:11:42]OFD Sender: No OFD packet to send [22:11:47]OFD Sender: No OFD packet to send [22:11:52]OFD Sender: No OFD packet to send [22:11:57]OFD Sender: No OFD packet to send [22:12:02]OFD Sender: No OFD packet to send [22:12:07]OFD Sender: No OFD packet to send [22:12:12]OFD Sender: No OFD packet to send [22:12:17]OFD Sender: No OFD packet to send [22:12:22]OFD Sender: No OFD packet to send [22:12:27]OFD Sender: No OFD packet to send [22:12:32]OFD Sender: No OFD packet to send [22:12:37]OFD Sender: No OFD packet to send [22:12:42]OFD Sender: No OFD packet to send [22:12:47]OFD Sender: No OFD packet to send [22:12:52]OFD Sender: No OFD packet to send [22:12:57]OFD Sender: No OFD packet to send [22:13:02]OFD Sender: No OFD packet to send [22:13:07]OFD Sender: No OFD packet to send [22:13:12]OFD Sender: No OFD packet to send [22:13:17]OFD Sender: No OFD packet to send [22:13:22]OFD Sender: No OFD packet to send [22:13:27]OFD Sender: No OFD packet to send [22:13:32]OFD Sender: No OFD packet to send [22:13:37]OFD Sender: No OFD packet to send [22:13:42]OFD Sender: No OFD packet to send [22:13:47]OFD Sender: No OFD packet to send [22:13:52]OFD Sender: No OFD packet to send [22:13:57]OFD Sender: No OFD packet to send [22:14:02]OFD Sender: No OFD packet to send [22:14:07]OFD Sender: No OFD packet to send [22:14:12]OFD Sender: No OFD packet to send [22:14:17]OFD Sender: No OFD packet to send [22:14:22]OFD Sender: No OFD packet to send [22:14:27]OFD Sender: No OFD packet to send [22:14:32]OFD Sender: No OFD packet to send [22:14:37]OFD Sender: No OFD packet to send [22:14:42]OFD Sender: No OFD packet to send [22:14:47]OFD Sender: No OFD packet to send [22:14:52]OFD Sender: No OFD packet to send [22:14:57]OFD Sender: No OFD packet to send [22:15:02]OFD Sender: No OFD packet to send [22:15:07]OFD Sender: No OFD packet to send [22:15:12]OFD Sender: No OFD packet to send [22:15:17]OFD Sender: No OFD packet to send [22:15:22]OFD Sender: No OFD packet to send [22:15:27]OFD Sender: No OFD packet to send [22:15:32]OFD Sender: No OFD packet to send [22:15:37]OFD Sender: No OFD packet to send [22:15:42]OFD Sender: No OFD packet to send [22:15:47]OFD Sender: No OFD packet to send [22:15:52]OFD Sender: No OFD packet to send [22:15:57]OFD Sender: No OFD packet to send [22:16:02]accept exits with 10 [22:16:02]New connection [22:16:02]New thread 3067120996 created [22:16:02]Thread 3067264356 joined [22:16:02]Waiting for new connection... [22:16:02] Sock 10.Parse request [22:16:02]Sock 10.Check first char [22:16:02]Sock 10.First char is OK [22:16:02]request: POST /json_proto HTTP/1.0 [22:16:02]Method: POST [22:16:02]URL: /json_proto [22:16:02]Method is POST - this is cgi request [22:16:02]url: /json_proto [22:16:02]query_string will be loaded in cgi processing [22:16:02]execute_cgi json_proto POST (null) [22:16:02]execute_cgi path=json_proto method=POST [22:16:02]POST find Content-Length [22:16:02]Host: 172.17.62.6:8080 [22:16:02]Content-Length: 914 [22:16:02]Content-Type: application/json [22:16:02] [22:16:02]POST finish read [22:16:02]Found Content-Length = 914 [22:16:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32812", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46214621", "name": "\u0420/\u0436 mentos \u0442\u0443\u0442\u0442\u0438-\u0444\u0440\u0443\u0442\u0442\u0438 \u0440\u043E\u043B\u043B 16\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" : 179.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:16:02]execute_script... [22:16: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)32812", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46214621", "name": "\u0420/\u0436 mentos \u0442\u0443\u0442\u0442\u0438-\u0444\u0440\u0443\u0442\u0442\u0438 \u0440\u043E\u043B\u043B 16\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" : 179.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:16:02]POST & json_proto [22:16:02]process_json_proto [22:16:02]json parsed OK: [22:16:02]protocol is kg_v1.0 [22:16:02]action value=close_receipt [22:16:02]process_action close_receipt [22:16:02]cmd_close_receipt [22:16:02]MH_GetDate [22:16:02]Write to MH i2c: F0 00 00 9D 02 8E [22:16:02]Write i2c OK [22:16:02]MH_I2C_Read... [22:16:02]Read from MH i2c: F0 [22:16:02]MH_I2C_Read... [22:16:02]Read from MH i2c: F0 09 00 [22:16:02]MH_I2C_Read... [22:16:02]Read from MH i2c: F0 09 00 9D 02 00 23 ED 22 66 61 69 D2 64 2F [22:16:02]GetLastDocTimeStamp 1713564355 [22:16:02]current date 1713564963 [22:16:02]FM_GetShiftState [22:16:02]SAM_PROTO_GetShiftState [22:16:02]wFMCommunicate request_size=4 [22:16:02]MH_SAM_APDU [22:16:02]CAPDU: 80 13 01 00 [22:16:02]Write to MH i2c: E2 08 00 9E 02 80 13 01 00 00 00 00 00 1D [22:16:02]Write i2c OK [22:16:02]MH_I2C_Read... [22:16:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:16:02]Read from MH i2c: E2 [22:16:02]MH_I2C_Read... [22:16:02]Read from MH i2c: E2 0E 00 [22:16:02]MH_I2C_Read... [22:16:02]Read from MH i2c: E2 0E 00 9E 02 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 13 [22:16:02]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [22:16:02]wFMCommunicate OK [22:16:02]SAM_PROTO_GetShiftState done [22:16:02]FM_GetShiftState done [22:16:02]opened in 1713485995 [22:16:02]opened+sec_in_day 1713572395 [22:16:02]quantity*price = 13000 [22:16:02]sum+1 = 13001 [22:16:02]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46214621 Р/ж mentos тутти-фрутти ролл 16г 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 179.00 НСП 1% : 1.58 НДС 12% : 19.00 Наличными: 179.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 40 19.04.2024 22:16 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12538 ФПД: 276560251992763 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T221603&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12538&fm=276560251992763&tin=02508201610067®Number=0000000000100748&sum=17900 0 [22:16:03]StoreToDocumentArchive [22:16:03]shift 279 fd 12538 [22:16:03]save to /storage/0279/doc_00012538 [22:16:03]save last doc name /storage/0279/doc_00012538 to /storage/kkm_last_doc_name [22:16:03]save OK [22:16:03]Clear old archive folders... [22:16:03]ProcessDocumentItem done err = 0, tmpTLVsize=395 [22:16:03]tlvbuf is 01FD7DF0 [22:16:03]SAM_PROTO_ClearQueue [22:16:03]wFMCommunicate request_size=4 [22:16:03]MH_SAM_APDU [22:16:03]CAPDU: 80 09 00 00 [22:16:03]Write to MH i2c: E2 08 00 AB 02 80 09 00 00 00 00 00 00 1F [22:16:03]Write i2c OK [22:16:03]MH_I2C_Read... [22:16:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:16:03]Read from MH i2c: E2 [22:16:03]MH_I2C_Read... [22:16:03]Read from MH i2c: E2 03 00 [22:16:03]MH_I2C_Read... [22:16:03]Read from MH i2c: E2 03 00 AB 02 00 90 00 21 [22:16:03]RAPDU: 90 00 [22:16:03]wFMCommunicate OK [22:16:03]SAM_PROTO_ClearQueue done [22:16:03]KKMCreateOFDPacket [22:16:03]OFDProtocolAddRootSTLVToBuf [22:16:03]FM_MakeSignedData [22:16:03]FM_MakeSignedData [22:16:03]SAM_PROTO_SignData [22:16:03]wFMCommunicate request_size=4 [22:16:03]MH_SAM_APDU [22:16:03]CAPDU: 80 0D 01 02 [22:16:03]Write to MH i2c: E2 08 00 AC 02 80 0D 01 02 00 00 00 00 27 [22:16:03]Write i2c OK [22:16:03]MH_I2C_Read... [22:16:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:16:03]Read from MH i2c: E2 [22:16:03]MH_I2C_Read... [22:16:03]Read from MH i2c: E2 03 00 [22:16:03]MH_I2C_Read... [22:16:03]Read from MH i2c: E2 03 00 AC 02 00 90 00 22 [22:16:03]RAPDU: 90 00 [22:16:03]wFMCommunicate OK [22:16:03]wFMCommunicate request_size=255 [22:16:03]MH_SAM_APDU [22:16:03]CAPDU: 80 0D 02 02 FA 03 00 8B 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 31 34 36 32 31 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D1 82 D1 83 D1 82 D1 82 D0 B8 2D D1 84 D1 80 D1 83 D1 82 D1 82 D0 B8 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 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 EC 45 00 00 00 00 EB 03 26 00 EF 03 [22:16:03]Write to MH i2c: E2 02 01 AD 02 80 0D 02 02 FA 00 03 00 8B 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 31 34 36 32 31 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D1 82 D1 83 D1 82 D1 82 D0 B8 2D D1 84 D1 80 D1 83 D1 82 D1 82 D0 B8 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 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 EC 45 00 00 00 00 EB 03 26 00 EF 03 00 00 55 [22:16:03]Write i2c OK [22:16:03]MH_I2C_Read... [22:16:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:16:04]Read from MH i2c: E2 [22:16:04]MH_I2C_Read... [22:16:04]Read from MH i2c: E2 03 00 [22:16:04]MH_I2C_Read... [22:16:04]Read from MH i2c: E2 03 00 AD 02 00 90 00 23 [22:16:04]RAPDU: 90 00 [22:16:04]wFMCommunicate OK [22:16:04]wFMCommunicate request_size=154 [22:16:04]MH_SAM_APDU [22:16:04]CAPDU: 80 0D 02 02 95 0F 00 F6 03 01 00 01 F7 03 06 00 9E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 07 00 00 00 00 07 04 06 00 EC 45 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 23 ED 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FA 30 00 00 35 04 06 00 FB 87 B3 94 3A BB [22:16:04]Write to MH i2c: E2 9D 00 AE 02 80 0D 02 02 95 00 0F 00 F6 03 01 00 01 F7 03 06 00 9E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 07 00 00 00 00 07 04 06 00 EC 45 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 23 ED 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FA 30 00 00 35 04 06 00 FB 87 B3 94 3A BB 00 00 8F [22:16:04]Write i2c OK [22:16:04]MH_I2C_Read... [22:16:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:16:04]Read from MH i2c: E2 [22:16:04]MH_I2C_Read... [22:16:04]Read from MH i2c: E2 03 00 [22:16:04]MH_I2C_Read... [22:16:04]Read from MH i2c: E2 03 00 AE 02 00 90 00 24 [22:16:04]RAPDU: 90 00 [22:16:04]wFMCommunicate OK [22:16:04]wFMCommunicate request_size=4 [22:16:04]MH_SAM_APDU [22:16:04]CAPDU: 80 0D 03 02 [22:16:04]Write to MH i2c: E2 08 00 AF 02 80 0D 03 02 00 00 00 00 2C [22:16:04]Write i2c OK [22:16:04]MH_I2C_Read... [22:16:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:16:04]Read from MH i2c: E2 [22:16:04]MH_I2C_Read... [22:16:04]Read from MH i2c: E2 0B 00 [22:16:04]MH_I2C_Read... [22:16:04]Read from MH i2c: E2 0B 00 AF 02 00 2F 58 6A 2D C9 76 A2 6A 90 00 96 [22:16:04]RAPDU: 2F 58 6A 2D C9 76 A2 6A 90 00 [22:16:04]wFMCommunicate OK [22:16:04]SAM_PROTO_SignData done [22:16:04]FM_MakeSignedData done [22:16:04]CreateOFDProtocolMessage [22:16:04]wFMCommunicate request_size=4 [22:16:04]MH_SAM_APDU [22:16:04]CAPDU: 80 11 00 00 [22:16:04]Write to MH i2c: E2 08 00 B0 02 80 11 00 00 00 00 00 00 2C [22:16:04]Write i2c OK [22:16:04]MH_I2C_Read... [22:16:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:16:04]Read from MH i2c: E2 [22:16:04]MH_I2C_Read... [22:16:04]Read from MH i2c: E2 17 00 [22:16:04]MH_I2C_Read... [22:16:04]Read from MH i2c: E2 17 00 B0 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 86 [22:16:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:16:04]wFMCommunicate OK [22:16:04]CreateOFDProtocolMessage done [22:16:04]OFDSenderStorePacket 12538 [22:16:04]StoreOFDPacket docnum=12538 [22:16:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 9F 01 00 00 B1 D9 97 01 F7 90 5A 03 01 00 03 00 8B 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 31 34 36 32 31 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D1 82 D1 83 D1 82 D1 82 D0 B8 2D D1 84 D1 80 D1 83 D1 82 D1 82 D0 B8 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 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 EC 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 07 00 00 00 00 07 04 06 00 EC 45 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 23 ED 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FA 30 00 00 35 04 06 00 FB 87 B3 94 3A BB 2F 58 6A 2D C9 76 A2 6A [22:16:04]CheckFolder [22:16:04]dirname=/storage/ofd_packets [22:16:04]CheckFolder done [22:16:04]ProducePacketName [22:16:04]name=ofd_packets/00012538 [22:16:04]NVStorageSaveData ofd_packets/00012538 [22:16:04]File name is /storage/ofd_packets/00012538 [22:16:04]Write 445 bytes [22:16:04]NVStorageSaveData done [22:16:04]OFDSenderStorePacket done [22:16:04]KKMCreateOFDPacket done [22:16:04]NVStorageSaveData kkm_last_timestamp [22:16:04]File name is /storage/kkm_last_timestamp [22:16:04]Write 4 bytes [22:16:04]NVStorageSaveData done [22:16:04]ExternCall_PrintAddStr [22:16:04]wPrintStart [22:16:04]Write to MH i2c: 01 00 00 B1 02 B3 [22:16:04]Write i2c OK [22:16:04]MH_I2C_Read... [22:16:04]Read from MH i2c: 01 [22:16:04]MH_I2C_Read... [22:16:04]Read from MH i2c: 01 07 00 [22:16:04]MH_I2C_Read... [22:16:04]Read from MH i2c: 01 07 00 B1 02 00 00 00 00 00 FF 0F C8 [22:16:04]RasterBufferAndPrint [22:16:04]line Счет N : (3)32812 [22:16:04]line ИНН: 02508201610067 [22:16:04]line Контрольно-Кассовый Чек [22:16:04]line ПРОДАЖА [22:16:04]line Товар: 48741224 [22:16:04]line Сигареты Winston Super Slims Blue [22:16:04]line 1.000 * 130.00 [22:16:04]line = 130.00 [22:16:04]line НДС 12% НСП 1% [22:16:04]line > о реализуемом товаре [22:16:04]line Товар: 46214621 [22:16:04]line Р/ж mentos тутти-фрутти ролл 16г [22:16:04]line 1.000 * 49.00 [22:16:04]line = 49.00 [22:16:04]line НДС 12% НСП 1% [22:16:04]line > о реализуемом товаре [22:16:04]line ИТОГО: 179.00 [22:16:04]line НСП 1% : 1.58 [22:16:04]line НДС 12% : 19.00 [22:16:04]line Наличными: 179.00 [22:16:04]line Безнал.: 0.00 [22:16:04]line Место: АЗС № 106 "Партнер Нефть" [22:16:04]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [22:16:04]line СНО: Общий режим [22:16:04]line Чек 40 19.04.2024 22:16 [22:16:04]line Смена: 279 ФФД: 1.0 [22:16:04]line ЗНМ: 0300000004 [22:16:04]line РНМ: 0000000000100748 [22:16:04]line Версия ККМ: 001 [22:16:04]line ФМ: 0000000000965685 [22:16:04]line ФД: 12538 [22:16:04]line ФПД: 276560251992763 [22:16:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T221603&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12538&fm=276560251992763&tin=02508201610067®Number=0000000000100748&sum=17900 [22:16:04]OFD Sender: Processing packet 12538 [packets to send 7, broken 6] [22:16:04]ProducePacketName [22:16:04]name=ofd_packets/00012538 [22:16:04]OFD Sender: To server: pG, [22:16:04]CommunicateWithHost lk.salyk.kg:30040 [22:16:04]ConnectInit lk.salyk.kg [22:16:04]line 0 [22:16:04]written 0, free lines is 4095 [22:16:05]Connected sock=9 [22:16:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 9F 01 00 00 B1 D9 97 01 F7 90 5A 03 01 00 03 00 8B 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 08 00 34 36 32 31 34 36 32 31 06 04 32 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D1 82 D1 83 D1 82 D1 82 D0 B8 2D D1 84 D1 80 D1 83 D1 82 D1 82 D0 B8 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 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 EC 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 07 00 00 00 00 07 04 06 00 EC 45 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 23 ED 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FA 30 00 00 35 04 06 00 FB 87 B3 94 3A BB 2F 58 6A 2D C9 76 A2 6A [22:16:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 7B 75 47 00 4C 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 36 35 36 38 35 10 04 04 00 FA 30 00 00 F4 03 04 00 A9 95 22 66 B6 04 01 00 00 91 27 36 11 C3 88 0F 82 [22:16:05]CommunicateWithHost err = 0 [22:16:05]CheckOFDResponse [22:16:05]1017 (14) - 77093643461234 [22:16:05]1041 (16) - 0000000000965685 [22:16:05]1040 (4) - 12538 [22:16:05]1012 (4) - 19.04.2024 16:02 [22:16:05]1206 (1) - 0 [22:16:05]OFD Sender: Remove packet 12538 [22:16:05]ProducePacketName [22:16:05]name=ofd_packets/00012538 [22:16:05]NVStorageDeleteData [22:16:05]Write to MH i2c: 01 00 00 E0 02 E2 [22:16:05]Write i2c OK [22:16:05]MH_I2C_Read... [22:16:05]Read from MH i2c: 01 [22:16:05]MH_I2C_Read... [22:16:05]Read from MH i2c: 01 07 00 [22:16:05]MH_I2C_Read... [22:16:05]Read from MH i2c: 01 07 00 E0 02 00 00 00 00 00 7B 0C 70 [22:16:05]RasterBufferAndPrint [22:16:05]line [22:16:05]line [22:16:05]line [22:16:05]line [22:16:05]line [22:16:05]written 0, free lines is 3203 [22:16:05]MH_Cut [22:16:05]Write to MH i2c: D1 01 00 E7 02 01 BB [22:16:05]Write i2c OK [22:16:05]MH_I2C_Read... [22:16:05]Read from MH i2c: D1 [22:16:05]MH_I2C_Read... [22:16:05]Read from MH i2c: D1 01 00 [22:16:05]MH_I2C_Read... [22:16:05]Read from MH i2c: D1 01 00 E7 02 00 BA [22:16:05]Write to MH i2c: 01 00 00 E8 02 EA [22:16:05]Write i2c OK [22:16:05]MH_I2C_Read... [22:16:05]OFD Sender: No OFD packet to send [22:16:06]*** Cut start [22:16:06]*** Partial cut [22:16:06]*** CUTSNS_PIN = 1 [22:16:06]*** CUTSNS_PIN = 0 [22:16:06]*** Brake cut motor [22:16:06]Read from MH i2c: 01 [22:16:06]MH_I2C_Read... [22:16:06]*** Stop cut motor [22:16:06]*** Cut end [22:16:06]Read from MH i2c: 01 07 00 [22:16:06]MH_I2C_Read... [22:16:06]Read from MH i2c: 01 07 00 E8 02 00 00 00 00 00 FF 0F FF [22:16:06]process_action close_receipt done [22:16:06]requested_data is exist [22:16:06]produce_requested_data [22:16:06]requested_item fm.sn is exist - process it [22:16:06]wFMCommunicate request_size=4 [22:16:06]MH_SAM_APDU [22:16:06]CAPDU: 80 11 00 00 [22:16:06]Write to MH i2c: E2 08 00 E9 02 80 11 00 00 00 00 00 00 65 [22:16:06]Write i2c OK [22:16:06]MH_I2C_Read... [22:16:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:16:06]Read from MH i2c: E2 [22:16:06]MH_I2C_Read... [22:16:06]Read from MH i2c: E2 17 00 [22:16:06]MH_I2C_Read... [22:16:06]Read from MH i2c: E2 17 00 E9 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 BF [22:16:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:16:06]wFMCommunicate OK [22:16:06]requested_item fd.num is exist - process it [22:16:06]SAM_PROTO_GetFieldsCounters [22:16:06]wFMCommunicate request_size=4 [22:16:06]MH_SAM_APDU [22:16:06]CAPDU: 80 13 00 00 [22:16:06]Write to MH i2c: E2 08 00 EA 02 80 13 00 00 00 00 00 00 68 [22:16:06]Write i2c OK [22:16:06]MH_I2C_Read... [22:16:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:16:07]Read from MH i2c: E2 [22:16:07]MH_I2C_Read... [22:16:07]Read from MH i2c: E2 62 00 [22:16:07]MH_I2C_Read... [22:16:07]Read from MH i2c: E2 62 00 EA 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 FA 30 00 00 0E 04 04 00 17 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 45 [22:16:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 FA 30 00 00 0E 04 04 00 17 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 [22:16:07]wFMCommunicate OK [22:16:07]SAM_PROTO_GetFieldsCounters done [22:16:07]requested_item shift.num is exist - process it [22:16:07]requested_item shift.opened is exist - process it [22:16:07]req_shift_opened [22:16:07]FM_GetShiftState [22:16:07]SAM_PROTO_GetShiftState [22:16:07]wFMCommunicate request_size=4 [22:16:07]MH_SAM_APDU [22:16:07]CAPDU: 80 13 01 00 [22:16:07]Write to MH i2c: E2 08 00 EB 02 80 13 01 00 00 00 00 00 6A [22:16:07]Write i2c OK [22:16:07]MH_I2C_Read... [22:16:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:16:07]Read from MH i2c: E2 [22:16:07]MH_I2C_Read... [22:16:07]Read from MH i2c: E2 0E 00 [22:16:07]MH_I2C_Read... [22:16:07]Read from MH i2c: E2 0E 00 EB 02 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 60 [22:16:07]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [22:16:07]wFMCommunicate OK [22:16:07]SAM_PROTO_GetShiftState done [22:16:07]FM_GetShiftState done [22:16:07]req_shift_opened done [22:16:07]requested_item shift.open_date is exist - process it [22:16:07]req_shift_open_date [22:16:07]req_shift_open_date done [22:16:07]produce_requested_data done [22:16:07]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12538,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [22:16:07]process_action_free close_receipt [22:16:07]json_value_free [22:16:07]json_value_free done [22:16:07]process_json_proto returns [22:16:07]Send response to host [22:16:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12538,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [22:16:07]free response buf [22:16:07]execute_script done [22:16:07]execute_script returns [22:16:07]free content buf [22:16:07]Sock 10.Close socket [22:16:07]Sock 10.Thread stoped [22:16:10]OFD Sender: No OFD packet to send [22:16:15]OFD Sender: No OFD packet to send [22:16:20]OFD Sender: No OFD packet to send [22:16:25]OFD Sender: No OFD packet to send [22:16:30]OFD Sender: No OFD packet to send [22:16:35]OFD Sender: No OFD packet to send [22:16:40]OFD Sender: No OFD packet to send [22:16:45]OFD Sender: No OFD packet to send [22:16:50]OFD Sender: No OFD packet to send [22:16:55]OFD Sender: No OFD packet to send [22:17:00]OFD Sender: No OFD packet to send [22:17:05]OFD Sender: No OFD packet to send [22:17:10]OFD Sender: No OFD packet to send [22:17:15]OFD Sender: No OFD packet to send [22:17:20]OFD Sender: No OFD packet to send [22:17:25]OFD Sender: No OFD packet to send [22:17:30]OFD Sender: No OFD packet to send [22:17:35]OFD Sender: No OFD packet to send [22:17:40]OFD Sender: No OFD packet to send [22:17:45]OFD Sender: No OFD packet to send [22:17:50]OFD Sender: No OFD packet to send [22:17:55]OFD Sender: No OFD packet to send [22:18:00]OFD Sender: No OFD packet to send [22:18:05]OFD Sender: No OFD packet to send [22:18:10]OFD Sender: No OFD packet to send [22:18:15]OFD Sender: No OFD packet to send [22:18:20]OFD Sender: No OFD packet to send [22:18:25]OFD Sender: No OFD packet to send [22:18:30]OFD Sender: No OFD packet to send [22:18:35]OFD Sender: No OFD packet to send [22:18:40]OFD Sender: No OFD packet to send [22:18:45]OFD Sender: No OFD packet to send [22:18:50]OFD Sender: No OFD packet to send [22:18:55]OFD Sender: No OFD packet to send [22:19:00]OFD Sender: No OFD packet to send [22:19:05]OFD Sender: No OFD packet to send [22:19:10]OFD Sender: No OFD packet to send [22:19:15]OFD Sender: No OFD packet to send [22:19:20]OFD Sender: No OFD packet to send [22:19:25]OFD Sender: No OFD packet to send [22:19:30]OFD Sender: No OFD packet to send [22:19:35]OFD Sender: No OFD packet to send [22:19:40]OFD Sender: No OFD packet to send [22:19:45]OFD Sender: No OFD packet to send [22:19:50]OFD Sender: No OFD packet to send [22:19:55]OFD Sender: No OFD packet to send [22:20:00]OFD Sender: No OFD packet to send [22:20:05]OFD Sender: No OFD packet to send [22:20:10]OFD Sender: No OFD packet to send [22:20:15]OFD Sender: No OFD packet to send [22:20:20]OFD Sender: No OFD packet to send [22:20:25]OFD Sender: No OFD packet to send [22:20:30]OFD Sender: No OFD packet to send [22:20:35]OFD Sender: No OFD packet to send [22:20:40]OFD Sender: No OFD packet to send [22:20:45]OFD Sender: No OFD packet to send [22:20:50]OFD Sender: No OFD packet to send [22:20:55]OFD Sender: No OFD packet to send [22:21:00]OFD Sender: No OFD packet to send [22:21:05]OFD Sender: No OFD packet to send [22:21:10]OFD Sender: No OFD packet to send [22:21:15]OFD Sender: No OFD packet to send [22:21:20]OFD Sender: No OFD packet to send [22:21:25]OFD Sender: No OFD packet to send [22:21:30]OFD Sender: No OFD packet to send [22:21:35]OFD Sender: No OFD packet to send [22:21:40]OFD Sender: No OFD packet to send [22:21:45]OFD Sender: No OFD packet to send [22:21:50]OFD Sender: No OFD packet to send [22:21:56]OFD Sender: No OFD packet to send [22:22:01]OFD Sender: No OFD packet to send [22:22:06]OFD Sender: No OFD packet to send [22:22:11]OFD Sender: No OFD packet to send [22:22:16]OFD Sender: No OFD packet to send [22:22:21]OFD Sender: No OFD packet to send [22:22:26]OFD Sender: No OFD packet to send [22:22:31]OFD Sender: No OFD packet to send [22:22:36]OFD Sender: No OFD packet to send [22:22:41]OFD Sender: No OFD packet to send [22:22:46]OFD Sender: No OFD packet to send [22:22:51]OFD Sender: No OFD packet to send [22:22:56]OFD Sender: No OFD packet to send [22:23:01]OFD Sender: No OFD packet to send [22:23:06]OFD Sender: No OFD packet to send [22:23:11]OFD Sender: No OFD packet to send [22:23:16]OFD Sender: No OFD packet to send [22:23:21]OFD Sender: No OFD packet to send [22:23:26]OFD Sender: No OFD packet to send [22:23:31]OFD Sender: No OFD packet to send [22:23:36]OFD Sender: No OFD packet to send [22:23:41]OFD Sender: No OFD packet to send [22:23:46]OFD Sender: No OFD packet to send [22:23:51]OFD Sender: No OFD packet to send [22:23:56]OFD Sender: No OFD packet to send [22:24:01]OFD Sender: No OFD packet to send [22:24:06]OFD Sender: No OFD packet to send [22:24:11]OFD Sender: No OFD packet to send [22:24:16]OFD Sender: No OFD packet to send [22:24:21]OFD Sender: No OFD packet to send [22:24:26]OFD Sender: No OFD packet to send [22:24:31]OFD Sender: No OFD packet to send [22:24:36]OFD Sender: No OFD packet to send [22:24:41]OFD Sender: No OFD packet to send [22:24:46]OFD Sender: No OFD packet to send [22:24:51]OFD Sender: No OFD packet to send [22:24:56]OFD Sender: No OFD packet to send [22:25:01]OFD Sender: No OFD packet to send [22:25:06]OFD Sender: No OFD packet to send [22:25:11]OFD Sender: No OFD packet to send [22:25:16]OFD Sender: No OFD packet to send [22:25:21]OFD Sender: No OFD packet to send [22:25:26]OFD Sender: No OFD packet to send [22:25:31]OFD Sender: No OFD packet to send [22:25:36]OFD Sender: No OFD packet to send [22:25:41]OFD Sender: No OFD packet to send [22:25:46]OFD Sender: No OFD packet to send [22:25:51]OFD Sender: No OFD packet to send [22:25:56]OFD Sender: No OFD packet to send [22:26:01]OFD Sender: No OFD packet to send [22:26:06]OFD Sender: No OFD packet to send [22:26:11]OFD Sender: No OFD packet to send [22:26:16]OFD Sender: No OFD packet to send [22:26:21]OFD Sender: No OFD packet to send [22:26:26]OFD Sender: No OFD packet to send [22:26:31]OFD Sender: No OFD packet to send [22:26:36]OFD Sender: No OFD packet to send [22:26:41]OFD Sender: No OFD packet to send [22:26:46]OFD Sender: No OFD packet to send [22:26:51]OFD Sender: No OFD packet to send [22:26:56]OFD Sender: No OFD packet to send [22:27:01]OFD Sender: No OFD packet to send [22:27:06]OFD Sender: No OFD packet to send [22:27:11]OFD Sender: No OFD packet to send [22:27:16]OFD Sender: No OFD packet to send [22:27:21]OFD Sender: No OFD packet to send [22:27:26]OFD Sender: No OFD packet to send [22:27:31]OFD Sender: No OFD packet to send [22:27:36]OFD Sender: No OFD packet to send [22:27:41]OFD Sender: No OFD packet to send [22:27:46]OFD Sender: No OFD packet to send [22:27:51]OFD Sender: No OFD packet to send [22:27:56]OFD Sender: No OFD packet to send [22:28:01]OFD Sender: No OFD packet to send [22:28:06]OFD Sender: No OFD packet to send [22:28:11]OFD Sender: No OFD packet to send [22:28:16]OFD Sender: No OFD packet to send [22:28:21]OFD Sender: No OFD packet to send [22:28:26]OFD Sender: No OFD packet to send [22:28:31]OFD Sender: No OFD packet to send [22:28:36]OFD Sender: No OFD packet to send [22:28:41]OFD Sender: No OFD packet to send [22:28:46]OFD Sender: No OFD packet to send [22:28:51]OFD Sender: No OFD packet to send [22:28:56]OFD Sender: No OFD packet to send [22:29:01]OFD Sender: No OFD packet to send [22:29:06]OFD Sender: No OFD packet to send [22:29:11]OFD Sender: No OFD packet to send [22:29:16]OFD Sender: No OFD packet to send [22:29:21]OFD Sender: No OFD packet to send [22:29:26]OFD Sender: No OFD packet to send [22:29:31]OFD Sender: No OFD packet to send [22:29:36]OFD Sender: No OFD packet to send [22:29:41]OFD Sender: No OFD packet to send [22:29:46]OFD Sender: No OFD packet to send [22:29:51]OFD Sender: No OFD packet to send [22:29:56]OFD Sender: No OFD packet to send [22:30:01]OFD Sender: No OFD packet to send [22:30:06]OFD Sender: No OFD packet to send [22:30:11]OFD Sender: No OFD packet to send [22:30:16]OFD Sender: No OFD packet to send [22:30:21]OFD Sender: No OFD packet to send [22:30:26]OFD Sender: No OFD packet to send [22:30:31]OFD Sender: No OFD packet to send [22:30:36]OFD Sender: No OFD packet to send [22:30:41]OFD Sender: No OFD packet to send [22:30:46]OFD Sender: No OFD packet to send [22:30:51]OFD Sender: No OFD packet to send [22:30:56]OFD Sender: No OFD packet to send [22:31:01]OFD Sender: No OFD packet to send [22:31:06]OFD Sender: No OFD packet to send [22:31:11]OFD Sender: No OFD packet to send [22:31:16]OFD Sender: No OFD packet to send [22:31:21]OFD Sender: No OFD packet to send [22:31:26]OFD Sender: No OFD packet to send [22:31:31]OFD Sender: No OFD packet to send [22:31:36]OFD Sender: No OFD packet to send [22:31:41]OFD Sender: No OFD packet to send [22:31:46]OFD Sender: No OFD packet to send [22:31:51]OFD Sender: No OFD packet to send [22:31:56]OFD Sender: No OFD packet to send [22:32:01]OFD Sender: No OFD packet to send [22:32:06]OFD Sender: No OFD packet to send [22:32:11]OFD Sender: No OFD packet to send [22:32:16]OFD Sender: No OFD packet to send [22:32:21]OFD Sender: No OFD packet to send [22:32:26]OFD Sender: No OFD packet to send [22:32:31]OFD Sender: No OFD packet to send [22:32:36]OFD Sender: No OFD packet to send [22:32:41]OFD Sender: No OFD packet to send [22:32:46]OFD Sender: No OFD packet to send [22:32:51]OFD Sender: No OFD packet to send [22:32:56]OFD Sender: No OFD packet to send [22:33:01]OFD Sender: No OFD packet to send [22:33:06]OFD Sender: No OFD packet to send [22:33:11]OFD Sender: No OFD packet to send [22:33:16]OFD Sender: No OFD packet to send [22:33:21]OFD Sender: No OFD packet to send [22:33:26]OFD Sender: No OFD packet to send [22:33:31]OFD Sender: No OFD packet to send [22:33:36]OFD Sender: No OFD packet to send [22:33:41]OFD Sender: No OFD packet to send [22:33:46]OFD Sender: No OFD packet to send [22:33:51]OFD Sender: No OFD packet to send [22:33:56]OFD Sender: No OFD packet to send [22:34:01]OFD Sender: No OFD packet to send [22:34:06]OFD Sender: No OFD packet to send [22:34:11]OFD Sender: No OFD packet to send [22:34:16]OFD Sender: No OFD packet to send [22:34:21]OFD Sender: No OFD packet to send [22:34:26]OFD Sender: No OFD packet to send [22:34:31]OFD Sender: No OFD packet to send [22:34:36]OFD Sender: No OFD packet to send [22:34:41]OFD Sender: No OFD packet to send [22:34:46]OFD Sender: No OFD packet to send [22:34:51]OFD Sender: No OFD packet to send [22:34:56]OFD Sender: No OFD packet to send [22:35:01]OFD Sender: No OFD packet to send [22:35:06]OFD Sender: No OFD packet to send [22:35:11]OFD Sender: No OFD packet to send [22:35:16]OFD Sender: No OFD packet to send [22:35:21]OFD Sender: No OFD packet to send [22:35:26]OFD Sender: No OFD packet to send [22:35:31]OFD Sender: No OFD packet to send [22:35:36]OFD Sender: No OFD packet to send [22:35:41]OFD Sender: No OFD packet to send [22:35:46]OFD Sender: No OFD packet to send [22:35:51]OFD Sender: No OFD packet to send [22:35:56]OFD Sender: No OFD packet to send [22:36:01]OFD Sender: No OFD packet to send [22:36:06]OFD Sender: No OFD packet to send [22:36:11]OFD Sender: No OFD packet to send [22:36:16]OFD Sender: No OFD packet to send [22:36:21]OFD Sender: No OFD packet to send [22:36:26]OFD Sender: No OFD packet to send [22:36:31]OFD Sender: No OFD packet to send [22:36:36]OFD Sender: No OFD packet to send [22:36:41]OFD Sender: No OFD packet to send [22:36:46]OFD Sender: No OFD packet to send [22:36:51]OFD Sender: No OFD packet to send [22:36:56]OFD Sender: No OFD packet to send [22:37:01]OFD Sender: No OFD packet to send [22:37:06]OFD Sender: No OFD packet to send [22:37:11]OFD Sender: No OFD packet to send [22:37:16]OFD Sender: No OFD packet to send [22:37:21]OFD Sender: No OFD packet to send [22:37:26]OFD Sender: No OFD packet to send [22:37:31]OFD Sender: No OFD packet to send [22:37:36]OFD Sender: No OFD packet to send [22:37:41]OFD Sender: No OFD packet to send [22:37:46]OFD Sender: No OFD packet to send [22:37:51]OFD Sender: No OFD packet to send [22:37:56]OFD Sender: No OFD packet to send [22:38:01]OFD Sender: No OFD packet to send [22:38:06]OFD Sender: No OFD packet to send [22:38:11]OFD Sender: No OFD packet to send [22:38:16]OFD Sender: No OFD packet to send [22:38:21]OFD Sender: No OFD packet to send [22:38:26]OFD Sender: No OFD packet to send [22:38:31]OFD Sender: No OFD packet to send [22:38:36]OFD Sender: No OFD packet to send [22:38:41]OFD Sender: No OFD packet to send [22:38:46]OFD Sender: No OFD packet to send [22:38:51]OFD Sender: No OFD packet to send [22:38:56]OFD Sender: No OFD packet to send [22:39:01]OFD Sender: No OFD packet to send [22:39:06]OFD Sender: No OFD packet to send [22:39:11]OFD Sender: No OFD packet to send [22:39:16]OFD Sender: No OFD packet to send [22:39:21]OFD Sender: No OFD packet to send [22:39:26]OFD Sender: No OFD packet to send [22:39:31]OFD Sender: No OFD packet to send [22:39:36]accept exits with 7 [22:39:36]New connection [22:39:36]New thread 3067264356 created [22:39:36]Thread 3067120996 joined [22:39:36]Waiting for new connection... [22:39:36] Sock 7.Parse request [22:39:36]Sock 7.Check first char [22:39:36]Sock 7.First char is OK [22:39:36]request: POST /json_proto HTTP/1.0 [22:39:36]Method: POST [22:39:36]URL: /json_proto [22:39:36]Method is POST - this is cgi request [22:39:36]url: /json_proto [22:39:36]query_string will be loaded in cgi processing [22:39:36]execute_cgi json_proto POST (null) [22:39:36]execute_cgi path=json_proto method=POST [22:39:36]POST find Content-Length [22:39:36]Host: 172.17.62.6:8080 [22:39:36]Content-Length: 791 [22:39:36]Content-Type: application/json [22:39:36] [22:39:36]POST finish read [22:39:36]Found Content-Length = 791 [22:39:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32813", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:39:36]execute_script... [22:39:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32813", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:39:36]POST & json_proto [22:39:36]process_json_proto [22:39:36]json parsed OK: [22:39:36]protocol is kg_v1.0 [22:39:36]action value=close_receipt [22:39:36]process_action close_receipt [22:39:36]cmd_close_receipt [22:39:36]MH_GetDate [22:39:36]Write to MH i2c: F0 00 00 EC 02 DD [22:39:36]Write i2c OK [22:39:36]MH_I2C_Read... [22:39:36]Read from MH i2c: F0 [22:39:36]MH_I2C_Read... [22:39:36]Read from MH i2c: F0 09 00 [22:39:36]MH_I2C_Read... [22:39:36]Read from MH i2c: F0 09 00 EC 02 00 A9 F2 22 66 61 69 D2 64 09 [22:39:36]GetLastDocTimeStamp 1713564963 [22:39:36]current date 1713566377 [22:39:36]FM_GetShiftState [22:39:36]SAM_PROTO_GetShiftState [22:39:36]wFMCommunicate request_size=4 [22:39:36]MH_SAM_APDU [22:39:36]CAPDU: 80 13 01 00 [22:39:36]Write to MH i2c: E2 08 00 ED 02 80 13 01 00 00 00 00 00 6C [22:39:36]Write i2c OK [22:39:36]MH_I2C_Read... [22:39:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:39:36]Read from MH i2c: E2 [22:39:36]MH_I2C_Read... [22:39:36]Read from MH i2c: E2 0E 00 [22:39:36]MH_I2C_Read... [22:39:36]Read from MH i2c: E2 0E 00 ED 02 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 62 [22:39:36]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [22:39:36]wFMCommunicate OK [22:39:36]SAM_PROTO_GetShiftState done [22:39:36]FM_GetShiftState done [22:39:36]opened in 1713485995 [22:39:36]opened+sec_in_day 1713572395 [22:39:36]quantity*price = 13000 [22:39:36]sum+1 = 13001 [22:39:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 41 19.04.2024 22:39 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000965685 ФД: 12539 ФПД: 109409919142631 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T223937&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12539&fm=109409919142631&tin=02508201610067®Number=0000000000100748&sum=13000 0 [22:39:37]StoreToDocumentArchive [22:39:37]shift 279 fd 12539 [22:39:37]save to /storage/0279/doc_00012539 [22:39:37]save last doc name /storage/0279/doc_00012539 to /storage/kkm_last_doc_name [22:39:37]save OK [22:39:37]Clear old archive folders... [22:39:37]ProcessDocumentItem done err = 0, tmpTLVsize=278 [22:39:37]tlvbuf is 01FCC150 [22:39:37]SAM_PROTO_ClearQueue [22:39:37]wFMCommunicate request_size=4 [22:39:37]MH_SAM_APDU [22:39:37]CAPDU: 80 09 00 00 [22:39:37]Write to MH i2c: E2 08 00 FA 02 80 09 00 00 00 00 00 00 6E [22:39:37]Write i2c OK [22:39:37]MH_I2C_Read... [22:39:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:39:37]Read from MH i2c: E2 [22:39:37]MH_I2C_Read... [22:39:37]Read from MH i2c: E2 03 00 [22:39:37]MH_I2C_Read... [22:39:37]Read from MH i2c: E2 03 00 FA 02 00 90 00 70 [22:39:37]RAPDU: 90 00 [22:39:37]wFMCommunicate OK [22:39:37]SAM_PROTO_ClearQueue done [22:39:37]KKMCreateOFDPacket [22:39:37]OFDProtocolAddRootSTLVToBuf [22:39:37]FM_MakeSignedData [22:39:37]FM_MakeSignedData [22:39:37]SAM_PROTO_SignData [22:39:37]wFMCommunicate request_size=4 [22:39:37]MH_SAM_APDU [22:39:37]CAPDU: 80 0D 01 02 [22:39:37]Write to MH i2c: E2 08 00 FB 02 80 0D 01 02 00 00 00 00 76 [22:39:37]Write i2c OK [22:39:37]MH_I2C_Read... [22:39:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:39:37]Read from MH i2c: E2 [22:39:37]MH_I2C_Read... [22:39:37]Read from MH i2c: E2 03 00 [22:39:37]MH_I2C_Read... [22:39:37]Read from MH i2c: E2 03 00 FB 02 00 90 00 71 [22:39:37]RAPDU: 90 00 [22:39:37]wFMCommunicate OK [22:39:37]wFMCommunicate request_size=255 [22:39:37]MH_SAM_APDU [22:39:37]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 A9 F2 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 [22:39:37]Write to MH i2c: E2 02 01 FC 02 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 A9 F2 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 00 00 8D [22:39:37]Write i2c OK [22:39:37]MH_I2C_Read... [22:39:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:39:37]Read from MH i2c: E2 [22:39:37]MH_I2C_Read... [22:39:37]Read from MH i2c: E2 03 00 [22:39:37]MH_I2C_Read... [22:39:37]Read from MH i2c: E2 03 00 FC 02 00 90 00 72 [22:39:37]RAPDU: 90 00 [22:39:37]wFMCommunicate OK [22:39:37]wFMCommunicate request_size=37 [22:39:37]MH_SAM_APDU [22:39:37]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FB 30 00 00 35 04 06 00 63 81 FB 5D 8A E7 [22:39:37]Write to MH i2c: E2 28 00 FD 02 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FB 30 00 00 35 04 06 00 63 81 FB 5D 8A E7 00 00 AF [22:39:37]Write i2c OK [22:39:37]MH_I2C_Read... [22:39:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:39:37]Read from MH i2c: E2 [22:39:37]MH_I2C_Read... [22:39:37]Read from MH i2c: E2 03 00 [22:39:37]MH_I2C_Read... [22:39:37]Read from MH i2c: E2 03 00 FD 02 00 90 00 73 [22:39:37]RAPDU: 90 00 [22:39:37]wFMCommunicate OK [22:39:37]wFMCommunicate request_size=4 [22:39:37]MH_SAM_APDU [22:39:37]CAPDU: 80 0D 03 02 [22:39:37]Write to MH i2c: E2 08 00 FE 02 80 0D 03 02 00 00 00 00 7B [22:39:37]Write i2c OK [22:39:37]MH_I2C_Read... [22:39:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:39:37]Read from MH i2c: E2 [22:39:37]MH_I2C_Read... [22:39:37]Read from MH i2c: E2 0B 00 [22:39:37]MH_I2C_Read... [22:39:37]Read from MH i2c: E2 0B 00 FE 02 00 7B B2 4B DF 29 26 B4 83 90 00 59 [22:39:37]RAPDU: 7B B2 4B DF 29 26 B4 83 90 00 [22:39:37]wFMCommunicate OK [22:39:37]SAM_PROTO_SignData done [22:39:37]FM_MakeSignedData done [22:39:37]CreateOFDProtocolMessage [22:39:37]wFMCommunicate request_size=4 [22:39:37]MH_SAM_APDU [22:39:37]CAPDU: 80 11 00 00 [22:39:37]Write to MH i2c: E2 08 00 FF 02 80 11 00 00 00 00 00 00 7B [22:39:37]Write i2c OK [22:39:37]MH_I2C_Read... [22:39:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:39:37]Read from MH i2c: E2 [22:39:37]MH_I2C_Read... [22:39:37]Read from MH i2c: E2 17 00 [22:39:37]MH_I2C_Read... [22:39:37]Read from MH i2c: E2 17 00 FF 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 D5 [22:39:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:39:37]wFMCommunicate OK [22:39:37]CreateOFDProtocolMessage done [22:39:37]OFDSenderStorePacket 12539 [22:39:37]StoreOFDPacket docnum=12539 [22:39:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2A 01 00 00 E5 C8 22 01 56 E3 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 A9 F2 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FB 30 00 00 35 04 06 00 63 81 FB 5D 8A E7 7B B2 4B DF 29 26 B4 83 [22:39:37]CheckFolder [22:39:37]dirname=/storage/ofd_packets [22:39:37]CheckFolder done [22:39:37]ProducePacketName [22:39:37]name=ofd_packets/00012539 [22:39:37]NVStorageSaveData ofd_packets/00012539 [22:39:37]File name is /storage/ofd_packets/00012539 [22:39:37]Write 328 bytes [22:39:37]NVStorageSaveData done [22:39:37]OFDSenderStorePacket done [22:39:37]KKMCreateOFDPacket done [22:39:37]NVStorageSaveData kkm_last_timestamp [22:39:37]File name is /storage/kkm_last_timestamp [22:39:37]Write 4 bytes [22:39:37]NVStorageSaveData done [22:39:37]ExternCall_PrintAddStr [22:39:37]wPrintStart [22:39:37]Write to MH i2c: 01 00 00 00 03 03 [22:39:37]Write i2c OK [22:39:37]MH_I2C_Read... [22:39:37]Read from MH i2c: 01 [22:39:37]MH_I2C_Read... [22:39:37]Read from MH i2c: 01 07 00 [22:39:37]MH_I2C_Read... [22:39:37]Read from MH i2c: 01 07 00 00 03 00 00 00 00 00 FF 0F 18 [22:39:37]RasterBufferAndPrint [22:39:37]line Счет N : (3)32813 [22:39:37]line ИНН: 02508201610067 [22:39:37]line Контрольно-Кассовый Чек [22:39:37]line ПРОДАЖА [22:39:37]line Товар: 48741224 [22:39:37]line Сигареты Winston Super Slims Blue [22:39:37]line 1.000 * 130.00 [22:39:37]line = 130.00 [22:39:37]line НДС 12% НСП 1% [22:39:37]line > о реализуемом товаре [22:39:37]line ИТОГО: 130.00 [22:39:37]line НСП 1% : 1.15 [22:39:37]line НДС 12% : 13.80 [22:39:37]line Наличными: 0.00 [22:39:37]line Безнал.: 130.00 [22:39:37]line Место: АЗС № 106 "Партнер Нефть" [22:39:37]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [22:39:37]line СНО: Общий режим [22:39:37]line Чек 41 19.04.2024 22:39 [22:39:37]line Смена: 279 ФФД: 1.0 [22:39:37]line ЗНМ: 0300000004 [22:39:37]line РНМ: 0000000000100748 [22:39:37]line Версия ККМ: 001 [22:39:37]line Платежная система: О! деньги [22:39:37]line ФМ: 0000000000965685 [22:39:37]line ФД: 12539 [22:39:37]line ФПД: 109409919142631 [22:39:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T223937&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12539&fm=109409919142631&tin=02508201610067®Number=0000000000100748&sum=13000 [22:39:38]line 0 [22:39:38]OFD Sender: Processing packet 12539 [packets to send 7, broken 6] [22:39:38]ProducePacketName [22:39:38]name=ofd_packets/00012539 [22:39:38]OFD Sender: To server: pG, [22:39:38]CommunicateWithHost lk.salyk.kg:30040 [22:39:38]ConnectInit lk.salyk.kg [22:39:38]written 0, free lines is 4095 [22:39:38]Write to MH i2c: 01 00 00 2A 03 2D [22:39:38]Write i2c OK [22:39:38]MH_I2C_Read... [22:39:38]Read from MH i2c: 01 [22:39:38]MH_I2C_Read... [22:39:38]Read from MH i2c: 01 07 00 [22:39:38]MH_I2C_Read... [22:39:38]Read from MH i2c: 01 07 00 2A 03 00 00 00 00 00 B7 0C F7 [22:39:38]RasterBufferAndPrint [22:39:38]line [22:39:38]line [22:39:38]line [22:39:38]line [22:39:38]line [22:39:38]written 0, free lines is 3261 [22:39:38]MH_Cut [22:39:38]Write to MH i2c: D1 01 00 31 03 01 06 [22:39:38]Write i2c OK [22:39:38]MH_I2C_Read... [22:39:38]Read from MH i2c: D1 [22:39:38]MH_I2C_Read... [22:39:38]Read from MH i2c: D1 01 00 [22:39:38]MH_I2C_Read... [22:39:38]Read from MH i2c: D1 01 00 31 03 00 05 [22:39:38]Write to MH i2c: 01 00 00 32 03 35 [22:39:38]Write i2c OK [22:39:38]MH_I2C_Read... [22:39:38]Connected sock=11 [22:39:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2A 01 00 00 E5 C8 22 01 56 E3 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 A9 F2 22 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FB 30 00 00 35 04 06 00 63 81 FB 5D 8A E7 7B B2 4B DF 29 26 B4 83 [22:39:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 D7 52 47 00 8D 9A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FB 30 00 00 F4 03 04 00 2F 9B 22 66 B6 04 01 00 00 DC 9A 78 37 3D AF FC 97 [22:39:39]CommunicateWithHost err = 0 [22:39:39]CheckOFDResponse [22:39:39]1017 (14) - 77093643461234 [22:39:39]1041 (16) - 0000000000965685 [22:39:39]1040 (4) - 12539 [22:39:39]1012 (4) - 19.04.2024 16:26 [22:39:39]1206 (1) - 0 [22:39:39]OFD Sender: Remove packet 12539 [22:39:39]ProducePacketName [22:39:39]name=ofd_packets/00012539 [22:39:39]NVStorageDeleteData [22:39:39]*** Cut start [22:39:39]*** Partial cut [22:39:39]*** CUTSNS_PIN = 1 [22:39:39]*** CUTSNS_PIN = 0 [22:39:39]OFD Sender: No OFD packet to send [22:39:39]*** Brake cut motor [22:39:40]Read from MH i2c: 01 [22:39:40]MH_I2C_Read... [22:39:40]*** Stop cut motor [22:39:40]*** Cut end [22:39:40]Read from MH i2c: 01 07 00 [22:39:40]MH_I2C_Read... [22:39:40]Read from MH i2c: 01 07 00 32 03 00 00 00 00 00 FF 0F 4A [22:39:40]process_action close_receipt done [22:39:40]requested_data is exist [22:39:40]produce_requested_data [22:39:40]requested_item fm.sn is exist - process it [22:39:40]wFMCommunicate request_size=4 [22:39:40]MH_SAM_APDU [22:39:40]CAPDU: 80 11 00 00 [22:39:40]Write to MH i2c: E2 08 00 33 03 80 11 00 00 00 00 00 00 B0 [22:39:40]Write i2c OK [22:39:40]MH_I2C_Read... [22:39:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:39:40]Read from MH i2c: E2 [22:39:40]MH_I2C_Read... [22:39:40]Read from MH i2c: E2 17 00 [22:39:40]MH_I2C_Read... [22:39:40]Read from MH i2c: E2 17 00 33 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 0A [22:39:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [22:39:40]wFMCommunicate OK [22:39:40]requested_item fd.num is exist - process it [22:39:40]SAM_PROTO_GetFieldsCounters [22:39:40]wFMCommunicate request_size=4 [22:39:40]MH_SAM_APDU [22:39:40]CAPDU: 80 13 00 00 [22:39:40]Write to MH i2c: E2 08 00 34 03 80 13 00 00 00 00 00 00 B3 [22:39:40]Write i2c OK [22:39:40]MH_I2C_Read... [22:39:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:39:40]Read from MH i2c: E2 [22:39:40]MH_I2C_Read... [22:39:40]Read from MH i2c: E2 62 00 [22:39:40]MH_I2C_Read... [22:39:40]Read from MH i2c: E2 62 00 34 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 FB 30 00 00 0E 04 04 00 17 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 94 [22:39:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 FB 30 00 00 0E 04 04 00 17 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 [22:39:40]wFMCommunicate OK [22:39:40]SAM_PROTO_GetFieldsCounters done [22:39:40]requested_item shift.num is exist - process it [22:39:40]requested_item shift.opened is exist - process it [22:39:40]req_shift_opened [22:39:40]FM_GetShiftState [22:39:40]SAM_PROTO_GetShiftState [22:39:40]wFMCommunicate request_size=4 [22:39:40]MH_SAM_APDU [22:39:40]CAPDU: 80 13 01 00 [22:39:40]Write to MH i2c: E2 08 00 35 03 80 13 01 00 00 00 00 00 B5 [22:39:40]Write i2c OK [22:39:40]MH_I2C_Read... [22:39:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:39:40]Read from MH i2c: E2 [22:39:40]MH_I2C_Read... [22:39:40]Read from MH i2c: E2 0E 00 [22:39:40]MH_I2C_Read... [22:39:40]Read from MH i2c: E2 0E 00 35 03 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 AB [22:39:40]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [22:39:40]wFMCommunicate OK [22:39:40]SAM_PROTO_GetShiftState done [22:39:40]FM_GetShiftState done [22:39:40]req_shift_opened done [22:39:40]requested_item shift.open_date is exist - process it [22:39:40]req_shift_open_date [22:39:40]req_shift_open_date done [22:39:40]produce_requested_data done [22:39:40]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12539,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [22:39:40]process_action_free close_receipt [22:39:40]json_value_free [22:39:40]json_value_free done [22:39:40]process_json_proto returns [22:39:40]Send response to host [22:39:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12539,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [22:39:40]free response buf [22:39:40]execute_script done [22:39:40]execute_script returns [22:39:40]free content buf [22:39:40]Sock 7.Close socket [22:39:40]Sock 7.Thread stoped [22:39:44]OFD Sender: No OFD packet to send [22:39:49]OFD Sender: No OFD packet to send [22:39:54]OFD Sender: No OFD packet to send [22:39:59]OFD Sender: No OFD packet to send [22:40:04]OFD Sender: No OFD packet to send [22:40:09]OFD Sender: No OFD packet to send [22:40:14]OFD Sender: No OFD packet to send [22:40:19]OFD Sender: No OFD packet to send [22:40:24]OFD Sender: No OFD packet to send [22:40:29]OFD Sender: No OFD packet to send [22:40:34]OFD Sender: No OFD packet to send [22:40:39]OFD Sender: No OFD packet to send [22:40:44]OFD Sender: No OFD packet to send [22:40:49]OFD Sender: No OFD packet to send [22:40:54]OFD Sender: No OFD packet to send [22:40:59]OFD Sender: No OFD packet to send [22:41:04]OFD Sender: No OFD packet to send [22:41:09]OFD Sender: No OFD packet to send [22:41:14]OFD Sender: No OFD packet to send [22:41:19]OFD Sender: No OFD packet to send [22:41:24]OFD Sender: No OFD packet to send [22:41:29]OFD Sender: No OFD packet to send [22:41:34]OFD Sender: No OFD packet to send [22:41:39]OFD Sender: No OFD packet to send [22:41:44]OFD Sender: No OFD packet to send [22:41:49]OFD Sender: No OFD packet to send [22:41:54]OFD Sender: No OFD packet to send [22:41:59]OFD Sender: No OFD packet to send [22:42:04]OFD Sender: No OFD packet to send [22:42:09]OFD Sender: No OFD packet to send [22:42:14]OFD Sender: No OFD packet to send [22:42:19]OFD Sender: No OFD packet to send [22:42:24]OFD Sender: No OFD packet to send [22:42:29]OFD Sender: No OFD packet to send [22:42:34]OFD Sender: No OFD packet to send [22:42:39]OFD Sender: No OFD packet to send [22:42:44]OFD Sender: No OFD packet to send [22:42:49]OFD Sender: No OFD packet to send [22:42:54]OFD Sender: No OFD packet to send [22:42:59]OFD Sender: No OFD packet to send [22:43:04]OFD Sender: No OFD packet to send [22:43:09]OFD Sender: No OFD packet to send [22:43:14]OFD Sender: No OFD packet to send [22:43:19]OFD Sender: No OFD packet to send [22:43:24]OFD Sender: No OFD packet to send [22:43:29]OFD Sender: No OFD packet to send [22:43:34]OFD Sender: No OFD packet to send [22:43:39]OFD Sender: No OFD packet to send [22:43:44]OFD Sender: No OFD packet to send [22:43:49]OFD Sender: No OFD packet to send [22:43:54]OFD Sender: No OFD packet to send [22:43:59]OFD Sender: No OFD packet to send [22:44:04]OFD Sender: No OFD packet to send [22:44:09]OFD Sender: No OFD packet to send [22:44:14]OFD Sender: No OFD packet to send [22:44:19]OFD Sender: No OFD packet to send [22:44:24]OFD Sender: No OFD packet to send [22:44:29]OFD Sender: No OFD packet to send [22:44:34]OFD Sender: No OFD packet to send [22:44:39]OFD Sender: No OFD packet to send [22:44:44]OFD Sender: No OFD packet to send [22:44:49]OFD Sender: No OFD packet to send [22:44:54]OFD Sender: No OFD packet to send [22:44:59]OFD Sender: No OFD packet to send [22:45:04]OFD Sender: No OFD packet to send [22:45:09]OFD Sender: No OFD packet to send [22:45:14]OFD Sender: No OFD packet to send [22:45:19]OFD Sender: No OFD packet to send [22:45:24]OFD Sender: No OFD packet to send [22:45:29]OFD Sender: No OFD packet to send [22:45:34]OFD Sender: No OFD packet to send [22:45:39]OFD Sender: No OFD packet to send [22:45:44]OFD Sender: No OFD packet to send [22:45:49]OFD Sender: No OFD packet to send [22:45:54]OFD Sender: No OFD packet to send [22:45:59]OFD Sender: No OFD packet to send [22:46:04]OFD Sender: No OFD packet to send [22:46:09]OFD Sender: No OFD packet to send [22:46:14]OFD Sender: No OFD packet to send [22:46:19]OFD Sender: No OFD packet to send [22:46:24]OFD Sender: No OFD packet to send [22:46:29]OFD Sender: No OFD packet to send [22:46:34]OFD Sender: No OFD packet to send [22:46:39]OFD Sender: No OFD packet to send [22:46:44]OFD Sender: No OFD packet to send [22:46:49]OFD Sender: No OFD packet to send [22:46:54]OFD Sender: No OFD packet to send [22:46:59]OFD Sender: No OFD packet to send [22:47:05]OFD Sender: No OFD packet to send [22:47:10]OFD Sender: No OFD packet to send [22:47:15]OFD Sender: No OFD packet to send [22:47:20]OFD Sender: No OFD packet to send [22:47:25]OFD Sender: No OFD packet to send [22:47:30]OFD Sender: No OFD packet to send [22:47:35]OFD Sender: No OFD packet to send [22:47:40]OFD Sender: No OFD packet to send [22:47:45]OFD Sender: No OFD packet to send [22:47:50]OFD Sender: No OFD packet to send [22:47:55]OFD Sender: No OFD packet to send [22:48:00]OFD Sender: No OFD packet to send [22:48:05]OFD Sender: No OFD packet to send [22:48:10]OFD Sender: No OFD packet to send [22:48:15]OFD Sender: No OFD packet to send [22:48:20]OFD Sender: No OFD packet to send [22:48:25]OFD Sender: No OFD packet to send [22:48:30]OFD Sender: No OFD packet to send [22:48:35]OFD Sender: No OFD packet to send [22:48:40]OFD Sender: No OFD packet to send [22:48:45]OFD Sender: No OFD packet to send [22:48:50]OFD Sender: No OFD packet to send [22:48:55]OFD Sender: No OFD packet to send [22:49:00]OFD Sender: No OFD packet to send [22:49:05]OFD Sender: No OFD packet to send [22:49:10]OFD Sender: No OFD packet to send [22:49:15]OFD Sender: No OFD packet to send [22:49:20]OFD Sender: No OFD packet to send [22:49:25]OFD Sender: No OFD packet to send [22:49:30]OFD Sender: No OFD packet to send [22:49:35]OFD Sender: No OFD packet to send [22:49:39]recv_with_timeout no data received [22:49:40]OFD Sender: No OFD packet to send [22:49:45]OFD Sender: No OFD packet to send [22:49:50]OFD Sender: No OFD packet to send [22:49:55]OFD Sender: No OFD packet to send [22:50:00]OFD Sender: No OFD packet to send [22:50:05]OFD Sender: No OFD packet to send [22:50:10]OFD Sender: No OFD packet to send [22:50:15]OFD Sender: No OFD packet to send [22:50:20]OFD Sender: No OFD packet to send [22:50:25]OFD Sender: No OFD packet to send [22:50:30]OFD Sender: No OFD packet to send [22:50:35]OFD Sender: No OFD packet to send [22:50:40]OFD Sender: No OFD packet to send [22:50:45]OFD Sender: No OFD packet to send [22:50:50]OFD Sender: No OFD packet to send [22:50:55]OFD Sender: No OFD packet to send [22:51:00]OFD Sender: No OFD packet to send [22:51:05]OFD Sender: No OFD packet to send [22:51:10]OFD Sender: No OFD packet to send [22:51:15]OFD Sender: No OFD packet to send [22:51:20]OFD Sender: No OFD packet to send [22:51:25]OFD Sender: No OFD packet to send [22:51:30]OFD Sender: No OFD packet to send [22:51:35]OFD Sender: No OFD packet to send [22:51:40]OFD Sender: No OFD packet to send [22:51:45]OFD Sender: No OFD packet to send [22:51:50]OFD Sender: No OFD packet to send [22:51:55]OFD Sender: No OFD packet to send [22:52:00]OFD Sender: No OFD packet to send [22:52:05]OFD Sender: No OFD packet to send [22:52:10]OFD Sender: No OFD packet to send [22:52:15]OFD Sender: No OFD packet to send [22:52:20]OFD Sender: No OFD packet to send [22:52:25]OFD Sender: No OFD packet to send [22:52:30]OFD Sender: No OFD packet to send [22:52:35]OFD Sender: No OFD packet to send [22:52:40]OFD Sender: No OFD packet to send [22:52:45]OFD Sender: No OFD packet to send [22:52:50]OFD Sender: No OFD packet to send [22:52:55]OFD Sender: No OFD packet to send [22:53:00]OFD Sender: No OFD packet to send [22:53:05]OFD Sender: No OFD packet to send [22:53:10]OFD Sender: No OFD packet to send [22:53:15]OFD Sender: No OFD packet to send [22:53:20]OFD Sender: No OFD packet to send [22:53:25]OFD Sender: No OFD packet to send [22:53:30]OFD Sender: No OFD packet to send [22:53:35]OFD Sender: No OFD packet to send [22:53:40]OFD Sender: No OFD packet to send [22:53:45]OFD Sender: No OFD packet to send [22:53:50]OFD Sender: No OFD packet to send [22:53:55]OFD Sender: No OFD packet to send [22:54:00]OFD Sender: No OFD packet to send [22:54:05]OFD Sender: No OFD packet to send [22:54:10]OFD Sender: No OFD packet to send [22:54:15]OFD Sender: No OFD packet to send [22:54:20]OFD Sender: No OFD packet to send [22:54:25]OFD Sender: No OFD packet to send [22:54:30]OFD Sender: No OFD packet to send [22:54:35]OFD Sender: No OFD packet to send [22:54:40]OFD Sender: No OFD packet to send [22:54:45]OFD Sender: No OFD packet to send [22:54:50]OFD Sender: No OFD packet to send [22:54:55]OFD Sender: No OFD packet to send [22:55:00]OFD Sender: No OFD packet to send [22:55:05]OFD Sender: No OFD packet to send [22:55:10]OFD Sender: No OFD packet to send [22:55:15]OFD Sender: No OFD packet to send [22:55:20]OFD Sender: No OFD packet to send [22:55:25]OFD Sender: No OFD packet to send [22:55:30]OFD Sender: No OFD packet to send [22:55:35]OFD Sender: No OFD packet to send [22:55:40]OFD Sender: No OFD packet to send [22:55:45]OFD Sender: No OFD packet to send [22:55:50]OFD Sender: No OFD packet to send [22:55:55]OFD Sender: No OFD packet to send [22:56:00]OFD Sender: No OFD packet to send [22:56:05]OFD Sender: No OFD packet to send [22:56:10]OFD Sender: No OFD packet to send [22:56:15]OFD Sender: No OFD packet to send [22:56:20]OFD Sender: No OFD packet to send [22:56:25]OFD Sender: No OFD packet to send [22:56:30]OFD Sender: No OFD packet to send [22:56:35]OFD Sender: No OFD packet to send [22:56:40]OFD Sender: No OFD packet to send [22:56:45]OFD Sender: No OFD packet to send [22:56:50]OFD Sender: No OFD packet to send [22:56:55]OFD Sender: No OFD packet to send [22:57:00]OFD Sender: No OFD packet to send [22:57:05]OFD Sender: No OFD packet to send [22:57:10]OFD Sender: No OFD packet to send [22:57:15]OFD Sender: No OFD packet to send [22:57:20]OFD Sender: No OFD packet to send [22:57:25]OFD Sender: No OFD packet to send [22:57:30]OFD Sender: No OFD packet to send [22:57:35]OFD Sender: No OFD packet to send [22:57:40]OFD Sender: No OFD packet to send [22:57:45]OFD Sender: No OFD packet to send [22:57:50]OFD Sender: No OFD packet to send [22:57:55]OFD Sender: No OFD packet to send [22:58:00]OFD Sender: No OFD packet to send [22:58:05]OFD Sender: No OFD packet to send [22:58:10]OFD Sender: No OFD packet to send [22:58:15]OFD Sender: No OFD packet to send [22:58:20]OFD Sender: No OFD packet to send [22:58:25]OFD Sender: No OFD packet to send [22:58:30]OFD Sender: No OFD packet to send [22:58:35]OFD Sender: No OFD packet to send [22:58:40]OFD Sender: No OFD packet to send [22:58:45]OFD Sender: No OFD packet to send [22:58:50]OFD Sender: No OFD packet to send [22:58:55]OFD Sender: No OFD packet to send [22:59:00]OFD Sender: No OFD packet to send [22:59:05]OFD Sender: No OFD packet to send [22:59:10]OFD Sender: No OFD packet to send [22:59:15]OFD Sender: No OFD packet to send [22:59:20]OFD Sender: No OFD packet to send [22:59:25]OFD Sender: No OFD packet to send [22:59:30]OFD Sender: No OFD packet to send [22:59:35]OFD Sender: No OFD packet to send [22:59:40]OFD Sender: No OFD packet to send [22:59:45]OFD Sender: No OFD packet to send [22:59:50]OFD Sender: No OFD packet to send [22:59:55]OFD Sender: No OFD packet to send [23:00:00]OFD Sender: No OFD packet to send [23:00:05]OFD Sender: No OFD packet to send [23:00:10]OFD Sender: No OFD packet to send [23:00:15]OFD Sender: No OFD packet to send [23:00:20]OFD Sender: No OFD packet to send [23:00:25]OFD Sender: No OFD packet to send [23:00:30]OFD Sender: No OFD packet to send [23:00:35]OFD Sender: No OFD packet to send [23:00:40]OFD Sender: No OFD packet to send [23:00:45]OFD Sender: No OFD packet to send [23:00:50]OFD Sender: No OFD packet to send [23:00:55]OFD Sender: No OFD packet to send [23:01:00]OFD Sender: No OFD packet to send [23:01:05]OFD Sender: No OFD packet to send [23:01:10]OFD Sender: No OFD packet to send [23:01:15]OFD Sender: No OFD packet to send [23:01:20]OFD Sender: No OFD packet to send [23:01:25]OFD Sender: No OFD packet to send [23:01:30]OFD Sender: No OFD packet to send [23:01:35]OFD Sender: No OFD packet to send [23:01:40]OFD Sender: No OFD packet to send [23:01:45]OFD Sender: No OFD packet to send [23:01:50]OFD Sender: No OFD packet to send [23:01:55]OFD Sender: No OFD packet to send [23:02:00]OFD Sender: No OFD packet to send [23:02:05]OFD Sender: No OFD packet to send [23:02:10]OFD Sender: No OFD packet to send [23:02:15]OFD Sender: No OFD packet to send [23:02:20]OFD Sender: No OFD packet to send [23:02:25]OFD Sender: No OFD packet to send [23:02:30]OFD Sender: No OFD packet to send [23:02:35]OFD Sender: No OFD packet to send [23:02:40]OFD Sender: No OFD packet to send [23:02:45]OFD Sender: No OFD packet to send [23:02:50]OFD Sender: No OFD packet to send [23:02:55]OFD Sender: No OFD packet to send [23:03:00]OFD Sender: No OFD packet to send [23:03:05]OFD Sender: No OFD packet to send [23:03:10]OFD Sender: No OFD packet to send [23:03:15]OFD Sender: No OFD packet to send [23:03:20]OFD Sender: No OFD packet to send [23:03:25]OFD Sender: No OFD packet to send [23:03:30]OFD Sender: No OFD packet to send [23:03:35]OFD Sender: No OFD packet to send [23:03:40]OFD Sender: No OFD packet to send [23:03:45]OFD Sender: No OFD packet to send [23:03:50]OFD Sender: No OFD packet to send [23:03:55]OFD Sender: No OFD packet to send [23:04:00]OFD Sender: No OFD packet to send [23:04:05]OFD Sender: No OFD packet to send [23:04:10]OFD Sender: No OFD packet to send [23:04:15]OFD Sender: No OFD packet to send [23:04:20]OFD Sender: No OFD packet to send [23:04:25]OFD Sender: No OFD packet to send [23:04:30]OFD Sender: No OFD packet to send [23:04:35]OFD Sender: No OFD packet to send [23:04:40]OFD Sender: No OFD packet to send [23:04:45]OFD Sender: No OFD packet to send [23:04:50]OFD Sender: No OFD packet to send [23:04:55]OFD Sender: No OFD packet to send [23:05:00]OFD Sender: No OFD packet to send [23:05:05]OFD Sender: No OFD packet to send [23:05:10]OFD Sender: No OFD packet to send [23:05:15]OFD Sender: No OFD packet to send [23:05:20]OFD Sender: No OFD packet to send [23:05:25]OFD Sender: No OFD packet to send [23:05:30]OFD Sender: No OFD packet to send [23:05:35]OFD Sender: No OFD packet to send [23:05:40]OFD Sender: No OFD packet to send [23:05:45]OFD Sender: No OFD packet to send [23:05:50]OFD Sender: No OFD packet to send [23:05:55]OFD Sender: No OFD packet to send [23:06:00]OFD Sender: No OFD packet to send [23:06:05]OFD Sender: No OFD packet to send [23:06:10]OFD Sender: No OFD packet to send [23:06:15]OFD Sender: No OFD packet to send [23:06:20]OFD Sender: No OFD packet to send [23:06:25]OFD Sender: No OFD packet to send [23:06:30]OFD Sender: No OFD packet to send [23:06:35]OFD Sender: No OFD packet to send [23:06:40]OFD Sender: No OFD packet to send [23:06:45]OFD Sender: No OFD packet to send [23:06:50]OFD Sender: No OFD packet to send [23:06:55]OFD Sender: No OFD packet to send [23:07:00]OFD Sender: No OFD packet to send [23:07:05]OFD Sender: No OFD packet to send [23:07:10]OFD Sender: No OFD packet to send [23:07:15]OFD Sender: No OFD packet to send [23:07:20]OFD Sender: No OFD packet to send [23:07:25]OFD Sender: No OFD packet to send [23:07:30]OFD Sender: No OFD packet to send [23:07:35]OFD Sender: No OFD packet to send [23:07:40]OFD Sender: No OFD packet to send [23:07:45]OFD Sender: No OFD packet to send [23:07:50]OFD Sender: No OFD packet to send [23:07:55]OFD Sender: No OFD packet to send [23:08:00]OFD Sender: No OFD packet to send [23:08:05]OFD Sender: No OFD packet to send [23:08:10]OFD Sender: No OFD packet to send [23:08:15]OFD Sender: No OFD packet to send [23:08:20]OFD Sender: No OFD packet to send [23:08:26]OFD Sender: No OFD packet to send [23:08:31]OFD Sender: No OFD packet to send [23:08:36]OFD Sender: No OFD packet to send [23:08:41]OFD Sender: No OFD packet to send [23:08:46]OFD Sender: No OFD packet to send [23:08:51]OFD Sender: No OFD packet to send [23:08:56]OFD Sender: No OFD packet to send [23:09:01]OFD Sender: No OFD packet to send [23:09:06]OFD Sender: No OFD packet to send [23:09:11]OFD Sender: No OFD packet to send [23:09:16]OFD Sender: No OFD packet to send [23:09:21]OFD Sender: No OFD packet to send [23:09:26]OFD Sender: No OFD packet to send [23:09:31]OFD Sender: No OFD packet to send [23:09:36]OFD Sender: No OFD packet to send [23:09:41]OFD Sender: No OFD packet to send [23:09:46]OFD Sender: No OFD packet to send [23:09:51]OFD Sender: No OFD packet to send [23:09:56]OFD Sender: No OFD packet to send [23:10:01]OFD Sender: No OFD packet to send [23:10:06]OFD Sender: No OFD packet to send [23:10:11]OFD Sender: No OFD packet to send [23:10:16]OFD Sender: No OFD packet to send [23:10:21]OFD Sender: No OFD packet to send [23:10:26]OFD Sender: No OFD packet to send [23:10:31]OFD Sender: No OFD packet to send [23:10:36]OFD Sender: No OFD packet to send [23:10:41]OFD Sender: No OFD packet to send [23:10:46]OFD Sender: No OFD packet to send [23:10:51]OFD Sender: No OFD packet to send [23:10:56]OFD Sender: No OFD packet to send [23:11:01]OFD Sender: No OFD packet to send [23:11:06]OFD Sender: No OFD packet to send [23:11:11]OFD Sender: No OFD packet to send [23:11:16]OFD Sender: No OFD packet to send [23:11:21]OFD Sender: No OFD packet to send [23:11:26]OFD Sender: No OFD packet to send [23:11:31]OFD Sender: No OFD packet to send [23:11:36]OFD Sender: No OFD packet to send [23:11:41]OFD Sender: No OFD packet to send [23:11:46]OFD Sender: No OFD packet to send [23:11:51]OFD Sender: No OFD packet to send [23:11:56]OFD Sender: No OFD packet to send [23:12:01]OFD Sender: No OFD packet to send [23:12:06]OFD Sender: No OFD packet to send [23:12:11]OFD Sender: No OFD packet to send [23:12:16]OFD Sender: No OFD packet to send [23:12:21]OFD Sender: No OFD packet to send [23:12:26]OFD Sender: No OFD packet to send [23:12:31]OFD Sender: No OFD packet to send [23:12:36]OFD Sender: No OFD packet to send [23:12:41]OFD Sender: No OFD packet to send [23:12:46]OFD Sender: No OFD packet to send [23:12:51]OFD Sender: No OFD packet to send [23:12:56]OFD Sender: No OFD packet to send [23:13:01]OFD Sender: No OFD packet to send [23:13:06]OFD Sender: No OFD packet to send [23:13:11]OFD Sender: No OFD packet to send [23:13:16]OFD Sender: No OFD packet to send [23:13:21]OFD Sender: No OFD packet to send [23:13:26]OFD Sender: No OFD packet to send [23:13:31]OFD Sender: No OFD packet to send [23:13:36]OFD Sender: No OFD packet to send [23:13:41]OFD Sender: No OFD packet to send [23:13:46]OFD Sender: No OFD packet to send [23:13:51]OFD Sender: No OFD packet to send [23:13:56]OFD Sender: No OFD packet to send [23:14:01]OFD Sender: No OFD packet to send [23:14:06]OFD Sender: No OFD packet to send [23:14:11]OFD Sender: No OFD packet to send [23:14:16]OFD Sender: No OFD packet to send [23:14:21]OFD Sender: No OFD packet to send [23:14:26]OFD Sender: No OFD packet to send [23:14:31]OFD Sender: No OFD packet to send [23:14:36]OFD Sender: No OFD packet to send [23:14:41]OFD Sender: No OFD packet to send [23:14:46]OFD Sender: No OFD packet to send [23:14:51]OFD Sender: No OFD packet to send [23:14:56]OFD Sender: No OFD packet to send [23:15:01]OFD Sender: No OFD packet to send [23:15:06]OFD Sender: No OFD packet to send [23:15:11]OFD Sender: No OFD packet to send [23:15:16]OFD Sender: No OFD packet to send [23:15:21]OFD Sender: No OFD packet to send [23:15:26]OFD Sender: No OFD packet to send [23:15:31]OFD Sender: No OFD packet to send [23:15:36]OFD Sender: No OFD packet to send [23:15:41]OFD Sender: No OFD packet to send [23:15:46]OFD Sender: No OFD packet to send [23:15:51]OFD Sender: No OFD packet to send [23:15:56]OFD Sender: No OFD packet to send [23:16:01]OFD Sender: No OFD packet to send [23:16:06]OFD Sender: No OFD packet to send [23:16:11]OFD Sender: No OFD packet to send [23:16:16]OFD Sender: No OFD packet to send [23:16:21]OFD Sender: No OFD packet to send [23:16:26]OFD Sender: No OFD packet to send [23:16:31]OFD Sender: No OFD packet to send [23:16:36]OFD Sender: No OFD packet to send [23:16:41]OFD Sender: No OFD packet to send [23:16:46]OFD Sender: No OFD packet to send [23:16:51]OFD Sender: No OFD packet to send [23:16:56]OFD Sender: No OFD packet to send [23:17:01]OFD Sender: No OFD packet to send [23:17:06]OFD Sender: No OFD packet to send [23:17:11]OFD Sender: No OFD packet to send [23:17:16]OFD Sender: No OFD packet to send [23:17:21]OFD Sender: No OFD packet to send [23:17:26]OFD Sender: No OFD packet to send [23:17:31]OFD Sender: No OFD packet to send [23:17:36]OFD Sender: No OFD packet to send [23:17:41]OFD Sender: No OFD packet to send [23:17:46]OFD Sender: No OFD packet to send [23:17:51]OFD Sender: No OFD packet to send [23:17:56]OFD Sender: No OFD packet to send [23:18:01]OFD Sender: No OFD packet to send [23:18:06]OFD Sender: No OFD packet to send [23:18:11]OFD Sender: No OFD packet to send [23:18:16]OFD Sender: No OFD packet to send [23:18:21]OFD Sender: No OFD packet to send [23:18:26]OFD Sender: No OFD packet to send [23:18:31]OFD Sender: No OFD packet to send [23:18:36]OFD Sender: No OFD packet to send [23:18:41]OFD Sender: No OFD packet to send [23:18:46]OFD Sender: No OFD packet to send [23:18:51]OFD Sender: No OFD packet to send [23:18:56]OFD Sender: No OFD packet to send [23:19:01]OFD Sender: No OFD packet to send [23:19:06]OFD Sender: No OFD packet to send [23:19:11]OFD Sender: No OFD packet to send [23:19:16]OFD Sender: No OFD packet to send [23:19:21]OFD Sender: No OFD packet to send [23:19:26]OFD Sender: No OFD packet to send [23:19:31]OFD Sender: No OFD packet to send [23:19:36]OFD Sender: No OFD packet to send [23:19:41]OFD Sender: No OFD packet to send [23:19:46]OFD Sender: No OFD packet to send [23:19:51]OFD Sender: No OFD packet to send [23:19:56]OFD Sender: No OFD packet to send [23:20:01]OFD Sender: No OFD packet to send [23:20:06]OFD Sender: No OFD packet to send [23:20:11]OFD Sender: No OFD packet to send [23:20:16]OFD Sender: No OFD packet to send [23:20:21]OFD Sender: No OFD packet to send [23:20:26]OFD Sender: No OFD packet to send [23:20:31]OFD Sender: No OFD packet to send [23:20:36]OFD Sender: No OFD packet to send [23:20:41]OFD Sender: No OFD packet to send [23:20:46]OFD Sender: No OFD packet to send [23:20:51]OFD Sender: No OFD packet to send [23:20:56]OFD Sender: No OFD packet to send [23:21:01]OFD Sender: No OFD packet to send [23:21:06]OFD Sender: No OFD packet to send [23:21:11]OFD Sender: No OFD packet to send [23:21:16]OFD Sender: No OFD packet to send [23:21:21]OFD Sender: No OFD packet to send [23:21:26]OFD Sender: No OFD packet to send [23:21:31]OFD Sender: No OFD packet to send [23:21:36]OFD Sender: No OFD packet to send [23:21:41]OFD Sender: No OFD packet to send [23:21:46]OFD Sender: No OFD packet to send [23:21:51]OFD Sender: No OFD packet to send [23:21:56]OFD Sender: No OFD packet to send [23:22:01]OFD Sender: No OFD packet to send [23:22:06]OFD Sender: No OFD packet to send [23:22:11]OFD Sender: No OFD packet to send [23:22:16]OFD Sender: No OFD packet to send [23:22:21]OFD Sender: No OFD packet to send [23:22:26]OFD Sender: No OFD packet to send [23:22:31]OFD Sender: No OFD packet to send [23:22:36]OFD Sender: No OFD packet to send [23:22:41]OFD Sender: No OFD packet to send [23:22:46]OFD Sender: No OFD packet to send [23:22:51]OFD Sender: No OFD packet to send [23:22:56]OFD Sender: No OFD packet to send [23:23:01]OFD Sender: No OFD packet to send [23:23:06]OFD Sender: No OFD packet to send [23:23:11]OFD Sender: No OFD packet to send [23:23:16]OFD Sender: No OFD packet to send [23:23:21]OFD Sender: No OFD packet to send [23:23:26]OFD Sender: No OFD packet to send [23:23:31]OFD Sender: No OFD packet to send [23:23:36]OFD Sender: No OFD packet to send [23:23:41]OFD Sender: No OFD packet to send [23:23:46]OFD Sender: No OFD packet to send [23:23:51]OFD Sender: No OFD packet to send [23:23:56]OFD Sender: No OFD packet to send [23:24:01]OFD Sender: No OFD packet to send [23:24:06]OFD Sender: No OFD packet to send [23:24:11]OFD Sender: No OFD packet to send [23:24:16]OFD Sender: No OFD packet to send [23:24:21]OFD Sender: No OFD packet to send [23:24:26]OFD Sender: No OFD packet to send [23:24:31]OFD Sender: No OFD packet to send [23:24:36]OFD Sender: No OFD packet to send [23:24:41]OFD Sender: No OFD packet to send [23:24:46]OFD Sender: No OFD packet to send [23:24:51]OFD Sender: No OFD packet to send [23:24:56]OFD Sender: No OFD packet to send [23:25:01]OFD Sender: No OFD packet to send [23:25:06]OFD Sender: No OFD packet to send [23:25:11]OFD Sender: No OFD packet to send [23:25:16]OFD Sender: No OFD packet to send [23:25:21]OFD Sender: No OFD packet to send [23:25:26]OFD Sender: No OFD packet to send [23:25:31]OFD Sender: No OFD packet to send [23:25:36]OFD Sender: No OFD packet to send [23:25:41]OFD Sender: No OFD packet to send [23:25:46]OFD Sender: No OFD packet to send [23:25:51]OFD Sender: No OFD packet to send [23:25:56]OFD Sender: No OFD packet to send [23:26:01]OFD Sender: No OFD packet to send [23:26:06]OFD Sender: No OFD packet to send [23:26:11]OFD Sender: No OFD packet to send [23:26:16]OFD Sender: No OFD packet to send [23:26:21]OFD Sender: No OFD packet to send [23:26:26]OFD Sender: No OFD packet to send [23:26:31]OFD Sender: No OFD packet to send [23:26:36]OFD Sender: No OFD packet to send [23:26:41]OFD Sender: No OFD packet to send [23:26:46]OFD Sender: No OFD packet to send [23:26:51]OFD Sender: No OFD packet to send [23:26:56]OFD Sender: No OFD packet to send [23:27:01]OFD Sender: No OFD packet to send [23:27:06]OFD Sender: No OFD packet to send [23:27:11]OFD Sender: No OFD packet to send [23:27:16]OFD Sender: No OFD packet to send [23:27:21]OFD Sender: No OFD packet to send [23:27:26]OFD Sender: No OFD packet to send [23:27:31]OFD Sender: No OFD packet to send [23:27:36]OFD Sender: No OFD packet to send [23:27:41]OFD Sender: No OFD packet to send [23:27:46]OFD Sender: No OFD packet to send [23:27:51]OFD Sender: No OFD packet to send [23:27:56]OFD Sender: No OFD packet to send [23:28:01]OFD Sender: No OFD packet to send [23:28:06]OFD Sender: No OFD packet to send [23:28:11]OFD Sender: No OFD packet to send [23:28:16]OFD Sender: No OFD packet to send [23:28:21]OFD Sender: No OFD packet to send [23:28:26]OFD Sender: No OFD packet to send [23:28:31]OFD Sender: No OFD packet to send [23:28:36]OFD Sender: No OFD packet to send [23:28:41]OFD Sender: No OFD packet to send [23:28:46]OFD Sender: No OFD packet to send [23:28:51]OFD Sender: No OFD packet to send [23:28:56]OFD Sender: No OFD packet to send [23:29:01]OFD Sender: No OFD packet to send [23:29:06]OFD Sender: No OFD packet to send [23:29:11]OFD Sender: No OFD packet to send [23:29:16]OFD Sender: No OFD packet to send [23:29:21]OFD Sender: No OFD packet to send [23:29:26]OFD Sender: No OFD packet to send [23:29:31]OFD Sender: No OFD packet to send [23:29:36]OFD Sender: No OFD packet to send [23:29:41]OFD Sender: No OFD packet to send [23:29:47]OFD Sender: No OFD packet to send [23:29:52]OFD Sender: No OFD packet to send [23:29:57]OFD Sender: No OFD packet to send [23:30:02]OFD Sender: No OFD packet to send [23:30:07]OFD Sender: No OFD packet to send [23:30:12]OFD Sender: No OFD packet to send [23:30:17]OFD Sender: No OFD packet to send [23:30:22]OFD Sender: No OFD packet to send [23:30:27]OFD Sender: No OFD packet to send [23:30:32]OFD Sender: No OFD packet to send [23:30:37]OFD Sender: No OFD packet to send [23:30:42]OFD Sender: No OFD packet to send [23:30:47]OFD Sender: No OFD packet to send [23:30:52]OFD Sender: No OFD packet to send [23:30:57]OFD Sender: No OFD packet to send [23:31:02]OFD Sender: No OFD packet to send [23:31:07]OFD Sender: No OFD packet to send [23:31:12]OFD Sender: No OFD packet to send [23:31:17]OFD Sender: No OFD packet to send [23:31:22]OFD Sender: No OFD packet to send [23:31:27]OFD Sender: No OFD packet to send [23:31:32]OFD Sender: No OFD packet to send [23:31:37]OFD Sender: No OFD packet to send [23:31:42]OFD Sender: No OFD packet to send [23:31:47]OFD Sender: No OFD packet to send [23:31:52]OFD Sender: No OFD packet to send [23:31:57]OFD Sender: No OFD packet to send [23:32:02]OFD Sender: No OFD packet to send [23:32:07]OFD Sender: No OFD packet to send [23:32:12]OFD Sender: No OFD packet to send [23:32:17]OFD Sender: No OFD packet to send [23:32:22]OFD Sender: No OFD packet to send [23:32:27]OFD Sender: No OFD packet to send [23:32:32]OFD Sender: No OFD packet to send [23:32:37]OFD Sender: No OFD packet to send [23:32:42]OFD Sender: No OFD packet to send [23:32:47]OFD Sender: No OFD packet to send [23:32:52]OFD Sender: No OFD packet to send [23:32:57]OFD Sender: No OFD packet to send [23:33:02]OFD Sender: No OFD packet to send [23:33:07]OFD Sender: No OFD packet to send [23:33:12]OFD Sender: No OFD packet to send [23:33:17]OFD Sender: No OFD packet to send [23:33:22]OFD Sender: No OFD packet to send [23:33:27]OFD Sender: No OFD packet to send [23:33:32]OFD Sender: No OFD packet to send [23:33:37]OFD Sender: No OFD packet to send [23:33:42]OFD Sender: No OFD packet to send [23:33:47]OFD Sender: No OFD packet to send [23:33:52]OFD Sender: No OFD packet to send [23:33:57]OFD Sender: No OFD packet to send [23:34:02]OFD Sender: No OFD packet to send [23:34:07]OFD Sender: No OFD packet to send [23:34:12]OFD Sender: No OFD packet to send [23:34:17]OFD Sender: No OFD packet to send [23:34:22]OFD Sender: No OFD packet to send [23:34:27]OFD Sender: No OFD packet to send [23:34:32]OFD Sender: No OFD packet to send [23:34:37]OFD Sender: No OFD packet to send [23:34:42]OFD Sender: No OFD packet to send [23:34:47]OFD Sender: No OFD packet to send [23:34:52]OFD Sender: No OFD packet to send [23:34:57]OFD Sender: No OFD packet to send [23:35:02]OFD Sender: No OFD packet to send [23:35:07]OFD Sender: No OFD packet to send [23:35:12]OFD Sender: No OFD packet to send [23:35:17]OFD Sender: No OFD packet to send [23:35:22]OFD Sender: No OFD packet to send [23:35:27]OFD Sender: No OFD packet to send [23:35:32]OFD Sender: No OFD packet to send [23:35:37]OFD Sender: No OFD packet to send [23:35:42]OFD Sender: No OFD packet to send [23:35:47]OFD Sender: No OFD packet to send [23:35:52]OFD Sender: No OFD packet to send [23:35:57]OFD Sender: No OFD packet to send [23:36:02]OFD Sender: No OFD packet to send [23:36:07]OFD Sender: No OFD packet to send [23:36:12]OFD Sender: No OFD packet to send [23:36:17]OFD Sender: No OFD packet to send [23:36:22]OFD Sender: No OFD packet to send [23:36:27]OFD Sender: No OFD packet to send [23:36:32]OFD Sender: No OFD packet to send [23:36:37]OFD Sender: No OFD packet to send [23:36:42]OFD Sender: No OFD packet to send [23:36:47]OFD Sender: No OFD packet to send [23:36:52]OFD Sender: No OFD packet to send [23:36:57]OFD Sender: No OFD packet to send [23:37:02]OFD Sender: No OFD packet to send [23:37:07]OFD Sender: No OFD packet to send [23:37:12]OFD Sender: No OFD packet to send [23:37:17]OFD Sender: No OFD packet to send [23:37:22]OFD Sender: No OFD packet to send [23:37:27]OFD Sender: No OFD packet to send [23:37:32]OFD Sender: No OFD packet to send [23:37:37]OFD Sender: No OFD packet to send [23:37:42]OFD Sender: No OFD packet to send [23:37:47]OFD Sender: No OFD packet to send [23:37:52]OFD Sender: No OFD packet to send [23:37:57]OFD Sender: No OFD packet to send [23:38:02]OFD Sender: No OFD packet to send [23:38:07]OFD Sender: No OFD packet to send [23:38:12]OFD Sender: No OFD packet to send [23:38:17]OFD Sender: No OFD packet to send [23:38:22]OFD Sender: No OFD packet to send [23:38:27]OFD Sender: No OFD packet to send [23:38:32]OFD Sender: No OFD packet to send [23:38:37]OFD Sender: No OFD packet to send [23:38:42]OFD Sender: No OFD packet to send [23:38:47]OFD Sender: No OFD packet to send [23:38:52]OFD Sender: No OFD packet to send [23:38:57]OFD Sender: No OFD packet to send [23:39:02]OFD Sender: No OFD packet to send [23:39:07]OFD Sender: No OFD packet to send [23:39:12]OFD Sender: No OFD packet to send [23:39:17]accept exits with 9 [23:39:17]New connection [23:39:17]New thread 3067120996 created [23:39:17]Thread 3067264356 joined [23:39:17]Waiting for new connection... [23:39:17] Sock 9.Parse request [23:39:17]Sock 9.Check first char [23:39:17]Sock 9.First char is OK [23:39:17]request: POST /json_proto HTTP/1.0 [23:39:17]Method: POST [23:39:17]URL: /json_proto [23:39:17]Method is POST - this is cgi request [23:39:17]url: /json_proto [23:39:17]query_string will be loaded in cgi processing [23:39:17]execute_cgi json_proto POST (null) [23:39:17]execute_cgi path=json_proto method=POST [23:39:17]POST find Content-Length [23:39:17]Host: 172.17.62.6:8080 [23:39:17]Content-Length: 719 [23:39:17]Content-Type: application/json [23:39:17] [23:39:17]POST finish read [23:39:17]Found Content-Length = 719 [23:39:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32814", "tax_sys" : 0, "items" : [ { "code": "4700000481989", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043A\u0438\u0432\u0438-\u043C\u0430\u043D\u0433\u043E\u0441\u0442\u0438\u043D 0,45 ", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:39:17]execute_script... [23:39:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32814", "tax_sys" : 0, "items" : [ { "code": "4700000481989", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043A\u0438\u0432\u0438-\u043C\u0430\u043D\u0433\u043E\u0441\u0442\u0438\u043D 0,45 ", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:39:17]POST & json_proto [23:39:17]process_json_proto [23:39:17]json parsed OK: [23:39:17]protocol is kg_v1.0 [23:39:17]action value=close_receipt [23:39:17]process_action close_receipt [23:39:17]cmd_close_receipt [23:39:17]MH_GetDate [23:39:17]Write to MH i2c: F0 00 00 36 03 28 [23:39:17]Write i2c OK [23:39:17]MH_I2C_Read... [23:39:17]Read from MH i2c: F0 [23:39:17]MH_I2C_Read... [23:39:17]Read from MH i2c: F0 09 00 [23:39:17]MH_I2C_Read... [23:39:17]Read from MH i2c: F0 09 00 36 03 00 A6 00 23 66 61 69 D2 64 60 [23:39:17]GetLastDocTimeStamp 1713566377 [23:39:17]current date 1713569958 [23:39:17]FM_GetShiftState [23:39:17]SAM_PROTO_GetShiftState [23:39:17]wFMCommunicate request_size=4 [23:39:17]MH_SAM_APDU [23:39:17]CAPDU: 80 13 01 00 [23:39:17]Write to MH i2c: E2 08 00 37 03 80 13 01 00 00 00 00 00 B7 [23:39:17]Write i2c OK [23:39:17]MH_I2C_Read... [23:39:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:39:17]Read from MH i2c: E2 [23:39:17]MH_I2C_Read... [23:39:17]Read from MH i2c: E2 0E 00 [23:39:17]MH_I2C_Read... [23:39:17]Read from MH i2c: E2 0E 00 37 03 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 AD [23:39:17]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [23:39:17]wFMCommunicate OK [23:39:17]SAM_PROTO_GetShiftState done [23:39:17]FM_GetShiftState done [23:39:17]opened in 1713485995 [23:39:17]opened+sec_in_day 1713572395 [23:39:17]quantity*price = 9500 [23:39:17]sum+1 = 9501 [23:39:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 42 19.04.2024 23:39 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12540 ФПД: 250242110122489 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T233918&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12540&fm=250242110122489&tin=02508201610067®Number=0000000000100748&sum=9500 0 [23:39:18]StoreToDocumentArchive [23:39:18]shift 279 fd 12540 [23:39:18]save to /storage/0279/doc_00012540 [23:39:18]save last doc name /storage/0279/doc_00012540 to /storage/kkm_last_doc_name [23:39:18]save OK [23:39:18]Clear old archive folders... [23:39:18]ProcessDocumentItem done err = 0, tmpTLVsize=307 [23:39:18]tlvbuf is 0200A540 [23:39:18]SAM_PROTO_ClearQueue [23:39:18]wFMCommunicate request_size=4 [23:39:18]MH_SAM_APDU [23:39:18]CAPDU: 80 09 00 00 [23:39:18]Write to MH i2c: E2 08 00 44 03 80 09 00 00 00 00 00 00 B9 [23:39:18]Write i2c OK [23:39:18]MH_I2C_Read... [23:39:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:39:18]Read from MH i2c: E2 [23:39:18]MH_I2C_Read... [23:39:18]Read from MH i2c: E2 03 00 [23:39:18]MH_I2C_Read... [23:39:18]Read from MH i2c: E2 03 00 44 03 00 90 00 BB [23:39:18]RAPDU: 90 00 [23:39:18]wFMCommunicate OK [23:39:18]SAM_PROTO_ClearQueue done [23:39:18]KKMCreateOFDPacket [23:39:18]OFDProtocolAddRootSTLVToBuf [23:39:18]FM_MakeSignedData [23:39:18]FM_MakeSignedData [23:39:18]SAM_PROTO_SignData [23:39:18]wFMCommunicate request_size=4 [23:39:18]MH_SAM_APDU [23:39:18]CAPDU: 80 0D 01 02 [23:39:18]Write to MH i2c: E2 08 00 45 03 80 0D 01 02 00 00 00 00 C1 [23:39:18]Write i2c OK [23:39:18]MH_I2C_Read... [23:39:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:39:18]Read from MH i2c: E2 [23:39:18]MH_I2C_Read... [23:39:18]Read from MH i2c: E2 03 00 [23:39:18]MH_I2C_Read... [23:39:18]Read from MH i2c: E2 03 00 45 03 00 90 00 BC [23:39:18]RAPDU: 90 00 [23:39:18]wFMCommunicate OK [23:39:18]wFMCommunicate request_size=255 [23:39:18]MH_SAM_APDU [23:39:18]CAPDU: 80 0D 02 02 FA 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 38 39 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BA D0 B8 D0 B2 D0 B8 2D D0 BC D0 B0 D0 BD D0 B3 D0 BE D1 81 D1 82 D0 B8 D0 BD 20 30 2C 34 35 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 A6 00 23 66 0E 04 04 00 17 01 00 00 B9 04 [23:39:18]Write to MH i2c: E2 02 01 46 03 80 0D 02 02 FA 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 38 39 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BA D0 B8 D0 B2 D0 B8 2D D0 BC D0 B0 D0 BD D0 B3 D0 BE D1 81 D1 82 D0 B8 D0 BD 20 30 2C 34 35 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 A6 00 23 66 0E 04 04 00 17 01 00 00 B9 04 00 00 49 [23:39:18]Write i2c OK [23:39:18]MH_I2C_Read... [23:39:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:39:18]Read from MH i2c: E2 [23:39:18]MH_I2C_Read... [23:39:18]Read from MH i2c: E2 03 00 [23:39:18]MH_I2C_Read... [23:39:18]Read from MH i2c: E2 03 00 46 03 00 90 00 BD [23:39:18]RAPDU: 90 00 [23:39:18]wFMCommunicate OK [23:39:18]wFMCommunicate request_size=66 [23:39:18]MH_SAM_APDU [23:39:18]CAPDU: 80 0D 02 02 3D 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FC 30 00 00 35 04 06 00 E3 98 08 14 E9 F9 [23:39:18]Write to MH i2c: E2 45 00 47 03 80 0D 02 02 3D 00 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FC 30 00 00 35 04 06 00 E3 98 08 14 E9 F9 00 00 BD [23:39:18]Write i2c OK [23:39:18]MH_I2C_Read... [23:39:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:39:18]Read from MH i2c: E2 [23:39:18]MH_I2C_Read... [23:39:18]Read from MH i2c: E2 03 00 [23:39:18]MH_I2C_Read... [23:39:18]Read from MH i2c: E2 03 00 47 03 00 90 00 BE [23:39:18]RAPDU: 90 00 [23:39:18]wFMCommunicate OK [23:39:18]wFMCommunicate request_size=4 [23:39:18]MH_SAM_APDU [23:39:18]CAPDU: 80 0D 03 02 [23:39:18]Write to MH i2c: E2 08 00 48 03 80 0D 03 02 00 00 00 00 C6 [23:39:18]Write i2c OK [23:39:18]MH_I2C_Read... [23:39:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:39:18]Read from MH i2c: E2 [23:39:18]MH_I2C_Read... [23:39:18]Read from MH i2c: E2 0B 00 [23:39:18]MH_I2C_Read... [23:39:18]Read from MH i2c: E2 0B 00 48 03 00 56 28 FB 37 6C 52 B0 BB 90 00 A0 [23:39:18]RAPDU: 56 28 FB 37 6C 52 B0 BB 90 00 [23:39:18]wFMCommunicate OK [23:39:18]SAM_PROTO_SignData done [23:39:18]FM_MakeSignedData done [23:39:18]CreateOFDProtocolMessage [23:39:18]wFMCommunicate request_size=4 [23:39:18]MH_SAM_APDU [23:39:18]CAPDU: 80 11 00 00 [23:39:18]Write to MH i2c: E2 08 00 49 03 80 11 00 00 00 00 00 00 C6 [23:39:18]Write i2c OK [23:39:18]MH_I2C_Read... [23:39:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:39:18]Read from MH i2c: E2 [23:39:18]MH_I2C_Read... [23:39:18]Read from MH i2c: E2 17 00 [23:39:18]MH_I2C_Read... [23:39:18]Read from MH i2c: E2 17 00 49 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 20 [23:39:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:39:18]wFMCommunicate OK [23:39:18]CreateOFDProtocolMessage done [23:39:18]OFDSenderStorePacket 12540 [23:39:18]StoreOFDPacket docnum=12540 [23:39:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 47 01 00 00 CA 91 3F 01 3F C3 5A 03 01 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 38 39 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BA D0 B8 D0 B2 D0 B8 2D D0 BC D0 B0 D0 BD D0 B3 D0 BE D1 81 D1 82 D0 B8 D0 BD 20 30 2C 34 35 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 A6 00 23 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FC 30 00 00 35 04 06 00 E3 98 08 14 E9 F9 56 28 FB 37 6C 52 B0 BB [23:39:18]CheckFolder [23:39:18]dirname=/storage/ofd_packets [23:39:18]CheckFolder done [23:39:18]ProducePacketName [23:39:18]name=ofd_packets/00012540 [23:39:18]NVStorageSaveData ofd_packets/00012540 [23:39:18]File name is /storage/ofd_packets/00012540 [23:39:18]Write 357 bytes [23:39:18]NVStorageSaveData done [23:39:18]OFDSenderStorePacket done [23:39:18]KKMCreateOFDPacket done [23:39:18]NVStorageSaveData kkm_last_timestamp [23:39:18]File name is /storage/kkm_last_timestamp [23:39:18]Write 4 bytes [23:39:18]NVStorageSaveData done [23:39:18]ExternCall_PrintAddStr [23:39:18]wPrintStart [23:39:18]Write to MH i2c: 01 00 00 4A 03 4D [23:39:18]Write i2c OK [23:39:18]MH_I2C_Read... [23:39:18]Read from MH i2c: 01 [23:39:18]MH_I2C_Read... [23:39:18]Read from MH i2c: 01 07 00 [23:39:18]MH_I2C_Read... [23:39:18]Read from MH i2c: 01 07 00 4A 03 00 00 00 00 00 FF 0F 62 [23:39:18]RasterBufferAndPrint [23:39:18]line Счет N : (3)32814 [23:39:18]line ИНН: 02508201610067 [23:39:18]line Контрольно-Кассовый Чек [23:39:18]line ПРОДАЖА [23:39:18]line Товар: 4700000481989 [23:39:18]line Напиток энерг Nitro киви-мангостин 0,45 [23:39:18]line 1.000 * 95.00 [23:39:18]line = 95.00 [23:39:18]line НДС 12% НСП 1% [23:39:18]line > о реализуемом товаре [23:39:18]line ИТОГО: 95.00 [23:39:18]line НСП 1% : 0.84 [23:39:18]line НДС 12% : 10.09 [23:39:18]line Наличными: 95.00 [23:39:18]line Безнал.: 0.00 [23:39:18]line Место: АЗС № 106 "Партнер Нефть" [23:39:18]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [23:39:18]line СНО: Общий режим [23:39:18]line Чек 42 19.04.2024 23:39 [23:39:18]line Смена: 279 ФФД: 1.0 [23:39:18]line ЗНМ: 0300000004 [23:39:18]line РНМ: 0000000000100748 [23:39:18]line Версия ККМ: 001 [23:39:19]line ФМ: 0000000000965685 [23:39:19]line ФД: 12540 [23:39:19]line ФПД: 250242110122489 [23:39:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T233918&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12540&fm=250242110122489&tin=02508201610067®Number=0000000000100748&sum=9500 [23:39:19]line 0 [23:39:19]OFD Sender: Processing packet 12540 [packets to send 7, broken 6] [23:39:19]ProducePacketName [23:39:19]name=ofd_packets/00012540 [23:39:19]OFD Sender: To server: pG, [23:39:19]CommunicateWithHost lk.salyk.kg:30040 [23:39:19]ConnectInit lk.salyk.kg [23:39:19]written 0, free lines is 4095 [23:39:19]Write to MH i2c: 01 00 00 72 03 75 [23:39:19]Write i2c OK [23:39:19]MH_I2C_Read... [23:39:19]Read from MH i2c: 01 [23:39:19]MH_I2C_Read... [23:39:19]Read from MH i2c: 01 07 00 [23:39:19]MH_I2C_Read... [23:39:19]Read from MH i2c: 01 07 00 72 03 00 00 00 00 00 E7 0C 6F [23:39:19]RasterBufferAndPrint [23:39:19]line [23:39:19]line [23:39:19]line [23:39:19]line [23:39:19]line [23:39:19]written 0, free lines is 3308 [23:39:19]MH_Cut [23:39:19]Write to MH i2c: D1 01 00 79 03 01 4E [23:39:19]Write i2c OK [23:39:19]MH_I2C_Read... [23:39:19]Read from MH i2c: D1 [23:39:19]MH_I2C_Read... [23:39:19]Read from MH i2c: D1 01 00 [23:39:19]MH_I2C_Read... [23:39:19]Read from MH i2c: D1 01 00 79 03 00 4D [23:39:19]Write to MH i2c: 01 00 00 7A 03 7D [23:39:19]Write i2c OK [23:39:19]MH_I2C_Read... [23:39:20]*** Cut start [23:39:20]*** Partial cut [23:39:20]*** CUTSNS_PIN = 1 [23:39:20]*** CUTSNS_PIN = 0 [23:39:20]*** Brake cut motor [23:39:21]Read from MH i2c: 01 [23:39:21]MH_I2C_Read... [23:39:21]*** Stop cut motor [23:39:21]*** Cut end [23:39:21]Read from MH i2c: 01 07 00 [23:39:21]MH_I2C_Read... [23:39:21]Read from MH i2c: 01 07 00 7A 03 00 00 00 00 00 FF 0F 92 [23:39:21]process_action close_receipt done [23:39:21]requested_data is exist [23:39:21]produce_requested_data [23:39:21]requested_item fm.sn is exist - process it [23:39:21]wFMCommunicate request_size=4 [23:39:21]MH_SAM_APDU [23:39:21]CAPDU: 80 11 00 00 [23:39:21]Write to MH i2c: E2 08 00 7B 03 80 11 00 00 00 00 00 00 F8 [23:39:21]Write i2c OK [23:39:21]MH_I2C_Read... [23:39:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:39:21]Read from MH i2c: E2 [23:39:21]MH_I2C_Read... [23:39:21]Read from MH i2c: E2 17 00 [23:39:21]MH_I2C_Read... [23:39:21]Read from MH i2c: E2 17 00 7B 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 52 [23:39:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:39:21]wFMCommunicate OK [23:39:21]requested_item fd.num is exist - process it [23:39:21]SAM_PROTO_GetFieldsCounters [23:39:21]wFMCommunicate request_size=4 [23:39:21]MH_SAM_APDU [23:39:21]CAPDU: 80 13 00 00 [23:39:21]Write to MH i2c: E2 08 00 7C 03 80 13 00 00 00 00 00 00 FB [23:39:21]Write i2c OK [23:39:21]MH_I2C_Read... [23:39:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:39:21]Read from MH i2c: E2 [23:39:21]MH_I2C_Read... [23:39:21]Read from MH i2c: E2 62 00 [23:39:21]MH_I2C_Read... [23:39:21]Read from MH i2c: E2 62 00 7C 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 FC 30 00 00 0E 04 04 00 17 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 E0 [23:39:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 FC 30 00 00 0E 04 04 00 17 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 [23:39:21]wFMCommunicate OK [23:39:21]SAM_PROTO_GetFieldsCounters done [23:39:21]requested_item shift.num is exist - process it [23:39:21]requested_item shift.opened is exist - process it [23:39:21]req_shift_opened [23:39:21]FM_GetShiftState [23:39:21]SAM_PROTO_GetShiftState [23:39:21]wFMCommunicate request_size=4 [23:39:21]MH_SAM_APDU [23:39:21]CAPDU: 80 13 01 00 [23:39:21]Write to MH i2c: E2 08 00 7D 03 80 13 01 00 00 00 00 00 FD [23:39:21]Write i2c OK [23:39:21]MH_I2C_Read... [23:39:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:39:21]Read from MH i2c: E2 [23:39:21]MH_I2C_Read... [23:39:21]Read from MH i2c: E2 0E 00 [23:39:21]MH_I2C_Read... [23:39:21]Read from MH i2c: E2 0E 00 7D 03 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 F3 [23:39:21]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [23:39:21]wFMCommunicate OK [23:39:21]SAM_PROTO_GetShiftState done [23:39:21]FM_GetShiftState done [23:39:21]req_shift_opened done [23:39:21]requested_item shift.open_date is exist - process it [23:39:21]req_shift_open_date [23:39:21]req_shift_open_date done [23:39:21]produce_requested_data done [23:39:21]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12540,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [23:39:21]process_action_free close_receipt [23:39:21]json_value_free [23:39:21]json_value_free done [23:39:21]process_json_proto returns [23:39:21]Send response to host [23:39:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12540,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [23:39:21]free response buf [23:39:21]execute_script done [23:39:21]execute_script returns [23:39:21]free content buf [23:39:21]Sock 9.Close socket [23:39:21]Sock 9.Thread stoped [23:39:22]Connected sock=11 [23:39:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 47 01 00 00 CA 91 3F 01 3F C3 5A 03 01 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 38 39 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BA D0 B8 D0 B2 D0 B8 2D D0 BC D0 B0 D0 BD D0 B3 D0 BE D1 81 D1 82 D0 B8 D0 BD 20 30 2C 34 35 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 A6 00 23 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FC 30 00 00 35 04 06 00 E3 98 08 14 E9 F9 56 28 FB 37 6C 52 B0 BB [23:39:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 1B 10 47 00 73 0D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FC 30 00 00 F4 03 04 00 2F A9 22 66 B6 04 01 00 00 D1 16 A1 BE C1 AE 52 C4 [23:39:22]CommunicateWithHost err = 0 [23:39:22]CheckOFDResponse [23:39:22]1017 (14) - 77093643461234 [23:39:22]1041 (16) - 0000000000965685 [23:39:22]1040 (4) - 12540 [23:39:22]1012 (4) - 19.04.2024 17:26 [23:39:22]1206 (1) - 0 [23:39:22]OFD Sender: Remove packet 12540 [23:39:22]ProducePacketName [23:39:22]name=ofd_packets/00012540 [23:39:22]NVStorageDeleteData [23:39:23]OFD Sender: No OFD packet to send [23:39:28]OFD Sender: No OFD packet to send [23:39:33]OFD Sender: No OFD packet to send [23:39:38]OFD Sender: No OFD packet to send [23:39:43]OFD Sender: No OFD packet to send [23:39:48]OFD Sender: No OFD packet to send [23:39:53]OFD Sender: No OFD packet to send [23:39:58]OFD Sender: No OFD packet to send [23:40:03]OFD Sender: No OFD packet to send [23:40:08]OFD Sender: No OFD packet to send [23:40:13]OFD Sender: No OFD packet to send [23:40:18]OFD Sender: No OFD packet to send [23:40:23]OFD Sender: No OFD packet to send [23:40:28]OFD Sender: No OFD packet to send [23:40:33]OFD Sender: No OFD packet to send [23:40:38]OFD Sender: No OFD packet to send [23:40:43]OFD Sender: No OFD packet to send [23:40:48]OFD Sender: No OFD packet to send [23:40:53]OFD Sender: No OFD packet to send [23:40:53]accept exits with 7 [23:40:53]New connection [23:40:53]New thread 3067264356 created [23:40:53]Thread 3067120996 joined [23:40:53]Waiting for new connection... [23:40:53] Sock 7.Parse request [23:40:53]Sock 7.Check first char [23:40:53]Sock 7.First char is OK [23:40:53]request: POST /json_proto HTTP/1.0 [23:40:53]Method: POST [23:40:53]URL: /json_proto [23:40:53]Method is POST - this is cgi request [23:40:53]url: /json_proto [23:40:53]query_string will be loaded in cgi processing [23:40:53]execute_cgi json_proto POST (null) [23:40:53]execute_cgi path=json_proto method=POST [23:40:53]POST find Content-Length [23:40:53]Host: 172.17.62.6:8080 [23:40:53]Content-Length: 928 [23:40:53]Content-Type: application/json [23:40:53] [23:40:53]POST finish read [23:40:53]Found Content-Length = 928 [23:40:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32815", "tax_sys" : 0, "items" : [ { "code": "4011100091108", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u041C\u0430\u0440\u0441 50\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 179.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:40:53]execute_script... [23:40:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32815", "tax_sys" : 0, "items" : [ { "code": "4011100091108", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u041C\u0430\u0440\u0441 50\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 179.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:40:53]POST & json_proto [23:40:53]process_json_proto [23:40:53]json parsed OK: [23:40:53]protocol is kg_v1.0 [23:40:53]action value=close_receipt [23:40:53]process_action close_receipt [23:40:53]cmd_close_receipt [23:40:53]MH_GetDate [23:40:53]Write to MH i2c: F0 00 00 7E 03 70 [23:40:53]Write i2c OK [23:40:53]MH_I2C_Read... [23:40:53]Read from MH i2c: F0 [23:40:53]MH_I2C_Read... [23:40:53]Read from MH i2c: F0 09 00 [23:40:53]MH_I2C_Read... [23:40:53]Read from MH i2c: F0 09 00 7E 03 00 06 01 23 66 61 69 D2 64 09 [23:40:53]GetLastDocTimeStamp 1713569958 [23:40:53]current date 1713570054 [23:40:53]FM_GetShiftState [23:40:53]SAM_PROTO_GetShiftState [23:40:53]wFMCommunicate request_size=4 [23:40:53]MH_SAM_APDU [23:40:53]CAPDU: 80 13 01 00 [23:40:53]Write to MH i2c: E2 08 00 7F 03 80 13 01 00 00 00 00 00 FF [23:40:53]Write i2c OK [23:40:53]MH_I2C_Read... [23:40:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:40:53]Read from MH i2c: E2 [23:40:53]MH_I2C_Read... [23:40:53]Read from MH i2c: E2 0E 00 [23:40:53]MH_I2C_Read... [23:40:53]Read from MH i2c: E2 0E 00 7F 03 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 F5 [23:40:53]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [23:40:53]wFMCommunicate OK [23:40:53]SAM_PROTO_GetShiftState done [23:40:53]FM_GetShiftState done [23:40:53]opened in 1713485995 [23:40:53]opened+sec_in_day 1713572395 [23:40:53]quantity*price = 5900 [23:40:53]sum+1 = 5901 [23:40:53]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000034250011 Горячий шоколад (GABB trade) 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 179.00 НСП 1% : 1.58 НДС 12% : 19.00 Наличными: 179.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 43 19.04.2024 23:40 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12541 ФПД: 51054598822317 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T234054&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12541&fm=51054598822317&tin=02508201610067®Number=0000000000100748&sum=17900 0 [23:40:54]StoreToDocumentArchive [23:40:54]shift 279 fd 12541 [23:40:54]save to /storage/0279/doc_00012541 [23:40:54]save last doc name /storage/0279/doc_00012541 to /storage/kkm_last_doc_name [23:40:54]save OK [23:40:54]Clear old archive folders... [23:40:54]ProcessDocumentItem done err = 0, tmpTLVsize=393 [23:40:54]tlvbuf is 020077C0 [23:40:54]SAM_PROTO_ClearQueue [23:40:54]wFMCommunicate request_size=4 [23:40:54]MH_SAM_APDU [23:40:54]CAPDU: 80 09 00 00 [23:40:54]Write to MH i2c: E2 08 00 8C 03 80 09 00 00 00 00 00 00 01 [23:40:54]Write i2c OK [23:40:54]MH_I2C_Read... [23:40:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:40:54]Read from MH i2c: E2 [23:40:54]MH_I2C_Read... [23:40:54]Read from MH i2c: E2 03 00 [23:40:54]MH_I2C_Read... [23:40:54]Read from MH i2c: E2 03 00 8C 03 00 90 00 03 [23:40:54]RAPDU: 90 00 [23:40:54]wFMCommunicate OK [23:40:54]SAM_PROTO_ClearQueue done [23:40:54]KKMCreateOFDPacket [23:40:54]OFDProtocolAddRootSTLVToBuf [23:40:54]FM_MakeSignedData [23:40:54]FM_MakeSignedData [23:40:54]SAM_PROTO_SignData [23:40:54]wFMCommunicate request_size=4 [23:40:54]MH_SAM_APDU [23:40:54]CAPDU: 80 0D 01 02 [23:40:54]Write to MH i2c: E2 08 00 8D 03 80 0D 01 02 00 00 00 00 09 [23:40:54]Write i2c OK [23:40:54]MH_I2C_Read... [23:40:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:40:54]Read from MH i2c: E2 [23:40:54]MH_I2C_Read... [23:40:54]Read from MH i2c: E2 03 00 [23:40:54]MH_I2C_Read... [23:40:54]Read from MH i2c: E2 03 00 8D 03 00 90 00 04 [23:40:54]RAPDU: 90 00 [23:40:54]wFMCommunicate OK [23:40:54]wFMCommunicate request_size=255 [23:40:54]MH_SAM_APDU [23:40:54]CAPDU: 80 0D 02 02 FA 03 00 89 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 31 30 38 06 04 25 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 9C D0 B0 D1 80 D1 81 20 35 30 D0 B3 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 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 EC 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 [23:40:54]Write to MH i2c: E2 02 01 8E 03 80 0D 02 02 FA 00 03 00 89 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 31 30 38 06 04 25 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 9C D0 B0 D1 80 D1 81 20 35 30 D0 B3 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 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 EC 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 00 00 C2 [23:40:54]Write i2c OK [23:40:54]MH_I2C_Read... [23:40:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:40:54]Read from MH i2c: E2 [23:40:54]MH_I2C_Read... [23:40:54]Read from MH i2c: E2 03 00 [23:40:54]MH_I2C_Read... [23:40:54]Read from MH i2c: E2 03 00 8E 03 00 90 00 05 [23:40:54]RAPDU: 90 00 [23:40:54]wFMCommunicate OK [23:40:54]wFMCommunicate request_size=152 [23:40:54]MH_SAM_APDU [23:40:54]CAPDU: 80 0D 02 02 93 F6 03 01 00 01 F7 03 06 00 9E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 07 00 00 00 00 07 04 06 00 EC 45 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 06 01 23 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FD 30 00 00 35 04 06 00 2E 6F 13 3A 19 AD [23:40:54]Write to MH i2c: E2 9B 00 8F 03 80 0D 02 02 93 00 F6 03 01 00 01 F7 03 06 00 9E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 07 00 00 00 00 07 04 06 00 EC 45 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 06 01 23 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FD 30 00 00 35 04 06 00 2E 6F 13 3A 19 AD 00 00 4E [23:40:54]Write i2c OK [23:40:54]MH_I2C_Read... [23:40:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:40:55]Read from MH i2c: E2 [23:40:55]MH_I2C_Read... [23:40:55]Read from MH i2c: E2 03 00 [23:40:55]MH_I2C_Read... [23:40:55]Read from MH i2c: E2 03 00 8F 03 00 90 00 06 [23:40:55]RAPDU: 90 00 [23:40:55]wFMCommunicate OK [23:40:55]wFMCommunicate request_size=4 [23:40:55]MH_SAM_APDU [23:40:55]CAPDU: 80 0D 03 02 [23:40:55]Write to MH i2c: E2 08 00 90 03 80 0D 03 02 00 00 00 00 0E [23:40:55]Write i2c OK [23:40:55]MH_I2C_Read... [23:40:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:40:55]Read from MH i2c: E2 [23:40:55]MH_I2C_Read... [23:40:55]Read from MH i2c: E2 0B 00 [23:40:55]MH_I2C_Read... [23:40:55]Read from MH i2c: E2 0B 00 90 03 00 7C A7 8A 34 7E EB C2 1A 90 00 35 [23:40:55]RAPDU: 7C A7 8A 34 7E EB C2 1A 90 00 [23:40:55]wFMCommunicate OK [23:40:55]SAM_PROTO_SignData done [23:40:55]FM_MakeSignedData done [23:40:55]CreateOFDProtocolMessage [23:40:55]wFMCommunicate request_size=4 [23:40:55]MH_SAM_APDU [23:40:55]CAPDU: 80 11 00 00 [23:40:55]Write to MH i2c: E2 08 00 91 03 80 11 00 00 00 00 00 00 0E [23:40:55]Write i2c OK [23:40:55]MH_I2C_Read... [23:40:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:40:55]Read from MH i2c: E2 [23:40:55]MH_I2C_Read... [23:40:55]Read from MH i2c: E2 17 00 [23:40:55]MH_I2C_Read... [23:40:55]Read from MH i2c: E2 17 00 91 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 68 [23:40:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:40:55]wFMCommunicate OK [23:40:55]CreateOFDProtocolMessage done [23:40:55]OFDSenderStorePacket 12541 [23:40:55]StoreOFDPacket docnum=12541 [23:40:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 9D 01 00 00 0C 0F 95 01 F4 A5 5A 03 01 00 03 00 89 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 31 30 38 06 04 25 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 9C D0 B0 D1 80 D1 81 20 35 30 D0 B3 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 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 EC 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 07 00 00 00 00 07 04 06 00 EC 45 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 06 01 23 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FD 30 00 00 35 04 06 00 2E 6F 13 3A 19 AD 7C A7 8A 34 7E EB C2 1A [23:40:55]CheckFolder [23:40:55]dirname=/storage/ofd_packets [23:40:55]CheckFolder done [23:40:55]ProducePacketName [23:40:55]name=ofd_packets/00012541 [23:40:55]NVStorageSaveData ofd_packets/00012541 [23:40:55]File name is /storage/ofd_packets/00012541 [23:40:55]Write 443 bytes [23:40:55]NVStorageSaveData done [23:40:55]OFDSenderStorePacket done [23:40:55]KKMCreateOFDPacket done [23:40:55]NVStorageSaveData kkm_last_timestamp [23:40:55]File name is /storage/kkm_last_timestamp [23:40:55]Write 4 bytes [23:40:55]NVStorageSaveData done [23:40:55]ExternCall_PrintAddStr [23:40:55]wPrintStart [23:40:55]Write to MH i2c: 01 00 00 92 03 95 [23:40:55]Write i2c OK [23:40:55]MH_I2C_Read... [23:40:55]Read from MH i2c: 01 [23:40:55]MH_I2C_Read... [23:40:55]Read from MH i2c: 01 07 00 [23:40:55]MH_I2C_Read... [23:40:55]OFD Sender: Processing packet 12541 [packets to send 7, broken 6] [23:40:55]ProducePacketName [23:40:55]name=ofd_packets/00012541 [23:40:55]Read from MH i2c: 01 OFD Sender: To server: pG, [23:40:55]07 CommunicateWithHost lk.salyk.kg:30040 [23:40:55]00 ConnectInit lk.salyk.kg [23:40:55]92 03 00 00 00 00 00 FF 0F AA [23:40:55]RasterBufferAndPrint [23:40:55]line Счет N : (3)32815 [23:40:55]line ИНН: 02508201610067 [23:40:55]line Контрольно-Кассовый Чек [23:40:55]line ПРОДАЖА [23:40:55]line Товар: 4011100091108 [23:40:55]line Шок Батончик Марс 50г [23:40:55]line 1.000 * 59.00 [23:40:55]line = 59.00 [23:40:55]line НДС 12% НСП 1% [23:40:55]line > о реализуемом товаре [23:40:55]line Товар: 2000034250011 [23:40:55]line Горячий шоколад (GABB trade) [23:40:55]line 1.000 * 120.00 [23:40:55]line = 120.00 [23:40:55]line НДС 12% НСП 1% [23:40:55]line > о реализуемом товаре [23:40:55]line ИТОГО: 179.00 [23:40:55]line НСП 1% : 1.58 [23:40:55]line НДС 12% : 19.00 [23:40:55]line Наличными: 179.00 [23:40:55]line Безнал.: 0.00 [23:40:55]line Место: АЗС № 106 "Партнер Нефть" [23:40:55]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [23:40:55]line СНО: Общий режим [23:40:55]line Чек 43 19.04.2024 23:40 [23:40:55]line Смена: 279 ФФД: 1.0 [23:40:55]line ЗНМ: 0300000004 [23:40:55]line РНМ: 0000000000100748 [23:40:55]line Версия ККМ: 001 [23:40:55]line ФМ: 0000000000965685 [23:40:55]line ФД: 12541 [23:40:55]line ФПД: 51054598822317 [23:40:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T234054&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12541&fm=51054598822317&tin=02508201610067®Number=0000000000100748&sum=17900 [23:40:55]line 0 [23:40:55]written 0, free lines is 4095 [23:40:55]Connected sock=11 [23:40:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 9D 01 00 00 0C 0F 95 01 F4 A5 5A 03 01 00 03 00 89 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 31 30 38 06 04 25 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 9C D0 B0 D1 80 D1 81 20 35 30 D0 B3 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 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 EC 45 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 07 00 00 00 00 07 04 06 00 EC 45 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 06 01 23 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FD 30 00 00 35 04 06 00 2E 6F 13 3A 19 AD 7C A7 8A 34 7E EB C2 1A [23:40:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 D2 E5 47 00 D0 47 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FD 30 00 00 F4 03 04 00 8C A9 22 66 B6 04 01 00 00 29 C9 84 FB 5B DA 47 87 [23:40:55]CommunicateWithHost err = 0 [23:40:55]CheckOFDResponse [23:40:55]1017 (14) - 77093643461234 [23:40:55]1041 (16) - 0000000000965685 [23:40:55]1040 (4) - 12541 [23:40:55]1012 (4) - 19.04.2024 17:27 [23:40:55]1206 (1) - 0 [23:40:55]OFD Sender: Remove packet 12541 [23:40:55]ProducePacketName [23:40:55]name=ofd_packets/00012541 [23:40:55]NVStorageDeleteData [23:40:56]Write to MH i2c: 01 00 00 C0 03 C3 [23:40:56]Write i2c OK [23:40:56]MH_I2C_Read... [23:40:56]Read from MH i2c: 01 [23:40:56]MH_I2C_Read... [23:40:56]Read from MH i2c: 01 07 00 [23:40:56]MH_I2C_Read... [23:40:56]Read from MH i2c: 01 07 00 C0 03 00 00 00 00 00 95 0C 6B [23:40:56]RasterBufferAndPrint [23:40:56]line [23:40:56]line [23:40:56]line [23:40:56]line [23:40:56]line [23:40:56]written 0, free lines is 3230 [23:40:56]MH_Cut [23:40:56]Write to MH i2c: D1 01 00 C7 03 01 9C [23:40:56]Write i2c OK [23:40:56]MH_I2C_Read... [23:40:56]Read from MH i2c: D1 [23:40:56]MH_I2C_Read... [23:40:56]Read from MH i2c: D1 01 00 [23:40:56]MH_I2C_Read... [23:40:56]Read from MH i2c: D1 01 00 C7 03 00 9B [23:40:56]Write to MH i2c: 01 00 00 C8 03 CB [23:40:56]Write i2c OK [23:40:56]MH_I2C_Read... [23:40:56]OFD Sender: No OFD packet to send [23:40:56]*** Cut start [23:40:56]*** Partial cut [23:40:56]*** CUTSNS_PIN = 1 [23:40:56]*** CUTSNS_PIN = 0 [23:40:57]*** Brake cut motor [23:40:57]Read from MH i2c: 01 [23:40:57]MH_I2C_Read... [23:40:57]*** Stop cut motor [23:40:57]*** Cut end [23:40:57]Read from MH i2c: 01 07 00 [23:40:57]MH_I2C_Read... [23:40:57]Read from MH i2c: 01 07 00 C8 03 00 00 00 00 00 FF 0F E0 [23:40:57]process_action close_receipt done [23:40:57]requested_data is exist [23:40:57]produce_requested_data [23:40:57]requested_item fm.sn is exist - process it [23:40:57]wFMCommunicate request_size=4 [23:40:57]MH_SAM_APDU [23:40:57]CAPDU: 80 11 00 00 [23:40:57]Write to MH i2c: E2 08 00 C9 03 80 11 00 00 00 00 00 00 46 [23:40:57]Write i2c OK [23:40:57]MH_I2C_Read... [23:40:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:40:57]Read from MH i2c: E2 [23:40:57]MH_I2C_Read... [23:40:57]Read from MH i2c: E2 17 00 [23:40:57]MH_I2C_Read... [23:40:57]Read from MH i2c: E2 17 00 C9 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 A0 [23:40:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:40:57]wFMCommunicate OK [23:40:57]requested_item fd.num is exist - process it [23:40:57]SAM_PROTO_GetFieldsCounters [23:40:57]wFMCommunicate request_size=4 [23:40:57]MH_SAM_APDU [23:40:57]CAPDU: 80 13 00 00 [23:40:57]Write to MH i2c: E2 08 00 CA 03 80 13 00 00 00 00 00 00 49 [23:40:57]Write i2c OK [23:40:57]MH_I2C_Read... [23:40:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:40:57]Read from MH i2c: E2 [23:40:57]MH_I2C_Read... [23:40:57]Read from MH i2c: E2 62 00 [23:40:57]MH_I2C_Read... [23:40:57]Read from MH i2c: E2 62 00 CA 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 FD 30 00 00 0E 04 04 00 17 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 32 [23:40:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 FD 30 00 00 0E 04 04 00 17 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 [23:40:57]wFMCommunicate OK [23:40:57]SAM_PROTO_GetFieldsCounters done [23:40:57]requested_item shift.num is exist - process it [23:40:57]requested_item shift.opened is exist - process it [23:40:57]req_shift_opened [23:40:57]FM_GetShiftState [23:40:57]SAM_PROTO_GetShiftState [23:40:57]wFMCommunicate request_size=4 [23:40:57]MH_SAM_APDU [23:40:57]CAPDU: 80 13 01 00 [23:40:57]Write to MH i2c: E2 08 00 CB 03 80 13 01 00 00 00 00 00 4B [23:40:57]Write i2c OK [23:40:57]MH_I2C_Read... [23:40:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:40:57]Read from MH i2c: E2 [23:40:57]MH_I2C_Read... [23:40:57]Read from MH i2c: E2 0E 00 [23:40:57]MH_I2C_Read... [23:40:57]Read from MH i2c: E2 0E 00 CB 03 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 41 [23:40:57]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [23:40:57]wFMCommunicate OK [23:40:57]SAM_PROTO_GetShiftState done [23:40:57]FM_GetShiftState done [23:40:57]req_shift_opened done [23:40:57]requested_item shift.open_date is exist - process it [23:40:57]req_shift_open_date [23:40:57]req_shift_open_date done [23:40:57]produce_requested_data done [23:40:57]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12541,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [23:40:57]process_action_free close_receipt [23:40:57]json_value_free [23:40:57]json_value_free done [23:40:57]process_json_proto returns [23:40:57]Send response to host [23:40:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12541,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [23:40:57]free response buf [23:40:57]execute_script done [23:40:57]execute_script returns [23:40:57]free content buf [23:40:57]Sock 7.Close socket [23:40:57]Sock 7.Thread stoped [23:41:01]OFD Sender: No OFD packet to send [23:41:06]OFD Sender: No OFD packet to send [23:41:11]OFD Sender: No OFD packet to send [23:41:16]OFD Sender: No OFD packet to send [23:41:21]OFD Sender: No OFD packet to send [23:41:26]OFD Sender: No OFD packet to send [23:41:29]accept exits with 9 [23:41:29]New connection [23:41:29]New thread 3067120996 created [23:41:29]Thread 3067264356 joined [23:41:29]Waiting for new connection... [23:41:29] Sock 9.Parse request [23:41:29]Sock 9.Check first char [23:41:29]Sock 9.First char is OK [23:41:29]request: POST /json_proto HTTP/1.0 [23:41:29]Method: POST [23:41:29]URL: /json_proto [23:41:29]Method is POST - this is cgi request [23:41:29]url: /json_proto [23:41:29]query_string will be loaded in cgi processing [23:41:29]execute_cgi json_proto POST (null) [23:41:29]execute_cgi path=json_proto method=POST [23:41:29]POST find Content-Length [23:41:29]Host: 172.17.62.6:8080 [23:41:29]Content-Length: 645 [23:41:29]Content-Type: application/json [23:41:29] [23:41:29]POST finish read [23:41:29]Found Content-Length = 645 [23:41:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32816", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:41:29]execute_script... [23:41:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32816", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:41:29]POST & json_proto [23:41:29]process_json_proto [23:41:29]json parsed OK: [23:41:29]protocol is kg_v1.0 [23:41:29]action value=close_receipt [23:41:29]process_action close_receipt [23:41:29]cmd_close_receipt [23:41:29]MH_GetDate [23:41:29]Write to MH i2c: F0 00 00 CC 03 BE [23:41:29]Write i2c OK [23:41:29]MH_I2C_Read... [23:41:29]Read from MH i2c: F0 [23:41:29]MH_I2C_Read... [23:41:29]Read from MH i2c: F0 09 00 [23:41:29]MH_I2C_Read... [23:41:29]Read from MH i2c: F0 09 00 CC 03 00 2A 01 23 66 61 69 D2 64 7B [23:41:29]GetLastDocTimeStamp 1713570054 [23:41:29]current date 1713570090 [23:41:29]FM_GetShiftState [23:41:29]SAM_PROTO_GetShiftState [23:41:29]wFMCommunicate request_size=4 [23:41:29]MH_SAM_APDU [23:41:29]CAPDU: 80 13 01 00 [23:41:29]Write to MH i2c: E2 08 00 CD 03 80 13 01 00 00 00 00 00 4D [23:41:29]Write i2c OK [23:41:29]MH_I2C_Read... [23:41:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:41:29]Read from MH i2c: E2 [23:41:29]MH_I2C_Read... [23:41:29]Read from MH i2c: E2 0E 00 [23:41:29]MH_I2C_Read... [23:41:29]Read from MH i2c: E2 0E 00 CD 03 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 43 [23:41:29]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [23:41:29]wFMCommunicate OK [23:41:29]SAM_PROTO_GetShiftState done [23:41:29]FM_GetShiftState done [23:41:29]opened in 1713485995 [23:41:29]opened+sec_in_day 1713572395 [23:41:29]quantity*price = 13000 [23:41:29]sum+1 = 13001 [23:41:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 44 19.04.2024 23:41 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12542 ФПД: 36309505658810 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T234130&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12542&fm=36309505658810&tin=02508201610067®Number=0000000000100748&sum=13000 0 [23:41:30]StoreToDocumentArchive [23:41:30]shift 279 fd 12542 [23:41:30]save to /storage/0279/doc_00012542 [23:41:30]save last doc name /storage/0279/doc_00012542 to /storage/kkm_last_doc_name [23:41:30]save OK [23:41:30]Clear old archive folders... [23:41:30]ProcessDocumentItem done err = 0, tmpTLVsize=282 [23:41:30]tlvbuf is 0200BAE0 [23:41:30]SAM_PROTO_ClearQueue [23:41:30]wFMCommunicate request_size=4 [23:41:30]MH_SAM_APDU [23:41:30]CAPDU: 80 09 00 00 [23:41:30]Write to MH i2c: E2 08 00 DA 03 80 09 00 00 00 00 00 00 4F [23:41:30]Write i2c OK [23:41:30]MH_I2C_Read... [23:41:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:41:30]Read from MH i2c: E2 [23:41:30]MH_I2C_Read... [23:41:30]Read from MH i2c: E2 03 00 [23:41:30]MH_I2C_Read... [23:41:30]Read from MH i2c: E2 03 00 DA 03 00 90 00 51 [23:41:30]RAPDU: 90 00 [23:41:30]wFMCommunicate OK [23:41:30]SAM_PROTO_ClearQueue done [23:41:30]KKMCreateOFDPacket [23:41:30]OFDProtocolAddRootSTLVToBuf [23:41:30]FM_MakeSignedData [23:41:30]FM_MakeSignedData [23:41:30]SAM_PROTO_SignData [23:41:30]wFMCommunicate request_size=4 [23:41:30]MH_SAM_APDU [23:41:30]CAPDU: 80 0D 01 02 [23:41:30]Write to MH i2c: E2 08 00 DB 03 80 0D 01 02 00 00 00 00 57 [23:41:30]Write i2c OK [23:41:30]MH_I2C_Read... [23:41:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:41:30]Read from MH i2c: E2 [23:41:30]MH_I2C_Read... [23:41:30]Read from MH i2c: E2 03 00 [23:41:30]MH_I2C_Read... [23:41:30]Read from MH i2c: E2 03 00 DB 03 00 90 00 52 [23:41:30]RAPDU: 90 00 [23:41:30]wFMCommunicate OK [23:41:30]wFMCommunicate request_size=255 [23:41:30]MH_SAM_APDU [23:41:30]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 2A 01 23 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 [23:41:30]Write to MH i2c: E2 02 01 DC 03 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 2A 01 23 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 00 00 59 [23:41:30]Write i2c OK [23:41:30]MH_I2C_Read... [23:41:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:41:30]Read from MH i2c: E2 [23:41:30]MH_I2C_Read... [23:41:30]Read from MH i2c: E2 03 00 [23:41:30]MH_I2C_Read... [23:41:30]Read from MH i2c: E2 03 00 DC 03 00 90 00 53 [23:41:30]RAPDU: 90 00 [23:41:30]wFMCommunicate OK [23:41:30]wFMCommunicate request_size=41 [23:41:30]MH_SAM_APDU [23:41:30]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FE 30 00 00 35 04 06 00 21 05 F7 2F CF BA [23:41:30]Write to MH i2c: E2 2C 00 DD 03 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FE 30 00 00 35 04 06 00 21 05 F7 2F CF BA 00 00 33 [23:41:30]Write i2c OK [23:41:30]MH_I2C_Read... [23:41:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:41:30]Read from MH i2c: E2 [23:41:30]MH_I2C_Read... [23:41:30]Read from MH i2c: E2 03 00 [23:41:30]MH_I2C_Read... [23:41:30]Read from MH i2c: E2 03 00 DD 03 00 90 00 54 [23:41:30]RAPDU: 90 00 [23:41:30]wFMCommunicate OK [23:41:30]wFMCommunicate request_size=4 [23:41:30]MH_SAM_APDU [23:41:30]CAPDU: 80 0D 03 02 [23:41:30]Write to MH i2c: E2 08 00 DE 03 80 0D 03 02 00 00 00 00 5C [23:41:30]Write i2c OK [23:41:30]MH_I2C_Read... [23:41:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:41:30]Read from MH i2c: E2 [23:41:30]MH_I2C_Read... [23:41:30]Read from MH i2c: E2 0B 00 [23:41:30]MH_I2C_Read... [23:41:30]Read from MH i2c: E2 0B 00 DE 03 00 5F 06 65 98 A0 8A 07 9C 90 00 8C [23:41:30]RAPDU: 5F 06 65 98 A0 8A 07 9C 90 00 [23:41:30]wFMCommunicate OK [23:41:30]SAM_PROTO_SignData done [23:41:30]FM_MakeSignedData done [23:41:30]CreateOFDProtocolMessage [23:41:30]wFMCommunicate request_size=4 [23:41:30]MH_SAM_APDU [23:41:30]CAPDU: 80 11 00 00 [23:41:30]Write to MH i2c: E2 08 00 DF 03 80 11 00 00 00 00 00 00 5C [23:41:30]Write i2c OK [23:41:30]MH_I2C_Read... [23:41:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:41:30]Read from MH i2c: E2 [23:41:30]MH_I2C_Read... [23:41:30]Read from MH i2c: E2 17 00 [23:41:30]MH_I2C_Read... [23:41:31]Read from MH i2c: E2 17 00 DF 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 B6 [23:41:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:41:31]wFMCommunicate OK [23:41:31]CreateOFDProtocolMessage done [23:41:31]OFDSenderStorePacket 12542 [23:41:31]StoreOFDPacket docnum=12542 [23:41:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2E 01 00 00 00 01 26 01 00 26 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 2A 01 23 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FE 30 00 00 35 04 06 00 21 05 F7 2F CF BA 5F 06 65 98 A0 8A 07 9C [23:41:31]CheckFolder [23:41:31]dirname=/storage/ofd_packets [23:41:31]CheckFolder done [23:41:31]ProducePacketName [23:41:31]name=ofd_packets/00012542 [23:41:31]NVStorageSaveData ofd_packets/00012542 [23:41:31]File name is /storage/ofd_packets/00012542 [23:41:31]Write 332 bytes [23:41:31]NVStorageSaveData done [23:41:31]OFDSenderStorePacket done [23:41:31]KKMCreateOFDPacket done [23:41:31]NVStorageSaveData kkm_last_timestamp [23:41:31]File name is /storage/kkm_last_timestamp [23:41:31]Write 4 bytes [23:41:31]NVStorageSaveData done [23:41:31]ExternCall_PrintAddStr [23:41:31]wPrintStart [23:41:31]Write to MH i2c: 01 00 00 E0 03 E3 [23:41:31]Write i2c OK [23:41:31]MH_I2C_Read... [23:41:31]Read from MH i2c: 01 [23:41:31]MH_I2C_Read... [23:41:31]Read from MH i2c: 01 07 00 [23:41:31]MH_I2C_Read... [23:41:31]Read from MH i2c: 01 07 00 E0 03 00 00 00 00 00 FF 0F F8 [23:41:31]RasterBufferAndPrint [23:41:31]line Счет N : (3)32816 [23:41:31]line ИНН: 02508201610067 [23:41:31]line Контрольно-Кассовый Чек [23:41:31]line ПРОДАЖА [23:41:31]line Товар: 2000036220012 [23:41:31]line Кофе Капучино XL(GABB TRADE) [23:41:31]line 1.000 * 130.00 [23:41:31]line = 130.00 [23:41:31]line НДС 12% НСП 1% [23:41:31]line > о реализуемом товаре [23:41:31]line ИТОГО: 130.00 [23:41:31]line НСП 1% : 1.15 [23:41:31]line НДС 12% : 13.80 [23:41:31]line Наличными: 130.00 [23:41:31]line Безнал.: 0.00 [23:41:31]line Место: АЗС № 106 "Партнер Нефть" [23:41:31]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [23:41:31]line СНО: Общий режим [23:41:31]line Чек 44 19.04.2024 23:41 [23:41:31]line Смена: 279 ФФД: 1.0 [23:41:31]line ЗНМ: 0300000004 [23:41:31]line РНМ: 0000000000100748 [23:41:31]line Версия ККМ: 001 [23:41:31]line ФМ: 0000000000965685 [23:41:31]line ФД: 12542 [23:41:31]line ФПД: 36309505658810 [23:41:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T234130&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12542&fm=36309505658810&tin=02508201610067®Number=0000000000100748&sum=13000 [23:41:31]line 0 [23:41:31]OFD Sender: Processing packet 12542 [packets to send 7, broken 6] [23:41:31]ProducePacketName [23:41:31]name=ofd_packets/00012542 [23:41:31]OFD Sender: To server: pG, [23:41:31]CommunicateWithHost lk.salyk.kg:30040 [23:41:31]ConnectInit lk.salyk.kg [23:41:31]written 0, free lines is 4095 [23:41:31]Connected sock=10 [23:41:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2E 01 00 00 00 01 26 01 00 26 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 2A 01 23 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FE 30 00 00 35 04 06 00 21 05 F7 2F CF BA 5F 06 65 98 A0 8A 07 9C [23:41:31]Write to MH i2c: 01 00 00 08 04 0C [23:41:31]Write i2c OK [23:41:31]MH_I2C_Read... [23:41:31]Read from MH i2c: 01 [23:41:31]MH_I2C_Read... [23:41:31]Read from MH i2c: 01 07 00 [23:41:31]MH_I2C_Read... [23:41:31]Read from MH i2c: 01 07 00 08 04 00 00 00 00 00 18 0D 38 [23:41:31]RasterBufferAndPrint [23:41:31]line [23:41:31]line [23:41:31]line [23:41:31]line [23:41:31]line [23:41:31]written 0, free lines is 3355 [23:41:31]MH_Cut [23:41:31]Write to MH i2c: D1 01 00 0F 04 01 E5 [23:41:31]Write i2c OK [23:41:31]MH_I2C_Read... [23:41:31]Read from MH i2c: D1 [23:41:31]MH_I2C_Read... [23:41:31]Read from MH i2c: D1 01 00 [23:41:31]MH_I2C_Read... [23:41:31]Read from MH i2c: D1 01 00 0F 04 00 E4 [23:41:31]Write to MH i2c: 01 00 00 10 04 14 [23:41:31]Write i2c OK [23:41:31]MH_I2C_Read... [23:41:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 EC 09 47 00 18 9C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 36 38 35 10 04 04 00 FE 30 00 00 F4 03 04 00 B0 A9 22 66 B6 04 01 00 00 ED 7C D1 8C D4 F0 2A 87 [23:41:32]CommunicateWithHost err = 0 [23:41:32]CheckOFDResponse [23:41:32]1017 (14) - 77093643461234 [23:41:32]1041 (16) - 0000000000965685 [23:41:32]1040 (4) - 12542 [23:41:32]1012 (4) - 19.04.2024 17:28 [23:41:32]1206 (1) - 0 [23:41:32]OFD Sender: Remove packet 12542 [23:41:32]ProducePacketName [23:41:32]name=ofd_packets/00012542 [23:41:32]NVStorageDeleteData [23:41:32]*** Cut start [23:41:32]*** Partial cut [23:41:32]*** CUTSNS_PIN = 1 [23:41:32]*** CUTSNS_PIN = 0 [23:41:32]OFD Sender: No OFD packet to send [23:41:32]*** Brake cut motor [23:41:33]Read from MH i2c: 01 [23:41:33]MH_I2C_Read... [23:41:33]*** Stop cut motor [23:41:33]*** Cut end [23:41:33]Read from MH i2c: 01 07 00 [23:41:33]MH_I2C_Read... [23:41:33]Read from MH i2c: 01 07 00 10 04 00 00 00 00 00 FF 0F 29 [23:41:33]process_action close_receipt done [23:41:33]requested_data is exist [23:41:33]produce_requested_data [23:41:33]requested_item fm.sn is exist - process it [23:41:33]wFMCommunicate request_size=4 [23:41:33]MH_SAM_APDU [23:41:33]CAPDU: 80 11 00 00 [23:41:33]Write to MH i2c: E2 08 00 11 04 80 11 00 00 00 00 00 00 8F [23:41:33]Write i2c OK [23:41:33]MH_I2C_Read... [23:41:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:41:33]Read from MH i2c: E2 [23:41:33]MH_I2C_Read... [23:41:33]Read from MH i2c: E2 17 00 [23:41:33]MH_I2C_Read... [23:41:33]Read from MH i2c: E2 17 00 11 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 E9 [23:41:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:41:33]wFMCommunicate OK [23:41:33]requested_item fd.num is exist - process it [23:41:33]SAM_PROTO_GetFieldsCounters [23:41:33]wFMCommunicate request_size=4 [23:41:33]MH_SAM_APDU [23:41:33]CAPDU: 80 13 00 00 [23:41:33]Write to MH i2c: E2 08 00 12 04 80 13 00 00 00 00 00 00 92 [23:41:33]Write i2c OK [23:41:33]MH_I2C_Read... [23:41:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:41:33]Read from MH i2c: E2 [23:41:33]MH_I2C_Read... [23:41:33]Read from MH i2c: E2 62 00 [23:41:33]MH_I2C_Read... [23:41:33]Read from MH i2c: E2 62 00 12 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 FE 30 00 00 0E 04 04 00 17 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 7F [23:41:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 FE 30 00 00 0E 04 04 00 17 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 [23:41:33]wFMCommunicate OK [23:41:33]SAM_PROTO_GetFieldsCounters done [23:41:33]requested_item shift.num is exist - process it [23:41:33]requested_item shift.opened is exist - process it [23:41:33]req_shift_opened [23:41:33]FM_GetShiftState [23:41:33]SAM_PROTO_GetShiftState [23:41:33]wFMCommunicate request_size=4 [23:41:33]MH_SAM_APDU [23:41:33]CAPDU: 80 13 01 00 [23:41:33]Write to MH i2c: E2 08 00 13 04 80 13 01 00 00 00 00 00 94 [23:41:33]Write i2c OK [23:41:33]MH_I2C_Read... [23:41:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:41:33]Read from MH i2c: E2 [23:41:33]MH_I2C_Read... [23:41:33]Read from MH i2c: E2 0E 00 [23:41:33]MH_I2C_Read... [23:41:33]Read from MH i2c: E2 0E 00 13 04 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 8A [23:41:33]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [23:41:33]wFMCommunicate OK [23:41:33]SAM_PROTO_GetShiftState done [23:41:33]FM_GetShiftState done [23:41:33]req_shift_opened done [23:41:33]requested_item shift.open_date is exist - process it [23:41:33]req_shift_open_date [23:41:33]req_shift_open_date done [23:41:33]produce_requested_data done [23:41:33]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12542,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [23:41:33]process_action_free close_receipt [23:41:33]json_value_free [23:41:33]json_value_free done [23:41:33]process_json_proto returns [23:41:33]Send response to host [23:41:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12542,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [23:41:33]free response buf [23:41:33]execute_script done [23:41:33]execute_script returns [23:41:33]free content buf [23:41:33]Sock 9.Close socket [23:41:33]Sock 9.Thread stoped [23:41:37]OFD Sender: No OFD packet to send [23:41:42]OFD Sender: No OFD packet to send [23:41:47]OFD Sender: No OFD packet to send [23:41:52]OFD Sender: No OFD packet to send [23:41:57]OFD Sender: No OFD packet to send [23:42:02]OFD Sender: No OFD packet to send [23:42:07]OFD Sender: No OFD packet to send [23:42:12]OFD Sender: No OFD packet to send [23:42:17]OFD Sender: No OFD packet to send [23:42:22]OFD Sender: No OFD packet to send [23:42:27]OFD Sender: No OFD packet to send [23:42:28]int [23:42:28]Write to MH i2c: 01 00 00 14 04 18 [23:42:28]*** FLAG_PRN_KEY set [23:42:28]Write i2c OK [23:42:28]MH_I2C_Read... [23:42:28]Read from MH i2c: 01 [23:42:28]MH_I2C_Read... [23:42:28]Read from MH i2c: 01 07 00 [23:42:28]MH_I2C_Read... [23:42:28]Read from MH i2c: 01 07 00 14 04 00 08 00 00 00 FF 0F 35 [23:42:28]state=0 [23:42:28]Key pressed [23:42:28]Feed [23:42:28]Write to MH i2c: D8 00 00 15 04 F0 [23:42:28]Write i2c OK [23:42:28]MH_I2C_Read... [23:42:28]Read from MH i2c: D8 [23:42:28]MH_I2C_Read... [23:42:28]Read from MH i2c: D8 01 00 [23:42:28]MH_I2C_Read... [23:42:28]Read from MH i2c: D8 01 00 15 04 00 F1 [23:42:28]int [23:42:28]Write to MH i2c: 01 00 00 16 04 1A [23:42:28]Write i2c OK [23:42:28]MH_I2C_Read... [23:42:28]Read from MH i2c: 01 [23:42:28]MH_I2C_Read... [23:42:28]Read from MH i2c: 01 07 00 [23:42:28]MH_I2C_Read... [23:42:28]Read from MH i2c: 01 07 00 16 04 00 48 00 00 00 3C 00 A5 [23:42:28]state=2 [23:42:28]Key pressed [23:42:28]int [23:42:28]Write to MH i2c: 01 00 00 17 04 1B [23:42:28]*** FLAG_PRN_KEY reset [23:42:28]Write i2c OK [23:42:28]MH_I2C_Read... [23:42:28]Read from MH i2c: 01 [23:42:28]MH_I2C_Read... [23:42:28]Read from MH i2c: 01 07 00 [23:42:28]MH_I2C_Read... [23:42:28]Read from MH i2c: 01 07 00 17 04 00 00 00 00 00 F5 0F 26 [23:42:28]state=2 [23:42:28]Stop feed [23:42:32]OFD Sender: No OFD packet to send [23:42:37]OFD Sender: No OFD packet to send [23:42:37]int [23:42:37]Write to MH i2c: 01 00 00 18 04 1C [23:42:37]*** FLAG_PRN_KEY set [23:42:37]Write i2c OK [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: 01 [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: 01 07 00 [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: 01 07 00 18 04 00 08 00 00 00 FF 0F 39 [23:42:37]state=0 [23:42:37]Key pressed [23:42:37]Feed [23:42:37]Write to MH i2c: D8 00 00 19 04 F4 [23:42:37]Write i2c OK [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: D8 [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: D8 01 00 [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: D8 01 00 19 04 00 F5 [23:42:37]int [23:42:37]Write to MH i2c: 01 00 00 1A 04 1E [23:42:37]Write i2c OK [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: 01 [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: 01 07 00 [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: 01 07 00 1A 04 00 48 00 00 00 3D 00 AA [23:42:37]state=2 [23:42:37]Key pressed [23:42:37]int [23:42:37]Write to MH i2c: 01 00 00 1B 04 1F [23:42:37]*** FLAG_PRN_KEY reset [23:42:37]Write i2c OK [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: 01 [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: 01 07 00 [23:42:37]MH_I2C_Read... [23:42:37]Read from MH i2c: 01 07 00 1B 04 00 00 00 00 00 F5 0F 2A [23:42:37]state=2 [23:42:37]Stop feed [23:42:42]OFD Sender: No OFD packet to send [23:42:47]OFD Sender: No OFD packet to send [23:42:52]OFD Sender: No OFD packet to send [23:42:57]OFD Sender: No OFD packet to send [23:43:02]OFD Sender: No OFD packet to send [23:43:07]OFD Sender: No OFD packet to send [23:43:12]OFD Sender: No OFD packet to send [23:43:17]OFD Sender: No OFD packet to send [23:43:22]OFD Sender: No OFD packet to send [23:43:27]OFD Sender: No OFD packet to send [23:43:32]OFD Sender: No OFD packet to send [23:43:37]OFD Sender: No OFD packet to send [23:43:42]OFD Sender: No OFD packet to send [23:43:47]OFD Sender: No OFD packet to send [23:43:52]OFD Sender: No OFD packet to send [23:43:57]OFD Sender: No OFD packet to send [23:44:02]OFD Sender: No OFD packet to send [23:44:07]OFD Sender: No OFD packet to send [23:44:12]OFD Sender: No OFD packet to send [23:44:17]OFD Sender: No OFD packet to send [23:44:22]OFD Sender: No OFD packet to send [23:44:27]OFD Sender: No OFD packet to send [23:44:29]accept exits with 7 [23:44:29]New connection [23:44:29]New thread 3067264356 created [23:44:29]Thread 3067120996 joined [23:44:29]Waiting for new connection... [23:44:29] Sock 7.Parse request [23:44:29]Sock 7.Check first char [23:44:29]Sock 7.First char is OK [23:44:29]request: POST /json_proto HTTP/1.0 [23:44:29]Method: POST [23:44:29]URL: /json_proto [23:44:29]Method is POST - this is cgi request [23:44:29]url: /json_proto [23:44:29]query_string will be loaded in cgi processing [23:44:29]execute_cgi json_proto POST (null) [23:44:29]execute_cgi path=json_proto method=POST [23:44:29]POST find Content-Length [23:44:29]Host: 172.17.62.6:8080 [23:44:29]Content-Length: 663 [23:44:29]Content-Type: application/json [23:44:29] [23:44:29]POST finish read [23:44:29]Found Content-Length = 663 [23:44:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32817", "tax_sys" : 0, "items" : [ { "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:44:29]execute_script... [23:44:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32817", "tax_sys" : 0, "items" : [ { "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:44:29]POST & json_proto [23:44:29]process_json_proto [23:44:29]json parsed OK: [23:44:29]protocol is kg_v1.0 [23:44:29]action value=close_receipt [23:44:29]process_action close_receipt [23:44:29]cmd_close_receipt [23:44:29]MH_GetDate [23:44:29]Write to MH i2c: F0 00 00 1C 04 0F [23:44:29]Write i2c OK [23:44:29]MH_I2C_Read... [23:44:29]Read from MH i2c: F0 [23:44:29]MH_I2C_Read... [23:44:29]Read from MH i2c: F0 09 00 [23:44:29]MH_I2C_Read... [23:44:29]Read from MH i2c: F0 09 00 1C 04 00 DE 01 23 66 61 69 D2 64 80 [23:44:29]GetLastDocTimeStamp 1713570090 [23:44:29]current date 1713570270 [23:44:29]FM_GetShiftState [23:44:29]SAM_PROTO_GetShiftState [23:44:29]wFMCommunicate request_size=4 [23:44:29]MH_SAM_APDU [23:44:29]CAPDU: 80 13 01 00 [23:44:29]Write to MH i2c: E2 08 00 1D 04 80 13 01 00 00 00 00 00 9E [23:44:29]Write i2c OK [23:44:29]MH_I2C_Read... [23:44:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:44:29]Read from MH i2c: E2 [23:44:29]MH_I2C_Read... [23:44:29]Read from MH i2c: E2 0E 00 [23:44:29]MH_I2C_Read... [23:44:29]Read from MH i2c: E2 0E 00 1D 04 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 94 [23:44:29]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [23:44:29]wFMCommunicate OK [23:44:29]SAM_PROTO_GetShiftState done [23:44:29]FM_GetShiftState done [23:44:29]opened in 1713485995 [23:44:29]opened+sec_in_day 1713572395 [23:44:29]quantity*price = 19000 [23:44:29]sum+1 = 19001 [23:44:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 190.00 НСП 1% : 1.68 НДС 12% : 20.18 Наличными: 190.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 45 19.04.2024 23:44 Смена: 279 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12543 ФПД: 279053481797426 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T234430&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12543&fm=279053481797426&tin=02508201610067®Number=0000000000100748&sum=19000 0 [23:44:30]StoreToDocumentArchive [23:44:30]shift 279 fd 12543 [23:44:30]save to /storage/0279/doc_00012543 [23:44:30]save last doc name /storage/0279/doc_00012543 to /storage/kkm_last_doc_name [23:44:30]save OK [23:44:30]Clear old archive folders... [23:44:30]ProcessDocumentItem done err = 0, tmpTLVsize=289 [23:44:30]tlvbuf is 01FD07E0 [23:44:30]SAM_PROTO_ClearQueue [23:44:30]wFMCommunicate request_size=4 [23:44:30]MH_SAM_APDU [23:44:30]CAPDU: 80 09 00 00 [23:44:30]Write to MH i2c: E2 08 00 2A 04 80 09 00 00 00 00 00 00 A0 [23:44:30]Write i2c OK [23:44:30]MH_I2C_Read... [23:44:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:44:30]Read from MH i2c: E2 [23:44:30]MH_I2C_Read... [23:44:30]Read from MH i2c: E2 03 00 [23:44:30]MH_I2C_Read... [23:44:30]Read from MH i2c: E2 03 00 2A 04 00 90 00 A2 [23:44:30]RAPDU: 90 00 [23:44:30]wFMCommunicate OK [23:44:30]SAM_PROTO_ClearQueue done [23:44:30]KKMCreateOFDPacket [23:44:30]OFDProtocolAddRootSTLVToBuf [23:44:30]FM_MakeSignedData [23:44:30]FM_MakeSignedData [23:44:30]SAM_PROTO_SignData [23:44:30]wFMCommunicate request_size=4 [23:44:30]MH_SAM_APDU [23:44:30]CAPDU: 80 0D 01 02 [23:44:30]Write to MH i2c: E2 08 00 2B 04 80 0D 01 02 00 00 00 00 A8 [23:44:30]Write i2c OK [23:44:30]MH_I2C_Read... [23:44:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:44:30]Read from MH i2c: E2 [23:44:30]MH_I2C_Read... [23:44:30]Read from MH i2c: E2 03 00 [23:44:30]MH_I2C_Read... [23:44:30]Read from MH i2c: E2 03 00 2B 04 00 90 00 A3 [23:44:30]RAPDU: 90 00 [23:44:30]wFMCommunicate OK [23:44:30]wFMCommunicate request_size=255 [23:44:30]MH_SAM_APDU [23:44:30]CAPDU: 80 0D 02 02 FA 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 DE 01 23 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 [23:44:30]Write to MH i2c: E2 02 01 2C 04 80 0D 02 02 FA 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 DE 01 23 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 00 00 BE [23:44:30]Write i2c OK [23:44:30]MH_I2C_Read... [23:44:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:44:30]Read from MH i2c: E2 [23:44:30]MH_I2C_Read... [23:44:30]Read from MH i2c: E2 03 00 [23:44:30]MH_I2C_Read... [23:44:30]Read from MH i2c: E2 03 00 2C 04 00 90 00 A4 [23:44:30]RAPDU: 90 00 [23:44:30]wFMCommunicate OK [23:44:30]wFMCommunicate request_size=48 [23:44:30]MH_SAM_APDU [23:44:30]CAPDU: 80 0D 02 02 2B 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FF 30 00 00 35 04 06 00 FD CC 33 A7 E7 32 [23:44:30]Write to MH i2c: E2 33 00 2D 04 80 0D 02 02 2B 00 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FF 30 00 00 35 04 06 00 FD CC 33 A7 E7 32 00 00 92 [23:44:30]Write i2c OK [23:44:30]MH_I2C_Read... [23:44:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:44:30]Read from MH i2c: E2 [23:44:30]MH_I2C_Read... [23:44:30]Read from MH i2c: E2 03 00 [23:44:30]MH_I2C_Read... [23:44:30]Read from MH i2c: E2 03 00 2D 04 00 90 00 A5 [23:44:30]RAPDU: 90 00 [23:44:30]wFMCommunicate OK [23:44:30]wFMCommunicate request_size=4 [23:44:30]MH_SAM_APDU [23:44:30]CAPDU: 80 0D 03 02 [23:44:30]Write to MH i2c: E2 08 00 2E 04 80 0D 03 02 00 00 00 00 AD [23:44:30]Write i2c OK [23:44:30]MH_I2C_Read... [23:44:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:44:30]Read from MH i2c: E2 [23:44:30]MH_I2C_Read... [23:44:30]Read from MH i2c: E2 0B 00 [23:44:30]MH_I2C_Read... [23:44:30]Read from MH i2c: E2 0B 00 2E 04 00 FE 72 35 76 CF 51 C2 89 90 00 34 [23:44:30]RAPDU: FE 72 35 76 CF 51 C2 89 90 00 [23:44:30]wFMCommunicate OK [23:44:30]SAM_PROTO_SignData done [23:44:30]FM_MakeSignedData done [23:44:30]CreateOFDProtocolMessage [23:44:30]wFMCommunicate request_size=4 [23:44:30]MH_SAM_APDU [23:44:30]CAPDU: 80 11 00 00 [23:44:30]Write to MH i2c: E2 08 00 2F 04 80 11 00 00 00 00 00 00 AD [23:44:30]Write i2c OK [23:44:30]MH_I2C_Read... [23:44:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:44:30]Read from MH i2c: E2 [23:44:30]MH_I2C_Read... [23:44:30]Read from MH i2c: E2 17 00 [23:44:30]MH_I2C_Read... [23:44:30]Read from MH i2c: E2 17 00 2F 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 07 [23:44:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:44:30]wFMCommunicate OK [23:44:30]CreateOFDProtocolMessage done [23:44:30]OFDSenderStorePacket 12543 [23:44:30]StoreOFDPacket docnum=12543 [23:44:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 35 01 00 00 9C 5B 2D 01 0B 54 5A 03 01 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 DE 01 23 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FF 30 00 00 35 04 06 00 FD CC 33 A7 E7 32 FE 72 35 76 CF 51 C2 89 [23:44:30]CheckFolder [23:44:30]dirname=/storage/ofd_packets [23:44:30]CheckFolder done [23:44:30]ProducePacketName [23:44:30]name=ofd_packets/00012543 [23:44:30]NVStorageSaveData ofd_packets/00012543 [23:44:30]File name is /storage/ofd_packets/00012543 [23:44:30]Write 339 bytes [23:44:30]NVStorageSaveData done [23:44:30]OFDSenderStorePacket done [23:44:30]KKMCreateOFDPacket done [23:44:30]NVStorageSaveData kkm_last_timestamp [23:44:30]File name is /storage/kkm_last_timestamp [23:44:30]Write 4 bytes [23:44:30]NVStorageSaveData done [23:44:30]ExternCall_PrintAddStr [23:44:30]wPrintStart [23:44:30]Write to MH i2c: 01 00 00 30 04 34 [23:44:30]Write i2c OK [23:44:30]MH_I2C_Read... [23:44:30]Read from MH i2c: 01 [23:44:30]MH_I2C_Read... [23:44:30]Read from MH i2c: 01 07 00 [23:44:30]MH_I2C_Read... [23:44:30]Read from MH i2c: 01 07 00 30 04 00 00 00 00 00 FF 0F 49 [23:44:30]RasterBufferAndPrint [23:44:30]line Счет N : (3)32817 [23:44:30]line ИНН: 02508201610067 [23:44:30]line Контрольно-Кассовый Чек [23:44:30]line ПРОДАЖА [23:44:30]line Товар: 5449000176431 [23:44:30]line Сок Piko Pulpy апельсин ПЭТ 0,5л [23:44:30]line 2.000 * 95.00 [23:44:30]line = 190.00 [23:44:30]line НДС 12% НСП 1% [23:44:30]line > о реализуемом товаре [23:44:30]line ИТОГО: 190.00 [23:44:30]line НСП 1% : 1.68 [23:44:30]line НДС 12% : 20.18 [23:44:30]line Наличными: 190.00 [23:44:30]line Безнал.: 0.00 [23:44:30]line Место: АЗС № 106 "Партнер Нефть" [23:44:30]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [23:44:30]line СНО: Общий режим [23:44:30]line Чек 45 19.04.2024 23:44 [23:44:30]line Смена: 279 ФФД: 1.0 [23:44:30]line ЗНМ: 0300000004 [23:44:30]line РНМ: 0000000000100748 [23:44:30]line Версия ККМ: 001 [23:44:30]line ФМ: 0000000000965685 [23:44:30]line ФД: 12543 [23:44:30]line ФПД: 279053481797426 [23:44:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240419T234430&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12543&fm=279053481797426&tin=02508201610067®Number=0000000000100748&sum=19000 [23:44:31]line 0 [23:44:31]OFD Sender: Processing packet 12543 [packets to send 7, broken 6] [23:44:31]ProducePacketName [23:44:31]name=ofd_packets/00012543 [23:44:31]OFD Sender: To server: pG, [23:44:31]CommunicateWithHost lk.salyk.kg:30040 [23:44:31]ConnectInit lk.salyk.kg [23:44:31]written 0, free lines is 4095 [23:44:31]Connected sock=10 [23:44:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 35 01 00 00 9C 5B 2D 01 0B 54 5A 03 01 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 DE 01 23 66 0E 04 04 00 17 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FF 30 00 00 35 04 06 00 FD CC 33 A7 E7 32 FE 72 35 76 CF 51 C2 89 [23:44:31]Write to MH i2c: 01 00 00 58 04 5C [23:44:31]Write i2c OK [23:44:31]MH_I2C_Read... [23:44:31]Read from MH i2c: 01 [23:44:31]MH_I2C_Read... [23:44:31]Read from MH i2c: 01 07 00 [23:44:31]MH_I2C_Read... [23:44:31]Read from MH i2c: 01 07 00 58 04 00 00 00 00 00 0B 0D 7B [23:44:31]RasterBufferAndPrint [23:44:31]line [23:44:31]line [23:44:31]line [23:44:31]line [23:44:31]line [23:44:31]written 0, free lines is 3345 [23:44:31]MH_Cut [23:44:31]Write to MH i2c: D1 01 00 5F 04 01 35 [23:44:31]Write i2c OK [23:44:31]MH_I2C_Read... [23:44:31]Read from MH i2c: D1 [23:44:31]MH_I2C_Read... [23:44:31]Read from MH i2c: D1 01 00 [23:44:31]MH_I2C_Read... [23:44:31]Read from MH i2c: D1 01 00 5F 04 00 34 [23:44:31]Write to MH i2c: 01 00 00 60 04 64 [23:44:31]Write i2c OK [23:44:31]MH_I2C_Read... [23:44:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 B1 BC 47 00 1F ED A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 FF 30 00 00 F4 03 04 00 64 AA 22 66 B6 04 01 00 00 FD 6B B9 6C 2D 68 71 E0 [23:44:31]CommunicateWithHost err = 0 [23:44:31]CheckOFDResponse [23:44:31]1017 (14) - 77093643461234 [23:44:31]1041 (16) - 0000000000965685 [23:44:31]1040 (4) - 12543 [23:44:31]1012 (4) - 19.04.2024 17:31 [23:44:31]1206 (1) - 0 [23:44:31]OFD Sender: Remove packet 12543 [23:44:31]ProducePacketName [23:44:31]name=ofd_packets/00012543 [23:44:31]NVStorageDeleteData [23:44:32]OFD Sender: No OFD packet to send [23:44:32]*** Cut start [23:44:32]*** Partial cut [23:44:32]*** CUTSNS_PIN = 1 [23:44:32]*** CUTSNS_PIN = 0 [23:44:32]*** Brake cut motor [23:44:33]Read from MH i2c: *** Stop cut motor [23:44:33]*** Cut end [23:44:33]01 [23:44:33]MH_I2C_Read... [23:44:33]Read from MH i2c: 01 07 00 [23:44:33]MH_I2C_Read... [23:44:33]Read from MH i2c: 01 07 00 60 04 00 00 00 00 00 FF 0F 79 [23:44:33]process_action close_receipt done [23:44:33]requested_data is exist [23:44:33]produce_requested_data [23:44:33]requested_item fm.sn is exist - process it [23:44:33]wFMCommunicate request_size=4 [23:44:33]MH_SAM_APDU [23:44:33]CAPDU: 80 11 00 00 [23:44:33]Write to MH i2c: E2 08 00 61 04 80 11 00 00 00 00 00 00 DF [23:44:33]Write i2c OK [23:44:33]MH_I2C_Read... [23:44:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:44:33]Read from MH i2c: E2 [23:44:33]MH_I2C_Read... [23:44:33]Read from MH i2c: E2 17 00 [23:44:33]MH_I2C_Read... [23:44:33]Read from MH i2c: E2 17 00 61 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 39 [23:44:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:44:33]wFMCommunicate OK [23:44:33]requested_item fd.num is exist - process it [23:44:33]SAM_PROTO_GetFieldsCounters [23:44:33]wFMCommunicate request_size=4 [23:44:33]MH_SAM_APDU [23:44:33]CAPDU: 80 13 00 00 [23:44:33]Write to MH i2c: E2 08 00 62 04 80 13 00 00 00 00 00 00 E2 [23:44:33]Write i2c OK [23:44:33]MH_I2C_Read... [23:44:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:44:33]Read from MH i2c: E2 [23:44:33]MH_I2C_Read... [23:44:33]Read from MH i2c: E2 62 00 [23:44:33]MH_I2C_Read... [23:44:33]Read from MH i2c: E2 62 00 62 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 FF 30 00 00 0E 04 04 00 17 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 D3 [23:44:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 FF 30 00 00 0E 04 04 00 17 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 [23:44:33]wFMCommunicate OK [23:44:33]SAM_PROTO_GetFieldsCounters done [23:44:33]requested_item shift.num is exist - process it [23:44:33]requested_item shift.opened is exist - process it [23:44:33]req_shift_opened [23:44:33]FM_GetShiftState [23:44:33]SAM_PROTO_GetShiftState [23:44:33]wFMCommunicate request_size=4 [23:44:33]MH_SAM_APDU [23:44:33]CAPDU: 80 13 01 00 [23:44:33]Write to MH i2c: E2 08 00 63 04 80 13 01 00 00 00 00 00 E4 [23:44:33]Write i2c OK [23:44:33]MH_I2C_Read... [23:44:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:44:33]Read from MH i2c: E2 [23:44:33]MH_I2C_Read... [23:44:33]Read from MH i2c: E2 0E 00 [23:44:33]MH_I2C_Read... [23:44:33]Read from MH i2c: E2 0E 00 63 04 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 DA [23:44:33]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [23:44:33]wFMCommunicate OK [23:44:33]SAM_PROTO_GetShiftState done [23:44:33]FM_GetShiftState done [23:44:33]req_shift_opened done [23:44:33]requested_item shift.open_date is exist - process it [23:44:33]req_shift_open_date [23:44:33]req_shift_open_date done [23:44:33]produce_requested_data done [23:44:33]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12543,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [23:44:33]process_action_free close_receipt [23:44:33]json_value_free [23:44:33]json_value_free done [23:44:33]process_json_proto returns [23:44:33]Send response to host [23:44:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12543,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [23:44:33]free response buf [23:44:33]execute_script done [23:44:33]execute_script returns [23:44:33]free content buf [23:44:33]Sock 7.Close socket [23:44:33]Sock 7.Thread stoped [23:44:37]OFD Sender: No OFD packet to send [23:44:42]OFD Sender: No OFD packet to send [23:44:47]OFD Sender: No OFD packet to send [23:44:52]OFD Sender: No OFD packet to send [23:44:57]OFD Sender: No OFD packet to send [23:45:02]OFD Sender: No OFD packet to send [23:45:07]OFD Sender: No OFD packet to send [23:45:12]OFD Sender: No OFD packet to send [23:45:17]OFD Sender: No OFD packet to send [23:45:22]OFD Sender: No OFD packet to send [23:45:27]OFD Sender: No OFD packet to send [23:45:32]OFD Sender: No OFD packet to send [23:45:37]OFD Sender: No OFD packet to send [23:45:42]OFD Sender: No OFD packet to send [23:45:47]OFD Sender: No OFD packet to send [23:45:52]OFD Sender: No OFD packet to send [23:45:57]OFD Sender: No OFD packet to send [23:46:02]OFD Sender: No OFD packet to send [23:46:07]OFD Sender: No OFD packet to send [23:46:12]OFD Sender: No OFD packet to send [23:46:17]OFD Sender: No OFD packet to send [23:46:22]OFD Sender: No OFD packet to send [23:46:27]OFD Sender: No OFD packet to send [23:46:32]OFD Sender: No OFD packet to send [23:46:37]OFD Sender: No OFD packet to send [23:46:42]OFD Sender: No OFD packet to send [23:46:47]OFD Sender: No OFD packet to send [23:46:52]OFD Sender: No OFD packet to send [23:46:57]OFD Sender: No OFD packet to send [23:47:02]OFD Sender: No OFD packet to send [23:47:07]OFD Sender: No OFD packet to send [23:47:12]OFD Sender: No OFD packet to send [23:47:17]OFD Sender: No OFD packet to send [23:47:22]OFD Sender: No OFD packet to send [23:47:27]OFD Sender: No OFD packet to send [23:47:32]OFD Sender: No OFD packet to send [23:47:37]OFD Sender: No OFD packet to send [23:47:42]OFD Sender: No OFD packet to send [23:47:47]OFD Sender: No OFD packet to send [23:47:52]OFD Sender: No OFD packet to send [23:47:57]OFD Sender: No OFD packet to send [23:48:02]OFD Sender: No OFD packet to send [23:48:07]OFD Sender: No OFD packet to send [23:48:12]OFD Sender: No OFD packet to send [23:48:17]OFD Sender: No OFD packet to send [23:48:22]OFD Sender: No OFD packet to send [23:48:27]OFD Sender: No OFD packet to send [23:48:32]OFD Sender: No OFD packet to send [23:48:37]OFD Sender: No OFD packet to send [23:48:42]OFD Sender: No OFD packet to send [23:48:47]OFD Sender: No OFD packet to send [23:48:52]OFD Sender: No OFD packet to send [23:48:57]OFD Sender: No OFD packet to send [23:49:02]OFD Sender: No OFD packet to send [23:49:07]OFD Sender: No OFD packet to send [23:49:12]OFD Sender: No OFD packet to send [23:49:17]OFD Sender: No OFD packet to send [23:49:22]OFD Sender: No OFD packet to send [23:49:27]OFD Sender: No OFD packet to send [23:49:32]OFD Sender: No OFD packet to send [23:49:37]OFD Sender: No OFD packet to send [23:49:42]OFD Sender: No OFD packet to send [23:49:47]OFD Sender: No OFD packet to send [23:49:52]OFD Sender: No OFD packet to send [23:49:57]OFD Sender: No OFD packet to send [23:50:02]OFD Sender: No OFD packet to send [23:50:07]OFD Sender: No OFD packet to send [23:50:12]OFD Sender: No OFD packet to send [23:50:17]OFD Sender: No OFD packet to send [23:50:22]OFD Sender: No OFD packet to send [23:50:27]OFD Sender: No OFD packet to send [23:50:32]OFD Sender: No OFD packet to send [23:50:37]OFD Sender: No OFD packet to send [23:50:42]OFD Sender: No OFD packet to send [23:50:47]OFD Sender: No OFD packet to send [23:50:52]OFD Sender: No OFD packet to send [23:50:57]OFD Sender: No OFD packet to send [23:51:02]OFD Sender: No OFD packet to send [23:51:07]OFD Sender: No OFD packet to send [23:51:12]OFD Sender: No OFD packet to send [23:51:17]OFD Sender: No OFD packet to send [23:51:22]OFD Sender: No OFD packet to send [23:51:27]OFD Sender: No OFD packet to send [23:51:32]OFD Sender: No OFD packet to send [23:51:37]OFD Sender: No OFD packet to send [23:51:42]OFD Sender: No OFD packet to send [23:51:47]OFD Sender: No OFD packet to send [23:51:52]OFD Sender: No OFD packet to send [23:51:57]OFD Sender: No OFD packet to send [23:52:02]OFD Sender: No OFD packet to send [23:52:07]OFD Sender: No OFD packet to send [23:52:12]OFD Sender: No OFD packet to send [23:52:17]OFD Sender: No OFD packet to send [23:52:22]OFD Sender: No OFD packet to send [23:52:27]OFD Sender: No OFD packet to send [23:52:32]OFD Sender: No OFD packet to send [23:52:37]OFD Sender: No OFD packet to send [23:52:42]OFD Sender: No OFD packet to send [23:52:47]OFD Sender: No OFD packet to send [23:52:52]OFD Sender: No OFD packet to send [23:52:57]OFD Sender: No OFD packet to send [23:53:02]OFD Sender: No OFD packet to send [23:53:07]OFD Sender: No OFD packet to send [23:53:12]OFD Sender: No OFD packet to send [23:53:17]OFD Sender: No OFD packet to send [23:53:22]OFD Sender: No OFD packet to send [23:53:27]OFD Sender: No OFD packet to send [23:53:32]OFD Sender: No OFD packet to send [23:53:37]OFD Sender: No OFD packet to send [23:53:42]OFD Sender: No OFD packet to send [23:53:47]OFD Sender: No OFD packet to send [23:53:52]OFD Sender: No OFD packet to send [23:53:57]OFD Sender: No OFD packet to send [23:54:02]OFD Sender: No OFD packet to send [23:54:07]OFD Sender: No OFD packet to send [23:54:12]OFD Sender: No OFD packet to send [23:54:17]OFD Sender: No OFD packet to send [23:54:22]OFD Sender: No OFD packet to send [23:54:27]OFD Sender: No OFD packet to send [23:54:32]OFD Sender: No OFD packet to send [23:54:37]OFD Sender: No OFD packet to send [23:54:42]OFD Sender: No OFD packet to send [23:54:47]OFD Sender: No OFD packet to send [23:54:52]OFD Sender: No OFD packet to send [23:54:57]OFD Sender: No OFD packet to send [23:55:02]OFD Sender: No OFD packet to send [23:55:07]OFD Sender: No OFD packet to send [23:55:12]OFD Sender: No OFD packet to send [23:55:17]OFD Sender: No OFD packet to send [23:55:22]OFD Sender: No OFD packet to send [23:55:27]OFD Sender: No OFD packet to send [23:55:32]OFD Sender: No OFD packet to send [23:55:37]OFD Sender: No OFD packet to send [23:55:42]OFD Sender: No OFD packet to send [23:55:47]OFD Sender: No OFD packet to send [23:55:52]OFD Sender: No OFD packet to send [23:55:57]OFD Sender: No OFD packet to send [23:56:02]OFD Sender: No OFD packet to send [23:56:07]OFD Sender: No OFD packet to send [23:56:12]OFD Sender: No OFD packet to send [23:56:17]OFD Sender: No OFD packet to send [23:56:22]OFD Sender: No OFD packet to send [23:56:27]OFD Sender: No OFD packet to send [23:56:32]OFD Sender: No OFD packet to send [23:56:37]OFD Sender: No OFD packet to send [23:56:42]OFD Sender: No OFD packet to send [23:56:47]OFD Sender: No OFD packet to send [23:56:52]OFD Sender: No OFD packet to send [23:56:57]OFD Sender: No OFD packet to send [23:57:02]OFD Sender: No OFD packet to send [23:57:07]OFD Sender: No OFD packet to send [23:57:12]OFD Sender: No OFD packet to send [23:57:17]OFD Sender: No OFD packet to send [23:57:22]OFD Sender: No OFD packet to send [23:57:27]OFD Sender: No OFD packet to send [23:57:32]OFD Sender: No OFD packet to send [23:57:37]OFD Sender: No OFD packet to send [23:57:42]OFD Sender: No OFD packet to send [23:57:47]OFD Sender: No OFD packet to send [23:57:52]OFD Sender: No OFD packet to send [23:57:57]OFD Sender: No OFD packet to send [23:58:02]OFD Sender: No OFD packet to send [23:58:07]OFD Sender: No OFD packet to send [23:58:12]OFD Sender: No OFD packet to send [23:58:17]OFD Sender: No OFD packet to send [23:58:22]OFD Sender: No OFD packet to send [23:58:27]OFD Sender: No OFD packet to send [23:58:32]OFD Sender: No OFD packet to send [23:58:37]OFD Sender: No OFD packet to send [23:58:42]OFD Sender: No OFD packet to send [23:58:46]accept exits with 9 [23:58:46]New connection [23:58:46]New thread 3067120996 created [23:58:46]Thread 3067264356 joined [23:58:46]Waiting for new connection... [23:58:46] Sock 9.Parse request [23:58:46]Sock 9.Check first char [23:58:46]Sock 9.First char is OK [23:58:46]request: POST /json_proto HTTP/1.0 [23:58:46]Method: POST [23:58:46]URL: /json_proto [23:58:46]Method is POST - this is cgi request [23:58:46]url: /json_proto [23:58:46]query_string will be loaded in cgi processing [23:58:46]execute_cgi json_proto POST (null) [23:58:46]execute_cgi path=json_proto method=POST [23:58:46]POST find Content-Length [23:58:46]Host: 172.17.62.6:8080 [23:58:46]Content-Length: 215 [23:58:46]Content-Type: application/json [23:58:46] [23:58:46]POST finish read [23:58:46]Found Content-Length = 215 [23:58:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:58:46]execute_script... [23:58:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:58:46]POST & json_proto [23:58:46]process_json_proto [23:58:46]json parsed OK: [23:58:46]protocol is kg_v1.0 [23:58:46]action value=get_value [23:58:46]process_action get_value [23:58:46]cmd_get_value [23:58:46]process_action get_value done [23:58:46]requested_data is exist [23:58:46]produce_requested_data [23:58:46]requested_item kkm.sn is exist - process it [23:58:46]requested_item kkm.ver is exist - process it [23:58:46]requested_item fm.sn is exist - process it [23:58:46]wFMCommunicate request_size=4 [23:58:46]MH_SAM_APDU [23:58:46]CAPDU: 80 11 00 00 [23:58:46]Write to MH i2c: E2 08 00 64 04 80 11 00 00 00 00 00 00 E2 [23:58:46]Write i2c OK [23:58:46]MH_I2C_Read... [23:58:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:58:46]Read from MH i2c: E2 [23:58:46]MH_I2C_Read... [23:58:46]Read from MH i2c: E2 17 00 [23:58:46]MH_I2C_Read... [23:58:46]Read from MH i2c: E2 17 00 64 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 3C [23:58:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:58:46]wFMCommunicate OK [23:58:46]requested_item fd.num is exist - process it [23:58:46]SAM_PROTO_GetFieldsCounters [23:58:46]wFMCommunicate request_size=4 [23:58:46]MH_SAM_APDU [23:58:46]CAPDU: 80 13 00 00 [23:58:46]Write to MH i2c: E2 08 00 65 04 80 13 00 00 00 00 00 00 E5 [23:58:46]Write i2c OK [23:58:46]MH_I2C_Read... [23:58:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:58:47]Read from MH i2c: E2 [23:58:47]MH_I2C_Read... [23:58:47]Read from MH i2c: E2 62 00 [23:58:47]MH_I2C_Read... [23:58:47]Read from MH i2c: E2 62 00 65 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 FF 30 00 00 0E 04 04 00 17 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 D6 [23:58:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 FF 30 00 00 0E 04 04 00 17 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 [23:58:47]wFMCommunicate OK [23:58:47]SAM_PROTO_GetFieldsCounters done [23:58:47]requested_item shift.num is exist - process it [23:58:47]requested_item shift.opened is exist - process it [23:58:47]req_shift_opened [23:58:47]FM_GetShiftState [23:58:47]SAM_PROTO_GetShiftState [23:58:47]wFMCommunicate request_size=4 [23:58:47]MH_SAM_APDU [23:58:47]CAPDU: 80 13 01 00 [23:58:47]Write to MH i2c: E2 08 00 66 04 80 13 01 00 00 00 00 00 E7 [23:58:47]Write i2c OK [23:58:47]MH_I2C_Read... [23:58:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:58:47]Read from MH i2c: E2 [23:58:47]MH_I2C_Read... [23:58:47]Read from MH i2c: E2 0E 00 [23:58:47]MH_I2C_Read... [23:58:47]Read from MH i2c: E2 0E 00 66 04 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 DD [23:58:47]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [23:58:47]wFMCommunicate OK [23:58:47]SAM_PROTO_GetShiftState done [23:58:47]FM_GetShiftState done [23:58:47]req_shift_opened done [23:58:47]requested_item shift.open_date is exist - process it [23:58:47]req_shift_open_date [23:58:47]req_shift_open_date done [23:58:47]produce_requested_data done [23:58:47]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12543,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [23:58:47]process_action_free get_value [23:58:47]json_value_free [23:58:47]json_value_free done [23:58:47]process_json_proto returns [23:58:47]Send response to host [23:58:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12543,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [23:58:47]free response buf [23:58:47]execute_script done [23:58:47]execute_script returns [23:58:47]free content buf [23:58:47]Sock 9.Close socket [23:58:47]Sock 9.Thread stoped [23:58:47]accept exits with 7 [23:58:47]New connection [23:58:47]New thread 3067264356 created [23:58:47]Thread 3067120996 joined [23:58:47]Waiting for new connection... [23:58:47] Sock 7.Parse request [23:58:47]Sock 7.Check first char [23:58:47]Sock 7.First char is OK [23:58:47]request: POST /json_proto HTTP/1.0 [23:58:47]Method: POST [23:58:47]URL: /json_proto [23:58:47]Method is POST - this is cgi request [23:58:47]url: /json_proto [23:58:47]query_string will be loaded in cgi processing [23:58:47]execute_cgi json_proto POST (null) [23:58:47]execute_cgi path=json_proto method=POST [23:58:47]POST find Content-Length [23:58:47]Host: 172.17.62.6:8080 [23:58:47]Content-Length: 331 [23:58:47]Content-Type: application/json [23:58:47] [23:58:47]POST finish read [23:58:47]Found Content-Length = 331 [23:58:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:58:47]execute_script... [23:58:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:58:47]POST & json_proto [23:58:47]process_json_proto [23:58:47]json parsed OK: [23:58:47]protocol is kg_v1.0 [23:58:47]action value=get_value [23:58:47]process_action get_value [23:58:47]cmd_get_value [23:58:47]process_action get_value done [23:58:47]requested_data is exist [23:58:47]produce_requested_data [23:58:47]requested_item fm.sale.total is exist - process it [23:58:47]SAM_PROTO_GetFMData [23:58:47]wFMCommunicate request_size=4 [23:58:47]MH_SAM_APDU [23:58:47]CAPDU: 80 13 03 00 [23:58:47]Write to MH i2c: E2 08 00 67 04 80 13 03 00 00 00 00 00 EA [23:58:47]Write i2c OK [23:58:47]MH_I2C_Read... [23:58:47]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:58:47]Read from MH i2c: E2 [23:58:47]MH_I2C_Read... [23:58:47]Read from MH i2c: E2 FD 00 [23:58:47]MH_I2C_Read... [23:58:47]Read from MH i2c: E2 FD 00 67 04 00 C1 04 85 04 BD 04 6E 04 04 00 D1 2E 00 00 69 04 A0 00 6F 04 04 00 85 2E 00 00 B1 04 04 00 D3 CC B3 0E 70 04 04 00 82 9A AE 0C 72 04 04 00 51 32 05 02 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 01 B1 8F 01 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 AB 4A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 E8 [23:58:47]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 D1 2E 00 00 69 04 A0 00 6F 04 04 00 85 2E 00 00 B1 04 04 00 D3 CC B3 0E 70 04 04 00 82 9A AE 0C 72 04 04 00 51 32 05 02 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 01 B1 8F 01 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 AB 4A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 [23:58:47]wFMCommunicate OK [23:58:47]wFMCommunicate request_size=4 [23:58:47]MH_SAM_APDU [23:58:47]CAPDU: 80 17 00 00 [23:58:47]Write to MH i2c: E2 08 00 68 04 80 17 00 00 00 00 00 00 EC [23:58:47]Write i2c OK [23:58:47]MH_I2C_Read... [23:58:47]OFD Sender: No OFD packet to send [23:58:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:48]Read from MH i2c: E2 [23:58:48]MH_I2C_Read... [23:58:48]Read from MH i2c: E2 FD 00 [23:58:48]MH_I2C_Read... [23:58:48]Read from MH i2c: E2 FD 00 68 04 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8A [23:58:48]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:58:48]wFMCommunicate OK [23:58:48]wFMCommunicate request_size=4 [23:58:48]MH_SAM_APDU [23:58:48]CAPDU: 80 17 00 00 [23:58:48]Write to MH i2c: E2 08 00 69 04 80 17 00 00 00 00 00 00 ED [23:58:48]Write i2c OK [23:58:48]MH_I2C_Read... [23:58:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:48]Read from MH i2c: E2 [23:58:48]MH_I2C_Read... [23:58:48]Read from MH i2c: E2 FD 00 [23:58:48]MH_I2C_Read... [23:58:48]Read from MH i2c: E2 FD 00 69 04 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8D [23:58:48]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:58:48]wFMCommunicate OK [23:58:48]wFMCommunicate request_size=4 [23:58:48]MH_SAM_APDU [23:58:48]CAPDU: 80 17 00 00 [23:58:48]Write to MH i2c: E2 08 00 6A 04 80 17 00 00 00 00 00 00 EE [23:58:48]Write i2c OK [23:58:48]MH_I2C_Read... [23:58:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:48]Read from MH i2c: E2 [23:58:48]MH_I2C_Read... [23:58:48]Read from MH i2c: E2 FD 00 [23:58:48]MH_I2C_Read... [23:58:48]Read from MH i2c: E2 FD 00 6A 04 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 73 [23:58:48]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:58:48]wFMCommunicate OK [23:58:48]wFMCommunicate request_size=4 [23:58:48]MH_SAM_APDU [23:58:48]CAPDU: 80 17 00 00 [23:58:48]Write to MH i2c: E2 08 00 6B 04 80 17 00 00 00 00 00 00 EF [23:58:48]Write i2c OK [23:58:48]MH_I2C_Read... [23:58:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:58:48]Read from MH i2c: E2 [23:58:48]MH_I2C_Read... [23:58:48]Read from MH i2c: E2 DE 00 [23:58:48]MH_I2C_Read... [23:58:48]Read from MH i2c: E2 DE 00 6B 04 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 CE [23:58:48]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:58:48]wFMCommunicate OK [23:58:48]SAM_PROTO_GetFMData done [23:58:48]requested_item fm.sale_refund.total is exist - process it [23:58:48]requested_item fm.buy.total is exist - process it [23:58:48]requested_item shift.sale.total is exist - process it [23:58:48]SAM_PROTO_GetShiftData [23:58:48]wFMCommunicate request_size=4 [23:58:48]MH_SAM_APDU [23:58:48]CAPDU: 80 13 02 00 [23:58:48]Write to MH i2c: E2 08 00 6C 04 80 13 02 00 00 00 00 00 EE [23:58:48]Write i2c OK [23:58:48]MH_I2C_Read... [23:58:49]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:58:49]Read from MH i2c: E2 [23:58:49]MH_I2C_Read... [23:58:49]Read from MH i2c: E2 FD 00 [23:58:49]MH_I2C_Read... [23:58:49]Read from MH i2c: E2 FD 00 6C 04 00 AE 04 AA 04 AA 04 6E 04 04 00 2D 00 00 00 69 04 9B 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 5C CB 0F 70 04 03 00 08 68 0D 72 04 03 00 54 63 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 64 AD 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 C5 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 6F [23:58:49]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 2D 00 00 00 69 04 9B 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 5C CB 0F 70 04 03 00 08 68 0D 72 04 03 00 54 63 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 64 AD 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 C5 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:58:49]wFMCommunicate OK [23:58:49]wFMCommunicate request_size=4 [23:58:49]MH_SAM_APDU [23:58:49]CAPDU: 80 17 00 00 [23:58:49]Write to MH i2c: E2 08 00 6D 04 80 17 00 00 00 00 00 00 F1 [23:58:49]Write i2c OK [23:58:49]MH_I2C_Read... [23:58:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:49]Read from MH i2c: E2 [23:58:49]MH_I2C_Read... [23:58:49]Read from MH i2c: E2 FD 00 [23:58:49]MH_I2C_Read... [23:58:49]Read from MH i2c: E2 FD 00 6D 04 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 13 [23:58:49]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:58:49]wFMCommunicate OK [23:58:49]wFMCommunicate request_size=4 [23:58:49]MH_SAM_APDU [23:58:49]CAPDU: 80 17 00 00 [23:58:49]Write to MH i2c: E2 08 00 6E 04 80 17 00 00 00 00 00 00 F2 [23:58:49]Write i2c OK [23:58:49]MH_I2C_Read... [23:58:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:49]Read from MH i2c: E2 [23:58:49]MH_I2C_Read... [23:58:49]Read from MH i2c: E2 FD 00 [23:58:49]MH_I2C_Read... [23:58:49]Read from MH i2c: E2 FD 00 6E 04 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A9 [23:58:49]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:58:49]wFMCommunicate OK [23:58:49]wFMCommunicate request_size=4 [23:58:49]MH_SAM_APDU [23:58:49]CAPDU: 80 17 00 00 [23:58:49]Write to MH i2c: E2 08 00 6F 04 80 17 00 00 00 00 00 00 F3 [23:58:49]Write i2c OK [23:58:49]MH_I2C_Read... [23:58:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:50]Read from MH i2c: E2 [23:58:50]MH_I2C_Read... [23:58:50]Read from MH i2c: E2 FD 00 [23:58:50]MH_I2C_Read... [23:58:50]Read from MH i2c: E2 FD 00 6F 04 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 65 [23:58:50]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:58:50]wFMCommunicate OK [23:58:50]wFMCommunicate request_size=4 [23:58:50]MH_SAM_APDU [23:58:50]CAPDU: 80 17 00 00 [23:58:50]Write to MH i2c: E2 08 00 70 04 80 17 00 00 00 00 00 00 F4 [23:58:50]Write i2c OK [23:58:50]MH_I2C_Read... [23:58:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:58:50]Read from MH i2c: E2 [23:58:50]MH_I2C_Read... [23:58:50]Read from MH i2c: E2 CB 00 [23:58:50]MH_I2C_Read... [23:58:50]Read from MH i2c: E2 CB 00 70 04 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 DD [23:58:50]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:58:50]wFMCommunicate OK [23:58:50]SAM_PROTO_GetShiftData done [23:58:50]requested_item shift.sale.total_cash is exist - process it [23:58:50]requested_item shift.sale_refund.total is exist - process it [23:58:50]requested_item shift.sale_refund.total_cash is exist - process it [23:58:50]requested_item shift.buy.total is exist - process it [23:58:50]requested_item shift.buy.total_cash is exist - process it [23:58:50]produce_requested_data done [23:58:50]produce_requested_data return {"fm.sale.total":2466644.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":10351.00,"shift.sale.total_cash":8786.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:58:50]process_action_free get_value [23:58:50]json_value_free [23:58:50]json_value_free done [23:58:50]process_json_proto returns [23:58:50]Send response to host [23:58:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2466644.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":10351.00,"shift.sale.total_cash":8786.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:58:50]free response buf [23:58:50]execute_script done [23:58:50]execute_script returns [23:58:50]free content buf [23:58:50]Sock 7.Close socket [23:58:50]Sock 7.Thread stoped [23:58:50]accept exits with 9 [23:58:50]New connection [23:58:50]New thread 3067120996 created [23:58:50]Thread 3067264356 joined [23:58:50]Waiting for new connection... [23:58:50] Sock 9.Parse request [23:58:50]Sock 9.Check first char [23:58:50]Sock 9.First char is OK [23:58:50]request: POST /json_proto HTTP/1.0 [23:58:50]Method: POST [23:58:50]URL: /json_proto [23:58:50]Method is POST - this is cgi request [23:58:50]url: /json_proto [23:58:50]query_string will be loaded in cgi processing [23:58:50]execute_cgi json_proto POST (null) [23:58:50]execute_cgi path=json_proto method=POST [23:58:50]POST find Content-Length [23:58:50]Host: 172.17.62.6:8080 [23:58:50]Content-Length: 331 [23:58:50]Content-Type: application/json [23:58:50] [23:58:50]POST finish read [23:58:50]Found Content-Length = 331 [23:58:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:58:50]execute_script... [23:58:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:58:50]POST & json_proto [23:58:50]process_json_proto [23:58:50]json parsed OK: [23:58:50]protocol is kg_v1.0 [23:58:50]action value=get_value [23:58:50]process_action get_value [23:58:50]cmd_get_value [23:58:50]process_action get_value done [23:58:50]requested_data is exist [23:58:50]produce_requested_data [23:58:50]requested_item fm.sale.total is exist - process it [23:58:50]SAM_PROTO_GetFMData [23:58:50]wFMCommunicate request_size=4 [23:58:50]MH_SAM_APDU [23:58:50]CAPDU: 80 13 03 00 [23:58:50]Write to MH i2c: E2 08 00 71 04 80 13 03 00 00 00 00 00 F4 [23:58:50]Write i2c OK [23:58:50]MH_I2C_Read... [23:58:50]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:58:50]Read from MH i2c: E2 [23:58:50]MH_I2C_Read... [23:58:50]Read from MH i2c: E2 FD 00 [23:58:50]MH_I2C_Read... [23:58:50]Read from MH i2c: E2 FD 00 71 04 00 C1 04 85 04 BD 04 6E 04 04 00 D1 2E 00 00 69 04 A0 00 6F 04 04 00 85 2E 00 00 B1 04 04 00 D3 CC B3 0E 70 04 04 00 82 9A AE 0C 72 04 04 00 51 32 05 02 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 01 B1 8F 01 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 AB 4A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 F2 [23:58:50]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 D1 2E 00 00 69 04 A0 00 6F 04 04 00 85 2E 00 00 B1 04 04 00 D3 CC B3 0E 70 04 04 00 82 9A AE 0C 72 04 04 00 51 32 05 02 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 01 B1 8F 01 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 AB 4A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 [23:58:50]wFMCommunicate OK [23:58:50]wFMCommunicate request_size=4 [23:58:50]MH_SAM_APDU [23:58:50]CAPDU: 80 17 00 00 [23:58:50]Write to MH i2c: E2 08 00 72 04 80 17 00 00 00 00 00 00 F6 [23:58:50]Write i2c OK [23:58:50]MH_I2C_Read... [23:58:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:51]Read from MH i2c: E2 [23:58:51]MH_I2C_Read... [23:58:51]Read from MH i2c: E2 FD 00 [23:58:51]MH_I2C_Read... [23:58:51]Read from MH i2c: E2 FD 00 72 04 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 94 [23:58:51]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:58:51]wFMCommunicate OK [23:58:51]wFMCommunicate request_size=4 [23:58:51]MH_SAM_APDU [23:58:51]CAPDU: 80 17 00 00 [23:58:51]Write to MH i2c: E2 08 00 73 04 80 17 00 00 00 00 00 00 F7 [23:58:51]Write i2c OK [23:58:51]MH_I2C_Read... [23:58:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:51]Read from MH i2c: E2 [23:58:51]MH_I2C_Read... [23:58:51]Read from MH i2c: E2 FD 00 [23:58:51]MH_I2C_Read... [23:58:51]Read from MH i2c: E2 FD 00 73 04 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 97 [23:58:51]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:58:51]wFMCommunicate OK [23:58:51]wFMCommunicate request_size=4 [23:58:51]MH_SAM_APDU [23:58:51]CAPDU: 80 17 00 00 [23:58:51]Write to MH i2c: E2 08 00 74 04 80 17 00 00 00 00 00 00 F8 [23:58:51]Write i2c OK [23:58:51]MH_I2C_Read... [23:58:51]Read from MH i2c: E2 [23:58:51]MH_I2C_Read... [23:58:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:51]Read from MH i2c: E2 FD 00 [23:58:51]MH_I2C_Read... [23:58:51]Read from MH i2c: E2 FD 00 74 04 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7D [23:58:51]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:58:52]wFMCommunicate OK [23:58:52]wFMCommunicate request_size=4 [23:58:52]MH_SAM_APDU [23:58:52]CAPDU: 80 17 00 00 [23:58:52]Write to MH i2c: E2 08 00 75 04 80 17 00 00 00 00 00 00 F9 [23:58:52]Write i2c OK [23:58:52]MH_I2C_Read... [23:58:52]Read from MH i2c: E2 [23:58:52]MH_I2C_Read... [23:58:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:58:52]Read from MH i2c: E2 DE 00 [23:58:52]MH_I2C_Read... [23:58:52]Read from MH i2c: E2 DE 00 75 04 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D8 [23:58:52]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:58:52]wFMCommunicate OK [23:58:52]SAM_PROTO_GetFMData done [23:58:52]requested_item fm.sale_refund.total is exist - process it [23:58:52]requested_item fm.buy.total is exist - process it [23:58:52]requested_item shift.sale.total is exist - process it [23:58:52]SAM_PROTO_GetShiftData [23:58:52]wFMCommunicate request_size=4 [23:58:52]MH_SAM_APDU [23:58:52]CAPDU: 80 13 02 00 [23:58:52]Write to MH i2c: E2 08 00 76 04 80 13 02 00 00 00 00 00 F8 [23:58:52]Write i2c OK [23:58:52]MH_I2C_Read... [23:58:52]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:58:52]Read from MH i2c: E2 [23:58:52]MH_I2C_Read... [23:58:52]Read from MH i2c: E2 FD 00 [23:58:52]MH_I2C_Read... [23:58:52]Read from MH i2c: E2 FD 00 76 04 00 AE 04 AA 04 AA 04 6E 04 04 00 2D 00 00 00 69 04 9B 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 5C CB 0F 70 04 03 00 08 68 0D 72 04 03 00 54 63 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 64 AD 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 C5 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 79 [23:58:52]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 2D 00 00 00 69 04 9B 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 5C CB 0F 70 04 03 00 08 68 0D 72 04 03 00 54 63 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 64 AD 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 C5 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:58:53]wFMCommunicate OK [23:58:53]wFMCommunicate request_size=4 [23:58:53]MH_SAM_APDU [23:58:53]CAPDU: 80 17 00 00 [23:58:53]Write to MH i2c: E2 08 00 77 04 80 17 00 00 00 00 00 00 FB [23:58:53]OFD Sender: No OFD packet to send [23:58:53]Write i2c OK [23:58:53]MH_I2C_Read... [23:58:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:53]Read from MH i2c: E2 [23:58:53]MH_I2C_Read... [23:58:53]Read from MH i2c: E2 FD 00 [23:58:53]MH_I2C_Read... [23:58:53]Read from MH i2c: E2 FD 00 77 04 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 1D [23:58:53]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:58:53]wFMCommunicate OK [23:58:53]wFMCommunicate request_size=4 [23:58:53]MH_SAM_APDU [23:58:53]CAPDU: 80 17 00 00 [23:58:53]Write to MH i2c: E2 08 00 78 04 80 17 00 00 00 00 00 00 FC [23:58:53]Write i2c OK [23:58:53]MH_I2C_Read... [23:58:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:53]Read from MH i2c: E2 [23:58:53]MH_I2C_Read... [23:58:53]Read from MH i2c: E2 FD 00 [23:58:53]MH_I2C_Read... [23:58:53]Read from MH i2c: E2 FD 00 78 04 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 B3 [23:58:53]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:58:53]wFMCommunicate OK [23:58:53]wFMCommunicate request_size=4 [23:58:53]MH_SAM_APDU [23:58:53]CAPDU: 80 17 00 00 [23:58:53]Write to MH i2c: E2 08 00 79 04 80 17 00 00 00 00 00 00 FD [23:58:53]Write i2c OK [23:58:53]MH_I2C_Read... [23:58:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:54]Read from MH i2c: E2 [23:58:54]MH_I2C_Read... [23:58:54]Read from MH i2c: E2 FD 00 [23:58:54]MH_I2C_Read... [23:58:54]Read from MH i2c: E2 FD 00 79 04 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 6F [23:58:54]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:58:54]wFMCommunicate OK [23:58:54]wFMCommunicate request_size=4 [23:58:54]MH_SAM_APDU [23:58:54]CAPDU: 80 17 00 00 [23:58:54]Write to MH i2c: E2 08 00 7A 04 80 17 00 00 00 00 00 00 FE [23:58:54]Write i2c OK [23:58:54]MH_I2C_Read... [23:58:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:58:54]Read from MH i2c: E2 [23:58:54]MH_I2C_Read... [23:58:54]Read from MH i2c: E2 CB 00 [23:58:54]MH_I2C_Read... [23:58:54]Read from MH i2c: E2 CB 00 7A 04 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 E7 [23:58:54]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:58:54]wFMCommunicate OK [23:58:54]SAM_PROTO_GetShiftData done [23:58:54]requested_item shift.sale.total_cash is exist - process it [23:58:54]requested_item shift.sale_refund.total is exist - process it [23:58:54]requested_item shift.sale_refund.total_cash is exist - process it [23:58:54]requested_item shift.buy.total is exist - process it [23:58:54]requested_item shift.buy.total_cash is exist - process it [23:58:54]produce_requested_data done [23:58:54]produce_requested_data return {"fm.sale.total":2466644.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":10351.00,"shift.sale.total_cash":8786.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:58:54]process_action_free get_value [23:58:54]json_value_free [23:58:54]json_value_free done [23:58:54]process_json_proto returns [23:58:54]Send response to host [23:58:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2466644.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":10351.00,"shift.sale.total_cash":8786.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:58:54]free response buf [23:58:54]execute_script done [23:58:54]execute_script returns [23:58:54]free content buf [23:58:54]Sock 9.Close socket [23:58:54]Sock 9.Thread stoped [23:58:54]accept exits with 7 [23:58:54]New connection [23:58:54]New thread 3067264356 created [23:58:54]Thread 3067120996 joined [23:58:54]Waiting for new connection... [23:58:54] Sock 7.Parse request [23:58:54]Sock 7.Check first char [23:58:54]Sock 7.First char is OK [23:58:54]request: POST /json_proto HTTP/1.0 [23:58:54]Method: POST [23:58:54]URL: /json_proto [23:58:54]Method is POST - this is cgi request [23:58:54]url: /json_proto [23:58:54]query_string will be loaded in cgi processing [23:58:54]execute_cgi json_proto POST (null) [23:58:54]execute_cgi path=json_proto method=POST [23:58:54]POST find Content-Length [23:58:54]Host: 172.17.62.6:8080 [23:58:54]Content-Length: 269 [23:58:54]Content-Type: application/json [23:58:54] [23:58:54]POST finish read [23:58:54]Found Content-Length = 269 [23:58:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0422\u0430\u0431\u0430\u043B\u0434\u0438\u0435\u0432\u0430 \u041C. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:58:54]execute_script... [23:58:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0422\u0430\u0431\u0430\u043B\u0434\u0438\u0435\u0432\u0430 \u041C. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:58:54]POST & json_proto [23:58:54]process_json_proto [23:58:54]json parsed OK: [23:58:54]protocol is kg_v1.0 [23:58:54]action value=x_report [23:58:54]process_action x_report [23:58:54]cmd_x_report [23:58:54]MH_GetDate [23:58:54]Write to MH i2c: F0 00 00 7B 04 6E [23:58:54]Write i2c OK [23:58:54]MH_I2C_Read... [23:58:54]Read from MH i2c: F0 [23:58:54]MH_I2C_Read... [23:58:54]Read from MH i2c: F0 09 00 [23:58:54]MH_I2C_Read... [23:58:54]Read from MH i2c: F0 09 00 7B 04 00 3F 05 23 66 61 69 D2 64 44 [23:58:54]GetLastDocTimeStamp 1713570270 [23:58:54]current date 1713571135 [23:58:54]FM_GetShiftState [23:58:54]SAM_PROTO_GetShiftState [23:58:54]wFMCommunicate request_size=4 [23:58:54]MH_SAM_APDU [23:58:54]CAPDU: 80 13 01 00 [23:58:54]Write to MH i2c: E2 08 00 7C 04 80 13 01 00 00 00 00 00 FD [23:58:54]Write i2c OK [23:58:54]MH_I2C_Read... [23:58:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:58:54]Read from MH i2c: E2 [23:58:54]MH_I2C_Read... [23:58:54]Read from MH i2c: E2 0E 00 [23:58:54]MH_I2C_Read... [23:58:54]Read from MH i2c: E2 0E 00 7C 04 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 F3 [23:58:54]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [23:58:54]wFMCommunicate OK [23:58:54]SAM_PROTO_GetShiftState done [23:58:54]FM_GetShiftState done [23:58:54]KKMCreateXReportDocument [23:58:54]Load OK [23:58:54]Malloc new data [23:58:54]MH_GetDate [23:58:54]Write to MH i2c: F0 00 00 7D 04 70 [23:58:54]Write i2c OK [23:58:54]MH_I2C_Read... [23:58:54]Read from MH i2c: F0 [23:58:54]MH_I2C_Read... [23:58:54]Read from MH i2c: F0 09 00 [23:58:54]MH_I2C_Read... [23:58:54]Read from MH i2c: F0 09 00 7D 04 00 3F 05 23 66 61 69 D2 64 46 [23:58:54]Malloc new data [23:58:54]Malloc new data [23:58:54]wFMCommunicate request_size=4 [23:58:54]MH_SAM_APDU [23:58:54]CAPDU: 80 11 00 00 [23:58:54]Write to MH i2c: E2 08 00 7E 04 80 11 00 00 00 00 00 00 FC [23:58:54]Write i2c OK [23:58:54]MH_I2C_Read... [23:58:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:58:54]Read from MH i2c: E2 [23:58:54]MH_I2C_Read... [23:58:54]Read from MH i2c: E2 17 00 [23:58:54]MH_I2C_Read... [23:58:54]Read from MH i2c: E2 17 00 7E 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 56 [23:58:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:58:54]wFMCommunicate OK [23:58:54]SAM_PROTO_GetFieldsCounters [23:58:54]wFMCommunicate request_size=4 [23:58:54]MH_SAM_APDU [23:58:54]CAPDU: 80 13 00 00 [23:58:54]Write to MH i2c: E2 08 00 7F 04 80 13 00 00 00 00 00 00 FF [23:58:54]Write i2c OK [23:58:54]MH_I2C_Read... [23:58:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:58:54]Read from MH i2c: E2 [23:58:54]MH_I2C_Read... [23:58:54]Read from MH i2c: E2 62 00 [23:58:54]MH_I2C_Read... [23:58:54]Read from MH i2c: E2 62 00 7F 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 FF 30 00 00 0E 04 04 00 17 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 F0 [23:58:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 FF 30 00 00 0E 04 04 00 17 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 [23:58:54]wFMCommunicate OK [23:58:54]SAM_PROTO_GetFieldsCounters done [23:58:54]Malloc new data [23:58:54]Malloc new data [23:58:54]Malloc new data [23:58:54]KKMCreateXReportDocument OK [23:58:54]KKMSetXReportData OK [23:58:54]KKMPrepareXReportFMData [23:58:54]SAM_PROTO_GetShiftData [23:58:54]wFMCommunicate request_size=4 [23:58:54]MH_SAM_APDU [23:58:54]CAPDU: 80 13 02 00 [23:58:54]Write to MH i2c: E2 08 00 80 04 80 13 02 00 00 00 00 00 02 [23:58:54]Write i2c OK [23:58:54]MH_I2C_Read... [23:58:55]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:58:55]Read from MH i2c: E2 [23:58:55]MH_I2C_Read... [23:58:55]Read from MH i2c: E2 FD 00 [23:58:55]MH_I2C_Read... [23:58:55]Read from MH i2c: E2 FD 00 80 04 00 AE 04 AA 04 AA 04 6E 04 04 00 2D 00 00 00 69 04 9B 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 5C CB 0F 70 04 03 00 08 68 0D 72 04 03 00 54 63 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 64 AD 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 C5 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 83 [23:58:55]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 2D 00 00 00 69 04 9B 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 5C CB 0F 70 04 03 00 08 68 0D 72 04 03 00 54 63 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 64 AD 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 C5 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:58:55]wFMCommunicate OK [23:58:55]wFMCommunicate request_size=4 [23:58:55]MH_SAM_APDU [23:58:55]CAPDU: 80 17 00 00 [23:58:55]Write to MH i2c: E2 08 00 81 04 80 17 00 00 00 00 00 00 05 [23:58:55]Write i2c OK [23:58:55]MH_I2C_Read... [23:58:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:55]Read from MH i2c: E2 [23:58:55]MH_I2C_Read... [23:58:55]Read from MH i2c: E2 FD 00 [23:58:55]MH_I2C_Read... [23:58:55]Read from MH i2c: E2 FD 00 81 04 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 27 [23:58:55]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:58:55]wFMCommunicate OK [23:58:55]wFMCommunicate request_size=4 [23:58:55]MH_SAM_APDU [23:58:55]CAPDU: 80 17 00 00 [23:58:55]Write to MH i2c: E2 08 00 82 04 80 17 00 00 00 00 00 00 06 [23:58:56]Write i2c OK [23:58:56]MH_I2C_Read... [23:58:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:56]Read from MH i2c: E2 [23:58:56]MH_I2C_Read... [23:58:56]Read from MH i2c: E2 FD 00 [23:58:56]MH_I2C_Read... [23:58:56]Read from MH i2c: E2 FD 00 82 04 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 BD [23:58:56]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:58:56]wFMCommunicate OK [23:58:56]wFMCommunicate request_size=4 [23:58:56]MH_SAM_APDU [23:58:56]CAPDU: 80 17 00 00 [23:58:56]Write to MH i2c: E2 08 00 83 04 80 17 00 00 00 00 00 00 07 [23:58:56]Write i2c OK [23:58:56]MH_I2C_Read... [23:58:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:56]Read from MH i2c: E2 [23:58:56]MH_I2C_Read... [23:58:56]Read from MH i2c: E2 FD 00 [23:58:56]MH_I2C_Read... [23:58:56]Read from MH i2c: E2 FD 00 83 04 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 79 [23:58:56]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:58:56]wFMCommunicate OK [23:58:56]wFMCommunicate request_size=4 [23:58:56]MH_SAM_APDU [23:58:56]CAPDU: 80 17 00 00 [23:58:56]Write to MH i2c: E2 08 00 84 04 80 17 00 00 00 00 00 00 08 [23:58:56]Write i2c OK [23:58:56]MH_I2C_Read... [23:58:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:58:57]Read from MH i2c: E2 [23:58:57]MH_I2C_Read... [23:58:57]Read from MH i2c: E2 CB 00 [23:58:57]MH_I2C_Read... [23:58:57]Read from MH i2c: E2 CB 00 84 04 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 F1 [23:58:57]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:58:57]wFMCommunicate OK [23:58:57]SAM_PROTO_GetShiftData done [23:58:57]1194 (1194) - счетчики итогов смены [23:58:57] 1134 (4) - 45 - количество чеков со всеми признаками расчетов [23:58:57] 1129 (155) - счетчики операций «приход» [23:58:57] 1135 (4) - 45 - количество чеков по признаку расчетов [23:58:57] 1201 (3) - 10351.00 - общая итоговая сумма в чеках [23:58:57] 1136 (3) - 8786.00 - итоговая сумма в чеках наличными [23:58:57] 1138 (3) - 1565.00 - итоговая сумма в чеках безналичными [23:58:57] 1024 (122) - суммы налогов [23:58:57] 1006 (9) - суммы НДС [23:58:57] 1010 (1) - 0% - код ставки НДС [23:58:57] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:57] 1006 (12) - суммы НДС [23:58:57] 1010 (1) - 12% - код ставки НДС [23:58:57] 1011 (3) - 1099.24 - сумма НДС по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 0% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1007 (11) - суммы НСП [23:58:57] 1014 (1) - 1% - код ставки НСП [23:58:57] 1015 (2) - 91.57 - сумма НСП по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 2% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 3% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 5% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 0,50% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 1,50% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1130 (141) - счетчики операций «возврат прихода» [23:58:57] 1135 (4) - 0 - количество чеков по признаку расчетов [23:58:57] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:58:57] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:58:57] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:58:57] 1024 (117) - суммы налогов [23:58:57] 1006 (9) - суммы НДС [23:58:57] 1010 (1) - 0% - код ставки НДС [23:58:57] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:57] 1006 (9) - суммы НДС [23:58:57] 1010 (1) - 12% - код ставки НДС [23:58:57] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 0% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 1% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 2% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 3% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 5% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 0,50% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 1,50% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1131 (141) - счетчики операций «расход» [23:58:57] 1135 (4) - 0 - количество чеков по признаку расчетов [23:58:57] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:58:57] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:58:57] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:58:57] 1024 (117) - суммы налогов [23:58:57] 1006 (9) - суммы НДС [23:58:57] 1010 (1) - 0% - код ставки НДС [23:58:57] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:57] 1006 (9) - суммы НДС [23:58:57] 1010 (1) - 12% - код ставки НДС [23:58:57] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 0% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 1% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 2% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 3% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 5% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 0,50% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 1,50% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1132 (141) - счетчики операций «возврат расхода» [23:58:57] 1135 (4) - 0 - количество чеков по признаку расчетов [23:58:57] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:58:57] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:58:57] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:58:57] 1024 (117) - суммы налогов [23:58:57] 1006 (9) - суммы НДС [23:58:57] 1010 (1) - 0% - код ставки НДС [23:58:57] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:57] 1006 (9) - суммы НДС [23:58:57] 1010 (1) - 12% - код ставки НДС [23:58:57] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 0% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 1% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 2% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 3% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 5% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 0,50% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1007 (9) - суммы НСП [23:58:57] 1014 (1) - 1,50% - код ставки НСП [23:58:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:57] 1133 (588) - - счетчики коррекции - не используются [23:58:57]SetTLVBufToDocument [23:58:57]Processing tag 1194 (04AA) [23:58:57]Load OK [23:58:57]SetTLVBufToDocument [23:58:57]Processing tag 1134 (046E) [23:58:57]Malloc new data [23:58:57]Processing tag 1129 (0469) [23:58:57]Load OK [23:58:57]SetTLVBufToDocument [23:58:57]Processing tag 1135 (046F) [23:58:57]Malloc new data [23:58:57]Processing tag 1201 (04B1) [23:58:57]Malloc new data [23:58:57]Processing tag 1136 (0470) [23:58:57]Malloc new data [23:58:57]Processing tag 1138 (0472) [23:58:57]Malloc new data [23:58:57]Processing tag 1024 (0400) [23:58:57]Load OK [23:58:57]SetTLVBufToDocument [23:58:57]Processing tag 1006 (03EE) [23:58:57]Load OK [23:58:57]SetTLVBufToDocument [23:58:57]Processing tag 1010 (03F2) [23:58:57]Malloc new data [23:58:57]Processing tag 1011 (03F3) [23:58:57]Malloc new data [23:58:57]SetTLVBufToDocument err=0 [23:58:57]Processing tag 1006 (03EE) [23:58:57]Load OK [23:58:57]SetTLVBufToDocument [23:58:57]Processing tag 1010 (03F2) [23:58:57]Malloc new data [23:58:57]Processing tag 1011 (03F3) [23:58:57]Malloc new data [23:58:57]SetTLVBufToDocument err=0 [23:58:57]Processing tag 1007 (03EF) [23:58:57]Load OK [23:58:57]SetTLVBufToDocument [23:58:57]Processing tag 1014 (03F6) [23:58:57]Malloc new data [23:58:57]Processing tag 1015 (03F7) [23:58:57]Malloc new data [23:58:57]SetTLVBufToDocument err=0 [23:58:57]Processing tag 1007 (03EF) [23:58:57]Load OK [23:58:57]SetTLVBufToDocument [23:58:57]Processing tag 1014 (03F6) [23:58:57]Malloc new data [23:58:57]Processing tag 1015 (03F7) [23:58:57]Malloc new data [23:58:57]SetTLVBufToDocument err=0 [23:58:57]Processing tag 1007 (03EF) [23:58:57]Load OK [23:58:57]SetTLVBufToDocument [23:58:57]Processing tag 1014 (03F6) [23:58:57]Malloc new data [23:58:57]Processing tag 1015 (03F7) [23:58:57]Malloc new data [23:58:57]SetTLVBufToDocument err=0 [23:58:57]Processing tag 1007 (03EF) [23:58:57]Load OK [23:58:57]SetTLVBufToDocument [23:58:57]Processing tag 1014 (03F6) [23:58:57]Malloc new data [23:58:57]Processing tag 1015 (03F7) [23:58:57]Malloc new data [23:58:57]SetTLVBufToDocument err=0 [23:58:57]Processing tag 1007 (03EF) [23:58:57]Load OK [23:58:57]SetTLVBufToDocument [23:58:57]Processing tag 1014 (03F6) [23:58:57]Malloc new data [23:58:57]Processing tag 1015 (03F7) [23:58:57]Malloc new data [23:58:57]SetTLVBufToDocument err=0 [23:58:57]Processing tag 1007 (03EF) [23:58:57]Load OK [23:58:57]SetTLVBufToDocument [23:58:57]Processing tag 1014 (03F6) [23:58:57]Malloc new data [23:58:57]Processing tag 1015 (03F7) [23:58:57]Malloc new data [23:58:57]SetTLVBufToDocument err=0 [23:58:57]Processing tag 1007 (03EF) [23:58:57]Load OK [23:58:57]SetTLVBufToDocument [23:58:57]Processing tag 1014 (03F6) [23:58:57]Malloc new data [23:58:57]Processing tag 1015 (03F7) [23:58:57]Malloc new data [23:58:57]SetTLVBufToDocument err=0 [23:58:57]SetTLVBufToDocument err=0 [23:58:57]SetTLVBufToDocument err=0 [23:58:57]Processing tag 1130 (046A) [23:58:57]Load OK [23:58:57]SetTLVBufToDocument [23:58:57]Processing tag 1135 (046F) [23:58:57]Malloc new data [23:58:57]Processing tag 1201 (04B1) [23:58:57]Malloc new data [23:58:57]Processing tag 1136 (0470) [23:58:57]Malloc new data [23:58:57]Processing tag 1138 (0472) [23:58:57]Malloc new data [23:58:57]Processing tag 1024 (0400) [23:58:57]Load OK [23:58:57]SetTLVBufToDocument [23:58:57]Processing tag 1006 (03EE) [23:58:57]Load OK [23:58:57]SetTLVBufToDocument [23:58:57]Processing tag 1010 (03F2) [23:58:57]Malloc new data [23:58:57]Processing tag 1011 (03F3) [23:58:57]Malloc new data [23:58:57]SetTLVBufToDocument err=0 [23:58:57]Processing tag 1006 (03EE) [23:58:57]Load OK [23:58:57]SetTLVBufToDocument [23:58:57]Processing tag 1010 (03F2) [23:58:57]Malloc new data [23:58:57]Processing tag 1011 (03F3) [23:58:57]Malloc new data [23:58:57]SetTLVBufToDocument err=0 [23:58:57]Processing tag 1007 (03EF) [23:58:57]Load OK [23:58:57]SetTLVBufToDocument [23:58:57]Processing tag 1014 (03F6) [23:58:57]Malloc new data [23:58:57]Processing tag 1015 (03F7) [23:58:57]Malloc new data [23:58:57]SetTLVBufToDocument err=0 [23:58:57]Processing tag 1007 (03EF) [23:58:57]Load OK [23:58:57]SetTLVBufToDocument [23:58:57]Processing tag 1014 (03F6) [23:58:57]Malloc new data [23:58:57]Processing tag 1015 (03F7) [23:58:57]Malloc new data [23:58:57]SetTLVBufToDocument err=0 [23:58:57]Processing tag 1007 (03EF) [23:58:57]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]SetTLVBufToDocument err=0 [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1131 (046B) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1135 (046F) [23:58:58]Malloc new data [23:58:58]Processing tag 1201 (04B1) [23:58:58]Malloc new data [23:58:58]Processing tag 1136 (0470) [23:58:58]Malloc new data [23:58:58]Processing tag 1138 (0472) [23:58:58]Malloc new data [23:58:58]Processing tag 1024 (0400) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1006 (03EE) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1010 (03F2) [23:58:58]Malloc new data [23:58:58]Processing tag 1011 (03F3) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1006 (03EE) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1010 (03F2) [23:58:58]Malloc new data [23:58:58]Processing tag 1011 (03F3) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]SetTLVBufToDocument err=0 [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1132 (046C) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1135 (046F) [23:58:58]Malloc new data [23:58:58]Processing tag 1201 (04B1) [23:58:58]Malloc new data [23:58:58]Processing tag 1136 (0470) [23:58:58]Malloc new data [23:58:58]Processing tag 1138 (0472) [23:58:58]Malloc new data [23:58:58]Processing tag 1024 (0400) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1006 (03EE) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1010 (03F2) [23:58:58]Malloc new data [23:58:58]Processing tag 1011 (03F3) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1006 (03EE) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1010 (03F2) [23:58:58]Malloc new data [23:58:58]Processing tag 1011 (03F3) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1007 (03EF) [23:58:58]Load OK [23:58:58]SetTLVBufToDocument [23:58:58]Processing tag 1014 (03F6) [23:58:58]Malloc new data [23:58:58]Processing tag 1015 (03F7) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]SetTLVBufToDocument err=0 [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Processing tag 1133 (046D) [23:58:58]Malloc new data [23:58:58]SetTLVBufToDocument err=0 [23:58:58]SetTLVBufToDocument err=0 [23:58:58]Malloc new data [23:58:58]SAM_PROTO_GetFMData [23:58:58]wFMCommunicate request_size=4 [23:58:58]MH_SAM_APDU [23:58:58]CAPDU: 80 13 03 00 [23:58:58]Write to MH i2c: E2 08 OFD Sender: No OFD packet to send [23:58:58]00 85 04 80 13 03 00 00 00 00 00 08 [23:58:58]Write i2c OK [23:58:58]MH_I2C_Read... [23:58:58]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:58:58]Read from MH i2c: E2 [23:58:58]MH_I2C_Read... [23:58:58]Read from MH i2c: E2 FD 00 [23:58:58]MH_I2C_Read... [23:58:58]Read from MH i2c: E2 FD 00 85 04 00 C1 04 85 04 BD 04 6E 04 04 00 D1 2E 00 00 69 04 A0 00 6F 04 04 00 85 2E 00 00 B1 04 04 00 D3 CC B3 0E 70 04 04 00 82 9A AE 0C 72 04 04 00 51 32 05 02 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 01 B1 8F 01 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 AB 4A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 06 [23:58:59]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 D1 2E 00 00 69 04 A0 00 6F 04 04 00 85 2E 00 00 B1 04 04 00 D3 CC B3 0E 70 04 04 00 82 9A AE 0C 72 04 04 00 51 32 05 02 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 01 B1 8F 01 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 AB 4A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 [23:58:59]wFMCommunicate OK [23:58:59]wFMCommunicate request_size=4 [23:58:59]MH_SAM_APDU [23:58:59]CAPDU: 80 17 00 00 [23:58:59]Write to MH i2c: E2 08 00 86 04 80 17 00 00 00 00 00 00 0A [23:58:59]Write i2c OK [23:58:59]MH_I2C_Read... [23:58:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:59]Read from MH i2c: E2 [23:58:59]MH_I2C_Read... [23:58:59]Read from MH i2c: E2 FD 00 [23:58:59]MH_I2C_Read... [23:58:59]Read from MH i2c: E2 FD 00 86 04 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A8 [23:58:59]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:58:59]wFMCommunicate OK [23:58:59]wFMCommunicate request_size=4 [23:58:59]MH_SAM_APDU [23:58:59]CAPDU: 80 17 00 00 [23:58:59]Write to MH i2c: E2 08 00 87 04 80 17 00 00 00 00 00 00 0B [23:58:59]Write i2c OK [23:58:59]MH_I2C_Read... [23:58:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:59]Read from MH i2c: E2 [23:58:59]MH_I2C_Read... [23:58:59]Read from MH i2c: E2 FD 00 [23:58:59]MH_I2C_Read... [23:58:59]Read from MH i2c: E2 FD 00 87 04 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 AB [23:59:00]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:00]wFMCommunicate OK [23:59:00]wFMCommunicate request_size=4 [23:59:00]MH_SAM_APDU [23:59:00]CAPDU: 80 17 00 00 [23:59:00]Write to MH i2c: E2 08 00 88 04 80 17 00 00 00 00 00 00 0C [23:59:00]Write i2c OK [23:59:00]MH_I2C_Read... [23:59:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:00]Read from MH i2c: E2 [23:59:00]MH_I2C_Read... [23:59:00]Read from MH i2c: E2 FD 00 [23:59:00]MH_I2C_Read... [23:59:00]Read from MH i2c: E2 FD 00 88 04 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 91 [23:59:00]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:00]wFMCommunicate OK [23:59:00]wFMCommunicate request_size=4 [23:59:00]MH_SAM_APDU [23:59:00]CAPDU: 80 17 00 00 [23:59:00]Write to MH i2c: E2 08 00 89 04 80 17 00 00 00 00 00 00 0D [23:59:00]Write i2c OK [23:59:00]MH_I2C_Read... [23:59:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:59:00]Read from MH i2c: E2 [23:59:00]MH_I2C_Read... [23:59:00]Read from MH i2c: E2 DE 00 [23:59:00]MH_I2C_Read... [23:59:00]Read from MH i2c: E2 DE 00 89 04 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 EC [23:59:01]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:01]wFMCommunicate OK [23:59:01]SAM_PROTO_GetFMData done [23:59:01]FM_GetFMData:85 04 BD 04 6E 04 04 00 D1 2E 00 00 69 04 A0 00 6F 04 04 00 85 2E 00 00 B1 04 04 00 D3 CC B3 0E 70 04 04 00 82 9A AE 0C 72 04 04 00 51 32 05 02 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 01 B1 8F 01 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 AB 4A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B 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 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:59:01]oper:6F 04 04 00 85 2E 00 00 B1 04 04 00 D3 CC B3 0E 70 04 04 00 82 9A AE 0C 72 04 04 00 51 32 05 02 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 01 B1 8F 01 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 AB 4A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:59:01]total:D3 CC B3 0E [23:59:01]Malloc new data [23:59:01]oper:6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B 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 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:59:01]total:62 6F 6F [23:59:01]Malloc new data [23:59:01]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:59:01]total: [23:59:01]Malloc new data [23:59:01]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:59:02]total: [23:59:02]Malloc new data [23:59:02]KKMPrepareXReportFMData err=0 [23:59:02]Х отчет ИНН: 02508201610067 Кассир: Табалдиева М. 19.04.2024 23:58 Смена: 266 РНМ: 0000000000100748 ЗНМ: 0300000004 СНО: Общий режим Всего чеков: 45 ИТОГИ ПРИХОД Чеков: 45 Общий итог: 10351.00 Итого наличными: 8786.00 Итого безнал.: 1565.00 НДС 0% : 0.00 НДС 12% : 1099.24 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 91.57 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 8786.00 НС Приход: 2466644.03 НС Возвр.Прихода: 73030.10 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000965685 [23:59:02]StoreToDocumentArchive [23:59:02]MH_GetDate [23:59:02]Write to MH i2c: F0 00 00 8A 04 7D [23:59:02]Write i2c OK [23:59:02]MH_I2C_Read... [23:59:02]Read from MH i2c: F0 [23:59:02]MH_I2C_Read... [23:59:02]Read from MH i2c: F0 09 00 [23:59:02]MH_I2C_Read... [23:59:02]Read from MH i2c: F0 09 00 8A 04 00 47 05 23 66 61 69 D2 64 5B [23:59:02]shift 266 fd 1713571143 [23:59:02]Create dir for shift 0266 [23:59:02]save to /storage/0266/doc_1713571143 [23:59:02]save last doc name /storage/0266/doc_1713571143 to /storage/kkm_last_doc_name [23:59:02]save OK [23:59:02]Clear old archive folders... [23:59:02]NVStorageSaveData kkm_last_timestamp [23:59:02]File name is /storage/kkm_last_timestamp [23:59:02]Write 4 bytes [23:59:02]NVStorageSaveData done [23:59:02]ExternCall_PrintAddStr [23:59:02]wPrintStart [23:59:02]Write to MH i2c: 01 00 00 8B 04 8F [23:59:02]Write i2c OK [23:59:02]MH_I2C_Read... [23:59:02]Read from MH i2c: 01 [23:59:02]MH_I2C_Read... [23:59:02]Read from MH i2c: 01 07 00 [23:59:02]MH_I2C_Read... [23:59:02]Read from MH i2c: 01 07 00 8B 04 00 00 00 00 00 FF 0F A4 [23:59:02]RasterBufferAndPrint [23:59:02]line Х отчет [23:59:02]line ИНН: 02508201610067 [23:59:02]line Кассир: Табалдиева М. [23:59:02]line 19.04.2024 23:58 [23:59:02]line Смена: 266 [23:59:02]line РНМ: 0000000000100748 [23:59:02]line ЗНМ: 0300000004 [23:59:02]line СНО: Общий режим [23:59:02]line Всего чеков: 45 [23:59:02]line ИТОГИ ПРИХОД [23:59:02]line Чеков: 45 [23:59:02]line Общий итог: 10351.00 [23:59:02]line Итого наличными: 8786.00 [23:59:02]line Итого безнал.: 1565.00 [23:59:02]line НДС 0% : 0.00 [23:59:02]line НДС 12% : 1099.24 [23:59:02]line НСП 0% : 0.00 [23:59:02]line НСП 1,50% : 0.00 [23:59:02]line НСП 0,50% : 0.00 [23:59:02]line НСП 5% : 0.00 [23:59:02]line НСП 3% : 0.00 [23:59:02]line НСП 2% : 0.00 [23:59:02]line НСП 1% : 91.57 [23:59:02]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:59:02]line Чеков: 0 [23:59:02]line Общий итог: 0.00 [23:59:02]line Итого наличными: 0.00 [23:59:02]line Итого безнал.: 0.00 [23:59:02]line НДС 0% : 0.00 [23:59:02]line НДС 12% : 0.00 [23:59:02]line НСП 0% : 0.00 [23:59:02]line НСП 1,50% : 0.00 [23:59:02]line НСП 0,50% : 0.00 [23:59:02]line НСП 5% : 0.00 [23:59:02]line НСП 3% : 0.00 [23:59:02]line НСП 2% : 0.00 [23:59:02]line НСП 1% : 0.00 [23:59:02]line ИТОГИ РАСХОД [23:59:02]line Чеков: 0 [23:59:02]line Общий итог: 0.00 [23:59:02]line Итого наличными: 0.00 [23:59:02]line Итого безнал.: 0.00 [23:59:02]line НДС 0% : 0.00 [23:59:02]line НДС 12% : 0.00 [23:59:02]line НСП 0% : 0.00 [23:59:02]line НСП 1,50% : 0.00 [23:59:02]line НСП 0,50% : 0.00 [23:59:02]line НСП 5% : 0.00 [23:59:02]line НСП 3% : 0.00 [23:59:02]line НСП 2% : 0.00 [23:59:02]line НСП 1% : 0.00 [23:59:02]line ИТОГИ ВОЗВРАТ РАСХОДА [23:59:02]line Чеков: 0 [23:59:02]line Общий итог: 0.00 [23:59:02]line Итого наличными: 0.00 [23:59:02]line Итого безнал.: 0.00 [23:59:02]line НДС 0% : 0.00 [23:59:02]line НДС 12% : 0.00 [23:59:02]line НСП 0% : 0.00 [23:59:02]line НСП 1,50% : 0.00 [23:59:02]line НСП 0,50% : 0.00 [23:59:02]line НСП 5% : 0.00 [23:59:02]line НСП 3% : 0.00 [23:59:02]line НСП 2% : 0.00 [23:59:02]line НСП 1% : 0.00 [23:59:02]line Сумма внесений: 0.00 [23:59:02]line Сумма выплат: 0.00 [23:59:02]line Нал. в кассе: 8786.00 [23:59:02]line НС Приход: 2466644.03 [23:59:02]line НС Возвр.Прихода: 73030.10 [23:59:02]line НС Расход: 0.00 [23:59:02]line НС Возвр.Расхода: 0.00 [23:59:02]line ФМ: 0000000000965685 [23:59:02]written 0, free lines is 4095 [23:59:02]Write to MH i2c: 01 00 00 D6 04 DA [23:59:02]Write i2c OK [23:59:02]MH_I2C_Read... [23:59:02]Read from MH i2c: 01 [23:59:02]MH_I2C_Read... [23:59:02]Read from MH i2c: 01 07 00 [23:59:02]MH_I2C_Read... [23:59:02]Read from MH i2c: 01 07 00 D6 04 00 00 00 00 00 A0 0A 8B [23:59:02]RasterBufferAndPrint [23:59:02]line [23:59:02]line [23:59:02]line [23:59:02]line [23:59:02]line [23:59:02]written 0, free lines is 2750 [23:59:02]MH_Cut [23:59:02]Write to MH i2c: D1 01 00 DD 04 01 B3 [23:59:02]Write i2c OK [23:59:02]MH_I2C_Read... [23:59:02]Read from MH i2c: D1 [23:59:02]MH_I2C_Read... [23:59:02]Read from MH i2c: D1 01 00 [23:59:02]MH_I2C_Read... [23:59:02]Read from MH i2c: D1 01 00 DD 04 00 B2 [23:59:02]Write to MH i2c: 01 00 00 DE 04 E2 [23:59:02]Write i2c OK [23:59:02]MH_I2C_Read... [23:59:03]OFD Sender: No OFD packet to send [23:59:04]*** Cut start [23:59:04]*** Partial cut [23:59:04]*** CUTSNS_PIN = 1 [23:59:04]*** CUTSNS_PIN = 0 [23:59:04]*** Brake cut motor [23:59:04]Read from MH i2c: 01 [23:59:04]MH_I2C_Read... [23:59:04]*** Stop cut motor [23:59:04]*** Cut end [23:59:04]Read from MH i2c: 01 07 00 [23:59:04]MH_I2C_Read... [23:59:04]Read from MH i2c: 01 07 00 DE 04 00 00 00 00 00 FF 0F F7 [23:59:04]process_action x_report done [23:59:04]requested_data is exist [23:59:04]produce_requested_data [23:59:04]requested_item fd.num is exist - process it [23:59:04]SAM_PROTO_GetFieldsCounters [23:59:04]wFMCommunicate request_size=4 [23:59:04]MH_SAM_APDU [23:59:04]CAPDU: 80 13 00 00 [23:59:04]Write to MH i2c: E2 08 00 DF 04 80 13 00 00 00 00 00 00 5F [23:59:04]Write i2c OK [23:59:04]MH_I2C_Read... [23:59:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:59:04]Read from MH i2c: E2 [23:59:04]MH_I2C_Read... [23:59:04]Read from MH i2c: E2 62 00 [23:59:04]MH_I2C_Read... [23:59:04]Read from MH i2c: E2 62 00 DF 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 FF 30 00 00 0E 04 04 00 17 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 50 [23:59:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 FF 30 00 00 0E 04 04 00 17 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 [23:59:04]wFMCommunicate OK [23:59:04]SAM_PROTO_GetFieldsCounters done [23:59:04]requested_item shift.num is exist - process it [23:59:04]requested_item shift.opened is exist - process it [23:59:04]req_shift_opened [23:59:04]FM_GetShiftState [23:59:04]SAM_PROTO_GetShiftState [23:59:04]wFMCommunicate request_size=4 [23:59:04]MH_SAM_APDU [23:59:04]CAPDU: 80 13 01 00 [23:59:04]Write to MH i2c: E2 08 00 E0 04 80 13 01 00 00 00 00 00 61 [23:59:04]Write i2c OK [23:59:04]MH_I2C_Read... [23:59:04]Read from MH i2c: E2 [23:59:04]MH_I2C_Read... [23:59:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:05]Read from MH i2c: E2 0E 00 [23:59:05]MH_I2C_Read... [23:59:05]Read from MH i2c: E2 0E 00 E0 04 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 57 [23:59:05]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [23:59:05]wFMCommunicate OK [23:59:05]SAM_PROTO_GetShiftState done [23:59:05]FM_GetShiftState done [23:59:05]req_shift_opened done [23:59:05]requested_item shift.open_date is exist - process it [23:59:05]req_shift_open_date [23:59:05]req_shift_open_date done [23:59:05]produce_requested_data done [23:59:05]produce_requested_data return {"fd.num":12543,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [23:59:05]process_action_free x_report [23:59:05]json_value_free [23:59:05]json_value_free done [23:59:05]process_json_proto returns [23:59:05]Send response to host [23:59:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":12543,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [23:59:05]free response buf [23:59:05]execute_script done [23:59:05]execute_script returns [23:59:05]free content buf [23:59:05]Sock 7.Close socket [23:59:05]Sock 7.Thread stoped [23:59:08]OFD Sender: No OFD packet to send [23:59:13]OFD Sender: No OFD packet to send [23:59:18]OFD Sender: No OFD packet to send [23:59:23]OFD Sender: No OFD packet to send [23:59:28]OFD Sender: No OFD packet to send [23:59:33]OFD Sender: No OFD packet to send [23:59:37]accept exits with 9 [23:59:37]New connection [23:59:37]New thread 3067120996 created [23:59:37]Thread 3067264356 joined [23:59:37]Waiting for new connection... [23:59:37] Sock 9.Parse request [23:59:37]Sock 9.Check first char [23:59:37]Sock 9.First char is OK [23:59:37]request: POST /json_proto HTTP/1.0 [23:59:37]Method: POST [23:59:37]URL: /json_proto [23:59:37]Method is POST - this is cgi request [23:59:37]url: /json_proto [23:59:37]query_string will be loaded in cgi processing [23:59:37]execute_cgi json_proto POST (null) [23:59:37]execute_cgi path=json_proto method=POST [23:59:37]POST find Content-Length [23:59:37]Host: 172.17.62.6:8080 [23:59:37]Content-Length: 215 [23:59:37]Content-Type: application/json [23:59:37] [23:59:37]POST finish read [23:59:37]Found Content-Length = 215 [23:59:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:37]execute_script... [23:59:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:37]POST & json_proto [23:59:37]process_json_proto [23:59:37]json parsed OK: [23:59:37]protocol is kg_v1.0 [23:59:37]action value=get_value [23:59:37]process_action get_value [23:59:37]cmd_get_value [23:59:37]process_action get_value done [23:59:37]requested_data is exist [23:59:37]produce_requested_data [23:59:37]requested_item kkm.sn is exist - process it [23:59:37]requested_item kkm.ver is exist - process it [23:59:37]requested_item fm.sn is exist - process it [23:59:37]wFMCommunicate request_size=4 [23:59:37]MH_SAM_APDU [23:59:37]CAPDU: 80 11 00 00 [23:59:37]Write to MH i2c: E2 08 00 E1 04 80 11 00 00 00 00 00 00 5F [23:59:37]Write i2c OK [23:59:37]MH_I2C_Read... [23:59:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:37]Read from MH i2c: E2 [23:59:37]MH_I2C_Read... [23:59:37]Read from MH i2c: E2 17 00 [23:59:37]MH_I2C_Read... [23:59:37]Read from MH i2c: E2 17 00 E1 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 B9 [23:59:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:59:37]wFMCommunicate OK [23:59:37]requested_item fd.num is exist - process it [23:59:37]SAM_PROTO_GetFieldsCounters [23:59:37]wFMCommunicate request_size=4 [23:59:37]MH_SAM_APDU [23:59:37]CAPDU: 80 13 00 00 [23:59:37]Write to MH i2c: E2 08 00 E2 04 80 13 00 00 00 00 00 00 62 [23:59:37]Write i2c OK [23:59:37]MH_I2C_Read... [23:59:37]Read from MH i2c: E2 [23:59:37]MH_I2C_Read... [23:59:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:59:37]Read from MH i2c: E2 62 00 [23:59:37]MH_I2C_Read... [23:59:37]Read from MH i2c: E2 62 00 E2 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 FF 30 00 00 0E 04 04 00 17 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 53 [23:59:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 FF 30 00 00 0E 04 04 00 17 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 [23:59:37]wFMCommunicate OK [23:59:37]SAM_PROTO_GetFieldsCounters done [23:59:37]requested_item shift.num is exist - process it [23:59:37]requested_item shift.opened is exist - process it [23:59:37]req_shift_opened [23:59:37]FM_GetShiftState [23:59:37]SAM_PROTO_GetShiftState [23:59:37]wFMCommunicate request_size=4 [23:59:37]MH_SAM_APDU [23:59:37]CAPDU: 80 13 01 00 [23:59:37]Write to MH i2c: E2 08 00 E3 04 80 13 01 00 00 00 00 00 64 [23:59:37]Write i2c OK [23:59:37]MH_I2C_Read... [23:59:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:37]Read from MH i2c: E2 [23:59:37]MH_I2C_Read... [23:59:37]Read from MH i2c: E2 0E 00 [23:59:37]MH_I2C_Read... [23:59:37]Read from MH i2c: E2 0E 00 E3 04 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 5A [23:59:37]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [23:59:37]wFMCommunicate OK [23:59:37]SAM_PROTO_GetShiftState done [23:59:37]FM_GetShiftState done [23:59:37]req_shift_opened done [23:59:37]requested_item shift.open_date is exist - process it [23:59:37]req_shift_open_date [23:59:37]req_shift_open_date done [23:59:37]produce_requested_data done [23:59:37]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12543,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995} [23:59:37]process_action_free get_value [23:59:37]json_value_free [23:59:37]json_value_free done [23:59:37]process_json_proto returns [23:59:37]Send response to host [23:59:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12543,"shift.num":279,"shift.opened":1,"shift.open_date":1713485995}}} [23:59:37]free response buf [23:59:37]execute_script done [23:59:37]execute_script returns [23:59:37]free content buf [23:59:37]Sock 9.Close socket [23:59:37]Sock 9.Thread stoped [23:59:37]accept exits with 7 [23:59:37]New connection [23:59:37]New thread 3067264356 created [23:59:37]Thread 3067120996 joined [23:59:37]Waiting for new connection... [23:59:37] Sock 7.Parse request [23:59:37]Sock 7.Check first char [23:59:37]Sock 7.First char is OK [23:59:37]request: POST /json_proto HTTP/1.0 [23:59:37]Method: POST [23:59:37]URL: /json_proto [23:59:37]Method is POST - this is cgi request [23:59:37]url: /json_proto [23:59:37]query_string will be loaded in cgi processing [23:59:37]execute_cgi json_proto POST (null) [23:59:37]execute_cgi path=json_proto method=POST [23:59:37]POST find Content-Length [23:59:37]Host: 172.17.62.6:8080 [23:59:37]Content-Length: 331 [23:59:37]Content-Type: application/json [23:59:37] [23:59:37]POST finish read [23:59:37]Found Content-Length = 331 [23:59:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:37]execute_script... [23:59:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:37]POST & json_proto [23:59:37]process_json_proto [23:59:37]json parsed OK: [23:59:37]protocol is kg_v1.0 [23:59:37]action value=get_value [23:59:37]process_action get_value [23:59:37]cmd_get_value [23:59:37]process_action get_value done [23:59:37]requested_data is exist [23:59:37]produce_requested_data [23:59:37]requested_item fm.sale.total is exist - process it [23:59:37]SAM_PROTO_GetFMData [23:59:37]wFMCommunicate request_size=4 [23:59:37]MH_SAM_APDU [23:59:37]CAPDU: 80 13 03 00 [23:59:37]Write to MH i2c: E2 08 00 E4 04 80 13 03 00 00 00 00 00 67 [23:59:37]Write i2c OK [23:59:37]MH_I2C_Read... [23:59:38]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:59:38]Read from MH i2c: E2 [23:59:38]MH_I2C_Read... [23:59:38]Read from MH i2c: E2 FD 00 [23:59:38]MH_I2C_Read... [23:59:38]Read from MH i2c: E2 FD 00 E4 04 00 C1 04 85 04 BD 04 6E 04 04 00 D1 2E 00 00 69 04 A0 00 6F 04 04 00 85 2E 00 00 B1 04 04 00 D3 CC B3 0E 70 04 04 00 82 9A AE 0C 72 04 04 00 51 32 05 02 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 01 B1 8F 01 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 AB 4A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 65 [23:59:38]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 D1 2E 00 00 69 04 A0 00 6F 04 04 00 85 2E 00 00 B1 04 04 00 D3 CC B3 0E 70 04 04 00 82 9A AE 0C 72 04 04 00 51 32 05 02 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 01 B1 8F 01 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 AB 4A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 [23:59:38]wFMCommunicate OK [23:59:38]wFMCommunicate request_size=4 [23:59:38]MH_SAM_APDU [23:59:38]CAPDU: 80 17 00 00 [23:59:38]Write to MH i2c: E2 08 00 E5 04 80 17 00 00 00 00 00 00 69 [23:59:38]Write i2c OK [23:59:38]MH_I2C_Read... [23:59:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:38]Read from MH i2c: E2 [23:59:38]MH_I2C_Read... [23:59:38]Read from MH i2c: E2 FD 00 [23:59:38]MH_I2C_Read... [23:59:38]Read from MH i2c: E2 FD 00 E5 04 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 07 [23:59:38]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:38]wFMCommunicate OK [23:59:38]wFMCommunicate request_size=4 [23:59:38]MH_SAM_APDU [23:59:38]CAPDU: 80 17 00 00 [23:59:38]Write to MH i2c: E2 08 00 E6 04 80 17 00 00 00 00 00 00 6A [23:59:38]Write i2c OK [23:59:38]MH_I2C_Read... [23:59:38]OFD Sender: No OFD packet to send [23:59:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:38]Read from MH i2c: E2 [23:59:38]MH_I2C_Read... [23:59:38]Read from MH i2c: E2 FD 00 [23:59:38]MH_I2C_Read... [23:59:38]Read from MH i2c: E2 FD 00 E6 04 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0A [23:59:38]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:38]wFMCommunicate OK [23:59:38]wFMCommunicate request_size=4 [23:59:38]MH_SAM_APDU [23:59:38]CAPDU: 80 17 00 00 [23:59:38]Write to MH i2c: E2 08 00 E7 04 80 17 00 00 00 00 00 00 6B [23:59:38]Write i2c OK [23:59:38]MH_I2C_Read... [23:59:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:39]Read from MH i2c: E2 [23:59:39]MH_I2C_Read... [23:59:39]Read from MH i2c: E2 FD 00 [23:59:39]MH_I2C_Read... [23:59:39]Read from MH i2c: E2 FD 00 E7 04 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F0 [23:59:39]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:39]wFMCommunicate OK [23:59:39]wFMCommunicate request_size=4 [23:59:39]MH_SAM_APDU [23:59:39]CAPDU: 80 17 00 00 [23:59:39]Write to MH i2c: E2 08 00 E8 04 80 17 00 00 00 00 00 00 6C [23:59:39]Write i2c OK [23:59:39]MH_I2C_Read... [23:59:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:59:39]Read from MH i2c: E2 [23:59:39]MH_I2C_Read... [23:59:39]Read from MH i2c: E2 DE 00 [23:59:39]MH_I2C_Read... [23:59:39]Read from MH i2c: E2 DE 00 E8 04 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 4B [23:59:39]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:39]wFMCommunicate OK [23:59:39]SAM_PROTO_GetFMData done [23:59:39]requested_item fm.sale_refund.total is exist - process it [23:59:39]requested_item fm.buy.total is exist - process it [23:59:39]requested_item shift.sale.total is exist - process it [23:59:39]SAM_PROTO_GetShiftData [23:59:39]wFMCommunicate request_size=4 [23:59:39]MH_SAM_APDU [23:59:39]CAPDU: 80 13 02 00 [23:59:39]Write to MH i2c: E2 08 00 E9 04 80 13 02 00 00 00 00 00 6B [23:59:39]Write i2c OK [23:59:39]MH_I2C_Read... [23:59:39]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:59:39]Read from MH i2c: E2 [23:59:39]MH_I2C_Read... [23:59:39]Read from MH i2c: E2 FD 00 [23:59:39]MH_I2C_Read... [23:59:39]Read from MH i2c: E2 FD 00 E9 04 00 AE 04 AA 04 AA 04 6E 04 04 00 2D 00 00 00 69 04 9B 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 5C CB 0F 70 04 03 00 08 68 0D 72 04 03 00 54 63 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 64 AD 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 C5 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 EC [23:59:39]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 2D 00 00 00 69 04 9B 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 5C CB 0F 70 04 03 00 08 68 0D 72 04 03 00 54 63 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 64 AD 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 C5 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:59:39]wFMCommunicate OK [23:59:39]wFMCommunicate request_size=4 [23:59:39]MH_SAM_APDU [23:59:39]CAPDU: 80 17 00 00 [23:59:39]Write to MH i2c: E2 08 00 EA 04 80 17 00 00 00 00 00 00 6E [23:59:39]Write i2c OK [23:59:39]MH_I2C_Read... [23:59:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:40]Read from MH i2c: E2 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: E2 FD 00 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: E2 FD 00 EA 04 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 90 [23:59:40]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:59:40]wFMCommunicate OK [23:59:40]wFMCommunicate request_size=4 [23:59:40]MH_SAM_APDU [23:59:40]CAPDU: 80 17 00 00 [23:59:40]Write to MH i2c: E2 08 00 EB 04 80 17 00 00 00 00 00 00 6F [23:59:40]Write i2c OK [23:59:40]MH_I2C_Read... [23:59:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:40]Read from MH i2c: E2 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: E2 FD 00 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: E2 FD 00 EB 04 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 26 [23:59:40]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:59:40]wFMCommunicate OK [23:59:40]wFMCommunicate request_size=4 [23:59:40]MH_SAM_APDU [23:59:40]CAPDU: 80 17 00 00 [23:59:40]Write to MH i2c: E2 08 00 EC 04 80 17 00 00 00 00 00 00 70 [23:59:40]Write i2c OK [23:59:40]MH_I2C_Read... [23:59:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:40]Read from MH i2c: E2 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: E2 FD 00 [23:59:40]MH_I2C_Read... [23:59:40]Read from MH i2c: E2 FD 00 EC 04 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 E2 [23:59:40]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:59:41]wFMCommunicate OK [23:59:41]wFMCommunicate request_size=4 [23:59:41]MH_SAM_APDU [23:59:41]CAPDU: 80 17 00 00 [23:59:41]Write to MH i2c: E2 08 00 ED 04 80 17 00 00 00 00 00 00 71 [23:59:41]Write i2c OK [23:59:41]MH_I2C_Read... [23:59:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:59:41]Read from MH i2c: E2 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 CB 00 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 CB 00 ED 04 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 5A [23:59:41]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:41]wFMCommunicate OK [23:59:41]SAM_PROTO_GetShiftData done [23:59:41]requested_item shift.sale.total_cash is exist - process it [23:59:41]requested_item shift.sale_refund.total is exist - process it [23:59:41]requested_item shift.sale_refund.total_cash is exist - process it [23:59:41]requested_item shift.buy.total is exist - process it [23:59:41]requested_item shift.buy.total_cash is exist - process it [23:59:41]produce_requested_data done [23:59:41]produce_requested_data return {"fm.sale.total":2466644.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":10351.00,"shift.sale.total_cash":8786.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:59:41]process_action_free get_value [23:59:41]json_value_free [23:59:41]json_value_free done [23:59:41]process_json_proto returns [23:59:41]Send response to host [23:59:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2466644.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":10351.00,"shift.sale.total_cash":8786.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:59:41]free response buf [23:59:41]execute_script done [23:59:41]execute_script returns [23:59:41]free content buf [23:59:41]Sock 7.Close socket [23:59:41]Sock 7.Thread stoped [23:59:41]accept exits with 9 [23:59:41]New connection [23:59:41]New thread 3067120996 created [23:59:41]Thread 3067264356 joined [23:59:41]Waiting for new connection... [23:59:41] Sock 9.Parse request [23:59:41]Sock 9.Check first char [23:59:41]Sock 9.First char is OK [23:59:41]request: POST /json_proto HTTP/1.0 [23:59:41]Method: POST [23:59:41]URL: /json_proto [23:59:41]Method is POST - this is cgi request [23:59:41]url: /json_proto [23:59:41]query_string will be loaded in cgi processing [23:59:41]execute_cgi json_proto POST (null) [23:59:41]execute_cgi path=json_proto method=POST [23:59:41]POST find Content-Length [23:59:41]Host: 172.17.62.6:8080 [23:59:41]Content-Length: 331 [23:59:41]Content-Type: application/json [23:59:41] [23:59:41]POST finish read [23:59:41]Found Content-Length = 331 [23:59:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:41]execute_script... [23:59:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:41]POST & json_proto [23:59:41]process_json_proto [23:59:41]json parsed OK: [23:59:41]protocol is kg_v1.0 [23:59:41]action value=get_value [23:59:41]process_action get_value [23:59:41]cmd_get_value [23:59:41]process_action get_value done [23:59:41]requested_data is exist [23:59:41]produce_requested_data [23:59:41]requested_item fm.sale.total is exist - process it [23:59:41]SAM_PROTO_GetFMData [23:59:41]wFMCommunicate request_size=4 [23:59:41]MH_SAM_APDU [23:59:41]CAPDU: 80 13 03 00 [23:59:41]Write to MH i2c: E2 08 00 EE 04 80 13 03 00 00 00 00 00 71 [23:59:41]Write i2c OK [23:59:41]MH_I2C_Read... [23:59:41]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:59:41]Read from MH i2c: E2 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 FD 00 [23:59:41]MH_I2C_Read... [23:59:41]Read from MH i2c: E2 FD 00 EE 04 00 C1 04 85 04 BD 04 6E 04 04 00 D1 2E 00 00 69 04 A0 00 6F 04 04 00 85 2E 00 00 B1 04 04 00 D3 CC B3 0E 70 04 04 00 82 9A AE 0C 72 04 04 00 51 32 05 02 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 01 B1 8F 01 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 AB 4A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 6F [23:59:41]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 D1 2E 00 00 69 04 A0 00 6F 04 04 00 85 2E 00 00 B1 04 04 00 D3 CC B3 0E 70 04 04 00 82 9A AE 0C 72 04 04 00 51 32 05 02 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 01 B1 8F 01 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 AB 4A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 [23:59:42]wFMCommunicate OK [23:59:42]wFMCommunicate request_size=4 [23:59:42]MH_SAM_APDU [23:59:42]CAPDU: 80 17 00 00 [23:59:42]Write to MH i2c: E2 08 00 EF 04 80 17 00 00 00 00 00 00 73 [23:59:42]Write i2c OK [23:59:42]MH_I2C_Read... [23:59:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:42]Read from MH i2c: E2 [23:59:42]MH_I2C_Read... [23:59:42]Read from MH i2c: E2 FD 00 [23:59:42]MH_I2C_Read... [23:59:42]Read from MH i2c: E2 FD 00 EF 04 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 11 [23:59:42]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:42]wFMCommunicate OK [23:59:42]wFMCommunicate request_size=4 [23:59:42]MH_SAM_APDU [23:59:42]CAPDU: 80 17 00 00 [23:59:42]Write to MH i2c: E2 08 00 F0 04 80 17 00 00 00 00 00 00 74 [23:59:42]Write i2c OK [23:59:42]MH_I2C_Read... [23:59:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:42]Read from MH i2c: E2 [23:59:42]MH_I2C_Read... [23:59:42]Read from MH i2c: E2 FD 00 [23:59:42]MH_I2C_Read... [23:59:42]Read from MH i2c: E2 FD 00 F0 04 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 14 [23:59:42]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:42]wFMCommunicate OK [23:59:42]wFMCommunicate request_size=4 [23:59:42]MH_SAM_APDU [23:59:42]CAPDU: 80 17 00 00 [23:59:42]Write to MH i2c: E2 08 00 F1 04 80 17 00 00 00 00 00 00 75 [23:59:42]Write i2c OK [23:59:42]MH_I2C_Read... [23:59:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:43]Read from MH i2c: E2 [23:59:43]MH_I2C_Read... [23:59:43]Read from MH i2c: E2 FD 00 [23:59:43]MH_I2C_Read... [23:59:43]Read from MH i2c: E2 FD 00 F1 04 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FA [23:59:43]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:43]wFMCommunicate OK [23:59:43]wFMCommunicate request_size=4 [23:59:43]MH_SAM_APDU [23:59:43]CAPDU: 80 17 00 00 [23:59:43]Write to MH i2c: E2 08 00 F2 04 80 17 00 00 00 00 00 00 76 [23:59:43]Write i2c OK [23:59:43]MH_I2C_Read... [23:59:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:59:43]Read from MH i2c: E2 [23:59:43]MH_I2C_Read... [23:59:43]Read from MH i2c: E2 DE 00 [23:59:43]MH_I2C_Read... [23:59:43]Read from MH i2c: E2 DE 00 F2 04 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 55 [23:59:43]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 OFD Sender: No OFD packet to send [23:59:43]01 00 06 F7 03 00 00 90 00 [23:59:43]wFMCommunicate OK [23:59:43]SAM_PROTO_GetFMData done [23:59:43]requested_item fm.sale_refund.total is exist - process it [23:59:43]requested_item fm.buy.total is exist - process it [23:59:43]requested_item shift.sale.total is exist - process it [23:59:43]SAM_PROTO_GetShiftData [23:59:43]wFMCommunicate request_size=4 [23:59:43]MH_SAM_APDU [23:59:43]CAPDU: 80 13 02 00 [23:59:43]Write to MH i2c: E2 08 00 F3 04 80 13 02 00 00 00 00 00 75 [23:59:43]Write i2c OK [23:59:43]MH_I2C_Read... [23:59:44]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:59:44]Read from MH i2c: E2 [23:59:44]MH_I2C_Read... [23:59:44]Read from MH i2c: E2 FD 00 [23:59:44]MH_I2C_Read... [23:59:44]Read from MH i2c: E2 FD 00 F3 04 00 AE 04 AA 04 AA 04 6E 04 04 00 2D 00 00 00 69 04 9B 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 5C CB 0F 70 04 03 00 08 68 0D 72 04 03 00 54 63 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 64 AD 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 C5 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F6 [23:59:44]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 2D 00 00 00 69 04 9B 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 5C CB 0F 70 04 03 00 08 68 0D 72 04 03 00 54 63 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 64 AD 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 C5 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:59:44]wFMCommunicate OK [23:59:44]wFMCommunicate request_size=4 [23:59:44]MH_SAM_APDU [23:59:44]CAPDU: 80 17 00 00 [23:59:44]Write to MH i2c: E2 08 00 F4 04 80 17 00 00 00 00 00 00 78 [23:59:44]Write i2c OK [23:59:44]MH_I2C_Read... [23:59:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:44]Read from MH i2c: E2 [23:59:44]MH_I2C_Read... [23:59:44]Read from MH i2c: E2 FD 00 [23:59:44]MH_I2C_Read... [23:59:44]Read from MH i2c: E2 FD 00 F4 04 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 9A [23:59:44]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:59:44]wFMCommunicate OK [23:59:44]wFMCommunicate request_size=4 [23:59:44]MH_SAM_APDU [23:59:44]CAPDU: 80 17 00 00 [23:59:44]Write to MH i2c: E2 08 00 F5 04 80 17 00 00 00 00 00 00 79 [23:59:44]Write i2c OK [23:59:44]MH_I2C_Read... [23:59:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:45]Read from MH i2c: E2 [23:59:45]MH_I2C_Read... [23:59:45]Read from MH i2c: E2 FD 00 [23:59:45]MH_I2C_Read... [23:59:45]Read from MH i2c: E2 FD 00 F5 04 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 30 [23:59:45]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:59:45]wFMCommunicate OK [23:59:45]wFMCommunicate request_size=4 [23:59:45]MH_SAM_APDU [23:59:45]CAPDU: 80 17 00 00 [23:59:45]Write to MH i2c: E2 08 00 F6 04 80 17 00 00 00 00 00 00 7A [23:59:45]Write i2c OK [23:59:45]MH_I2C_Read... [23:59:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:45]Read from MH i2c: E2 [23:59:45]MH_I2C_Read... [23:59:45]Read from MH i2c: E2 FD 00 [23:59:45]MH_I2C_Read... [23:59:45]Read from MH i2c: E2 FD 00 F6 04 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 EC [23:59:45]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:59:45]wFMCommunicate OK [23:59:45]wFMCommunicate request_size=4 [23:59:45]MH_SAM_APDU [23:59:45]CAPDU: 80 17 00 00 [23:59:45]Write to MH i2c: E2 08 00 F7 04 80 17 00 00 00 00 00 00 7B [23:59:45]Write i2c OK [23:59:45]MH_I2C_Read... [23:59:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:59:45]Read from MH i2c: E2 [23:59:45]MH_I2C_Read... [23:59:45]Read from MH i2c: E2 CB 00 [23:59:45]MH_I2C_Read... [23:59:45]Read from MH i2c: E2 CB 00 F7 04 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 64 [23:59:46]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:46]wFMCommunicate OK [23:59:46]SAM_PROTO_GetShiftData done [23:59:46]requested_item shift.sale.total_cash is exist - process it [23:59:46]requested_item shift.sale_refund.total is exist - process it [23:59:46]requested_item shift.sale_refund.total_cash is exist - process it [23:59:46]requested_item shift.buy.total is exist - process it [23:59:46]requested_item shift.buy.total_cash is exist - process it [23:59:46]produce_requested_data done [23:59:46]produce_requested_data return {"fm.sale.total":2466644.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":10351.00,"shift.sale.total_cash":8786.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:59:46]process_action_free get_value [23:59:46]json_value_free [23:59:46]json_value_free done [23:59:46]process_json_proto returns [23:59:46]Send response to host [23:59:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2466644.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":10351.00,"shift.sale.total_cash":8786.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:59:46]free response buf [23:59:46]execute_script done [23:59:46]execute_script returns [23:59:46]free content buf [23:59:46]Sock 9.Close socket [23:59:46]Sock 9.Thread stoped [23:59:46]accept exits with 7 [23:59:46]New connection [23:59:46]New thread 3067264356 created [23:59:46]Thread 3067120996 joined [23:59:46]Waiting for new connection... [23:59:46] Sock 7.Parse request [23:59:46]Sock 7.Check first char [23:59:46]Sock 7.First char is OK [23:59:46]request: POST /json_proto HTTP/1.0 [23:59:46]Method: POST [23:59:46]URL: /json_proto [23:59:46]Method is POST - this is cgi request [23:59:46]url: /json_proto [23:59:46]query_string will be loaded in cgi processing [23:59:46]execute_cgi json_proto POST (null) [23:59:46]execute_cgi path=json_proto method=POST [23:59:46]POST find Content-Length [23:59:46]Host: 172.17.62.6:8080 [23:59:46]Content-Length: 272 [23:59:46]Content-Type: application/json [23:59:46] [23:59:46]POST finish read [23:59:46]Found Content-Length = 272 [23:59:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0422\u0430\u0431\u0430\u043B\u0434\u0438\u0435\u0432\u0430 \u041C. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:46]execute_script... [23:59:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0422\u0430\u0431\u0430\u043B\u0434\u0438\u0435\u0432\u0430 \u041C. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:46]POST & json_proto [23:59:46]process_json_proto [23:59:46]json parsed OK: [23:59:46]protocol is kg_v1.0 [23:59:46]action value=close_shift [23:59:46]process_action close_shift [23:59:46]cmd_close_shift [23:59:46]MH_GetDate [23:59:46]Write to MH i2c: F0 00 00 F8 04 EB [23:59:46]Write i2c OK [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: F0 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: F0 09 00 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: F0 09 00 F8 04 00 73 05 23 66 61 69 D2 64 F5 [23:59:46]GetLastDocTimeStamp 1713571135 [23:59:46]current date 1713571187 [23:59:46]FM_GetShiftState [23:59:46]SAM_PROTO_GetShiftState [23:59:46]wFMCommunicate request_size=4 [23:59:46]MH_SAM_APDU [23:59:46]CAPDU: 80 13 01 00 [23:59:46]Write to MH i2c: E2 08 00 F9 04 80 13 01 00 00 00 00 00 7A [23:59:46]Write i2c OK [23:59:46]MH_I2C_Read... [23:59:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:46]Read from MH i2c: E2 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 0E 00 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 0E 00 F9 04 00 09 00 01 AB B8 21 66 00 00 00 00 90 00 70 [23:59:46]RAPDU: 09 00 01 AB B8 21 66 00 00 00 00 90 00 [23:59:46]wFMCommunicate OK [23:59:46]SAM_PROTO_GetShiftState done [23:59:46]FM_GetShiftState done [23:59:46]KKMCreateCloseShiftDocument [23:59:46]Load OK [23:59:46]Malloc new data [23:59:46]MH_GetDate [23:59:46]Write to MH i2c: F0 00 00 FA 04 ED [23:59:46]Write i2c OK [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: F0 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: F0 09 00 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: F0 09 00 FA 04 00 73 05 23 66 61 69 D2 64 F7 [23:59:46]Malloc new data [23:59:46]Malloc new data [23:59:46]Malloc new data [23:59:46]Malloc new data [23:59:46]KKMCreateCloseShiftDocument OK [23:59:46]KKMSetCloseShiftData OK [23:59:46]ProcessDocumentItem done err = 0, tmpTLVsize=75 [23:59:46]tlvbuf is 020315D0 [23:59:46]KKMLoadAndSignCloseShiftData [23:59:46]SAM_PROTO_ProcessDocument [23:59:46]wFMCommunicate request_size=9 [23:59:46]MH_SAM_APDU [23:59:46]CAPDU: 80 15 01 00 04 05 00 4B 00 [23:59:46]Write to MH i2c: E2 0C 00 FB 04 80 15 01 00 04 00 05 00 4B 00 00 00 D6 [23:59:46]Write i2c OK [23:59:46]MH_I2C_Read... [23:59:46]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [23:59:46]Read from MH i2c: E2 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 03 00 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 03 00 FB 04 00 90 00 73 [23:59:46]RAPDU: 90 00 [23:59:46]wFMCommunicate OK [23:59:46]wFMCommunicate request_size=23 [23:59:46]MH_SAM_APDU [23:59:46]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [23:59:46]Write to MH i2c: E2 1A 00 FC 04 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 75 [23:59:46]Write i2c OK [23:59:46]MH_I2C_Read... [23:59:46]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:59:46]Read from MH i2c: E2 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 03 00 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 03 00 FC 04 00 90 00 74 [23:59:46]RAPDU: 90 00 [23:59:46]wFMCommunicate OK [23:59:46]wFMCommunicate request_size=34 [23:59:46]MH_SAM_APDU [23:59:46]CAPDU: 80 15 02 00 1D FD 03 19 00 D0 A2 D0 B0 D0 B1 D0 B0 D0 BB D0 B4 D0 B8 D0 B5 D0 B2 D0 B0 20 D0 9C 2E 20 [23:59:46]Write to MH i2c: E2 25 00 FD 04 80 15 02 00 1D 00 FD 03 19 00 D0 A2 D0 B0 D0 B1 D0 B0 D0 BB D0 B4 D0 B8 D0 B5 D0 B2 D0 B0 20 D0 9C 2E 20 00 00 BF [23:59:46]Write i2c OK [23:59:46]MH_I2C_Read... [23:59:46]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:59:46]Read from MH i2c: E2 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 03 00 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 03 00 FD 04 00 90 00 75 [23:59:46]RAPDU: 90 00 [23:59:46]wFMCommunicate OK [23:59:46]wFMCommunicate request_size=13 [23:59:46]MH_SAM_APDU [23:59:46]CAPDU: 80 15 02 00 08 F4 03 04 00 73 05 23 66 [23:59:46]Write to MH i2c: E2 10 00 FE 04 80 15 02 00 08 00 F4 03 04 00 73 05 23 66 00 00 8E [23:59:46]Write i2c OK [23:59:46]MH_I2C_Read... [23:59:46]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:59:46]Read from MH i2c: E2 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 03 00 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 03 00 FE 04 00 90 00 76 [23:59:46]RAPDU: 90 00 [23:59:46]wFMCommunicate OK [23:59:46]wFMCommunicate request_size=25 [23:59:46]MH_SAM_APDU [23:59:46]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 [23:59:46]Write to MH i2c: E2 1C 00 FF 04 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 00 00 E0 [23:59:46]Write i2c OK [23:59:46]MH_I2C_Read... [23:59:46]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:59:46]Read from MH i2c: E2 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 03 00 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 03 00 FF 04 00 90 00 77 [23:59:46]RAPDU: 90 00 [23:59:46]wFMCommunicate OK [23:59:46]wFMCommunicate request_size=4 [23:59:46]MH_SAM_APDU [23:59:46]CAPDU: 80 15 03 00 [23:59:46]Write to MH i2c: E2 08 00 00 05 80 15 03 00 00 00 00 00 86 [23:59:46]Write i2c OK [23:59:46]MH_I2C_Read... [23:59:47]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [23:59:47]Read from MH i2c: E2 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 FD 00 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 FD 00 00 05 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 00 31 00 00 0E 04 04 00 17 01 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2F 00 00 00 AA 04 AA 04 6E 04 04 00 2D 00 00 00 69 04 9B 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 5C CB 0F 70 04 03 00 08 68 0D 72 04 03 00 54 63 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 64 AD 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 C5 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 52 [23:59:47]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 00 31 00 00 0E 04 04 00 17 01 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2F 00 00 00 AA 04 AA 04 6E 04 04 00 2D 00 00 00 69 04 9B 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 5C CB 0F 70 04 03 00 08 68 0D 72 04 03 00 54 63 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 64 AD 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 C5 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [23:59:47]wFMCommunicate OK [23:59:47]SAM_PROTO_ProcessDocument answer len = 1265 [23:59:47]SAM_PROTO_ProcessDocument remain to read = 1017 [23:59:47]wFMCommunicate request_size=4 [23:59:47]MH_SAM_APDU [23:59:47]CAPDU: 80 17 00 00 [23:59:47]Write to MH i2c: E2 08 00 01 05 80 17 00 00 00 00 00 00 86 [23:59:47]Write i2c OK [23:59:47]MH_I2C_Read... [23:59:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:47]Read from MH i2c: E2 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 FD 00 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 FD 00 01 05 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 CF [23:59:47]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 [23:59:48]wFMCommunicate OK [23:59:48]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:59:48]SAM_PROTO_ProcessDocument remain to read = 767 [23:59:48]wFMCommunicate request_size=4 [23:59:48]MH_SAM_APDU [23:59:48]CAPDU: 80 17 00 00 [23:59:48]Write to MH i2c: E2 08 00 02 05 80 17 00 00 00 00 00 00 87 [23:59:48]Write i2c OK [23:59:48]MH_I2C_Read... [23:59:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:48]Read from MH i2c: E2 [23:59:48]MH_I2C_Read... [23:59:48]Read from MH i2c: E2 FD 00 [23:59:48]MH_I2C_Read... [23:59:48]Read from MH i2c: E2 FD 00 02 05 00 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 E9 [23:59:48]RAPDU: 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [23:59:48]wFMCommunicate OK [23:59:48]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:59:48]SAM_PROTO_ProcessDocument remain to read = 517 [23:59:48]wFMCommunicate request_size=4 [23:59:48]MH_SAM_APDU [23:59:48]CAPDU: 80 17 00 00 [23:59:48]Write to MH i2c: E2 08 00 03 05 80 17 00 00 00 00 00 00 88 [23:59:48]Write i2c OK [23:59:48]MH_I2C_Read... [23:59:48]OFD Sender: No OFD packet to send [23:59:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:48]Read from MH i2c: E2 [23:59:48]MH_I2C_Read... [23:59:48]Read from MH i2c: E2 FD 00 [23:59:48]MH_I2C_Read... [23:59:48]Read from MH i2c: E2 FD 00 03 05 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 12 [23:59:49]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 [23:59:49]wFMCommunicate OK [23:59:49]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:59:49]SAM_PROTO_ProcessDocument remain to read = 267 [23:59:49]wFMCommunicate request_size=4 [23:59:49]MH_SAM_APDU [23:59:49]CAPDU: 80 17 00 00 [23:59:49]Write to MH i2c: E2 08 00 04 05 80 17 00 00 00 00 00 00 89 [23:59:49]Write i2c OK [23:59:49]MH_I2C_Read... [23:59:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:49]Read from MH i2c: E2 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 FD 00 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 FD 00 04 05 00 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 51 [23:59:49]RAPDU: 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 [23:59:49]wFMCommunicate OK [23:59:49]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:59:49]SAM_PROTO_ProcessDocument remain to read = 17 [23:59:49]wFMCommunicate request_size=4 [23:59:49]MH_SAM_APDU [23:59:49]CAPDU: 80 17 00 00 [23:59:49]Write to MH i2c: E2 08 00 05 05 80 17 00 00 00 00 00 00 8A [23:59:49]Write i2c OK [23:59:49]MH_I2C_Read... [23:59:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [23:59:49]Read from MH i2c: E2 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 14 00 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 14 00 05 05 00 01 00 06 F7 03 00 00 35 04 06 00 87 63 05 82 06 0B 90 00 51 [23:59:49]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 87 63 05 82 06 0B 90 00 [23:59:49]wFMCommunicate OK [23:59:49]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [23:59:49]SAM_PROTO_ProcessDocument done [23:59:49]1209 (1) - 1.0 - номер версии ФФД [23:59:49]1041 (16) - 0000000000965685 - номер ФМ [23:59:49]1040 (4) - 12544 - номер ФД [23:59:49]1038 (4) - 279 - номер смены [23:59:49]1118 (4) - 45 - количество кассовых чеков за смену [23:59:49]1111 (4) - 47 - общее количество ФД за смену [23:59:49]1194 (1194) - счетчики итогов смены [23:59:49] 1134 (4) - 45 - количество чеков со всеми признаками расчетов [23:59:49] 1129 (155) - счетчики операций «приход» [23:59:49] 1135 (4) - 45 - количество чеков по признаку расчетов [23:59:49] 1201 (3) - 10351.00 - общая итоговая сумма в чеках [23:59:49] 1136 (3) - 8786.00 - итоговая сумма в чеках наличными [23:59:49] 1138 (3) - 1565.00 - итоговая сумма в чеках безналичными [23:59:49] 1024 (122) - суммы налогов [23:59:49] 1006 (9) - суммы НДС [23:59:49] 1010 (1) - 0% - код ставки НДС [23:59:49] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:49] 1006 (12) - суммы НДС [23:59:49] 1010 (1) - 12% - код ставки НДС [23:59:49] 1011 (3) - 1099.24 - сумма НДС по ставке [23:59:49] 1007 (9) - суммы НСП [23:59:49] 1014 (1) - 0% - код ставки НСП [23:59:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:49] 1007 (11) - суммы НСП [23:59:49] 1014 (1) - 1% - код ставки НСП [23:59:49] 1015 (2) - 91.57 - сумма НСП по ставке [23:59:49] 1007 (9) - суммы НСП [23:59:49] 1014 (1) - 2% - код ставки НСП [23:59:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:49] 1007 (9) - суммы НСП [23:59:49] 1014 (1) - 3% - код ставки НСП [23:59:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:49] 1007 (9) - суммы НСП [23:59:49] 1014 (1) - 5% - код ставки НСП [23:59:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:49] 1007 (9) - суммы НСП [23:59:49] 1014 (1) - 0,50% - код ставки НСП [23:59:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:49] 1007 (9) - суммы НСП [23:59:49] 1014 (1) - 1,50% - код ставки НСП [23:59:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:49] 1130 (141) - счетчики операций «возврат прихода» [23:59:49] 1135 (4) - 0 - количество чеков по признаку расчетов [23:59:49] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:59:49] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:59:49] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:59:49] 1024 (117) - суммы налогов [23:59:49] 1006 (9) - суммы НДС [23:59:49] 1010 (1) - 0% - код ставки НДС [23:59:49] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:49] 1006 (9) - суммы НДС [23:59:49] 1010 (1) - 12% - код ставки НДС [23:59:49] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:49] 1007 (9) - суммы НСП [23:59:49] 1014 (1) - 0% - код ставки НСП [23:59:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:49] 1007 (9) - суммы НСП [23:59:49] 1014 (1) - 1% - код ставки НСП [23:59:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:49] 1007 (9) - суммы НСП [23:59:49] 1014 (1) - 2% - код ставки НСП [23:59:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:49] 1007 (9) - суммы НСП [23:59:49] 1014 (1) - 3% - код ставки НСП [23:59:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:49] 1007 (9) - суммы НСП [23:59:49] 1014 (1) - 5% - код ставки НСП [23:59:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:49] 1007 (9) - суммы НСП [23:59:49] 1014 (1) - 0,50% - код ставки НСП [23:59:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:49] 1007 (9) - суммы НСП [23:59:49] 1014 (1) - 1,50% - код ставки НСП [23:59:49] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:49] 1131 (141) - счетчики операций «расход» [23:59:49] 1135 (4) - 0 - количество чеков по признаку расчетов [23:59:49] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:59:49] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:59:49] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:59:49] 1024 (117) - суммы налогов [23:59:49] 1006 (9) - суммы НДС [23:59:49] 1010 (1) - 0% - код ставки НДС [23:59:49] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:49] 1006 (9) - суммы НДС [23:59:49] 1010 (1) - 12% - код ставки НДС [23:59:50] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 0% - код ставки НСП [23:59:50] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 1% - код ставки НСП [23:59:50] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 2% - код ставки НСП [23:59:50] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 3% - код ставки НСП [23:59:50] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 5% - код ставки НСП [23:59:50] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 0,50% - код ставки НСП [23:59:50] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 1,50% - код ставки НСП [23:59:50] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:50] 1132 (141) - счетчики операций «возврат расхода» [23:59:50] 1135 (4) - 0 - количество чеков по признаку расчетов [23:59:50] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:59:50] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:59:50] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:59:50] 1024 (117) - суммы налогов [23:59:50] 1006 (9) - суммы НДС [23:59:50] 1010 (1) - 0% - код ставки НДС [23:59:50] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:50] 1006 (9) - суммы НДС [23:59:50] 1010 (1) - 12% - код ставки НДС [23:59:50] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 0% - код ставки НСП [23:59:50] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 1% - код ставки НСП [23:59:50] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 2% - код ставки НСП [23:59:50] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 3% - код ставки НСП [23:59:50] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 5% - код ставки НСП [23:59:50] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 0,50% - код ставки НСП [23:59:50] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:50] 1007 (9) - суммы НСП [23:59:50] 1014 (1) - 1,50% - код ставки НСП [23:59:50] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:50] 1133 (588) - - счетчики коррекции - не используются [23:59:50]1077 (6) - 148859363919371 - ФПД [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1209 (04B9) [23:59:50]Malloc new data [23:59:50]Processing tag 1041 (0411) [23:59:50]Processing tag 1040 (0410) [23:59:50]Malloc new data [23:59:50]Processing tag 1038 (040E) [23:59:50]Malloc new data [23:59:50]Processing tag 1118 (045E) [23:59:50]Malloc new data [23:59:50]Processing tag 1111 (0457) [23:59:50]Malloc new data [23:59:50]Processing tag 1194 (04AA) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1134 (046E) [23:59:50]Malloc new data [23:59:50]Processing tag 1129 (0469) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1135 (046F) [23:59:50]Malloc new data [23:59:50]Processing tag 1201 (04B1) [23:59:50]Malloc new data [23:59:50]Processing tag 1136 (0470) [23:59:50]Malloc new data [23:59:50]Processing tag 1138 (0472) [23:59:50]Malloc new data [23:59:50]Processing tag 1024 (0400) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1006 (03EE) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1010 (03F2) [23:59:50]Malloc new data [23:59:50]Processing tag 1011 (03F3) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1006 (03EE) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1010 (03F2) [23:59:50]Malloc new data [23:59:50]Processing tag 1011 (03F3) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1014 (03F6) [23:59:50]Malloc new data [23:59:50]Processing tag 1015 (03F7) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1014 (03F6) [23:59:50]Malloc new data [23:59:50]Processing tag 1015 (03F7) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1014 (03F6) [23:59:50]Malloc new data [23:59:50]Processing tag 1015 (03F7) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1014 (03F6) [23:59:50]Malloc new data [23:59:50]Processing tag 1015 (03F7) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1014 (03F6) [23:59:50]Malloc new data [23:59:50]Processing tag 1015 (03F7) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1014 (03F6) [23:59:50]Malloc new data [23:59:50]Processing tag 1015 (03F7) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1014 (03F6) [23:59:50]Malloc new data [23:59:50]Processing tag 1015 (03F7) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]SetTLVBufToDocument err=0 [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1130 (046A) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1135 (046F) [23:59:50]Malloc new data [23:59:50]Processing tag 1201 (04B1) [23:59:50]Malloc new data [23:59:50]Processing tag 1136 (0470) [23:59:50]Malloc new data [23:59:50]Processing tag 1138 (0472) [23:59:50]Malloc new data [23:59:50]Processing tag 1024 (0400) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1006 (03EE) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1010 (03F2) [23:59:50]Malloc new data [23:59:50]Processing tag 1011 (03F3) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1006 (03EE) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1010 (03F2) [23:59:50]Malloc new data [23:59:50]Processing tag 1011 (03F3) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1014 (03F6) [23:59:50]Malloc new data [23:59:50]Processing tag 1015 (03F7) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1014 (03F6) [23:59:50]Malloc new data [23:59:50]Processing tag 1015 (03F7) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1014 (03F6) [23:59:50]Malloc new data [23:59:50]Processing tag 1015 (03F7) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1014 (03F6) [23:59:50]Malloc new data [23:59:50]Processing tag 1015 (03F7) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1014 (03F6) [23:59:50]Malloc new data [23:59:50]Processing tag 1015 (03F7) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1014 (03F6) [23:59:50]Malloc new data [23:59:50]Processing tag 1015 (03F7) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1014 (03F6) [23:59:50]Malloc new data [23:59:50]Processing tag 1015 (03F7) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]SetTLVBufToDocument err=0 [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1131 (046B) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1135 (046F) [23:59:50]Malloc new data [23:59:50]Processing tag 1201 (04B1) [23:59:50]Malloc new data [23:59:50]Processing tag 1136 (0470) [23:59:50]Malloc new data [23:59:50]Processing tag 1138 (0472) [23:59:50]Malloc new data [23:59:50]Processing tag 1024 (0400) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1006 (03EE) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1010 (03F2) [23:59:50]Malloc new data [23:59:50]Processing tag 1011 (03F3) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1006 (03EE) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1010 (03F2) [23:59:50]Malloc new data [23:59:50]Processing tag 1011 (03F3) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1014 (03F6) [23:59:50]Malloc new data [23:59:50]Processing tag 1015 (03F7) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1014 (03F6) [23:59:50]Malloc new data [23:59:50]Processing tag 1015 (03F7) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1014 (03F6) [23:59:50]Malloc new data [23:59:50]Processing tag 1015 (03F7) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1014 (03F6) [23:59:50]Malloc new data [23:59:50]Processing tag 1015 (03F7) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1014 (03F6) [23:59:50]Malloc new data [23:59:50]Processing tag 1015 (03F7) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1014 (03F6) [23:59:50]Malloc new data [23:59:50]Processing tag 1015 (03F7) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1014 (03F6) [23:59:50]Malloc new data [23:59:50]Processing tag 1015 (03F7) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]SetTLVBufToDocument err=0 [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1132 (046C) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1135 (046F) [23:59:50]Malloc new data [23:59:50]Processing tag 1201 (04B1) [23:59:50]Malloc new data [23:59:50]Processing tag 1136 (0470) [23:59:50]Malloc new data [23:59:50]Processing tag 1138 (0472) [23:59:50]Malloc new data [23:59:50]Processing tag 1024 (0400) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1006 (03EE) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1010 (03F2) [23:59:50]Malloc new data [23:59:50]Processing tag 1011 (03F3) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1006 (03EE) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1010 (03F2) [23:59:50]Malloc new data [23:59:50]Processing tag 1011 (03F3) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1014 (03F6) [23:59:50]Malloc new data [23:59:50]Processing tag 1015 (03F7) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1014 (03F6) [23:59:50]Malloc new data [23:59:50]Processing tag 1015 (03F7) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1014 (03F6) [23:59:50]Malloc new data [23:59:50]Processing tag 1015 (03F7) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:50]SetTLVBufToDocument [23:59:50]Processing tag 1014 (03F6) [23:59:50]Malloc new data [23:59:50]Processing tag 1015 (03F7) [23:59:50]Malloc new data [23:59:50]SetTLVBufToDocument err=0 [23:59:50]Processing tag 1007 (03EF) [23:59:50]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1007 (03EF) [23:59:51]Load OK [23:59:51]SetTLVBufToDocument [23:59:51]Processing tag 1014 (03F6) [23:59:51]Malloc new data [23:59:51]Processing tag 1015 (03F7) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]SetTLVBufToDocument err=0 [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1133 (046D) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Processing tag 1077 (0435) [23:59:51]Malloc new data [23:59:51]SetTLVBufToDocument err=0 [23:59:51]Malloc new data [23:59:51]SAM_PROTO_GetFMData [23:59:51]wFMCommunicate request_size=4 [23:59:51]MH_SAM_APDU [23:59:51]CAPDU: 80 13 03 00 [23:59:51]Write to MH i2c: E2 08 00 06 05 80 13 03 00 00 00 00 00 8A [23:59:51]Write i2c OK [23:59:51]MH_I2C_Read... [23:59:51]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:59:51]Read from MH i2c: E2 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 FD 00 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 FD 00 06 05 00 C1 04 85 04 BD 04 6E 04 04 00 D1 2E 00 00 69 04 A0 00 6F 04 04 00 85 2E 00 00 B1 04 04 00 D3 CC B3 0E 70 04 04 00 82 9A AE 0C 72 04 04 00 51 32 05 02 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 01 B1 8F 01 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 AB 4A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 88 [23:59:51]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 D1 2E 00 00 69 04 A0 00 6F 04 04 00 85 2E 00 00 B1 04 04 00 D3 CC B3 0E 70 04 04 00 82 9A AE 0C 72 04 04 00 51 32 05 02 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 01 B1 8F 01 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 AB 4A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 [23:59:51]wFMCommunicate OK [23:59:51]wFMCommunicate request_size=4 [23:59:51]MH_SAM_APDU [23:59:51]CAPDU: 80 17 00 00 [23:59:51]Write to MH i2c: E2 08 00 07 05 80 17 00 00 00 00 00 00 8C [23:59:51]Write i2c OK [23:59:51]MH_I2C_Read... [23:59:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:52]Read from MH i2c: E2 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: E2 FD 00 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: E2 FD 00 07 05 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 2A [23:59:52]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:52]wFMCommunicate OK [23:59:52]wFMCommunicate request_size=4 [23:59:52]MH_SAM_APDU [23:59:52]CAPDU: 80 17 00 00 [23:59:52]Write to MH i2c: E2 08 00 08 05 80 17 00 00 00 00 00 00 8D [23:59:52]Write i2c OK [23:59:52]MH_I2C_Read... [23:59:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:52]Read from MH i2c: E2 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: E2 FD 00 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: E2 FD 00 08 05 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 2D [23:59:52]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:53]wFMCommunicate OK [23:59:53]wFMCommunicate request_size=4 [23:59:53]MH_SAM_APDU [23:59:53]CAPDU: 80 17 00 00 [23:59:53]Write to MH i2c: E2 08 00 09 05 80 17 00 00 00 00 00 00 8E [23:59:53]Write i2c OK [23:59:53]MH_I2C_Read... [23:59:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:53]Read from MH i2c: E2 [23:59:53]MH_I2C_Read... [23:59:53]Read from MH i2c: E2 FD 00 [23:59:53]MH_I2C_Read... [23:59:53]Read from MH i2c: E2 FD 00 09 05 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 13 [23:59:53]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:59:53]wFMCommunicate OK [23:59:53]wFMCommunicate request_size=4 [23:59:53]MH_SAM_APDU [23:59:53]CAPDU: 80 17 00 00 [23:59:53]Write to MH i2c: E2 08 00 0A 05 80 17 00 00 00 00 00 00 8F [23:59:53]Write i2c OK [23:59:53]MH_I2C_Read... [23:59:53]OFD Sender: No OFD packet to send [23:59:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [23:59:53]Read from MH i2c: E2 [23:59:53]MH_I2C_Read... [23:59:53]Read from MH i2c: E2 DE 00 [23:59:53]MH_I2C_Read... [23:59:53]Read from MH i2c: E2 DE 00 0A 05 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 6E [23:59:54]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:54]wFMCommunicate OK [23:59:54]SAM_PROTO_GetFMData done [23:59:54]Malloc new data [23:59:54]Malloc new data [23:59:54]Malloc new data [23:59:54]Malloc new data [23:59:54]KKMLoadAndSignCloseShiftData err=0 [23:59:54]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Табалдиева М. 19.04.2024 23:59 Смена: 279 РНМ: 0000000000100748 ЗНМ: 0300000004 СНО: Общий режим Чеков за смену: 45 ФД за смену: 47 Всего чеков: 45 ИТОГИ ПРИХОД Чеков: 45 Общий итог: 10351.00 Итого наличными: 8786.00 Итого безнал.: 1565.00 НДС 0% : 0.00 НДС 12% : 1099.24 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 91.57 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 8786.00 НС Приход: 2466644.03 НС Возвр.Прихода: 73030.10 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 12544 ФМ: 0000000000965685 ФПД: 148859363919371 [23:59:54]StoreToDocumentArchive [23:59:54]shift 279 fd 12544 [23:59:54]save to /storage/0279/doc_00012544 [23:59:54]save last doc name /storage/0279/doc_00012544 to /storage/kkm_last_doc_name [23:59:54]save OK [23:59:54]Clear old archive folders... [23:59:54]Remove dir /storage/0266 [23:59:54]opendir ok [23:59:54]file . [23:59:54]file .. [23:59:54]file doc_1713571143 [23:59:54]remove file /storage/0266/doc_1713571143 [23:59:54]remove dir /storage/0266 [23:59:54]NVStorageSaveData kkm_registers [23:59:54]File name is /storage/kkm_registers [23:59:54]Write 24 bytes [23:59:54]NVStorageSaveData done [23:59:54]NVStorageSaveData kkm_registers [23:59:54]File name is /storage/kkm_registers [23:59:54]Write 24 bytes [23:59:54]NVStorageSaveData done [23:59:54]ProcessDocumentItem done err = 0, tmpTLVsize=1383 [23:59:54]tlvbuf is 01FBC470 [23:59:54]SAM_PROTO_ClearQueue [23:59:54]wFMCommunicate request_size=4 [23:59:54]MH_SAM_APDU [23:59:54]CAPDU: 80 09 00 00 [23:59:54]Write to MH i2c: E2 08 00 0B 05 80 09 00 00 00 00 00 00 82 [23:59:54]Write i2c OK [23:59:54]MH_I2C_Read... [23:59:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:59:54]Read from MH i2c: E2 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 03 00 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 03 00 0B 05 00 90 00 84 [23:59:54]RAPDU: 90 00 [23:59:54]wFMCommunicate OK [23:59:54]SAM_PROTO_ClearQueue done [23:59:54]KKMCreateOFDPacket [23:59:54]OFDProtocolAddRootSTLVToBuf [23:59:54]FM_MakeSignedData [23:59:54]FM_MakeSignedData [23:59:54]SAM_PROTO_SignData [23:59:54]wFMCommunicate request_size=4 [23:59:54]MH_SAM_APDU [23:59:54]CAPDU: 80 0D 01 02 [23:59:54]Write to MH i2c: E2 08 00 0C 05 80 0D 01 02 00 00 00 00 8A [23:59:54]Write i2c OK [23:59:54]MH_I2C_Read... [23:59:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:59:54]Read from MH i2c: E2 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 03 00 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 03 00 0C 05 00 90 00 85 [23:59:54]RAPDU: 90 00 [23:59:54]wFMCommunicate OK [23:59:54]wFMCommunicate request_size=255 [23:59:54]MH_SAM_APDU [23:59:54]CAPDU: 80 0D 02 02 FA 05 00 67 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 A2 D0 B0 D0 B1 D0 B0 D0 BB D0 B4 D0 B8 D0 B5 D0 B2 D0 B0 20 D0 9C 2E 20 F4 03 04 00 73 05 23 66 0E 04 04 00 17 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 5E 04 04 00 2D 00 00 00 57 04 04 00 2F 00 00 00 AA 04 D5 04 6E 04 04 00 2D 00 00 00 69 04 A2 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 5C CB 0F 70 04 03 00 08 68 0D 72 04 03 00 54 63 02 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 64 AD 01 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 [23:59:54]Write to MH i2c: E2 02 01 0D 05 80 0D 02 02 FA 00 05 00 67 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 A2 D0 B0 D0 B1 D0 B0 D0 BB D0 B4 D0 B8 D0 B5 D0 B2 D0 B0 20 D0 9C 2E 20 F4 03 04 00 73 05 23 66 0E 04 04 00 17 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 5E 04 04 00 2D 00 00 00 57 04 04 00 2F 00 00 00 AA 04 D5 04 6E 04 04 00 2D 00 00 00 69 04 A2 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 5C CB 0F 70 04 03 00 08 68 0D 72 04 03 00 54 63 02 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 64 AD 01 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 2C [23:59:54]Write i2c OK [23:59:54]MH_I2C_Read... [23:59:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:54]Read from MH i2c: E2 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 03 00 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 03 00 0D 05 00 90 00 86 [23:59:54]RAPDU: 90 00 [23:59:54]wFMCommunicate OK [23:59:54]wFMCommunicate request_size=255 [23:59:54]MH_SAM_APDU [23:59:54]CAPDU: 80 0D 02 02 FA 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C5 23 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 [23:59:55]Write to MH i2c: E2 02 01 0E 05 80 0D 02 02 FA 00 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C5 23 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 E2 [23:59:55]Write i2c OK [23:59:55]MH_I2C_Read... [23:59:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:55]Read from MH i2c: E2 [23:59:55]MH_I2C_Read... [23:59:55]Read from MH i2c: E2 03 00 [23:59:55]MH_I2C_Read... [23:59:55]Read from MH i2c: E2 03 00 0E 05 00 90 00 87 [23:59:55]RAPDU: 90 00 [23:59:55]wFMCommunicate OK [23:59:55]wFMCommunicate request_size=255 [23:59:55]MH_SAM_APDU [23:59:55]CAPDU: 80 0D 02 02 FA 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 [23:59:55]Write to MH i2c: E2 02 01 0F 05 80 0D 02 02 FA 00 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 54 [23:59:55]Write i2c OK [23:59:55]MH_I2C_Read... [23:59:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:56]Read from MH i2c: E2 [23:59:56]MH_I2C_Read... [23:59:56]Read from MH i2c: E2 03 00 [23:59:56]MH_I2C_Read... [23:59:56]Read from MH i2c: E2 03 00 0F 05 00 90 00 88 [23:59:56]RAPDU: 90 00 [23:59:56]wFMCommunicate OK [23:59:56]wFMCommunicate request_size=255 [23:59:56]MH_SAM_APDU [23:59:56]CAPDU: 80 0D 02 02 FA 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 [23:59:56]Write to MH i2c: E2 02 01 10 05 80 0D 02 02 FA 00 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 00 00 53 [23:59:56]Write i2c OK [23:59:56]MH_I2C_Read... [23:59:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:56]Read from MH i2c: E2 [23:59:56]MH_I2C_Read... [23:59:56]Read from MH i2c: E2 03 00 [23:59:56]MH_I2C_Read... [23:59:56]Read from MH i2c: E2 03 00 10 05 00 90 00 89 [23:59:56]RAPDU: 90 00 [23:59:56]wFMCommunicate OK [23:59:56]wFMCommunicate request_size=255 [23:59:56]MH_SAM_APDU [23:59:56]CAPDU: 80 0D 02 02 FA 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 [23:59:57]Write to MH i2c: E2 02 01 11 05 80 0D 02 02 FA 00 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 00 00 18 [23:59:57]Write i2c OK [23:59:57]MH_I2C_Read... [23:59:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:57]Read from MH i2c: E2 [23:59:57]MH_I2C_Read... [23:59:57]Read from MH i2c: E2 03 00 [23:59:57]MH_I2C_Read... [23:59:57]Read from MH i2c: E2 03 00 11 05 00 90 00 8A [23:59:57]RAPDU: 90 00 [23:59:57]wFMCommunicate OK [23:59:57]wFMCommunicate request_size=142 [23:59:57]MH_SAM_APDU [23:59:57]CAPDU: 80 0D 02 02 89 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 00 31 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 35 04 06 00 87 63 05 82 06 0B [23:59:57]Write to MH i2c: E2 91 00 12 05 80 0D 02 02 89 00 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 00 31 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 35 04 06 00 87 63 05 82 06 0B 00 00 92 [23:59:57]Write i2c OK [23:59:57]MH_I2C_Read... [23:59:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:57]Read from MH i2c: E2 [23:59:57]MH_I2C_Read... [23:59:57]Read from MH i2c: E2 03 00 [23:59:57]MH_I2C_Read... [23:59:57]Read from MH i2c: E2 03 00 12 05 00 90 00 8B [23:59:57]RAPDU: 90 00 [23:59:57]wFMCommunicate OK [23:59:57]wFMCommunicate request_size=4 [23:59:57]MH_SAM_APDU [23:59:57]CAPDU: 80 0D 03 02 [23:59:57]Write to MH i2c: E2 08 00 13 05 80 0D 03 02 00 00 00 00 93 [23:59:57]Write i2c OK [23:59:57]MH_I2C_Read... [23:59:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:59:58]Read from MH i2c: E2 [23:59:58]MH_I2C_Read... [23:59:58]Read from MH i2c: E2 0B 00 [23:59:58]MH_I2C_Read... [23:59:58]Read from MH i2c: E2 0B 00 13 05 00 FE 9E 81 D9 BA 1C ED 97 90 00 E4 [23:59:58]RAPDU: FE 9E 81 D9 BA 1C ED 97 90 00 [23:59:58]wFMCommunicate OK [23:59:58]SAM_PROTO_SignData done [23:59:58]FM_MakeSignedData done [23:59:58]CreateOFDProtocolMessage [23:59:58]wFMCommunicate request_size=4 [23:59:58]MH_SAM_APDU [23:59:58]CAPDU: 80 11 00 00 [23:59:58]Write to MH i2c: E2 08 00 14 05 80 11 00 00 00 00 00 00 93 [23:59:58]Write i2c OK [23:59:58]MH_I2C_Read... [23:59:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:58]Read from MH i2c: E2 [23:59:58]MH_I2C_Read... [23:59:58]Read from MH i2c: E2 17 00 [23:59:58]MH_I2C_Read... [23:59:58]Read from MH i2c: E2 17 00 14 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 ED [23:59:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [23:59:58]wFMCommunicate OK [23:59:58]CreateOFDProtocolMessage done [23:59:58]OFDSenderStorePacket 12544 [23:59:58]StoreOFDPacket docnum=12544 [23:59:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 7B 05 00 00 E3 51 73 05 43 C3 5A 05 01 00 05 00 67 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 A2 D0 B0 D0 B1 D0 B0 D0 BB D0 B4 D0 B8 D0 B5 D0 B2 D0 B0 20 D0 9C 2E 20 F4 03 04 00 73 05 23 66 0E 04 04 00 17 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 5E 04 04 00 2D 00 00 00 57 04 04 00 2F 00 00 00 AA 04 D5 04 6E 04 04 00 2D 00 00 00 69 04 A2 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 5C CB 0F 70 04 03 00 08 68 0D 72 04 03 00 54 63 02 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 64 AD 01 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C5 23 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 00 31 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 35 04 06 00 87 63 05 82 06 0B FE 9E 81 D9 BA 1C ED 97 [23:59:58]CheckFolder [23:59:58]dirname=/storage/ofd_packets [23:59:58]CheckFolder done [23:59:58]ProducePacketName [23:59:58]name=ofd_packets/00012544 [23:59:58]NVStorageSaveData ofd_packets/00012544 [23:59:58]File name is /storage/ofd_packets/00012544 [23:59:58]Write 1433 bytes [23:59:58]NVStorageSaveData done [23:59:58]OFDSenderStorePacket done [23:59:58]KKMCreateOFDPacket done [23:59:58]NVStorageSaveData kkm_last_timestamp [23:59:58]File name is /storage/kkm_last_timestamp [23:59:58]Write 4 bytes [23:59:58]NVStorageSaveData done [23:59:58]ExternCall_PrintAddStr [23:59:58]wPrintStart [23:59:58]Write to MH i2c: 01 00 00 15 05 1A [23:59:58]OFD Sender: Processing packet 12544 [packets to send 7, broken 6] [23:59:58]ProducePacketName [23:59:58]name=ofd_packets/00012544 [23:59:58]OFD Sender: To server: pG, [23:59:58]CommunicateWithHost lk.salyk.kg:30040 [23:59:58]ConnectInit lk.salyk.kg [23:59:58]Write i2c OK [23:59:58]MH_I2C_Read... [23:59:58]Read from MH i2c: 01 [23:59:58]MH_I2C_Read... [23:59:58]Read from MH i2c: 01 07 00 [23:59:58]MH_I2C_Read... [23:59:58]Read from MH i2c: 01 07 00 15 05 00 00 00 00 00 FF 0F 2F [23:59:58]RasterBufferAndPrint [23:59:58]line Отчет о закрытии смены [23:59:58]line ФФД: 1.0 [23:59:58]line ИНН: 02508201610067 [23:59:58]line Кассир: Табалдиева М. [23:59:58]line 19.04.2024 23:59 [23:59:58]line Смена: 279 [23:59:58]line РНМ: 0000000000100748 [23:59:58]line ЗНМ: 0300000004 [23:59:58]line СНО: Общий режим [23:59:58]line Чеков за смену: 45 [23:59:58]line ФД за смену: 47 [23:59:58]line Всего чеков: 45 [23:59:58]line ИТОГИ ПРИХОД [23:59:58]line Чеков: 45 [23:59:58]line Общий итог: 10351.00 [23:59:58]line Итого наличными: 8786.00 [23:59:58]line Итого безнал.: 1565.00 [23:59:58]line НДС 0% : 0.00 [23:59:58]line НДС 12% : 1099.24 [23:59:58]line НСП 0% : 0.00 [23:59:58]line НСП 1,50% : 0.00 [23:59:58]line НСП 0,50% : 0.00 [23:59:58]line НСП 5% : 0.00 [23:59:58]line НСП 3% : 0.00 [23:59:58]line НСП 2% : 0.00 [23:59:58]line НСП 1% : 91.57 [23:59:58]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:59:58]line Чеков: 0 [23:59:58]line Общий итог: 0.00 [23:59:58]line Итого наличными: 0.00 [23:59:58]line Итого безнал.: 0.00 [23:59:58]line НДС 0% : 0.00 [23:59:58]line НДС 12% : 0.00 [23:59:58]line НСП 0% : 0.00 [23:59:58]line НСП 1,50% : 0.00 [23:59:58]line НСП 0,50% : 0.00 [23:59:58]line НСП 5% : 0.00 [23:59:58]line НСП 3% : 0.00 [23:59:58]line НСП 2% : 0.00 [23:59:58]line НСП 1% : 0.00 [23:59:58]line ИТОГИ РАСХОД [23:59:58]line Чеков: 0 [23:59:58]line Общий итог: 0.00 [23:59:58]line Итого наличными: 0.00 [23:59:58]line Итого безнал.: 0.00 [23:59:58]line НДС 0% : 0.00 [23:59:58]line НДС 12% : 0.00 [23:59:58]line НСП 0% : 0.00 [23:59:58]line НСП 1,50% : 0.00 [23:59:58]line НСП 0,50% : 0.00 [23:59:58]line НСП 5% : 0.00 [23:59:58]line НСП 3% : 0.00 [23:59:58]line НСП 2% : 0.00 [23:59:58]line НСП 1% : 0.00 [23:59:58]line ИТОГИ ВОЗВРАТ РАСХОДА [23:59:58]line Чеков: 0 [23:59:58]line Общий итог: 0.00 [23:59:58]line Итого наличными: 0.00 [23:59:58]line Итого безнал.: 0.00 [23:59:58]line НДС 0% : 0.00 [23:59:58]line НДС 12% : 0.00 [23:59:58]line НСП 0% : 0.00 [23:59:58]line НСП 1,50% : 0.00 [23:59:58]line НСП 0,50% : 0.00 [23:59:58]line НСП 5% : 0.00 [23:59:58]line НСП 3% : 0.00 [23:59:58]line НСП 2% : 0.00 [23:59:58]line НСП 1% : 0.00 [23:59:58]line Сумма внесений: 0.00 [23:59:58]line Сумма выплат: 0.00 [23:59:58]line Нал. в кассе: 8786.00 [23:59:58]line НС Приход: 2466644.03 [23:59:58]line НС Возвр.Прихода: 73030.10 [23:59:58]line НС Расход: 0.00 [23:59:58]line НС Возвр.Расхода: 0.00 [23:59:58]line ФД: 12544 [23:59:58]line ФМ: 0000000000965685 [23:59:58]line ФПД: 148859363919371 [23:59:58]written 0, free lines is 4095 [23:59:58]Connected sock=10 [23:59:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 7B 05 00 00 E3 51 73 05 43 C3 5A 05 01 00 05 00 67 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 19 00 D0 A2 D0 B0 D0 B1 D0 B0 D0 BB D0 B4 D0 B8 D0 B5 D0 B2 D0 B0 20 D0 9C 2E 20 F4 03 04 00 73 05 23 66 0E 04 04 00 17 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 5E 04 04 00 2D 00 00 00 57 04 04 00 2F 00 00 00 AA 04 D5 04 6E 04 04 00 2D 00 00 00 69 04 A2 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 5C CB 0F 70 04 03 00 08 68 0D 72 04 03 00 54 63 02 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 64 AD 01 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C5 23 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 Write to MH i2c: 00 01 04 F7 00 03 00 00 65 00 05 EF 6A 03 [23:59:59]09 00 Write i2c OK [23:59:59]F6 MH_I2C_Read... [23:59:59]03 Read from MH i2c: 01 01 00 [23:59:59]05 MH_I2C_Read... [23:59:59]F7 03 00 00 EF 03 09 Read from MH i2c: 00 01 F6 07 03 00 01 [23:59:59]00 MH_I2C_Read... [23:59:59]06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 Read from MH i2c: 04 01 00 07 00 00 70 65 04 05 00 00 00 00 72 00 04 00 00 00 00 DD 00 0B 04 59 75 [23:59:59]00 RasterBufferAndPrint [23:59:59]EE line [23:59:59]03 line [23:59:59]09 line [23:59:59]00 line [23:59:59]F2 line [23:59:59]03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 written 0, free lines is 3161 [23:59:59]F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF MH_Cut [23:59:59]03 Write to MH i2c: 09 D1 00 01 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 00 6C 02 05 F7 01 03 43 00 [23:59:59]00 EF 03 09 Write i2c OK [23:59:59]00 MH_I2C_Read... [23:59:59]F6 03 01 00 03 F7 03 00 00 EF Read from MH i2c: 03 D1 09 [23:59:59]00 MH_I2C_Read... [23:59:59]F6 Read from MH i2c: 03 D1 01 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 00 03 [23:59:59]00 MH_I2C_Read... [23:59:59]00 Read from MH i2c: EF D1 03 01 09 00 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 6C 04 05 04 00 00 42 00 [23:59:59]00 Write to MH i2c: 00 01 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 00 00 EE 6D 03 05 09 72 00 [23:59:59]F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 Write i2c OK [23:59:59]01 MH_I2C_Read... [23:59:59]F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 00 31 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 35 04 06 00 87 63 05 82 06 0B FE 9E 81 D9 BA 1C ED 97 [00:00:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 1A 1D 47 00 1E EE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 00 31 00 00 F4 03 04 00 05 AE 22 66 B6 04 01 00 00 4D 9A 0E 83 98 DC 75 39 [00:00:00]CommunicateWithHost err = 0 [00:00:00]CheckOFDResponse [00:00:00]1017 (14) - 77093643461234 [00:00:00]1041 (16) - 0000000000965685 [00:00:00]1040 (4) - 12544 [00:00:00]1012 (4) - 19.04.2024 17:46 [00:00:00]1206 (1) - 0 [00:00:00]OFD Sender: Remove packet 12544 [00:00:00]ProducePacketName [00:00:00]name=ofd_packets/00012544 [00:00:00]NVStorageDeleteData [00:00:00]*** Cut start [00:00:00]*** Partial cut [00:00:00]*** CUTSNS_PIN = 1 [00:00:00]*** CUTSNS_PIN = 0 [00:00:00]*** Brake cut motor [00:00:01]OFD Sender: No OFD packet to send [00:00:01]Read from MH i2c: 01 [00:00:01]MH_I2C_Read... [00:00:01]*** Stop cut motor [00:00:01]*** Cut end [00:00:01]Read from MH i2c: 01 07 00 [00:00:01]MH_I2C_Read... [00:00:01]Read from MH i2c: 01 07 00 6D 05 00 00 00 00 00 FF 0F 87 [00:00:01]process_action close_shift done [00:00:01]requested_data is exist [00:00:01]produce_requested_data [00:00:01]requested_item fd.num is exist - process it [00:00:01]SAM_PROTO_GetFieldsCounters [00:00:01]wFMCommunicate request_size=4 [00:00:01]MH_SAM_APDU [00:00:01]CAPDU: 80 13 00 00 [00:00:01]Write to MH i2c: E2 08 00 6E 05 80 13 00 00 00 00 00 00 EF [00:00:01]Write i2c OK [00:00:01]MH_I2C_Read... [00:00:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:00:01]Read from MH i2c: E2 [00:00:01]MH_I2C_Read... [00:00:01]Read from MH i2c: E2 62 00 [00:00:01]MH_I2C_Read... [00:00:01]Read from MH i2c: E2 62 00 6E 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 00 31 00 00 0E 04 04 00 17 01 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 E3 [00:00:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 00 31 00 00 0E 04 04 00 17 01 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:00:01]wFMCommunicate OK [00:00:01]SAM_PROTO_GetFieldsCounters done [00:00:01]requested_item shift.num is exist - process it [00:00:01]requested_item shift.opened is exist - process it [00:00:01]req_shift_opened [00:00:01]FM_GetShiftState [00:00:01]SAM_PROTO_GetShiftState [00:00:01]wFMCommunicate request_size=4 [00:00:01]MH_SAM_APDU [00:00:01]CAPDU: 80 13 01 00 [00:00:01]Write to MH i2c: E2 08 00 6F 05 80 13 01 00 00 00 00 00 F1 [00:00:01]Write i2c OK [00:00:01]MH_I2C_Read... [00:00:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:01]Read from MH i2c: E2 [00:00:01]MH_I2C_Read... [00:00:01]Read from MH i2c: E2 0E 00 [00:00:01]MH_I2C_Read... [00:00:01]Read from MH i2c: E2 0E 00 6F 05 00 09 00 00 00 00 00 00 00 00 00 00 90 00 FC [00:00:01]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:00:01]wFMCommunicate OK [00:00:01]SAM_PROTO_GetShiftState done [00:00:01]FM_GetShiftState done [00:00:01]req_shift_opened done [00:00:01]requested_item shift.open_date is exist - process it [00:00:01]req_shift_open_date [00:00:01]FM_GetShiftState [00:00:01]SAM_PROTO_GetShiftState [00:00:01]wFMCommunicate request_size=4 [00:00:01]MH_SAM_APDU [00:00:01]CAPDU: 80 13 01 00 [00:00:01]Write to MH i2c: E2 08 00 70 05 80 13 01 00 00 00 00 00 F2 [00:00:01]Write i2c OK [00:00:01]MH_I2C_Read... [00:00:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:01]Read from MH i2c: E2 [00:00:01]MH_I2C_Read... [00:00:01]Read from MH i2c: E2 0E 00 [00:00:01]MH_I2C_Read... [00:00:01]Read from MH i2c: E2 0E 00 70 05 00 09 00 00 00 00 00 00 00 00 00 00 90 00 FD [00:00:01]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:00:01]wFMCommunicate OK [00:00:01]SAM_PROTO_GetShiftState done [00:00:01]FM_GetShiftState done [00:00:01]req_shift_open_date done [00:00:01]produce_requested_data done [00:00:01]produce_requested_data return {"fd.num":12544,"shift.num":279,"shift.opened":0,"shift.open_date":0} [00:00:01]process_action_free close_shift [00:00:01]json_value_free [00:00:01]json_value_free done [00:00:01]process_json_proto returns [00:00:01]Send response to host [00:00:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":12544,"shift.num":279,"shift.opened":0,"shift.open_date":0}}} [00:00:01]free response buf [00:00:01]execute_script done [00:00:01]execute_script returns [00:00:01]free content buf [00:00:01]Sock 7.Close socket [00:00:01]Sock 7.Thread stoped [00:00:06]OFD Sender: No OFD packet to send [00:00:11]OFD Sender: No OFD packet to send [00:00:16]OFD Sender: No OFD packet to send [00:00:21]OFD Sender: No OFD packet to send [00:00:26]OFD Sender: No OFD packet to send [00:00:31]OFD Sender: No OFD packet to send [00:00:36]OFD Sender: No OFD packet to send [00:00:41]OFD Sender: No OFD packet to send [00:00:46]OFD Sender: No OFD packet to send [00:00:51]OFD Sender: No OFD packet to send [00:00:56]OFD Sender: No OFD packet to send [00:01:01]OFD Sender: No OFD packet to send [00:01:06]OFD Sender: No OFD packet to send [00:01:11]OFD Sender: No OFD packet to send [00:01:16]OFD Sender: No OFD packet to send [00:01:21]OFD Sender: No OFD packet to send [00:01:26]OFD Sender: No OFD packet to send [00:01:31]OFD Sender: No OFD packet to send [00:01:36]OFD Sender: No OFD packet to send [00:01:41]OFD Sender: No OFD packet to send [00:01:46]OFD Sender: No OFD packet to send [00:01:51]OFD Sender: No OFD packet to send [00:01:56]OFD Sender: No OFD packet to send [00:02:01]OFD Sender: No OFD packet to send [00:02:06]OFD Sender: No OFD packet to send [00:02:11]OFD Sender: No OFD packet to send [00:02:16]OFD Sender: No OFD packet to send [00:02:21]OFD Sender: No OFD packet to send [00:02:26]OFD Sender: No OFD packet to send [00:02:31]OFD Sender: No OFD packet to send [00:02:36]OFD Sender: No OFD packet to send [00:02:41]OFD Sender: No OFD packet to send [00:02:46]OFD Sender: No OFD packet to send [00:02:51]OFD Sender: No OFD packet to send [00:02:56]OFD Sender: No OFD packet to send [00:03:01]OFD Sender: No OFD packet to send [00:03:06]OFD Sender: No OFD packet to send [00:03:11]OFD Sender: No OFD packet to send [00:03:16]OFD Sender: No OFD packet to send [00:03:21]OFD Sender: No OFD packet to send [00:03:26]OFD Sender: No OFD packet to send [00:03:31]OFD Sender: No OFD packet to send [00:03:36]OFD Sender: No OFD packet to send [00:03:41]OFD Sender: No OFD packet to send [00:03:46]OFD Sender: No OFD packet to send [00:03:51]OFD Sender: No OFD packet to send [00:03:56]OFD Sender: No OFD packet to send [00:04:01]OFD Sender: No OFD packet to send [00:04:06]OFD Sender: No OFD packet to send [00:04:11]OFD Sender: No OFD packet to send [00:04:16]OFD Sender: No OFD packet to send [00:04:21]OFD Sender: No OFD packet to send [00:04:26]OFD Sender: No OFD packet to send [00:04:31]OFD Sender: No OFD packet to send [00:04:36]OFD Sender: No OFD packet to send [00:04:41]OFD Sender: No OFD packet to send [00:04:46]OFD Sender: No OFD packet to send [00:04:51]OFD Sender: No OFD packet to send [00:04:56]OFD Sender: No OFD packet to send [00:05:01]OFD Sender: No OFD packet to send [00:05:06]OFD Sender: No OFD packet to send [00:05:11]OFD Sender: No OFD packet to send [00:05:16]OFD Sender: No OFD packet to send [00:05:21]OFD Sender: No OFD packet to send [00:05:26]OFD Sender: No OFD packet to send [00:05:31]OFD Sender: No OFD packet to send [00:05:36]OFD Sender: No OFD packet to send [00:05:41]OFD Sender: No OFD packet to send [00:05:46]OFD Sender: No OFD packet to send [00:05:51]OFD Sender: No OFD packet to send [00:05:56]OFD Sender: No OFD packet to send [00:06:01]OFD Sender: No OFD packet to send [00:06:06]OFD Sender: No OFD packet to send [00:06:11]OFD Sender: No OFD packet to send [00:06:16]OFD Sender: No OFD packet to send [00:06:21]OFD Sender: No OFD packet to send [00:06:26]OFD Sender: No OFD packet to send [00:06:31]OFD Sender: No OFD packet to send [00:06:36]OFD Sender: No OFD packet to send [00:06:41]OFD Sender: No OFD packet to send [00:06:46]OFD Sender: No OFD packet to send [00:06:51]OFD Sender: No OFD packet to send [00:06:56]OFD Sender: No OFD packet to send [00:07:01]OFD Sender: No OFD packet to send [00:07:06]OFD Sender: No OFD packet to send [00:07:11]OFD Sender: No OFD packet to send [00:07:16]OFD Sender: No OFD packet to send [00:07:21]OFD Sender: No OFD packet to send [00:07:26]OFD Sender: No OFD packet to send [00:07:31]OFD Sender: No OFD packet to send [00:07:36]OFD Sender: No OFD packet to send [00:07:41]OFD Sender: No OFD packet to send [00:07:46]OFD Sender: No OFD packet to send [00:07:51]OFD Sender: No OFD packet to send [00:07:56]OFD Sender: No OFD packet to send [00:08:01]OFD Sender: No OFD packet to send [00:08:06]OFD Sender: No OFD packet to send [00:08:11]OFD Sender: No OFD packet to send [00:08:16]OFD Sender: No OFD packet to send [00:08:21]OFD Sender: No OFD packet to send [00:08:26]OFD Sender: No OFD packet to send [00:08:31]OFD Sender: No OFD packet to send [00:08:36]OFD Sender: No OFD packet to send [00:08:41]OFD Sender: No OFD packet to send [00:08:46]OFD Sender: No OFD packet to send [00:08:51]OFD Sender: No OFD packet to send [00:08:56]OFD Sender: No OFD packet to send [00:09:01]OFD Sender: No OFD packet to send [00:09:06]OFD Sender: No OFD packet to send [00:09:11]OFD Sender: No OFD packet to send [00:09:16]OFD Sender: No OFD packet to send [00:09:21]OFD Sender: No OFD packet to send [00:09:26]OFD Sender: No OFD packet to send [00:09:31]OFD Sender: No OFD packet to send [00:09:36]OFD Sender: No OFD packet to send [00:09:41]OFD Sender: No OFD packet to send [00:09:46]OFD Sender: No OFD packet to send [00:09:51]OFD Sender: No OFD packet to send [00:09:56]OFD Sender: No OFD packet to send [00:10:01]OFD Sender: No OFD packet to send [00:10:06]OFD Sender: No OFD packet to send [00:10:11]OFD Sender: No OFD packet to send [00:10:16]OFD Sender: No OFD packet to send [00:10:21]OFD Sender: No OFD packet to send [00:10:26]OFD Sender: No OFD packet to send [00:10:31]OFD Sender: No OFD packet to send [00:10:36]OFD Sender: No OFD packet to send [00:10:41]OFD Sender: No OFD packet to send [00:10:46]OFD Sender: No OFD packet to send [00:10:51]OFD Sender: No OFD packet to send [00:10:56]OFD Sender: No OFD packet to send [00:11:01]OFD Sender: No OFD packet to send [00:11:06]OFD Sender: No OFD packet to send [00:11:11]OFD Sender: No OFD packet to send [00:11:16]OFD Sender: No OFD packet to send [00:11:21]OFD Sender: No OFD packet to send [00:11:26]OFD Sender: No OFD packet to send [00:11:31]OFD Sender: No OFD packet to send [00:11:36]OFD Sender: No OFD packet to send [00:11:41]OFD Sender: No OFD packet to send [00:11:46]OFD Sender: No OFD packet to send [00:11:51]OFD Sender: No OFD packet to send [00:11:56]OFD Sender: No OFD packet to send [00:12:01]OFD Sender: No OFD packet to send [00:12:06]OFD Sender: No OFD packet to send [00:12:11]OFD Sender: No OFD packet to send [00:12:16]OFD Sender: No OFD packet to send [00:12:21]OFD Sender: No OFD packet to send [00:12:26]OFD Sender: No OFD packet to send [00:12:31]OFD Sender: No OFD packet to send [00:12:36]OFD Sender: No OFD packet to send [00:12:41]OFD Sender: No OFD packet to send [00:12:46]OFD Sender: No OFD packet to send [00:12:51]OFD Sender: No OFD packet to send [00:12:56]OFD Sender: No OFD packet to send [00:13:01]OFD Sender: No OFD packet to send [00:13:06]OFD Sender: No OFD packet to send [00:13:11]OFD Sender: No OFD packet to send [00:13:16]OFD Sender: No OFD packet to send [00:13:21]OFD Sender: No OFD packet to send [00:13:26]OFD Sender: No OFD packet to send [00:13:31]OFD Sender: No OFD packet to send [00:13:36]OFD Sender: No OFD packet to send [00:13:41]OFD Sender: No OFD packet to send [00:13:46]OFD Sender: No OFD packet to send [00:13:51]OFD Sender: No OFD packet to send [00:13:56]OFD Sender: No OFD packet to send [00:14:01]OFD Sender: No OFD packet to send [00:14:06]OFD Sender: No OFD packet to send [00:14:11]OFD Sender: No OFD packet to send [00:14:16]OFD Sender: No OFD packet to send [00:14:21]OFD Sender: No OFD packet to send [00:14:26]OFD Sender: No OFD packet to send [00:14:31]OFD Sender: No OFD packet to send [00:14:36]OFD Sender: No OFD packet to send [00:14:41]OFD Sender: No OFD packet to send [00:14:46]OFD Sender: No OFD packet to send [00:14:51]OFD Sender: No OFD packet to send [00:14:56]OFD Sender: No OFD packet to send [00:15:01]OFD Sender: No OFD packet to send [00:15:06]OFD Sender: No OFD packet to send [00:15:11]OFD Sender: No OFD packet to send [00:15:16]OFD Sender: No OFD packet to send [00:15:21]OFD Sender: No OFD packet to send [00:15:26]OFD Sender: No OFD packet to send [00:15:31]OFD Sender: No OFD packet to send [00:15:36]OFD Sender: No OFD packet to send [00:15:41]OFD Sender: No OFD packet to send [00:15:46]OFD Sender: No OFD packet to send [00:15:51]OFD Sender: No OFD packet to send [00:15:56]OFD Sender: No OFD packet to send [00:16:01]OFD Sender: No OFD packet to send [00:16:06]OFD Sender: No OFD packet to send [00:16:11]OFD Sender: No OFD packet to send [00:16:16]OFD Sender: No OFD packet to send [00:16:21]OFD Sender: No OFD packet to send [00:16:26]OFD Sender: No OFD packet to send [00:16:31]accept exits with 9 [00:16:31]New connection [00:16:31]New thread 3067120996 created [00:16:31]Thread 3067264356 joined [00:16:31]Waiting for new connection... [00:16:31] Sock 9.Parse request [00:16:31]Sock 9.Check first char [00:16:31]Sock 9.First char is OK [00:16:31]request: POST /json_proto HTTP/1.0 [00:16:31]Method: POST [00:16:31]URL: /json_proto [00:16:31]Method is POST - this is cgi request [00:16:31]url: /json_proto [00:16:31]query_string will be loaded in cgi processing [00:16:31]execute_cgi json_proto POST (null) [00:16:31]execute_cgi path=json_proto method=POST [00:16:31]POST find Content-Length [00:16:31]Host: 172.17.62.6:8080 [00:16:31]Content-Length: 215 [00:16:31]Content-Type: application/json [00:16:31] [00:16:31]POST finish read [00:16:31]Found Content-Length = 215 [00:16: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" ] } } [00:16:31]execute_script... [00:16: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" ] } } [00:16:31]POST & json_proto [00:16:31]process_json_proto [00:16:31]json parsed OK: [00:16:31]protocol is kg_v1.0 [00:16:31]action value=get_value [00:16:31]process_action get_value [00:16:31]cmd_get_value [00:16:31]process_action get_value done [00:16:31]requested_data is exist [00:16:31]produce_requested_data [00:16:31]requested_item kkm.sn is exist - process it [00:16:31]requested_item kkm.ver is exist - process it [00:16:31]requested_item fm.sn is exist - process it [00:16:31]wFMCommunicate request_size=4 [00:16:31]MH_SAM_APDU [00:16:31]CAPDU: 80 11 00 00 [00:16:31]Write to MH i2c: E2 08 00 71 05 80 11 00 00 00 00 00 00 F0 [00:16:31]Write i2c OK [00:16:31]MH_I2C_Read... [00:16:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:16:31]Read from MH i2c: E2 [00:16:31]MH_I2C_Read... [00:16:31]Read from MH i2c: E2 17 00 [00:16:31]MH_I2C_Read... [00:16:31]Read from MH i2c: E2 17 00 71 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 4A [00:16:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [00:16:31]wFMCommunicate OK [00:16:31]requested_item fd.num is exist - process it [00:16:31]SAM_PROTO_GetFieldsCounters [00:16:31]wFMCommunicate request_size=4 [00:16:31]MH_SAM_APDU [00:16:31]CAPDU: 80 13 00 00 [00:16:31]Write to MH i2c: E2 08 00 72 05 80 13 00 00 00 00 00 00 F3 [00:16:31]Write i2c OK [00:16:31]MH_I2C_Read... [00:16:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:16:31]Read from MH i2c: E2 [00:16:31]MH_I2C_Read... [00:16:31]Read from MH i2c: E2 62 00 [00:16:31]MH_I2C_Read... [00:16:31]Read from MH i2c: E2 62 00 72 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 00 31 00 00 0E 04 04 00 17 01 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 E7 [00:16:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 00 31 00 00 0E 04 04 00 17 01 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:16:31]wFMCommunicate OK [00:16:31]SAM_PROTO_GetFieldsCounters done [00:16:31]requested_item shift.num is exist - process it [00:16:31]requested_item shift.opened is exist - process it [00:16:31]req_shift_opened [00:16:31]FM_GetShiftState [00:16:31]SAM_PROTO_GetShiftState [00:16:31]wFMCommunicate request_size=4 [00:16:31]MH_SAM_APDU [00:16:31]CAPDU: 80 13 01 00 [00:16:31]Write to MH i2c: E2 08 00 73 05 80 13 01 00 00 00 00 00 F5 [00:16:31]Write i2c OK [00:16:31]MH_I2C_Read... [00:16:31]OFD Sender: No OFD packet to send [00:16:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:16:31]Read from MH i2c: E2 [00:16:31]MH_I2C_Read... [00:16:31]Read from MH i2c: E2 0E 00 [00:16:31]MH_I2C_Read... [00:16:31]Read from MH i2c: E2 0E 00 73 05 00 09 00 00 00 00 00 00 00 00 00 00 90 00 00 [00:16:31]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:16:31]wFMCommunicate OK [00:16:31]SAM_PROTO_GetShiftState done [00:16:31]FM_GetShiftState done [00:16:31]req_shift_opened done [00:16:31]requested_item shift.open_date is exist - process it [00:16:31]req_shift_open_date [00:16:31]FM_GetShiftState [00:16:31]SAM_PROTO_GetShiftState [00:16:31]wFMCommunicate request_size=4 [00:16:31]MH_SAM_APDU [00:16:31]CAPDU: 80 13 01 00 [00:16:31]Write to MH i2c: E2 08 00 74 05 80 13 01 00 00 00 00 00 F6 [00:16:31]Write i2c OK [00:16:31]MH_I2C_Read... [00:16:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:16:31]Read from MH i2c: E2 [00:16:31]MH_I2C_Read... [00:16:31]Read from MH i2c: E2 0E 00 [00:16:31]MH_I2C_Read... [00:16:31]Read from MH i2c: E2 0E 00 74 05 00 09 00 00 00 00 00 00 00 00 00 00 90 00 01 [00:16:31]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:16:31]wFMCommunicate OK [00:16:31]SAM_PROTO_GetShiftState done [00:16:31]FM_GetShiftState done [00:16:31]req_shift_open_date done [00:16:31]produce_requested_data done [00:16:31]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12544,"shift.num":279,"shift.opened":0,"shift.open_date":0} [00:16:31]process_action_free get_value [00:16:31]json_value_free [00:16:31]json_value_free done [00:16:31]process_json_proto returns [00:16:31]Send response to host [00:16:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12544,"shift.num":279,"shift.opened":0,"shift.open_date":0}}} [00:16:31]free response buf [00:16:31]execute_script done [00:16:31]execute_script returns [00:16:31]free content buf [00:16:31]Sock 9.Close socket [00:16:31]Sock 9.Thread stoped [00:16:31]accept exits with 7 [00:16:31]New connection [00:16:31]New thread 3067264356 created [00:16:31]Thread 3067120996 joined [00:16:31]Waiting for new connection... [00:16:31] Sock 7.Parse request [00:16:31]Sock 7.Check first char [00:16:31]Sock 7.First char is OK [00:16:31]request: POST /json_proto HTTP/1.0 [00:16:31]Method: POST [00:16:31]URL: /json_proto [00:16:31]Method is POST - this is cgi request [00:16:31]url: /json_proto [00:16:31]query_string will be loaded in cgi processing [00:16:31]execute_cgi json_proto POST (null) [00:16:31]execute_cgi path=json_proto method=POST [00:16:31]POST find Content-Length [00:16:31]Host: 172.17.62.6:8080 [00:16:31]Content-Length: 331 [00:16:31]Content-Type: application/json [00:16:31] [00:16:31]POST finish read [00:16:31]Found Content-Length = 331 [00:16: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" ] } } [00:16:31]execute_script... [00:16:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:16:32]POST & json_proto [00:16:32]process_json_proto [00:16:32]json parsed OK: [00:16:32]protocol is kg_v1.0 [00:16:32]action value=get_value [00:16:32]process_action get_value [00:16:32]cmd_get_value [00:16:32]process_action get_value done [00:16:32]requested_data is exist [00:16:32]produce_requested_data [00:16:32]requested_item fm.sale.total is exist - process it [00:16:32]SAM_PROTO_GetFMData [00:16:32]wFMCommunicate request_size=4 [00:16:32]MH_SAM_APDU [00:16:32]CAPDU: 80 13 03 00 [00:16:32]Write to MH i2c: E2 08 00 75 05 80 13 03 00 00 00 00 00 F9 [00:16:32]Write i2c OK [00:16:32]MH_I2C_Read... [00:16:32]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:16:32]Read from MH i2c: E2 [00:16:32]MH_I2C_Read... [00:16:32]Read from MH i2c: E2 FD 00 [00:16:32]MH_I2C_Read... [00:16:32]Read from MH i2c: E2 FD 00 75 05 00 C1 04 85 04 BD 04 6E 04 04 00 D1 2E 00 00 69 04 A0 00 6F 04 04 00 85 2E 00 00 B1 04 04 00 D3 CC B3 0E 70 04 04 00 82 9A AE 0C 72 04 04 00 51 32 05 02 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 01 B1 8F 01 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 AB 4A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 F7 [00:16:32]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 D1 2E 00 00 69 04 A0 00 6F 04 04 00 85 2E 00 00 B1 04 04 00 D3 CC B3 0E 70 04 04 00 82 9A AE 0C 72 04 04 00 51 32 05 02 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 01 B1 8F 01 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 AB 4A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 [00:16:32]wFMCommunicate OK [00:16:32]wFMCommunicate request_size=4 [00:16:32]MH_SAM_APDU [00:16:32]CAPDU: 80 17 00 00 [00:16:32]Write to MH i2c: E2 08 00 76 05 80 17 00 00 00 00 00 00 FB [00:16:32]Write i2c OK [00:16:32]MH_I2C_Read... [00:16:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:32]Read from MH i2c: E2 [00:16:32]MH_I2C_Read... [00:16:32]Read from MH i2c: E2 FD 00 [00:16:32]MH_I2C_Read... [00:16:32]Read from MH i2c: E2 FD 00 76 05 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 99 [00:16:32]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:16:32]wFMCommunicate OK [00:16:32]wFMCommunicate request_size=4 [00:16:32]MH_SAM_APDU [00:16:32]CAPDU: 80 17 00 00 [00:16:32]Write to MH i2c: E2 08 00 77 05 80 17 00 00 00 00 00 00 FC [00:16:32]Write i2c OK [00:16:32]MH_I2C_Read... [00:16:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:33]Read from MH i2c: E2 [00:16:33]MH_I2C_Read... [00:16:33]Read from MH i2c: E2 FD 00 [00:16:33]MH_I2C_Read... [00:16:33]Read from MH i2c: E2 FD 00 77 05 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 9C [00:16:33]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:16:33]wFMCommunicate OK [00:16:33]wFMCommunicate request_size=4 [00:16:33]MH_SAM_APDU [00:16:33]CAPDU: 80 17 00 00 [00:16:33]Write to MH i2c: E2 08 00 78 05 80 17 00 00 00 00 00 00 FD [00:16:33]Write i2c OK [00:16:33]MH_I2C_Read... [00:16:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:33]Read from MH i2c: E2 [00:16:33]MH_I2C_Read... [00:16:33]Read from MH i2c: E2 FD 00 [00:16:33]MH_I2C_Read... [00:16:33]Read from MH i2c: E2 FD 00 78 05 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 82 [00:16:33]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:16:33]wFMCommunicate OK [00:16:33]wFMCommunicate request_size=4 [00:16:33]MH_SAM_APDU [00:16:33]CAPDU: 80 17 00 00 [00:16:33]Write to MH i2c: E2 08 00 79 05 80 17 00 00 00 00 00 00 FE [00:16:33]Write i2c OK [00:16:33]MH_I2C_Read... [00:16:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:16:33]Read from MH i2c: E2 [00:16:33]MH_I2C_Read... [00:16:33]Read from MH i2c: E2 DE 00 [00:16:33]MH_I2C_Read... [00:16:33]Read from MH i2c: E2 DE 00 79 05 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 DD [00:16:33]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:16:33]wFMCommunicate OK [00:16:33]SAM_PROTO_GetFMData done [00:16:33]requested_item fm.sale_refund.total is exist - process it [00:16:33]requested_item fm.buy.total is exist - process it [00:16:33]requested_item shift.sale.total is exist - process it [00:16:33]SAM_PROTO_GetShiftData [00:16:33]wFMCommunicate request_size=4 [00:16:33]MH_SAM_APDU [00:16:33]CAPDU: 80 13 02 00 [00:16:33]Write to MH i2c: E2 08 00 7A 05 80 13 02 00 00 00 00 00 FD [00:16:33]Write i2c OK [00:16:33]MH_I2C_Read... [00:16:34]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:16:34]Read from MH i2c: E2 [00:16:34]MH_I2C_Read... [00:16:34]Read from MH i2c: E2 FD 00 [00:16:34]MH_I2C_Read... [00:16:34]Read from MH i2c: E2 FD 00 7A 05 00 AE 04 AA 04 AA 04 6E 04 04 00 2D 00 00 00 69 04 9B 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 5C CB 0F 70 04 03 00 08 68 0D 72 04 03 00 54 63 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 64 AD 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 C5 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 7E [00:16:34]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 2D 00 00 00 69 04 9B 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 5C CB 0F 70 04 03 00 08 68 0D 72 04 03 00 54 63 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 64 AD 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 C5 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:16:34]wFMCommunicate OK [00:16:34]wFMCommunicate request_size=4 [00:16:34]MH_SAM_APDU [00:16:34]CAPDU: 80 17 00 00 [00:16:34]Write to MH i2c: E2 08 00 7B 05 80 17 00 00 00 00 00 00 00 [00:16:34]Write i2c OK [00:16:34]MH_I2C_Read... [00:16:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:34]Read from MH i2c: E2 [00:16:34]MH_I2C_Read... [00:16:34]Read from MH i2c: E2 FD 00 [00:16:34]MH_I2C_Read... [00:16:34]Read from MH i2c: E2 FD 00 7B 05 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 22 [00:16:34]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:16:34]wFMCommunicate OK [00:16:34]wFMCommunicate request_size=4 [00:16:34]MH_SAM_APDU [00:16:34]CAPDU: 80 17 00 00 [00:16:34]Write to MH i2c: E2 08 00 7C 05 80 17 00 00 00 00 00 00 01 [00:16:34]Write i2c OK [00:16:34]MH_I2C_Read... [00:16:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:34]Read from MH i2c: E2 [00:16:34]MH_I2C_Read... [00:16:34]Read from MH i2c: E2 FD 00 [00:16:34]MH_I2C_Read... [00:16:34]Read from MH i2c: E2 FD 00 7C 05 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 B8 [00:16:34]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:16:34]wFMCommunicate OK [00:16:34]wFMCommunicate request_size=4 [00:16:34]MH_SAM_APDU [00:16:34]CAPDU: 80 17 00 00 [00:16:34]Write to MH i2c: E2 08 00 7D 05 80 17 00 00 00 00 00 00 02 [00:16:34]Write i2c OK [00:16:34]MH_I2C_Read... [00:16:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:35]Read from MH i2c: E2 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: E2 FD 00 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: E2 FD 00 7D 05 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 74 [00:16:35]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:16:35]wFMCommunicate OK [00:16:35]wFMCommunicate request_size=4 [00:16:35]MH_SAM_APDU [00:16:35]CAPDU: 80 17 00 00 [00:16:35]Write to MH i2c: E2 08 00 7E 05 80 17 00 00 00 00 00 00 03 [00:16:35]Write i2c OK [00:16:35]MH_I2C_Read... [00:16:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:16:35]Read from MH i2c: E2 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: E2 CB 00 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: E2 CB 00 7E 05 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 EC [00:16:35]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:16:35]wFMCommunicate OK [00:16:35]SAM_PROTO_GetShiftData done [00:16:35]requested_item shift.sale.total_cash is exist - process it [00:16:35]requested_item shift.sale_refund.total is exist - process it [00:16:35]requested_item shift.sale_refund.total_cash is exist - process it [00:16:35]requested_item shift.buy.total is exist - process it [00:16:35]requested_item shift.buy.total_cash is exist - process it [00:16:35]produce_requested_data done [00:16:35]produce_requested_data return {"fm.sale.total":2466644.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":10351.00,"shift.sale.total_cash":8786.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:16:35]process_action_free get_value [00:16:35]json_value_free [00:16:35]json_value_free done [00:16:35]process_json_proto returns [00:16:35]Send response to host [00:16:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2466644.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":10351.00,"shift.sale.total_cash":8786.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:16:35]free response buf [00:16:35]execute_script done [00:16:35]execute_script returns [00:16:35]free content buf [00:16:35]Sock 7.Close socket [00:16:35]Sock 7.Thread stoped [00:16:35]accept exits with 9 [00:16:35]New connection [00:16:35]New thread 3067120996 created [00:16:35]Thread 3067264356 joined [00:16:35]Waiting for new connection... [00:16:35] Sock 9.Parse request [00:16:35]Sock 9.Check first char [00:16:35]Sock 9.First char is OK [00:16:35]request: POST /json_proto HTTP/1.0 [00:16:35]Method: POST [00:16:35]URL: /json_proto [00:16:35]Method is POST - this is cgi request [00:16:35]url: /json_proto [00:16:35]query_string will be loaded in cgi processing [00:16:35]execute_cgi json_proto POST (null) [00:16:35]execute_cgi path=json_proto method=POST [00:16:35]POST find Content-Length [00:16:35]Host: 172.17.62.6:8080 [00:16:35]Content-Length: 277 [00:16:35]Content-Type: application/json [00:16:35] [00:16:35]POST finish read [00:16:35]Found Content-Length = 277 [00:16:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0422\u043E\u043A\u0442\u043E\u0440\u0431\u0430\u0435\u0432\u0430 \u041D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:16:35]execute_script... [00:16:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0422\u043E\u043A\u0442\u043E\u0440\u0431\u0430\u0435\u0432\u0430 \u041D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:16:35]POST & json_proto [00:16:35]process_json_proto [00:16:35]json parsed OK: [00:16:35]protocol is kg_v1.0 [00:16:35]action value=open_shift [00:16:35]process_action open_shift [00:16:35]cmd_open_shift [00:16:35]MH_GetDate [00:16:35]Write to MH i2c: F0 00 00 7F 05 73 [00:16:35]Write i2c OK [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: F0 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: F0 09 00 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: F0 09 00 7F 05 00 64 09 23 66 61 69 D2 64 72 [00:16:35]GetLastDocTimeStamp 1713571187 [00:16:35]current date 1713572196 [00:16:35]FM_GetShiftState [00:16:35]SAM_PROTO_GetShiftState [00:16:35]wFMCommunicate request_size=4 [00:16:35]MH_SAM_APDU [00:16:35]CAPDU: 80 13 01 00 [00:16:35]Write to MH i2c: E2 08 00 80 05 80 13 01 00 00 00 00 00 02 [00:16:35]Write i2c OK [00:16:35]MH_I2C_Read... [00:16:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:16:35]Read from MH i2c: E2 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: E2 0E 00 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: E2 0E 00 80 05 00 09 00 00 00 00 00 00 00 00 00 00 90 00 0D [00:16:35]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:16:35]wFMCommunicate OK [00:16:35]SAM_PROTO_GetShiftState done [00:16:35]FM_GetShiftState done [00:16:35]KKMCreateOpenShiftDocument [00:16:35]Load OK [00:16:35]Malloc new data [00:16:35]MH_GetDate [00:16:35]Write to MH i2c: F0 00 00 81 05 75 [00:16:35]Write i2c OK [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: F0 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: F0 09 00 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: F0 09 00 81 05 00 64 09 23 66 61 69 D2 64 74 [00:16:35]Malloc new data [00:16:35]KKMCreateOpenShiftDocument OK [00:16:35]KKMSetOpenShiftData OK [00:16:35]ProcessDocumentItem done err = 0, tmpTLVsize=185 [00:16:35]tlvbuf is 0201B950 [00:16:35]KKMLoadAndSignOpenShiftData [00:16:35]SAM_PROTO_ProcessDocument [00:16:35]wFMCommunicate request_size=9 [00:16:35]MH_SAM_APDU [00:16:35]CAPDU: 80 15 01 00 04 02 00 B9 00 [00:16:35]Write to MH i2c: E2 0C 00 82 05 80 15 01 00 04 00 02 00 B9 00 00 00 C9 [00:16:35]Write i2c OK [00:16:35]MH_I2C_Read... [00:16:35]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:16:35]Read from MH i2c: E2 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: E2 03 00 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: E2 03 00 82 05 00 90 00 FB [00:16:35]RAPDU: 90 00 [00:16:35]wFMCommunicate OK [00:16:35]wFMCommunicate request_size=23 [00:16:35]MH_SAM_APDU [00:16:35]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:16:35]Write to MH i2c: E2 1A 00 83 05 80 15 02 00 12 00 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 00 00 FD [00:16:35]Write i2c OK [00:16:35]MH_I2C_Read... [00:16:35]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:16:35]Read from MH i2c: E2 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: E2 03 00 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: E2 03 00 83 05 00 90 00 FC [00:16:35]RAPDU: 90 00 [00:16:35]wFMCommunicate OK [00:16:35]wFMCommunicate request_size=36 [00:16:35]MH_SAM_APDU [00:16:35]CAPDU: 80 15 02 00 1F FD 03 1B 00 D0 A2 D0 BE D0 BA D1 82 D0 BE D1 80 D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 9D 2E 20 [00:16:35]Write to MH i2c: E2 27 00 84 05 80 15 02 00 1F 00 FD 03 1B 00 D0 A2 D0 BE D0 BA D1 82 D0 BE D1 80 D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 9D 2E 20 00 00 81 [00:16:35]Write i2c OK [00:16:35]MH_I2C_Read... [00:16:35]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:16:35]Read from MH i2c: E2 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: E2 03 00 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: E2 03 00 84 05 00 90 00 FD [00:16:35]RAPDU: 90 00 [00:16:35]wFMCommunicate OK [00:16:35]wFMCommunicate request_size=67 [00:16:35]MH_SAM_APDU [00:16:35]CAPDU: 80 15 02 00 3E F1 03 3A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D0 BC D0 B8 D0 BD 2C 20 D0 B0 2F D0 B4 20 D0 90 20 33 36 35 2C 20 34 32 2E 37 38 37 39 39 39 2C 20 37 35 2E 37 30 34 33 38 32 [00:16:35]Write to MH i2c: E2 46 00 85 05 80 15 02 00 3E 00 F1 03 3A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D0 BC D0 B8 D0 BD 2C 20 D0 B0 2F D0 B4 20 D0 90 20 33 36 35 2C 20 34 32 2E 37 38 37 39 39 39 2C 20 37 35 2E 37 30 34 33 38 32 00 00 97 [00:16:35]Write i2c OK [00:16:35]MH_I2C_Read... [00:16:35]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:16:35]Read from MH i2c: E2 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: E2 03 00 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: E2 03 00 85 05 00 90 00 FE [00:16:35]RAPDU: 90 00 [00:16:35]wFMCommunicate OK [00:16:35]wFMCommunicate request_size=51 [00:16:35]MH_SAM_APDU [00:16:35]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 [00:16:35]Write to MH i2c: E2 36 00 86 05 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 00 00 B4 [00:16:35]Write i2c OK [00:16:35]MH_I2C_Read... [00:16:35]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:16:35]Read from MH i2c: E2 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: E2 03 00 [00:16:35]MH_I2C_Read... [00:16:35]Read from MH i2c: E2 03 00 86 05 00 90 00 FF [00:16:35]RAPDU: 90 00 [00:16:35]wFMCommunicate OK [00:16:35]wFMCommunicate request_size=13 [00:16:35]MH_SAM_APDU [00:16:35]CAPDU: 80 15 02 00 08 F4 03 04 00 64 09 23 66 [00:16:35]Write to MH i2c: E2 10 00 87 05 80 15 02 00 08 00 F4 03 04 00 64 09 23 66 00 00 0D [00:16:35]Write i2c OK [00:16:35]MH_I2C_Read... [00:16:36]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:16:36]Read from MH i2c: E2 [00:16:36]MH_I2C_Read... [00:16:36]Read from MH i2c: E2 03 00 [00:16:36]MH_I2C_Read... [00:16:36]Read from MH i2c: E2 03 00 87 05 00 90 00 00 [00:16:36]RAPDU: 90 00 [00:16:36]wFMCommunicate OK [00:16:36]wFMCommunicate request_size=25 [00:16:36]MH_SAM_APDU [00:16:36]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 [00:16:36]Write to MH i2c: E2 1C 00 88 05 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 00 00 6A [00:16:36]Write i2c OK [00:16:36]MH_I2C_Read... [00:16:36]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:16:36]Read from MH i2c: E2 [00:16:36]MH_I2C_Read... [00:16:36]Read from MH i2c: E2 03 00 [00:16:36]MH_I2C_Read... [00:16:36]Read from MH i2c: E2 03 00 88 05 00 90 00 01 [00:16:36]RAPDU: 90 00 [00:16:36]wFMCommunicate OK [00:16:36]wFMCommunicate request_size=4 [00:16:36]MH_SAM_APDU [00:16:36]CAPDU: 80 15 03 00 [00:16:36]Write to MH i2c: E2 08 00 89 05 80 15 03 00 00 00 00 00 0F [00:16:36]Write i2c OK [00:16:36]MH_I2C_Read... [00:16:36]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:16:36]Read from MH i2c: E2 [00:16:36]MH_I2C_Read... [00:16:36]Read from MH i2c: E2 38 00 [00:16:36]MH_I2C_Read... [00:16:36]Read from MH i2c: E2 38 00 89 05 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 01 31 00 00 0E 04 04 00 18 01 00 00 35 04 06 00 2A 76 1B 7C 9C 5E 90 00 5E [00:16:36]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 01 31 00 00 0E 04 04 00 18 01 00 00 35 04 06 00 2A 76 1B 7C 9C 5E 90 00 [00:16:36]wFMCommunicate OK [00:16:36]SAM_PROTO_ProcessDocument answer len = 51 [00:16:36]SAM_PROTO_ProcessDocument done [00:16:36]SetTLVBufToDocument [00:16:36]Processing tag 1209 (04B9) [00:16:36]Malloc new data [00:16:36]Processing tag 1041 (0411) [00:16:36]Processing tag 1040 (0410) [00:16:36]Malloc new data [00:16:36]Processing tag 1038 (040E) [00:16:36]Malloc new data [00:16:36]Processing tag 1077 (0435) [00:16:36]Malloc new data [00:16:36]SetTLVBufToDocument err=0 [00:16:36]KKMLoadAndSignOpenShiftData store KKM data [00:16:36]KKMLoadAndSignOpenShiftData err=0 [00:16:36]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Токторбаева Н. Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 Место: АЗС № 106 "Партнер Нефть" 20.04.2024 00:16 Смена: 280 РНМ: 0000000000100748 ЗНМ: 0300000004 ФД: 12545 ФМ: 0000000000965685 ФПД: 46686755658846 [00:16:36]StoreToDocumentArchive [00:16:36]shift 280 fd 12545 [00:16:36]Create dir for shift 0280 [00:16:36]save to /storage/0280/doc_00012545 [00:16:36]save last doc name /storage/0280/doc_00012545 to /storage/kkm_last_doc_name [00:16:36]save OK [00:16:36]Clear old archive folders... [00:16:36]Remove dir /storage/0279 [00:16:36]opendir ok [00:16:36]file . [00:16:36]file .. [00:16:36]file doc_00012498 [00:16:36]remove file /storage/0279/doc_00012498 [00:16:36]file doc_00012499 [00:16:36]remove file /storage/0279/doc_00012499 [00:16:36]file doc_00012500 [00:16:36]remove file /storage/0279/doc_00012500 [00:16:36]file doc_00012501 [00:16:36]remove file /storage/0279/doc_00012501 [00:16:36]file doc_00012502 [00:16:36]remove file /storage/0279/doc_00012502 [00:16:36]file doc_00012503 [00:16:36]remove file /storage/0279/doc_00012503 [00:16:36]file doc_00012504 [00:16:36]remove file /storage/0279/doc_00012504 [00:16:36]file doc_00012505 [00:16:36]remove file /storage/0279/doc_00012505 [00:16:36]file doc_00012506 [00:16:36]remove file /storage/0279/doc_00012506 [00:16:36]file doc_00012507 [00:16:36]remove file /storage/0279/doc_00012507 [00:16:36]file doc_00012508 [00:16:36]remove file /storage/0279/doc_00012508 [00:16:36]file doc_00012509 [00:16:36]remove file /storage/0279/doc_00012509 [00:16:36]file doc_00012510 [00:16:36]remove file /storage/0279/doc_00012510 [00:16:36]file doc_00012511 [00:16:36]remove file /storage/0279/doc_00012511 [00:16:36]file doc_00012512 [00:16:36]remove file /storage/0279/doc_00012512 [00:16:36]file doc_00012513 [00:16:36]remove file /storage/0279/doc_00012513 [00:16:36]file doc_00012514 [00:16:36]remove file /storage/0279/doc_00012514 [00:16:36]file doc_00012515 [00:16:36]remove file /storage/0279/doc_00012515 [00:16:36]file doc_00012516 [00:16:36]remove file /storage/0279/doc_00012516 [00:16:36]file doc_00012517 [00:16:36]remove file /storage/0279/doc_00012517 [00:16:36]file doc_00012518 [00:16:36]remove file /storage/0279/doc_00012518 [00:16:36]file doc_00012519 [00:16:36]remove file /storage/0279/doc_00012519 [00:16:36]file doc_00012520 [00:16:36]remove file /storage/0279/doc_00012520 [00:16:36]file doc_00012521 [00:16:36]remove file /storage/0279/doc_00012521 [00:16:36]file doc_00012522 [00:16:36]remove file /storage/0279/doc_00012522 [00:16:36]file doc_00012523 [00:16:36]remove file /storage/0279/doc_00012523 [00:16:36]file doc_00012524 [00:16:36]remove file /storage/0279/doc_00012524 [00:16:36]file doc_00012525 [00:16:36]remove file /storage/0279/doc_00012525 [00:16:36]file doc_00012526 [00:16:36]remove file /storage/0279/doc_00012526 [00:16:36]file doc_00012527 [00:16:36]remove file /storage/0279/doc_00012527 [00:16:36]file doc_00012528 [00:16:36]remove file /storage/0279/doc_00012528 [00:16:36]file doc_00012529 [00:16:36]remove file /storage/0279/doc_00012529 [00:16:36]file doc_00012530 [00:16:36]remove file /storage/0279/doc_00012530 [00:16:36]file doc_00012531 [00:16:36]remove file /storage/0279/doc_00012531 [00:16:36]file doc_00012532 [00:16:36]remove file /storage/0279/doc_00012532 [00:16:36]file doc_00012533 [00:16:36]remove file /storage/0279/doc_00012533 [00:16:36]file doc_00012534 [00:16:36]remove file /storage/0279/doc_00012534 [00:16:36]file doc_00012535 [00:16:36]remove file /storage/0279/doc_00012535 [00:16:36]file doc_00012536 [00:16:36]remove file /storage/0279/doc_00012536 [00:16:36]file doc_00012537 [00:16:36]remove file /storage/0279/doc_00012537 [00:16:36]file doc_00012538 [00:16:36]remove file /storage/0279/doc_00012538 [00:16:36]file doc_00012539 [00:16:36]remove file /storage/0279/doc_00012539 [00:16:36]file doc_00012540 [00:16:36]remove file /storage/0279/doc_00012540 [00:16:36]file doc_00012541 [00:16:36]remove file /storage/0279/doc_00012541 [00:16:36]file doc_00012542 [00:16:36]remove file /storage/0279/doc_00012542 [00:16:36]file doc_00012543 [00:16:36]remove file /storage/0279/doc_00012543 [00:16:36]file doc_00012544 [00:16:36]remove file /storage/0279/doc_00012544 [00:16:36]remove dir /storage/0279 [00:16:36]ProcessDocumentItem done err = 0, tmpTLVsize=236 [00:16:36]tlvbuf is 01FFAC00 [00:16:36]SAM_PROTO_ClearQueue [00:16:36]wFMCommunicate request_size=4 [00:16:36]MH_SAM_APDU [00:16:36]CAPDU: 80 09 00 00 [00:16:36]Write to MH i2c: E2 08 00 8A 05 80 09 00 00 00 00 00 00 01 [00:16:36]Write i2c OK [00:16:36]MH_I2C_Read... [00:16:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:16:36]Read from MH i2c: E2 [00:16:36]MH_I2C_Read... [00:16:36]Read from MH i2c: E2 03 00 [00:16:36]MH_I2C_Read... [00:16:36]Read from MH i2c: E2 03 00 8A 05 00 90 00 03 [00:16:36]RAPDU: 90 00 [00:16:36]wFMCommunicate OK [00:16:36]SAM_PROTO_ClearQueue done [00:16:36]KKMCreateOFDPacket [00:16:36]OFDProtocolAddRootSTLVToBuf [00:16:36]FM_MakeSignedData [00:16:36]FM_MakeSignedData [00:16:36]SAM_PROTO_SignData [00:16:36]wFMCommunicate request_size=4 [00:16:36]MH_SAM_APDU [00:16:36]CAPDU: 80 0D 01 02 [00:16:36]Write to MH i2c: E2 08 00 8B 05 80 0D 01 02 00 00 00 00 09 [00:16:36]Write i2c OK [00:16:36]MH_I2C_Read... [00:16:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:16:36]Read from MH i2c: E2 [00:16:36]MH_I2C_Read... [00:16:36]Read from MH i2c: E2 03 00 [00:16:36]MH_I2C_Read... [00:16:36]Read from MH i2c: E2 03 00 8B 05 00 90 00 04 [00:16:36]RAPDU: 90 00 [00:16:36]wFMCommunicate OK [00:16:36]wFMCommunicate request_size=245 [00:16:36]MH_SAM_APDU [00:16:36]CAPDU: 80 0D 02 02 F0 02 00 EC 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 A2 D0 BE D0 BA D1 82 D0 BE D1 80 D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 9D 2E 20 F1 03 3A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D0 BC D0 B8 D0 BD 2C 20 D0 B0 2F D0 B4 20 D0 90 20 33 36 35 2C 20 34 32 2E 37 38 37 39 39 39 2C 20 37 35 2E 37 30 34 33 38 32 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 64 09 23 66 0E 04 04 00 18 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 01 31 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 35 04 06 00 2A 76 1B 7C 9C 5E [00:16:36]Write to MH i2c: E2 F8 00 8C 05 80 0D 02 02 F0 00 02 00 EC 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 A2 D0 BE D0 BA D1 82 D0 BE D1 80 D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 9D 2E 20 F1 03 3A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D0 BC D0 B8 D0 BD 2C 20 D0 B0 2F D0 B4 20 D0 90 20 33 36 35 2C 20 34 32 2E 37 38 37 39 39 39 2C 20 37 35 2E 37 30 34 33 38 32 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 64 09 23 66 0E 04 04 00 18 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 01 31 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 35 04 06 00 2A 76 1B 7C 9C 5E 00 00 5C [00:16:36]Write i2c OK [00:16:36]MH_I2C_Read... [00:16:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:16:36]Read from MH i2c: E2 [00:16:36]MH_I2C_Read... [00:16:36]Read from MH i2c: E2 03 00 [00:16:37]MH_I2C_Read... [00:16:37]OFD Sender: No OFD packet to send [00:16:37]Read from MH i2c: E2 03 00 8C 05 00 90 00 05 [00:16:37]RAPDU: 90 00 [00:16:37]wFMCommunicate OK [00:16:37]wFMCommunicate request_size=4 [00:16:37]MH_SAM_APDU [00:16:37]CAPDU: 80 0D 03 02 [00:16:37]Write to MH i2c: E2 08 00 8D 05 80 0D 03 02 00 00 00 00 0D [00:16:37]Write i2c OK [00:16:37]MH_I2C_Read... [00:16:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:16:37]Read from MH i2c: E2 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: E2 0B 00 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: E2 0B 00 8D 05 00 04 D9 1B 26 31 C9 8D 2B 90 00 DE [00:16:37]RAPDU: 04 D9 1B 26 31 C9 8D 2B 90 00 [00:16:37]wFMCommunicate OK [00:16:37]SAM_PROTO_SignData done [00:16:37]FM_MakeSignedData done [00:16:37]CreateOFDProtocolMessage [00:16:37]wFMCommunicate request_size=4 [00:16:37]MH_SAM_APDU [00:16:37]CAPDU: 80 11 00 00 [00:16:37]Write to MH i2c: E2 08 00 8E 05 80 11 00 00 00 00 00 00 0D [00:16:37]Write i2c OK [00:16:37]MH_I2C_Read... [00:16:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:16:37]Read from MH i2c: E2 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: E2 17 00 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: E2 17 00 8E 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 67 [00:16:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [00:16:37]wFMCommunicate OK [00:16:37]CreateOFDProtocolMessage done [00:16:37]OFDSenderStorePacket 12545 [00:16:37]StoreOFDPacket docnum=12545 [00:16:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 00 01 00 00 FD 66 F8 00 AB C7 5A 02 01 00 02 00 EC 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 A2 D0 BE D0 BA D1 82 D0 BE D1 80 D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 9D 2E 20 F1 03 3A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D0 BC D0 B8 D0 BD 2C 20 D0 B0 2F D0 B4 20 D0 90 20 33 36 35 2C 20 34 32 2E 37 38 37 39 39 39 2C 20 37 35 2E 37 30 34 33 38 32 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 64 09 23 66 0E 04 04 00 18 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 01 31 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 35 04 06 00 2A 76 1B 7C 9C 5E 04 D9 1B 26 31 C9 8D 2B [00:16:37]CheckFolder [00:16:37]dirname=/storage/ofd_packets [00:16:37]CheckFolder done [00:16:37]ProducePacketName [00:16:37]name=ofd_packets/00012545 [00:16:37]NVStorageSaveData ofd_packets/00012545 [00:16:37]File name is /storage/ofd_packets/00012545 [00:16:37]Write 286 bytes [00:16:37]NVStorageSaveData done [00:16:37]OFDSenderStorePacket done [00:16:37]KKMCreateOFDPacket done [00:16:37]NVStorageSaveData kkm_last_timestamp [00:16:37]File name is /storage/kkm_last_timestamp [00:16:37]Write 4 bytes [00:16:37]NVStorageSaveData done [00:16:37]ExternCall_PrintAddStr [00:16:37]wPrintStart [00:16:37]Write to MH i2c: 01 00 00 8F 05 94 [00:16:37]Write i2c OK [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: 01 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: 01 07 00 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: 01 07 00 8F 05 00 00 00 00 00 FF 0F A9 [00:16:37]RasterBufferAndPrint [00:16:37]line Отчет об открытии смены [00:16:37]line ФФД: 1.0 [00:16:37]line ИНН: 02508201610067 [00:16:37]line Кассир: Токторбаева Н. [00:16:37]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [00:16:37]line Место: АЗС № 106 "Партнер Нефть" [00:16:37]line 20.04.2024 00:16 [00:16:37]line Смена: 280 [00:16:37]line РНМ: 0000000000100748 [00:16:37]line ЗНМ: 0300000004 [00:16:37]line ФД: 12545 [00:16:37]line ФМ: 0000000000965685 [00:16:37]line ФПД: 46686755658846 [00:16:37]written 0, free lines is 4095 [00:16:37]OFD Sender: Processing packet 12545 [packets to send 7, broken 6] [00:16:37]ProducePacketName [00:16:37]name=ofd_packets/00012545 [00:16:37]OFD Sender: To server: pG, [00:16:37]CommunicateWithHost lk.salyk.kg:30040 [00:16:37]ConnectInit lk.salyk.kg [00:16:37]Connected sock=10 [00:16:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 00 01 00 00 FD 66 F8 00 AB C7 5A 02 01 00 02 00 EC 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1B 00 D0 A2 D0 BE D0 BA D1 82 D0 BE D1 80 D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 9D 2E 20 F1 03 3A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D0 BC D0 B8 D0 BD 2C 20 D0 B0 2F D0 B4 20 D0 90 20 33 36 35 2C 20 34 32 2E 37 38 37 39 39 39 2C 20 37 35 2E 37 30 34 33 38 32 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 30 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 64 09 23 66 0E 04 04 00 18 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 01 31 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 35 04 06 00 2A 76 1B 7C 9C 5E 04 D9 1B 26 31 C9 8D 2B [00:16:37]Write to MH i2c: 01 00 00 A0 05 A5 [00:16:37]Write i2c OK [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: 01 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: 01 07 00 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: 01 07 00 A0 05 00 00 00 00 00 01 0F BC [00:16:37]RasterBufferAndPrint [00:16:37]line [00:16:37]line [00:16:37]line [00:16:37]line [00:16:37]line [00:16:37]written 0, free lines is 3858 [00:16:37]MH_Cut [00:16:37]Write to MH i2c: D1 01 00 A7 05 01 7E [00:16:37]Write i2c OK [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: D1 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: D1 01 00 [00:16:37]MH_I2C_Read... [00:16:37]Read from MH i2c: D1 01 00 A7 05 00 7D [00:16:37]Write to MH i2c: 01 00 00 A8 05 AD [00:16:37]Write i2c OK [00:16:37]MH_I2C_Read... [00:16:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 13 AC 47 00 7C FB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 36 38 35 10 04 04 00 01 31 00 00 F4 03 04 00 EA B1 22 66 B6 04 01 00 00 8D 5B D0 53 9E 08 88 0C [00:16:37]CommunicateWithHost err = 0 [00:16:37]CheckOFDResponse [00:16:37]1017 (14) - 77093643461234 [00:16:37]1041 (16) - 0000000000965685 [00:16:37]1040 (4) - 12545 [00:16:37]1012 (4) - 19.04.2024 18:03 [00:16:37]1206 (1) - 0 [00:16:37]OFD Sender: Remove packet 12545 [00:16:37]ProducePacketName [00:16:37]name=ofd_packets/00012545 [00:16:37]NVStorageDeleteData [00:16:38]*** Cut start [00:16:38]*** Partial cut [00:16:38]*** CUTSNS_PIN = 1 [00:16:38]*** CUTSNS_PIN = 0 [00:16:38]*** Brake cut motor [00:16:38]OFD Sender: No OFD packet to send [00:16:38]Read from MH i2c: 01 [00:16:38]MH_I2C_Read... [00:16:38]*** Stop cut motor [00:16:38]*** Cut end [00:16:38]Read from MH i2c: 01 07 00 [00:16:38]MH_I2C_Read... [00:16:38]Read from MH i2c: 01 07 00 A8 05 00 00 00 00 00 FF 0F C2 [00:16:38]process_action open_shift done [00:16:38]requested_data is exist [00:16:38]produce_requested_data [00:16:38]requested_item fd.num is exist - process it [00:16:38]SAM_PROTO_GetFieldsCounters [00:16:38]wFMCommunicate request_size=4 [00:16:38]MH_SAM_APDU [00:16:38]CAPDU: 80 13 00 00 [00:16:38]Write to MH i2c: E2 08 00 A9 05 80 13 00 00 00 00 00 00 2A [00:16:38]Write i2c OK [00:16:38]MH_I2C_Read... [00:16:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:16:38]Read from MH i2c: E2 [00:16:38]MH_I2C_Read... [00:16:38]Read from MH i2c: E2 62 00 [00:16:38]MH_I2C_Read... [00:16:38]Read from MH i2c: E2 62 00 A9 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 01 31 00 00 0E 04 04 00 18 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 98 [00:16:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 01 31 00 00 0E 04 04 00 18 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:16:38]wFMCommunicate OK [00:16:38]SAM_PROTO_GetFieldsCounters done [00:16:38]requested_item shift.num is exist - process it [00:16:38]requested_item shift.opened is exist - process it [00:16:38]req_shift_opened [00:16:38]FM_GetShiftState [00:16:38]SAM_PROTO_GetShiftState [00:16:38]wFMCommunicate request_size=4 [00:16:38]MH_SAM_APDU [00:16:38]CAPDU: 80 13 01 00 [00:16:38]Write to MH i2c: E2 08 00 AA 05 80 13 01 00 00 00 00 00 2C [00:16:38]Write i2c OK [00:16:38]MH_I2C_Read... [00:16:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:16:39]Read from MH i2c: E2 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 0E 00 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 0E 00 AA 05 00 09 00 01 64 09 23 66 00 00 00 00 90 00 2E [00:16:39]RAPDU: 09 00 01 64 09 23 66 00 00 00 00 90 00 [00:16:39]wFMCommunicate OK [00:16:39]SAM_PROTO_GetShiftState done [00:16:39]FM_GetShiftState done [00:16:39]req_shift_opened done [00:16:39]requested_item shift.open_date is exist - process it [00:16:39]req_shift_open_date [00:16:39]req_shift_open_date done [00:16:39]produce_requested_data done [00:16:39]produce_requested_data return {"fd.num":12545,"shift.num":280,"shift.opened":1,"shift.open_date":1713572196} [00:16:39]process_action_free open_shift [00:16:39]json_value_free [00:16:39]json_value_free done [00:16:39]process_json_proto returns [00:16:39]Send response to host [00:16:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":12545,"shift.num":280,"shift.opened":1,"shift.open_date":1713572196}}} [00:16:39]free response buf [00:16:39]execute_script done [00:16:39]execute_script returns [00:16:39]free content buf [00:16:39]Sock 9.Close socket [00:16:39]Sock 9.Thread stoped [00:16:39]accept exits with 7 [00:16:39]New connection [00:16:39]New thread 3067264356 created [00:16:39]Thread 3067120996 joined [00:16:39]Waiting for new connection... [00:16:39] Sock 7.Parse request [00:16:39]Sock 7.Check first char [00:16:39]Sock 7.First char is OK [00:16:39]request: POST /json_proto HTTP/1.0 [00:16:39]Method: POST [00:16:39]URL: /json_proto [00:16:39]Method is POST - this is cgi request [00:16:39]url: /json_proto [00:16:39]query_string will be loaded in cgi processing [00:16:39]execute_cgi json_proto POST (null) [00:16:39]execute_cgi path=json_proto method=POST [00:16:39]POST find Content-Length [00:16:39]Host: 172.17.62.6:8080 [00:16:39]Content-Length: 331 [00:16:39]Content-Type: application/json [00:16:39] [00:16:39]POST finish read [00:16:39]Found Content-Length = 331 [00:16:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:16:39]execute_script... [00:16:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:16:39]POST & json_proto [00:16:39]process_json_proto [00:16:39]json parsed OK: [00:16:39]protocol is kg_v1.0 [00:16:39]action value=get_value [00:16:39]process_action get_value [00:16:39]cmd_get_value [00:16:39]process_action get_value done [00:16:39]requested_data is exist [00:16:39]produce_requested_data [00:16:39]requested_item fm.sale.total is exist - process it [00:16:39]SAM_PROTO_GetFMData [00:16:39]wFMCommunicate request_size=4 [00:16:39]MH_SAM_APDU [00:16:39]CAPDU: 80 13 03 00 [00:16:39]Write to MH i2c: E2 08 00 AB 05 80 13 03 00 00 00 00 00 2F [00:16:39]Write i2c OK [00:16:39]MH_I2C_Read... [00:16:39]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:16:39]Read from MH i2c: E2 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 FD 00 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 FD 00 AB 05 00 C1 04 85 04 BD 04 6E 04 04 00 D1 2E 00 00 69 04 A0 00 6F 04 04 00 85 2E 00 00 B1 04 04 00 D3 CC B3 0E 70 04 04 00 82 9A AE 0C 72 04 04 00 51 32 05 02 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 01 B1 8F 01 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 AB 4A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 2D [00:16:39]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 D1 2E 00 00 69 04 A0 00 6F 04 04 00 85 2E 00 00 B1 04 04 00 D3 CC B3 0E 70 04 04 00 82 9A AE 0C 72 04 04 00 51 32 05 02 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 01 B1 8F 01 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 AB 4A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 [00:16:39]wFMCommunicate OK [00:16:39]wFMCommunicate request_size=4 [00:16:39]MH_SAM_APDU [00:16:39]CAPDU: 80 17 00 00 [00:16:39]Write to MH i2c: E2 08 00 AC 05 80 17 00 00 00 00 00 00 31 [00:16:39]Write i2c OK [00:16:39]MH_I2C_Read... [00:16:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:39]Read from MH i2c: E2 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 FD 00 [00:16:39]MH_I2C_Read... [00:16:39]Read from MH i2c: E2 FD 00 AC 05 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CF [00:16:39]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:16:40]wFMCommunicate OK [00:16:40]wFMCommunicate request_size=4 [00:16:40]MH_SAM_APDU [00:16:40]CAPDU: 80 17 00 00 [00:16:40]Write to MH i2c: E2 08 00 AD 05 80 17 00 00 00 00 00 00 32 [00:16:40]Write i2c OK [00:16:40]MH_I2C_Read... [00:16:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:40]Read from MH i2c: E2 [00:16:40]MH_I2C_Read... [00:16:40]Read from MH i2c: E2 FD 00 [00:16:40]MH_I2C_Read... [00:16:40]Read from MH i2c: E2 FD 00 AD 05 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D2 [00:16:40]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:16:40]wFMCommunicate OK [00:16:40]wFMCommunicate request_size=4 [00:16:40]MH_SAM_APDU [00:16:40]CAPDU: 80 17 00 00 [00:16:40]Write to MH i2c: E2 08 00 AE 05 80 17 00 00 00 00 00 00 33 [00:16:40]Write i2c OK [00:16:40]MH_I2C_Read... [00:16:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:40]Read from MH i2c: E2 [00:16:40]MH_I2C_Read... [00:16:40]Read from MH i2c: E2 FD 00 [00:16:40]MH_I2C_Read... [00:16:40]Read from MH i2c: E2 FD 00 AE 05 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B8 [00:16:40]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:16:40]wFMCommunicate OK [00:16:40]wFMCommunicate request_size=4 [00:16:40]MH_SAM_APDU [00:16:40]CAPDU: 80 17 00 00 [00:16:40]Write to MH i2c: E2 08 00 AF 05 80 17 00 00 00 00 00 00 34 [00:16:40]Write i2c OK [00:16:40]MH_I2C_Read... [00:16:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [00:16:41]Read from MH i2c: E2 [00:16:41]MH_I2C_Read... [00:16:41]Read from MH i2c: E2 DE 00 [00:16:41]MH_I2C_Read... [00:16:41]Read from MH i2c: E2 DE 00 AF 05 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [00:16:41]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:16:41]wFMCommunicate OK [00:16:41]SAM_PROTO_GetFMData done [00:16:41]requested_item fm.sale_refund.total is exist - process it [00:16:41]requested_item fm.buy.total is exist - process it [00:16:41]requested_item shift.sale.total is exist - process it [00:16:41]SAM_PROTO_GetShiftData [00:16:41]wFMCommunicate request_size=4 [00:16:41]MH_SAM_APDU [00:16:41]CAPDU: 80 13 02 00 [00:16:41]Write to MH i2c: E2 08 00 B0 05 80 13 02 00 00 00 00 00 33 [00:16:41]Write i2c OK [00:16:41]MH_I2C_Read... [00:16:41]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:16:41]Read from MH i2c: E2 [00:16:41]MH_I2C_Read... [00:16:41]Read from MH i2c: E2 FD 00 [00:16:41]MH_I2C_Read... [00:16:41]Read from MH i2c: E2 FD 00 B0 05 00 A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 A6 [00:16:41]RAPDU: A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [00:16:41]wFMCommunicate OK [00:16:41]wFMCommunicate request_size=4 [00:16:41]MH_SAM_APDU [00:16:41]CAPDU: 80 17 00 00 [00:16:41]Write to MH i2c: E2 08 00 B1 05 80 17 00 00 00 00 00 00 36 [00:16:41]Write i2c OK [00:16:41]MH_I2C_Read... [00:16:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:42]Read from MH i2c: E2 [00:16:42]MH_I2C_Read... [00:16:42]Read from MH i2c: E2 FD 00 [00:16:42]MH_I2C_Read... [00:16:42]Read from MH i2c: E2 FD 00 B1 05 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 3E [00:16:42]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 [00:16:42]wFMCommunicate OK [00:16:42]wFMCommunicate request_size=4 [00:16:42]MH_SAM_APDU [00:16:42]CAPDU: 80 17 00 00 [00:16:42]Write to MH i2c: E2 08 00 B2 05 80 17 00 00 00 00 00 00 37 [00:16:42]Write i2c OK [00:16:42]MH_I2C_Read... [00:16:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:42]Read from MH i2c: E2 [00:16:42]MH_I2C_Read... [00:16:42]Read from MH i2c: E2 FD 00 [00:16:42]MH_I2C_Read... [00:16:42]Read from MH i2c: E2 FD 00 B2 05 00 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 09 [00:16:42]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 [00:16:42]wFMCommunicate OK [00:16:42]wFMCommunicate request_size=4 [00:16:42]MH_SAM_APDU [00:16:42]CAPDU: 80 17 00 00 [00:16:42]Write to MH i2c: E2 08 00 B3 05 80 17 00 00 00 00 00 00 38 [00:16:42]Write i2c OK [00:16:42]MH_I2C_Read... [00:16:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:42]Read from MH i2c: E2 [00:16:42]MH_I2C_Read... [00:16:42]Read from MH i2c: E2 FD 00 [00:16:42]MH_I2C_Read... [00:16:42]Read from MH i2c: E2 FD 00 B3 05 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 AA [00:16:43]RAPDU: 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 [00:16:43]wFMCommunicate OK [00:16:43]wFMCommunicate request_size=4 [00:16:43]MH_SAM_APDU [00:16:43]CAPDU: 80 17 00 00 [00:16:43]Write to MH i2c: E2 08 00 B4 05 80 17 00 00 00 00 00 00 39 [00:16:43]Write i2c OK [00:16:43]MH_I2C_Read... [00:16:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:16:43]Read from MH i2c: E2 [00:16:43]MH_I2C_Read... [00:16:43]Read from MH i2c: E2 BD 00 [00:16:43]MH_I2C_Read... [00:16:43]Read from MH i2c: E2 BD 00 B4 05 00 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 1F [00:16:43]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:16:43]wFMCommunicate OK [00:16:43]SAM_PROTO_GetShiftData done [00:16:43]requested_item shift.sale.total_cash is exist - process it [00:16:43]requested_item shift.sale_refund.total is exist - process it [00:16:43]requested_item shift.sale_refund.total_cash is exist - process it [00:16:43]requested_item shift.buy.total is exist - process it [00:16:43]requested_item shift.buy.total_cash is exist - process it [00:16:43]produce_requested_data done [00:16:43]produce_requested_data return {"fm.sale.total":2466644.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:16:43]process_action_free get_value [00:16:43]json_value_free [00:16:43]json_value_free done [00:16:43]process_json_proto returns [00:16:43]Send response to host [00:16:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2466644.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:16:43]free response buf [00:16:43]execute_script done [00:16:43]execute_script returns [00:16:43]free content buf [00:16:43]Sock 7.Close socket [00:16:43]Sock 7.Thread stoped [00:16:43]OFD Sender: No OFD packet to send [00:16:48]OFD Sender: No OFD packet to send [00:16:53]OFD Sender: No OFD packet to send [00:16:58]OFD Sender: No OFD packet to send [00:17:03]OFD Sender: No OFD packet to send [00:17:08]OFD Sender: No OFD packet to send [00:17:13]OFD Sender: No OFD packet to send [00:17:18]OFD Sender: No OFD packet to send [00:17:23]OFD Sender: No OFD packet to send [00:17:28]OFD Sender: No OFD packet to send [00:17:33]OFD Sender: No OFD packet to send [00:17:38]OFD Sender: No OFD packet to send [00:17:43]OFD Sender: No OFD packet to send [00:17:48]OFD Sender: No OFD packet to send [00:17:53]OFD Sender: No OFD packet to send [00:17:58]OFD Sender: No OFD packet to send [00:18:03]OFD Sender: No OFD packet to send [00:18:08]OFD Sender: No OFD packet to send [00:18:13]OFD Sender: No OFD packet to send [00:18:18]OFD Sender: No OFD packet to send [00:18:23]OFD Sender: No OFD packet to send [00:18:28]OFD Sender: No OFD packet to send [00:18:33]OFD Sender: No OFD packet to send [00:18:38]OFD Sender: No OFD packet to send [00:18:43]OFD Sender: No OFD packet to send [00:18:48]OFD Sender: No OFD packet to send [00:18:53]OFD Sender: No OFD packet to send [00:18:58]OFD Sender: No OFD packet to send [00:19:03]OFD Sender: No OFD packet to send [00:19:08]OFD Sender: No OFD packet to send [00:19:13]OFD Sender: No OFD packet to send [00:19:18]OFD Sender: No OFD packet to send [00:19:23]OFD Sender: No OFD packet to send [00:19:28]OFD Sender: No OFD packet to send [00:19:33]OFD Sender: No OFD packet to send [00:19:38]OFD Sender: No OFD packet to send [00:19:43]OFD Sender: No OFD packet to send [00:19:48]OFD Sender: No OFD packet to send [00:19:53]OFD Sender: No OFD packet to send [00:19:58]OFD Sender: No OFD packet to send [00:20:03]OFD Sender: No OFD packet to send [00:20:08]OFD Sender: No OFD packet to send [00:20:13]OFD Sender: No OFD packet to send [00:20:18]OFD Sender: No OFD packet to send [00:20:23]OFD Sender: No OFD packet to send [00:20:28]OFD Sender: No OFD packet to send [00:20:33]OFD Sender: No OFD packet to send [00:20:38]OFD Sender: No OFD packet to send [00:20:43]OFD Sender: No OFD packet to send [00:20:48]OFD Sender: No OFD packet to send [00:20:53]OFD Sender: No OFD packet to send [00:20:58]OFD Sender: No OFD packet to send [00:21:03]OFD Sender: No OFD packet to send [00:21:08]OFD Sender: No OFD packet to send [00:21:13]OFD Sender: No OFD packet to send [00:21:18]OFD Sender: No OFD packet to send [00:21:23]OFD Sender: No OFD packet to send [00:21:28]OFD Sender: No OFD packet to send [00:21:33]OFD Sender: No OFD packet to send [00:21:38]OFD Sender: No OFD packet to send [00:21:43]OFD Sender: No OFD packet to send [00:21:48]OFD Sender: No OFD packet to send [00:21:53]OFD Sender: No OFD packet to send [00:21:58]OFD Sender: No OFD packet to send [00:22:03]OFD Sender: No OFD packet to send [00:22:08]OFD Sender: No OFD packet to send [00:22:13]OFD Sender: No OFD packet to send [00:22:18]OFD Sender: No OFD packet to send [00:22:23]OFD Sender: No OFD packet to send [00:22:28]OFD Sender: No OFD packet to send [00:22:33]OFD Sender: No OFD packet to send [00:22:38]OFD Sender: No OFD packet to send [00:22:43]OFD Sender: No OFD packet to send [00:22:48]OFD Sender: No OFD packet to send [00:22:53]OFD Sender: No OFD packet to send [00:22:58]OFD Sender: No OFD packet to send [00:23:03]OFD Sender: No OFD packet to send [00:23:08]OFD Sender: No OFD packet to send [00:23:13]OFD Sender: No OFD packet to send [00:23:18]OFD Sender: No OFD packet to send [00:23:23]OFD Sender: No OFD packet to send [00:23:28]OFD Sender: No OFD packet to send [00:23:33]OFD Sender: No OFD packet to send [00:23:38]OFD Sender: No OFD packet to send [00:23:43]OFD Sender: No OFD packet to send [00:23:48]OFD Sender: No OFD packet to send [00:23:53]OFD Sender: No OFD packet to send [00:23:58]OFD Sender: No OFD packet to send [00:24:03]OFD Sender: No OFD packet to send [00:24:08]OFD Sender: No OFD packet to send [00:24:13]OFD Sender: No OFD packet to send [00:24:18]OFD Sender: No OFD packet to send [00:24:23]OFD Sender: No OFD packet to send [00:24:28]OFD Sender: No OFD packet to send [00:24:33]OFD Sender: No OFD packet to send [00:24:38]OFD Sender: No OFD packet to send [00:24:43]OFD Sender: No OFD packet to send [00:24:48]OFD Sender: No OFD packet to send [00:24:53]OFD Sender: No OFD packet to send [00:24:58]OFD Sender: No OFD packet to send [00:25:03]OFD Sender: No OFD packet to send [00:25:08]OFD Sender: No OFD packet to send [00:25:13]OFD Sender: No OFD packet to send [00:25:18]OFD Sender: No OFD packet to send [00:25:23]OFD Sender: No OFD packet to send [00:25:28]OFD Sender: No OFD packet to send [00:25:33]OFD Sender: No OFD packet to send [00:25:38]OFD Sender: No OFD packet to send [00:25:43]OFD Sender: No OFD packet to send [00:25:48]OFD Sender: No OFD packet to send [00:25:53]OFD Sender: No OFD packet to send [00:25:58]OFD Sender: No OFD packet to send [00:26:04]OFD Sender: No OFD packet to send [00:26:09]OFD Sender: No OFD packet to send [00:26:14]OFD Sender: No OFD packet to send [00:26:19]OFD Sender: No OFD packet to send [00:26:24]OFD Sender: No OFD packet to send [00:26:29]OFD Sender: No OFD packet to send [00:26:34]OFD Sender: No OFD packet to send [00:26:39]OFD Sender: No OFD packet to send [00:26:44]OFD Sender: No OFD packet to send [00:26:49]OFD Sender: No OFD packet to send [00:26:54]OFD Sender: No OFD packet to send [00:26:59]OFD Sender: No OFD packet to send [00:27:04]OFD Sender: No OFD packet to send [00:27:09]OFD Sender: No OFD packet to send [00:27:14]OFD Sender: No OFD packet to send [00:27:19]OFD Sender: No OFD packet to send [00:27:24]OFD Sender: No OFD packet to send [00:27:29]OFD Sender: No OFD packet to send [00:27:34]OFD Sender: No OFD packet to send [00:27:39]OFD Sender: No OFD packet to send [00:27:44]OFD Sender: No OFD packet to send [00:27:49]OFD Sender: No OFD packet to send [00:27:54]OFD Sender: No OFD packet to send [00:27:59]OFD Sender: No OFD packet to send [00:28:04]OFD Sender: No OFD packet to send [00:28:09]OFD Sender: No OFD packet to send [00:28:14]OFD Sender: No OFD packet to send [00:28:19]OFD Sender: No OFD packet to send [00:28:24]OFD Sender: No OFD packet to send [00:28:29]OFD Sender: No OFD packet to send [00:28:34]OFD Sender: No OFD packet to send [00:28:39]OFD Sender: No OFD packet to send [00:28:44]OFD Sender: No OFD packet to send [00:28:49]OFD Sender: No OFD packet to send [00:28:54]OFD Sender: No OFD packet to send [00:28:59]OFD Sender: No OFD packet to send [00:29:04]OFD Sender: No OFD packet to send [00:29:09]OFD Sender: No OFD packet to send [00:29:14]OFD Sender: No OFD packet to send [00:29:19]OFD Sender: No OFD packet to send [00:29:24]OFD Sender: No OFD packet to send [00:29:29]OFD Sender: No OFD packet to send [00:29:34]OFD Sender: No OFD packet to send [00:29:39]OFD Sender: No OFD packet to send [00:29:44]OFD Sender: No OFD packet to send [00:29:49]OFD Sender: No OFD packet to send [00:29:54]OFD Sender: No OFD packet to send [00:29:59]OFD Sender: No OFD packet to send [00:30:04]OFD Sender: No OFD packet to send [00:30:09]OFD Sender: No OFD packet to send [00:30:14]OFD Sender: No OFD packet to send [00:30:19]OFD Sender: No OFD packet to send [00:30:24]OFD Sender: No OFD packet to send [00:30:29]OFD Sender: No OFD packet to send [00:30:34]OFD Sender: No OFD packet to send [00:30:39]OFD Sender: No OFD packet to send [00:30:44]OFD Sender: No OFD packet to send [00:30:49]OFD Sender: No OFD packet to send [00:30:54]OFD Sender: No OFD packet to send [00:30:59]OFD Sender: No OFD packet to send [00:31:04]OFD Sender: No OFD packet to send [00:31:09]OFD Sender: No OFD packet to send [00:31:14]OFD Sender: No OFD packet to send [00:31:19]OFD Sender: No OFD packet to send [00:31:24]OFD Sender: No OFD packet to send [00:31:29]OFD Sender: No OFD packet to send [00:31:34]OFD Sender: No OFD packet to send [00:31:39]OFD Sender: No OFD packet to send [00:31:44]OFD Sender: No OFD packet to send [00:31:49]OFD Sender: No OFD packet to send [00:31:54]OFD Sender: No OFD packet to send [00:31:59]OFD Sender: No OFD packet to send [00:32:04]OFD Sender: No OFD packet to send [00:32:09]OFD Sender: No OFD packet to send [00:32:14]OFD Sender: No OFD packet to send [00:32:19]OFD Sender: No OFD packet to send [00:32:24]OFD Sender: No OFD packet to send [00:32:29]OFD Sender: No OFD packet to send [00:32:34]OFD Sender: No OFD packet to send [00:32:39]OFD Sender: No OFD packet to send [00:32:44]OFD Sender: No OFD packet to send [00:32:49]OFD Sender: No OFD packet to send [00:32:54]OFD Sender: No OFD packet to send [00:32:59]OFD Sender: No OFD packet to send [00:33:04]OFD Sender: No OFD packet to send [00:33:09]OFD Sender: No OFD packet to send [00:33:14]OFD Sender: No OFD packet to send [00:33:19]OFD Sender: No OFD packet to send [00:33:24]OFD Sender: No OFD packet to send [00:33:29]OFD Sender: No OFD packet to send [00:33:34]OFD Sender: No OFD packet to send [00:33:39]OFD Sender: No OFD packet to send [00:33:44]OFD Sender: No OFD packet to send [00:33:49]OFD Sender: No OFD packet to send [00:33:54]OFD Sender: No OFD packet to send [00:33:59]OFD Sender: No OFD packet to send [00:34:04]OFD Sender: No OFD packet to send [00:34:09]OFD Sender: No OFD packet to send [00:34:14]OFD Sender: No OFD packet to send [00:34:19]OFD Sender: No OFD packet to send [00:34:24]OFD Sender: No OFD packet to send [00:34:29]OFD Sender: No OFD packet to send [00:34:34]OFD Sender: No OFD packet to send [00:34:39]OFD Sender: No OFD packet to send [00:34:44]OFD Sender: No OFD packet to send [00:34:49]OFD Sender: No OFD packet to send [00:34:54]OFD Sender: No OFD packet to send [00:34:59]OFD Sender: No OFD packet to send [00:35:04]OFD Sender: No OFD packet to send [00:35:09]OFD Sender: No OFD packet to send [00:35:14]OFD Sender: No OFD packet to send [00:35:19]OFD Sender: No OFD packet to send [00:35:24]OFD Sender: No OFD packet to send [00:35:29]OFD Sender: No OFD packet to send [00:35:34]OFD Sender: No OFD packet to send [00:35:39]OFD Sender: No OFD packet to send [00:35:44]OFD Sender: No OFD packet to send [00:35:49]OFD Sender: No OFD packet to send [00:35:54]OFD Sender: No OFD packet to send [00:35:59]OFD Sender: No OFD packet to send [00:36:04]OFD Sender: No OFD packet to send [00:36:09]OFD Sender: No OFD packet to send [00:36:14]OFD Sender: No OFD packet to send [00:36:19]OFD Sender: No OFD packet to send [00:36:24]OFD Sender: No OFD packet to send [00:36:29]OFD Sender: No OFD packet to send [00:36:34]OFD Sender: No OFD packet to send [00:36:39]OFD Sender: No OFD packet to send [00:36:44]OFD Sender: No OFD packet to send [00:36:49]OFD Sender: No OFD packet to send [00:36:54]OFD Sender: No OFD packet to send [00:36:59]OFD Sender: No OFD packet to send [00:37:04]OFD Sender: No OFD packet to send [00:37:09]OFD Sender: No OFD packet to send [00:37:14]OFD Sender: No OFD packet to send [00:37:19]OFD Sender: No OFD packet to send [00:37:24]OFD Sender: No OFD packet to send [00:37:29]OFD Sender: No OFD packet to send [00:37:34]OFD Sender: No OFD packet to send [00:37:39]OFD Sender: No OFD packet to send [00:37:44]OFD Sender: No OFD packet to send [00:37:49]OFD Sender: No OFD packet to send [00:37:54]OFD Sender: No OFD packet to send [00:37:59]OFD Sender: No OFD packet to send [00:38:04]OFD Sender: No OFD packet to send [00:38:09]OFD Sender: No OFD packet to send [00:38:14]OFD Sender: No OFD packet to send [00:38:19]OFD Sender: No OFD packet to send [00:38:24]OFD Sender: No OFD packet to send [00:38:29]OFD Sender: No OFD packet to send [00:38:34]OFD Sender: No OFD packet to send [00:38:39]OFD Sender: No OFD packet to send [00:38:44]OFD Sender: No OFD packet to send [00:38:49]OFD Sender: No OFD packet to send [00:38:54]OFD Sender: No OFD packet to send [00:38:59]OFD Sender: No OFD packet to send [00:39:04]OFD Sender: No OFD packet to send [00:39:09]OFD Sender: No OFD packet to send [00:39:14]OFD Sender: No OFD packet to send [00:39:19]OFD Sender: No OFD packet to send [00:39:24]OFD Sender: No OFD packet to send [00:39:29]OFD Sender: No OFD packet to send [00:39:34]OFD Sender: No OFD packet to send [00:39:39]OFD Sender: No OFD packet to send [00:39:44]OFD Sender: No OFD packet to send [00:39:49]OFD Sender: No OFD packet to send [00:39:54]OFD Sender: No OFD packet to send [00:39:59]OFD Sender: No OFD packet to send [00:40:04]OFD Sender: No OFD packet to send [00:40:09]OFD Sender: No OFD packet to send [00:40:14]OFD Sender: No OFD packet to send [00:40:19]OFD Sender: No OFD packet to send [00:40:24]OFD Sender: No OFD packet to send [00:40:29]OFD Sender: No OFD packet to send [00:40:34]OFD Sender: No OFD packet to send [00:40:39]OFD Sender: No OFD packet to send [00:40:44]OFD Sender: No OFD packet to send [00:40:49]OFD Sender: No OFD packet to send [00:40:54]OFD Sender: No OFD packet to send [00:40:59]OFD Sender: No OFD packet to send [00:41:04]OFD Sender: No OFD packet to send [00:41:09]OFD Sender: No OFD packet to send [00:41:14]OFD Sender: No OFD packet to send [00:41:19]OFD Sender: No OFD packet to send [00:41:24]OFD Sender: No OFD packet to send [00:41:29]OFD Sender: No OFD packet to send [00:41:34]OFD Sender: No OFD packet to send [00:41:39]OFD Sender: No OFD packet to send [00:41:44]OFD Sender: No OFD packet to send [00:41:49]OFD Sender: No OFD packet to send [00:41:54]OFD Sender: No OFD packet to send [00:41:59]OFD Sender: No OFD packet to send [00:42:04]OFD Sender: No OFD packet to send [00:42:09]OFD Sender: No OFD packet to send [00:42:14]OFD Sender: No OFD packet to send [00:42:19]OFD Sender: No OFD packet to send [00:42:24]OFD Sender: No OFD packet to send [00:42:29]OFD Sender: No OFD packet to send [00:42:34]OFD Sender: No OFD packet to send [00:42:39]OFD Sender: No OFD packet to send [00:42:44]OFD Sender: No OFD packet to send [00:42:49]OFD Sender: No OFD packet to send [00:42:54]OFD Sender: No OFD packet to send [00:42:59]OFD Sender: No OFD packet to send [00:43:04]OFD Sender: No OFD packet to send [00:43:09]OFD Sender: No OFD packet to send [00:43:14]OFD Sender: No OFD packet to send [00:43:19]OFD Sender: No OFD packet to send [00:43:24]OFD Sender: No OFD packet to send [00:43:29]OFD Sender: No OFD packet to send [00:43:34]OFD Sender: No OFD packet to send [00:43:39]OFD Sender: No OFD packet to send [00:43:44]OFD Sender: No OFD packet to send [00:43:49]OFD Sender: No OFD packet to send [00:43:54]OFD Sender: No OFD packet to send [00:43:59]OFD Sender: No OFD packet to send [00:44:04]OFD Sender: No OFD packet to send [00:44:09]OFD Sender: No OFD packet to send [00:44:14]OFD Sender: No OFD packet to send [00:44:19]OFD Sender: No OFD packet to send [00:44:24]OFD Sender: No OFD packet to send [00:44:29]OFD Sender: No OFD packet to send [00:44:34]OFD Sender: No OFD packet to send [00:44:39]OFD Sender: No OFD packet to send [00:44:44]OFD Sender: No OFD packet to send [00:44:49]OFD Sender: No OFD packet to send [00:44:54]OFD Sender: No OFD packet to send [00:44:59]OFD Sender: No OFD packet to send [00:45:04]OFD Sender: No OFD packet to send [00:45:09]OFD Sender: No OFD packet to send [00:45:14]OFD Sender: No OFD packet to send [00:45:19]OFD Sender: No OFD packet to send [00:45:24]OFD Sender: No OFD packet to send [00:45:29]OFD Sender: No OFD packet to send [00:45:34]OFD Sender: No OFD packet to send [00:45:39]OFD Sender: No OFD packet to send [00:45:44]OFD Sender: No OFD packet to send [00:45:49]OFD Sender: No OFD packet to send [00:45:54]OFD Sender: No OFD packet to send [00:45:59]OFD Sender: No OFD packet to send [00:46:04]OFD Sender: No OFD packet to send [00:46:09]OFD Sender: No OFD packet to send [00:46:14]OFD Sender: No OFD packet to send [00:46:19]OFD Sender: No OFD packet to send [00:46:24]OFD Sender: No OFD packet to send [00:46:29]OFD Sender: No OFD packet to send [00:46:34]OFD Sender: No OFD packet to send [00:46:39]OFD Sender: No OFD packet to send [00:46:44]OFD Sender: No OFD packet to send [00:46:49]OFD Sender: No OFD packet to send [00:46:54]OFD Sender: No OFD packet to send [00:46:59]OFD Sender: No OFD packet to send [00:47:04]OFD Sender: No OFD packet to send [00:47:09]OFD Sender: No OFD packet to send [00:47:14]OFD Sender: No OFD packet to send [00:47:20]OFD Sender: No OFD packet to send [00:47:25]OFD Sender: No OFD packet to send [00:47:30]OFD Sender: No OFD packet to send [00:47:35]OFD Sender: No OFD packet to send [00:47:40]OFD Sender: No OFD packet to send [00:47:45]OFD Sender: No OFD packet to send [00:47:50]OFD Sender: No OFD packet to send [00:47:55]OFD Sender: No OFD packet to send [00:48:00]OFD Sender: No OFD packet to send [00:48:05]OFD Sender: No OFD packet to send [00:48:10]OFD Sender: No OFD packet to send [00:48:15]OFD Sender: No OFD packet to send [00:48:20]OFD Sender: No OFD packet to send [00:48:25]OFD Sender: No OFD packet to send [00:48:30]OFD Sender: No OFD packet to send [00:48:35]OFD Sender: No OFD packet to send [00:48:40]OFD Sender: No OFD packet to send [00:48:45]OFD Sender: No OFD packet to send [00:48:50]OFD Sender: No OFD packet to send [00:48:55]OFD Sender: No OFD packet to send [00:49:00]OFD Sender: No OFD packet to send [00:49:05]OFD Sender: No OFD packet to send [00:49:10]OFD Sender: No OFD packet to send [00:49:15]OFD Sender: No OFD packet to send [00:49:20]OFD Sender: No OFD packet to send [00:49:25]OFD Sender: No OFD packet to send [00:49:30]OFD Sender: No OFD packet to send [00:49:35]OFD Sender: No OFD packet to send [00:49:40]OFD Sender: No OFD packet to send [00:49:45]OFD Sender: No OFD packet to send [00:49:50]OFD Sender: No OFD packet to send [00:49:55]OFD Sender: No OFD packet to send [00:50:00]OFD Sender: No OFD packet to send [00:50:05]OFD Sender: No OFD packet to send [00:50:10]OFD Sender: No OFD packet to send [00:50:15]OFD Sender: No OFD packet to send [00:50:20]OFD Sender: No OFD packet to send [00:50:25]OFD Sender: No OFD packet to send [00:50:30]OFD Sender: No OFD packet to send [00:50:35]OFD Sender: No OFD packet to send [00:50:40]OFD Sender: No OFD packet to send [00:50:45]OFD Sender: No OFD packet to send [00:50:50]OFD Sender: No OFD packet to send [00:50:55]OFD Sender: No OFD packet to send [00:51:00]OFD Sender: No OFD packet to send [00:51:05]OFD Sender: No OFD packet to send [00:51:10]OFD Sender: No OFD packet to send [00:51:15]OFD Sender: No OFD packet to send [00:51:20]OFD Sender: No OFD packet to send [00:51:25]OFD Sender: No OFD packet to send [00:51:30]OFD Sender: No OFD packet to send [00:51:35]OFD Sender: No OFD packet to send [00:51:40]OFD Sender: No OFD packet to send [00:51:45]OFD Sender: No OFD packet to send [00:51:50]OFD Sender: No OFD packet to send [00:51:55]OFD Sender: No OFD packet to send [00:52:00]OFD Sender: No OFD packet to send [00:52:05]OFD Sender: No OFD packet to send [00:52:10]OFD Sender: No OFD packet to send [00:52:15]OFD Sender: No OFD packet to send [00:52:20]OFD Sender: No OFD packet to send [00:52:25]OFD Sender: No OFD packet to send [00:52:30]OFD Sender: No OFD packet to send [00:52:35]OFD Sender: No OFD packet to send [00:52:40]OFD Sender: No OFD packet to send [00:52:45]OFD Sender: No OFD packet to send [00:52:50]OFD Sender: No OFD packet to send [00:52:55]OFD Sender: No OFD packet to send [00:53:00]OFD Sender: No OFD packet to send [00:53:05]OFD Sender: No OFD packet to send [00:53:10]OFD Sender: No OFD packet to send [00:53:15]OFD Sender: No OFD packet to send [00:53:20]OFD Sender: No OFD packet to send [00:53:25]OFD Sender: No OFD packet to send [00:53:30]OFD Sender: No OFD packet to send [00:53:35]OFD Sender: No OFD packet to send [00:53:40]OFD Sender: No OFD packet to send [00:53:45]OFD Sender: No OFD packet to send [00:53:50]OFD Sender: No OFD packet to send [00:53:55]OFD Sender: No OFD packet to send [00:54:00]OFD Sender: No OFD packet to send [00:54:05]OFD Sender: No OFD packet to send [00:54:10]OFD Sender: No OFD packet to send [00:54:15]OFD Sender: No OFD packet to send [00:54:20]OFD Sender: No OFD packet to send [00:54:25]OFD Sender: No OFD packet to send [00:54:30]OFD Sender: No OFD packet to send [00:54:35]OFD Sender: No OFD packet to send [00:54:40]OFD Sender: No OFD packet to send [00:54:45]OFD Sender: No OFD packet to send [00:54:50]OFD Sender: No OFD packet to send [00:54:55]OFD Sender: No OFD packet to send [00:55:00]OFD Sender: No OFD packet to send [00:55:05]OFD Sender: No OFD packet to send [00:55:10]OFD Sender: No OFD packet to send [00:55:15]OFD Sender: No OFD packet to send [00:55:20]OFD Sender: No OFD packet to send [00:55:25]OFD Sender: No OFD packet to send [00:55:30]OFD Sender: No OFD packet to send [00:55:35]OFD Sender: No OFD packet to send [00:55:40]OFD Sender: No OFD packet to send [00:55:45]OFD Sender: No OFD packet to send [00:55:50]OFD Sender: No OFD packet to send [00:55:55]OFD Sender: No OFD packet to send [00:56:00]OFD Sender: No OFD packet to send [00:56:05]OFD Sender: No OFD packet to send [00:56:10]OFD Sender: No OFD packet to send [00:56:15]OFD Sender: No OFD packet to send [00:56:20]OFD Sender: No OFD packet to send [00:56:25]OFD Sender: No OFD packet to send [00:56:30]OFD Sender: No OFD packet to send [00:56:35]OFD Sender: No OFD packet to send [00:56:40]OFD Sender: No OFD packet to send [00:56:45]OFD Sender: No OFD packet to send [00:56:50]OFD Sender: No OFD packet to send [00:56:55]OFD Sender: No OFD packet to send [00:57:00]OFD Sender: No OFD packet to send [00:57:05]OFD Sender: No OFD packet to send [00:57:10]OFD Sender: No OFD packet to send [00:57:15]OFD Sender: No OFD packet to send [00:57:20]OFD Sender: No OFD packet to send [00:57:25]OFD Sender: No OFD packet to send [00:57:30]OFD Sender: No OFD packet to send [00:57:35]OFD Sender: No OFD packet to send [00:57:40]OFD Sender: No OFD packet to send [00:57:45]OFD Sender: No OFD packet to send [00:57:50]OFD Sender: No OFD packet to send [00:57:55]OFD Sender: No OFD packet to send [00:58:00]OFD Sender: No OFD packet to send [00:58:05]OFD Sender: No OFD packet to send [00:58:10]OFD Sender: No OFD packet to send [00:58:15]OFD Sender: No OFD packet to send [00:58:20]OFD Sender: No OFD packet to send [00:58:25]OFD Sender: No OFD packet to send [00:58:30]OFD Sender: No OFD packet to send [00:58:35]OFD Sender: No OFD packet to send [00:58:40]OFD Sender: No OFD packet to send [00:58:45]OFD Sender: No OFD packet to send [00:58:50]OFD Sender: No OFD packet to send [00:58:55]OFD Sender: No OFD packet to send [00:59:00]OFD Sender: No OFD packet to send [00:59:05]OFD Sender: No OFD packet to send [00:59:10]OFD Sender: No OFD packet to send [00:59:15]OFD Sender: No OFD packet to send [00:59:20]OFD Sender: No OFD packet to send [00:59:25]OFD Sender: No OFD packet to send [00:59:30]OFD Sender: No OFD packet to send [00:59:35]OFD Sender: No OFD packet to send [00:59:40]OFD Sender: No OFD packet to send [00:59:45]OFD Sender: No OFD packet to send [00:59:50]OFD Sender: No OFD packet to send [00:59:55]OFD Sender: No OFD packet to send [01:00:00]OFD Sender: No OFD packet to send [01:00:05]OFD Sender: No OFD packet to send [01:00:10]OFD Sender: No OFD packet to send [01:00:15]OFD Sender: No OFD packet to send [01:00:20]OFD Sender: No OFD packet to send [01:00:25]OFD Sender: No OFD packet to send [01:00:30]OFD Sender: No OFD packet to send [01:00:35]OFD Sender: No OFD packet to send [01:00:40]OFD Sender: No OFD packet to send [01:00:45]OFD Sender: No OFD packet to send [01:00:50]OFD Sender: No OFD packet to send [01:00:55]OFD Sender: No OFD packet to send [01:01:00]OFD Sender: No OFD packet to send [01:01:05]OFD Sender: No OFD packet to send [01:01:10]OFD Sender: No OFD packet to send [01:01:15]OFD Sender: No OFD packet to send [01:01:20]OFD Sender: No OFD packet to send [01:01:25]OFD Sender: No OFD packet to send [01:01:30]OFD Sender: No OFD packet to send [01:01:35]OFD Sender: No OFD packet to send [01:01:40]OFD Sender: No OFD packet to send [01:01:45]OFD Sender: No OFD packet to send [01:01:50]OFD Sender: No OFD packet to send [01:01:55]OFD Sender: No OFD packet to send [01:02:00]OFD Sender: No OFD packet to send [01:02:05]OFD Sender: No OFD packet to send [01:02:10]OFD Sender: No OFD packet to send [01:02:15]OFD Sender: No OFD packet to send [01:02:20]OFD Sender: No OFD packet to send [01:02:25]OFD Sender: No OFD packet to send [01:02:30]OFD Sender: No OFD packet to send [01:02:35]OFD Sender: No OFD packet to send [01:02:40]OFD Sender: No OFD packet to send [01:02:45]OFD Sender: No OFD packet to send [01:02:50]OFD Sender: No OFD packet to send [01:02:55]OFD Sender: No OFD packet to send [01:03:00]OFD Sender: No OFD packet to send [01:03:05]OFD Sender: No OFD packet to send [01:03:10]OFD Sender: No OFD packet to send [01:03:15]OFD Sender: No OFD packet to send [01:03:20]OFD Sender: No OFD packet to send [01:03:25]OFD Sender: No OFD packet to send [01:03:30]OFD Sender: No OFD packet to send [01:03:35]OFD Sender: No OFD packet to send [01:03:40]OFD Sender: No OFD packet to send [01:03:45]OFD Sender: No OFD packet to send [01:03:50]OFD Sender: No OFD packet to send [01:03:55]OFD Sender: No OFD packet to send [01:04:00]OFD Sender: No OFD packet to send [01:04:05]OFD Sender: No OFD packet to send [01:04:10]OFD Sender: No OFD packet to send [01:04:15]OFD Sender: No OFD packet to send [01:04:20]OFD Sender: No OFD packet to send [01:04:25]OFD Sender: No OFD packet to send [01:04:30]OFD Sender: No OFD packet to send [01:04:35]OFD Sender: No OFD packet to send [01:04:40]OFD Sender: No OFD packet to send [01:04:45]OFD Sender: No OFD packet to send [01:04:50]OFD Sender: No OFD packet to send [01:04:55]OFD Sender: No OFD packet to send [01:05:00]OFD Sender: No OFD packet to send [01:05:05]OFD Sender: No OFD packet to send [01:05:10]OFD Sender: No OFD packet to send [01:05:15]OFD Sender: No OFD packet to send [01:05:20]OFD Sender: No OFD packet to send [01:05:25]OFD Sender: No OFD packet to send [01:05:30]OFD Sender: No OFD packet to send [01:05:35]OFD Sender: No OFD packet to send [01:05:40]OFD Sender: No OFD packet to send [01:05:45]OFD Sender: No OFD packet to send [01:05:50]OFD Sender: No OFD packet to send [01:05:55]OFD Sender: No OFD packet to send [01:06:00]OFD Sender: No OFD packet to send [01:06:05]OFD Sender: No OFD packet to send [01:06:10]OFD Sender: No OFD packet to send [01:06:15]OFD Sender: No OFD packet to send [01:06:20]OFD Sender: No OFD packet to send [01:06:25]OFD Sender: No OFD packet to send [01:06:30]OFD Sender: No OFD packet to send [01:06:35]OFD Sender: No OFD packet to send [01:06:40]OFD Sender: No OFD packet to send [01:06:45]OFD Sender: No OFD packet to send [01:06:50]OFD Sender: No OFD packet to send [01:06:55]OFD Sender: No OFD packet to send [01:07:00]OFD Sender: No OFD packet to send [01:07:05]OFD Sender: No OFD packet to send [01:07:10]OFD Sender: No OFD packet to send [01:07:15]OFD Sender: No OFD packet to send [01:07:20]OFD Sender: No OFD packet to send [01:07:25]OFD Sender: No OFD packet to send [01:07:30]OFD Sender: No OFD packet to send [01:07:35]OFD Sender: No OFD packet to send [01:07:40]OFD Sender: No OFD packet to send [01:07:45]OFD Sender: No OFD packet to send [01:07:50]OFD Sender: No OFD packet to send [01:07:55]OFD Sender: No OFD packet to send [01:08:00]OFD Sender: No OFD packet to send [01:08:05]OFD Sender: No OFD packet to send [01:08:10]OFD Sender: No OFD packet to send [01:08:15]OFD Sender: No OFD packet to send [01:08:20]OFD Sender: No OFD packet to send [01:08:25]OFD Sender: No OFD packet to send [01:08:30]OFD Sender: No OFD packet to send [01:08:35]OFD Sender: No OFD packet to send [01:08:41]OFD Sender: No OFD packet to send [01:08:46]OFD Sender: No OFD packet to send [01:08:51]OFD Sender: No OFD packet to send [01:08:56]OFD Sender: No OFD packet to send [01:09:01]OFD Sender: No OFD packet to send [01:09:06]OFD Sender: No OFD packet to send [01:09:11]OFD Sender: No OFD packet to send [01:09:16]OFD Sender: No OFD packet to send [01:09:21]OFD Sender: No OFD packet to send [01:09:26]OFD Sender: No OFD packet to send [01:09:31]OFD Sender: No OFD packet to send [01:09:36]OFD Sender: No OFD packet to send [01:09:41]OFD Sender: No OFD packet to send [01:09:46]OFD Sender: No OFD packet to send [01:09:51]OFD Sender: No OFD packet to send [01:09:56]OFD Sender: No OFD packet to send [01:10:01]OFD Sender: No OFD packet to send [01:10:06]OFD Sender: No OFD packet to send [01:10:11]OFD Sender: No OFD packet to send [01:10:16]OFD Sender: No OFD packet to send [01:10:21]OFD Sender: No OFD packet to send [01:10:26]OFD Sender: No OFD packet to send [01:10:31]OFD Sender: No OFD packet to send [01:10:36]OFD Sender: No OFD packet to send [01:10:41]OFD Sender: No OFD packet to send [01:10:46]OFD Sender: No OFD packet to send [01:10:51]OFD Sender: No OFD packet to send [01:10:56]OFD Sender: No OFD packet to send [01:11:01]OFD Sender: No OFD packet to send [01:11:06]OFD Sender: No OFD packet to send [01:11:11]OFD Sender: No OFD packet to send [01:11:16]OFD Sender: No OFD packet to send [01:11:21]OFD Sender: No OFD packet to send [01:11:26]OFD Sender: No OFD packet to send [01:11:31]OFD Sender: No OFD packet to send [01:11:36]OFD Sender: No OFD packet to send [01:11:41]OFD Sender: No OFD packet to send [01:11:46]OFD Sender: No OFD packet to send [01:11:51]OFD Sender: No OFD packet to send [01:11:56]OFD Sender: No OFD packet to send [01:12:01]OFD Sender: No OFD packet to send [01:12:06]OFD Sender: No OFD packet to send [01:12:11]OFD Sender: No OFD packet to send [01:12:16]OFD Sender: No OFD packet to send [01:12:21]OFD Sender: No OFD packet to send [01:12:26]OFD Sender: No OFD packet to send [01:12:31]OFD Sender: No OFD packet to send [01:12:36]OFD Sender: No OFD packet to send [01:12:41]OFD Sender: No OFD packet to send [01:12:46]OFD Sender: No OFD packet to send [01:12:51]OFD Sender: No OFD packet to send [01:12:56]OFD Sender: No OFD packet to send [01:13:01]OFD Sender: No OFD packet to send [01:13:06]OFD Sender: No OFD packet to send [01:13:11]OFD Sender: No OFD packet to send [01:13:16]OFD Sender: No OFD packet to send [01:13:21]OFD Sender: No OFD packet to send [01:13:26]OFD Sender: No OFD packet to send [01:13:31]OFD Sender: No OFD packet to send [01:13:36]OFD Sender: No OFD packet to send [01:13:41]OFD Sender: No OFD packet to send [01:13:46]OFD Sender: No OFD packet to send [01:13:51]OFD Sender: No OFD packet to send [01:13:56]OFD Sender: No OFD packet to send [01:14:01]OFD Sender: No OFD packet to send [01:14:06]OFD Sender: No OFD packet to send [01:14:11]OFD Sender: No OFD packet to send [01:14:16]OFD Sender: No OFD packet to send [01:14:21]OFD Sender: No OFD packet to send [01:14:26]OFD Sender: No OFD packet to send [01:14:31]OFD Sender: No OFD packet to send [01:14:36]OFD Sender: No OFD packet to send [01:14:41]OFD Sender: No OFD packet to send [01:14:46]OFD Sender: No OFD packet to send [01:14:51]OFD Sender: No OFD packet to send [01:14:56]OFD Sender: No OFD packet to send [01:15:01]OFD Sender: No OFD packet to send [01:15:06]OFD Sender: No OFD packet to send [01:15:11]OFD Sender: No OFD packet to send [01:15:16]OFD Sender: No OFD packet to send [01:15:21]OFD Sender: No OFD packet to send [01:15:26]OFD Sender: No OFD packet to send [01:15:31]OFD Sender: No OFD packet to send [01:15:36]OFD Sender: No OFD packet to send [01:15:41]OFD Sender: No OFD packet to send [01:15:46]OFD Sender: No OFD packet to send [01:15:51]OFD Sender: No OFD packet to send [01:15:56]OFD Sender: No OFD packet to send [01:16:01]OFD Sender: No OFD packet to send [01:16:06]OFD Sender: No OFD packet to send [01:16:11]OFD Sender: No OFD packet to send [01:16:16]OFD Sender: No OFD packet to send [01:16:21]OFD Sender: No OFD packet to send [01:16:26]OFD Sender: No OFD packet to send [01:16:31]OFD Sender: No OFD packet to send [01:16:36]OFD Sender: No OFD packet to send [01:16:41]OFD Sender: No OFD packet to send [01:16:46]OFD Sender: No OFD packet to send [01:16:51]OFD Sender: No OFD packet to send [01:16:56]OFD Sender: No OFD packet to send [01:17:01]OFD Sender: No OFD packet to send [01:17:06]OFD Sender: No OFD packet to send [01:17:11]OFD Sender: No OFD packet to send [01:17:16]OFD Sender: No OFD packet to send [01:17:21]OFD Sender: No OFD packet to send [01:17:26]OFD Sender: No OFD packet to send [01:17:31]OFD Sender: No OFD packet to send [01:17:36]OFD Sender: No OFD packet to send [01:17:41]OFD Sender: No OFD packet to send [01:17:46]OFD Sender: No OFD packet to send [01:17:51]OFD Sender: No OFD packet to send [01:17:56]OFD Sender: No OFD packet to send [01:18:01]OFD Sender: No OFD packet to send [01:18:06]OFD Sender: No OFD packet to send [01:18:11]OFD Sender: No OFD packet to send [01:18:16]OFD Sender: No OFD packet to send [01:18:21]OFD Sender: No OFD packet to send [01:18:26]OFD Sender: No OFD packet to send [01:18:31]OFD Sender: No OFD packet to send [01:18:36]OFD Sender: No OFD packet to send [01:18:41]OFD Sender: No OFD packet to send [01:18:46]OFD Sender: No OFD packet to send [01:18:51]OFD Sender: No OFD packet to send [01:18:56]OFD Sender: No OFD packet to send [01:19:01]OFD Sender: No OFD packet to send [01:19:06]OFD Sender: No OFD packet to send [01:19:11]OFD Sender: No OFD packet to send [01:19:16]OFD Sender: No OFD packet to send [01:19:21]OFD Sender: No OFD packet to send [01:19:26]OFD Sender: No OFD packet to send [01:19:31]OFD Sender: No OFD packet to send [01:19:36]OFD Sender: No OFD packet to send [01:19:41]OFD Sender: No OFD packet to send [01:19:46]OFD Sender: No OFD packet to send [01:19:51]OFD Sender: No OFD packet to send [01:19:56]OFD Sender: No OFD packet to send [01:20:01]OFD Sender: No OFD packet to send [01:20:06]OFD Sender: No OFD packet to send [01:20:11]OFD Sender: No OFD packet to send [01:20:16]OFD Sender: No OFD packet to send [01:20:21]OFD Sender: No OFD packet to send [01:20:26]OFD Sender: No OFD packet to send [01:20:31]OFD Sender: No OFD packet to send [01:20:36]OFD Sender: No OFD packet to send [01:20:41]OFD Sender: No OFD packet to send [01:20:46]OFD Sender: No OFD packet to send [01:20:51]OFD Sender: No OFD packet to send [01:20:56]OFD Sender: No OFD packet to send [01:21:01]OFD Sender: No OFD packet to send [01:21:06]OFD Sender: No OFD packet to send [01:21:11]OFD Sender: No OFD packet to send [01:21:16]OFD Sender: No OFD packet to send [01:21:21]OFD Sender: No OFD packet to send [01:21:26]OFD Sender: No OFD packet to send [01:21:31]OFD Sender: No OFD packet to send [01:21:36]OFD Sender: No OFD packet to send [01:21:41]OFD Sender: No OFD packet to send [01:21:46]OFD Sender: No OFD packet to send [01:21:51]OFD Sender: No OFD packet to send [01:21:56]OFD Sender: No OFD packet to send [01:22:01]OFD Sender: No OFD packet to send [01:22:06]OFD Sender: No OFD packet to send [01:22:11]OFD Sender: No OFD packet to send [01:22:16]OFD Sender: No OFD packet to send [01:22:21]OFD Sender: No OFD packet to send [01:22:26]OFD Sender: No OFD packet to send [01:22:31]OFD Sender: No OFD packet to send [01:22:36]OFD Sender: No OFD packet to send [01:22:41]OFD Sender: No OFD packet to send [01:22:46]OFD Sender: No OFD packet to send [01:22:51]OFD Sender: No OFD packet to send [01:22:56]OFD Sender: No OFD packet to send [01:23:01]OFD Sender: No OFD packet to send [01:23:06]OFD Sender: No OFD packet to send [01:23:11]OFD Sender: No OFD packet to send [01:23:16]OFD Sender: No OFD packet to send [01:23:21]OFD Sender: No OFD packet to send [01:23:26]OFD Sender: No OFD packet to send [01:23:31]OFD Sender: No OFD packet to send [01:23:36]OFD Sender: No OFD packet to send [01:23:41]OFD Sender: No OFD packet to send [01:23:46]OFD Sender: No OFD packet to send [01:23:51]OFD Sender: No OFD packet to send [01:23:56]OFD Sender: No OFD packet to send [01:24:01]OFD Sender: No OFD packet to send [01:24:06]OFD Sender: No OFD packet to send [01:24:11]OFD Sender: No OFD packet to send [01:24:16]OFD Sender: No OFD packet to send [01:24:21]OFD Sender: No OFD packet to send [01:24:26]OFD Sender: No OFD packet to send [01:24:31]OFD Sender: No OFD packet to send [01:24:36]OFD Sender: No OFD packet to send [01:24:41]OFD Sender: No OFD packet to send [01:24:46]OFD Sender: No OFD packet to send [01:24:51]OFD Sender: No OFD packet to send [01:24:56]OFD Sender: No OFD packet to send [01:25:01]OFD Sender: No OFD packet to send [01:25:06]OFD Sender: No OFD packet to send [01:25:11]OFD Sender: No OFD packet to send [01:25:16]OFD Sender: No OFD packet to send [01:25:21]OFD Sender: No OFD packet to send [01:25:26]OFD Sender: No OFD packet to send [01:25:31]OFD Sender: No OFD packet to send [01:25:36]OFD Sender: No OFD packet to send [01:25:41]OFD Sender: No OFD packet to send [01:25:46]OFD Sender: No OFD packet to send [01:25:51]OFD Sender: No OFD packet to send [01:25:56]OFD Sender: No OFD packet to send [01:26:01]OFD Sender: No OFD packet to send [01:26:06]OFD Sender: No OFD packet to send [01:26:11]OFD Sender: No OFD packet to send [01:26:16]OFD Sender: No OFD packet to send [01:26:21]OFD Sender: No OFD packet to send [01:26:26]OFD Sender: No OFD packet to send [01:26:31]OFD Sender: No OFD packet to send [01:26:36]OFD Sender: No OFD packet to send [01:26:41]OFD Sender: No OFD packet to send [01:26:46]OFD Sender: No OFD packet to send [01:26:51]OFD Sender: No OFD packet to send [01:26:56]OFD Sender: No OFD packet to send [01:27:01]OFD Sender: No OFD packet to send [01:27:06]OFD Sender: No OFD packet to send [01:27:11]OFD Sender: No OFD packet to send [01:27:16]OFD Sender: No OFD packet to send [01:27:21]OFD Sender: No OFD packet to send [01:27:26]OFD Sender: No OFD packet to send [01:27:31]OFD Sender: No OFD packet to send [01:27:36]OFD Sender: No OFD packet to send [01:27:41]OFD Sender: No OFD packet to send [01:27:46]OFD Sender: No OFD packet to send [01:27:51]OFD Sender: No OFD packet to send [01:27:56]OFD Sender: No OFD packet to send [01:28:01]OFD Sender: No OFD packet to send [01:28:06]OFD Sender: No OFD packet to send [01:28:11]OFD Sender: No OFD packet to send [01:28:16]OFD Sender: No OFD packet to send [01:28:21]OFD Sender: No OFD packet to send [01:28:26]OFD Sender: No OFD packet to send [01:28:31]OFD Sender: No OFD packet to send [01:28:36]OFD Sender: No OFD packet to send [01:28:41]OFD Sender: No OFD packet to send [01:28:46]OFD Sender: No OFD packet to send [01:28:51]OFD Sender: No OFD packet to send [01:28:56]OFD Sender: No OFD packet to send [01:29:01]OFD Sender: No OFD packet to send [01:29:06]OFD Sender: No OFD packet to send [01:29:11]OFD Sender: No OFD packet to send [01:29:16]OFD Sender: No OFD packet to send [01:29:21]OFD Sender: No OFD packet to send [01:29:26]OFD Sender: No OFD packet to send [01:29:31]OFD Sender: No OFD packet to send [01:29:36]OFD Sender: No OFD packet to send [01:29:41]OFD Sender: No OFD packet to send [01:29:46]OFD Sender: No OFD packet to send [01:29:51]OFD Sender: No OFD packet to send [01:29:56]OFD Sender: No OFD packet to send [01:30:01]OFD Sender: No OFD packet to send [01:30:06]OFD Sender: No OFD packet to send [01:30:12]OFD Sender: No OFD packet to send [01:30:17]OFD Sender: No OFD packet to send [01:30:22]OFD Sender: No OFD packet to send [01:30:27]OFD Sender: No OFD packet to send [01:30:32]OFD Sender: No OFD packet to send [01:30:37]OFD Sender: No OFD packet to send [01:30:42]OFD Sender: No OFD packet to send [01:30:47]OFD Sender: No OFD packet to send [01:30:52]OFD Sender: No OFD packet to send [01:30:57]OFD Sender: No OFD packet to send [01:31:02]OFD Sender: No OFD packet to send [01:31:07]OFD Sender: No OFD packet to send [01:31:12]OFD Sender: No OFD packet to send [01:31:17]OFD Sender: No OFD packet to send [01:31:22]OFD Sender: No OFD packet to send [01:31:27]OFD Sender: No OFD packet to send [01:31:32]OFD Sender: No OFD packet to send [01:31:37]OFD Sender: No OFD packet to send [01:31:42]OFD Sender: No OFD packet to send [01:31:47]OFD Sender: No OFD packet to send [01:31:52]OFD Sender: No OFD packet to send [01:31:57]OFD Sender: No OFD packet to send [01:32:02]OFD Sender: No OFD packet to send [01:32:07]OFD Sender: No OFD packet to send [01:32:12]OFD Sender: No OFD packet to send [01:32:17]OFD Sender: No OFD packet to send [01:32:22]OFD Sender: No OFD packet to send [01:32:27]OFD Sender: No OFD packet to send [01:32:32]OFD Sender: No OFD packet to send [01:32:37]OFD Sender: No OFD packet to send [01:32:42]OFD Sender: No OFD packet to send [01:32:47]OFD Sender: No OFD packet to send [01:32:52]OFD Sender: No OFD packet to send [01:32:57]OFD Sender: No OFD packet to send [01:33:02]OFD Sender: No OFD packet to send [01:33:07]OFD Sender: No OFD packet to send [01:33:12]OFD Sender: No OFD packet to send [01:33:17]OFD Sender: No OFD packet to send [01:33:22]OFD Sender: No OFD packet to send [01:33:27]OFD Sender: No OFD packet to send [01:33:32]OFD Sender: No OFD packet to send [01:33:37]OFD Sender: No OFD packet to send [01:33:42]OFD Sender: No OFD packet to send [01:33:47]OFD Sender: No OFD packet to send [01:33:52]OFD Sender: No OFD packet to send [01:33:57]OFD Sender: No OFD packet to send [01:33:59]accept exits with 9 [01:33:59]New connection [01:33:59]New thread 3067120996 created [01:33:59]Thread 3067264356 joined [01:33:59]Waiting for new connection... [01:33:59] Sock 9.Parse request [01:33:59]Sock 9.Check first char [01:33:59]Sock 9.First char is OK [01:33:59]request: POST /json_proto HTTP/1.0 [01:33:59]Method: POST [01:33:59]URL: /json_proto [01:33:59]Method is POST - this is cgi request [01:33:59]url: /json_proto [01:33:59]query_string will be loaded in cgi processing [01:33:59]execute_cgi json_proto POST (null) [01:33:59]execute_cgi path=json_proto method=POST [01:33:59]POST find Content-Length [01:33:59]Host: 172.17.62.6:8080 [01:33:59]Content-Length: 215 [01:33:59]Content-Type: application/json [01:33:59] [01:33:59]POST finish read [01:33:59]Found Content-Length = 215 [01:33:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:33:59]execute_script... [01:33:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:33:59]POST & json_proto [01:33:59]process_json_proto [01:33:59]json parsed OK: [01:33:59]protocol is kg_v1.0 [01:33:59]action value=get_value [01:33:59]process_action get_value [01:33:59]cmd_get_value [01:33:59]process_action get_value done [01:33:59]requested_data is exist [01:33:59]produce_requested_data [01:33:59]requested_item kkm.sn is exist - process it [01:33:59]requested_item kkm.ver is exist - process it [01:33:59]requested_item fm.sn is exist - process it [01:33:59]wFMCommunicate request_size=4 [01:33:59]MH_SAM_APDU [01:33:59]CAPDU: 80 11 00 00 [01:33:59]Write to MH i2c: E2 08 00 B5 05 80 11 00 00 00 00 00 00 34 [01:33:59]Write i2c OK [01:33:59]MH_I2C_Read... [01:33:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:33:59]Read from MH i2c: E2 [01:33:59]MH_I2C_Read... [01:33:59]Read from MH i2c: E2 17 00 [01:33:59]MH_I2C_Read... [01:33:59]Read from MH i2c: E2 17 00 B5 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 8E [01:33:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [01:33:59]wFMCommunicate OK [01:33:59]requested_item fd.num is exist - process it [01:33:59]SAM_PROTO_GetFieldsCounters [01:33:59]wFMCommunicate request_size=4 [01:33:59]MH_SAM_APDU [01:33:59]CAPDU: 80 13 00 00 [01:33:59]Write to MH i2c: E2 08 00 B6 05 80 13 00 00 00 00 00 00 37 [01:33:59]Write i2c OK [01:33:59]MH_I2C_Read... [01:33:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:33:59]Read from MH i2c: E2 [01:33:59]MH_I2C_Read... [01:33:59]Read from MH i2c: E2 62 00 [01:33:59]MH_I2C_Read... [01:33:59]Read from MH i2c: E2 62 00 B6 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 01 31 00 00 0E 04 04 00 18 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 A5 [01:33:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 01 31 00 00 0E 04 04 00 18 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:33:59]wFMCommunicate OK [01:33:59]SAM_PROTO_GetFieldsCounters done [01:33:59]requested_item shift.num is exist - process it [01:33:59]requested_item shift.opened is exist - process it [01:33:59]req_shift_opened [01:33:59]FM_GetShiftState [01:33:59]SAM_PROTO_GetShiftState [01:33:59]wFMCommunicate request_size=4 [01:33:59]MH_SAM_APDU [01:33:59]CAPDU: 80 13 01 00 [01:33:59]Write to MH i2c: E2 08 00 B7 05 80 13 01 00 00 00 00 00 39 [01:33:59]Write i2c OK [01:33:59]MH_I2C_Read... [01:33:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:33:59]Read from MH i2c: E2 [01:33:59]MH_I2C_Read... [01:33:59]Read from MH i2c: E2 0E 00 [01:33:59]MH_I2C_Read... [01:33:59]Read from MH i2c: E2 0E 00 B7 05 00 09 00 01 64 09 23 66 00 00 00 00 90 00 3B [01:33:59]RAPDU: 09 00 01 64 09 23 66 00 00 00 00 90 00 [01:33:59]wFMCommunicate OK [01:33:59]SAM_PROTO_GetShiftState done [01:33:59]FM_GetShiftState done [01:33:59]req_shift_opened done [01:33:59]requested_item shift.open_date is exist - process it [01:33:59]req_shift_open_date [01:33:59]req_shift_open_date done [01:33:59]produce_requested_data done [01:33:59]produce_requested_data return {"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12545,"shift.num":280,"shift.opened":1,"shift.open_date":1713572196} [01:33:59]process_action_free get_value [01:33:59]json_value_free [01:33:59]json_value_free done [01:33:59]process_json_proto returns [01:33:59]Send response to host [01:33:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000004","kkm.ver":"001","fm.sn":"0000000000965685","fd.num":12545,"shift.num":280,"shift.opened":1,"shift.open_date":1713572196}}} [01:33:59]free response buf [01:33:59]execute_script done [01:33:59]execute_script returns [01:33:59]free content buf [01:33:59]Sock 9.Close socket [01:33:59]Sock 9.Thread stoped [01:33:59]accept exits with 10 [01:33:59]New connection [01:33:59]New thread 3067264356 created [01:33:59]Thread 3067120996 joined [01:33:59]Waiting for new connection... [01:33:59] Sock 10.Parse request [01:33:59]Sock 10.Check first char [01:33:59]Sock 10.First char is OK [01:33:59]request: POST /json_proto HTTP/1.0 [01:33:59]Method: POST [01:33:59]URL: /json_proto [01:33:59]Method is POST - this is cgi request [01:33:59]url: /json_proto [01:33:59]query_string will be loaded in cgi processing [01:33:59]execute_cgi json_proto POST (null) [01:33:59]execute_cgi path=json_proto method=POST [01:33:59]POST find Content-Length [01:33:59]Host: 172.17.62.6:8080 [01:33:59]Content-Length: 331 [01:33:59]Content-Type: application/json [01:33:59] [01:33:59]POST finish read [01:33:59]Found Content-Length = 331 [01:33: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" ] } } [01:33:59]execute_script... [01:34:00]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" ] } } [01:34:00]POST & json_proto [01:34:00]process_json_proto [01:34:00]json parsed OK: [01:34:00]protocol is kg_v1.0 [01:34:00]action value=get_value [01:34:00]process_action get_value [01:34:00]cmd_get_value [01:34:00]process_action get_value done [01:34:00]requested_data is exist [01:34:00]produce_requested_data [01:34:00]requested_item fm.sale.total is exist - process it [01:34:00]SAM_PROTO_GetFMData [01:34:00]wFMCommunicate request_size=4 [01:34:00]MH_SAM_APDU [01:34:00]CAPDU: 80 13 03 00 [01:34:00]Write to MH i2c: E2 08 00 B8 05 80 13 03 00 00 00 00 00 3C [01:34:00]Write i2c OK [01:34:00]MH_I2C_Read... [01:34:00]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [01:34:00]Read from MH i2c: E2 [01:34:00]MH_I2C_Read... [01:34:00]Read from MH i2c: E2 FD 00 [01:34:00]MH_I2C_Read... [01:34:00]Read from MH i2c: E2 FD 00 B8 05 00 C1 04 85 04 BD 04 6E 04 04 00 D1 2E 00 00 69 04 A0 00 6F 04 04 00 85 2E 00 00 B1 04 04 00 D3 CC B3 0E 70 04 04 00 82 9A AE 0C 72 04 04 00 51 32 05 02 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 01 B1 8F 01 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 AB 4A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 3A [01:34:00]RAPDU: C1 04 85 04 BD 04 6E 04 04 00 D1 2E 00 00 69 04 A0 00 6F 04 04 00 85 2E 00 00 B1 04 04 00 D3 CC B3 0E 70 04 04 00 82 9A AE 0C 72 04 04 00 51 32 05 02 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 01 B1 8F 01 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 AB 4A 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 62 6F 6F 70 04 03 00 9E 58 6D 72 04 03 00 C4 16 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 80 D5 0B EF 03 09 00 F6 03 90 00 [01:34:00]wFMCommunicate OK [01:34:00]wFMCommunicate request_size=4 [01:34:00]MH_SAM_APDU [01:34:00]CAPDU: 80 17 00 00 [01:34:00]Write to MH i2c: E2 08 00 B9 05 80 17 00 00 00 00 00 00 3E [01:34:00]Write i2c OK [01:34:00]MH_I2C_Read... [01:34:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:34:00]Read from MH i2c: E2 [01:34:00]MH_I2C_Read... [01:34:00]Read from MH i2c: E2 FD 00 [01:34:00]MH_I2C_Read... [01:34:00]Read from MH i2c: E2 FD 00 B9 05 00 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 DC [01:34:00]RAPDU: 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 73 FC EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:34:00]wFMCommunicate OK [01:34:00]wFMCommunicate request_size=4 [01:34:00]MH_SAM_APDU [01:34:00]CAPDU: 80 17 00 00 [01:34:00]Write to MH i2c: E2 08 00 BA 05 80 17 00 00 00 00 00 00 3F [01:34:00]Write i2c OK [01:34:00]MH_I2C_Read... [01:34:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:34:01]Read from MH i2c: E2 [01:34:01]MH_I2C_Read... [01:34:01]Read from MH i2c: E2 FD 00 [01:34:01]MH_I2C_Read... [01:34:01]Read from MH i2c: E2 FD 00 BA 05 00 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 DF [01:34:01]RAPDU: 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:34:01]wFMCommunicate OK [01:34:01]wFMCommunicate request_size=4 [01:34:01]MH_SAM_APDU [01:34:01]CAPDU: 80 17 00 00 [01:34:01]Write to MH i2c: E2 08 00 BB 05 80 17 00 00 00 00 00 00 40 [01:34:01]Write i2c OK [01:34:01]MH_I2C_Read... [01:34:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:34:01]Read from MH i2c: E2 [01:34:01]MH_I2C_Read... [01:34:01]Read from MH i2c: E2 FD 00 [01:34:01]MH_I2C_Read... [01:34:01]Read from MH i2c: E2 FD 00 BB 05 00 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C5 [01:34:01]RAPDU: 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:34:01]wFMCommunicate OK [01:34:01]wFMCommunicate request_size=4 [01:34:01]MH_SAM_APDU [01:34:01]CAPDU: 80 17 00 00 [01:34:01]Write to MH i2c: E2 08 00 BC 05 80 17 00 00 00 00 00 00 41 [01:34:01]Write i2c OK [01:34:01]MH_I2C_Read... [01:34:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 219! [01:34:01]Read from MH i2c: E2 [01:34:01]MH_I2C_Read... [01:34:01]Read from MH i2c: E2 DE 00 [01:34:01]MH_I2C_Read... [01:34:01]Read from MH i2c: E2 DE 00 BC 05 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 20 [01:34:01]RAPDU: F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [01:34:01]wFMCommunicate OK [01:34:01]SAM_PROTO_GetFMData done [01:34:01]requested_item fm.sale_refund.total is exist - process it [01:34:01]requested_item fm.buy.total is exist - process it [01:34:01]requested_item shift.sale.total is exist - process it [01:34:01]SAM_PROTO_GetShiftData [01:34:01]wFMCommunicate request_size=4 [01:34:01]MH_SAM_APDU [01:34:01]CAPDU: 80 13 02 00 [01:34:01]Write to MH i2c: E2 08 00 BD 05 80 13 02 00 00 00 00 00 40 [01:34:01]Write i2c OK [01:34:01]MH_I2C_Read... [01:34:02]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:34:02]Read from MH i2c: E2 [01:34:02]MH_I2C_Read... [01:34:02]Read from MH i2c: E2 FD 00 [01:34:02]MH_I2C_Read... [01:34:02]Read from MH i2c: E2 FD 00 BD 05 00 A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 B3 [01:34:02]RAPDU: A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [01:34:02]wFMCommunicate OK [01:34:02]wFMCommunicate request_size=4 [01:34:02]MH_SAM_APDU [01:34:02]CAPDU: 80 17 00 00 [01:34:02]Write to MH i2c: E2 08 00 BE 05 80 17 00 00 00 00 00 00 43 [01:34:02]Write i2c OK [01:34:02]MH_I2C_Read... [01:34:02]OFD Sender: No OFD packet to send [01:34:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:34:02]Read from MH i2c: E2 [01:34:02]MH_I2C_Read... [01:34:02]Read from MH i2c: E2 FD 00 [01:34:02]MH_I2C_Read... [01:34:02]Read from MH i2c: E2 FD 00 BE 05 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 4B [01:34:02]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 [01:34:02]wFMCommunicate OK [01:34:02]wFMCommunicate request_size=4 [01:34:02]MH_SAM_APDU [01:34:02]CAPDU: 80 17 00 00 [01:34:02]Write to MH i2c: E2 08 00 BF 05 80 17 00 00 00 00 00 00 44 [01:34:02]Write i2c OK [01:34:02]MH_I2C_Read... [01:34:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:34:02]Read from MH i2c: E2 [01:34:02]MH_I2C_Read... [01:34:02]Read from MH i2c: E2 FD 00 [01:34:02]MH_I2C_Read... [01:34:02]Read from MH i2c: E2 FD 00 BF 05 00 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 16 [01:34:02]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 [01:34:02]wFMCommunicate OK [01:34:02]wFMCommunicate request_size=4 [01:34:02]MH_SAM_APDU [01:34:02]CAPDU: 80 17 00 00 [01:34:02]Write to MH i2c: E2 08 00 C0 05 80 17 00 00 00 00 00 00 45 [01:34:02]Write i2c OK [01:34:02]MH_I2C_Read... [01:34:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:34:02]Read from MH i2c: E2 [01:34:02]MH_I2C_Read... [01:34:02]Read from MH i2c: E2 FD 00 [01:34:02]MH_I2C_Read... [01:34:02]Read from MH i2c: E2 FD 00 C0 05 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 B7 [01:34:02]RAPDU: 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 [01:34:02]wFMCommunicate OK [01:34:02]wFMCommunicate request_size=4 [01:34:02]MH_SAM_APDU [01:34:02]CAPDU: 80 17 00 00 [01:34:02]Write to MH i2c: E2 08 00 C1 05 80 17 00 00 00 00 00 00 46 [01:34:02]Write i2c OK [01:34:02]MH_I2C_Read... [01:34:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [01:34:03]Read from MH i2c: E2 [01:34:03]MH_I2C_Read... [01:34:03]Read from MH i2c: E2 BD 00 [01:34:03]MH_I2C_Read... [01:34:03]Read from MH i2c: E2 BD 00 C1 05 00 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 2C [01:34:03]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [01:34:03]wFMCommunicate OK [01:34:03]SAM_PROTO_GetShiftData done [01:34:03]requested_item shift.sale.total_cash is exist - process it [01:34:03]requested_item shift.sale_refund.total is exist - process it [01:34:03]requested_item shift.sale_refund.total_cash is exist - process it [01:34:03]requested_item shift.buy.total is exist - process it [01:34:03]requested_item shift.buy.total_cash is exist - process it [01:34:03]produce_requested_data done [01:34:03]produce_requested_data return {"fm.sale.total":2466644.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [01:34:03]process_action_free get_value [01:34:03]json_value_free [01:34:03]json_value_free done [01:34:03]process_json_proto returns [01:34:03]Send response to host [01:34:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":2466644.03,"fm.sale_refund.total":73030.10,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [01:34:03]free response buf [01:34:03]execute_script done [01:34:03]execute_script returns [01:34:03]free content buf [01:34:03]Sock 10.Close socket [01:34:03]Sock 10.Thread stoped [01:34:07]OFD Sender: No OFD packet to send [01:34:12]OFD Sender: No OFD packet to send [01:34:17]OFD Sender: No OFD packet to send [01:34:22]OFD Sender: No OFD packet to send [01:34:27]OFD Sender: No OFD packet to send [01:34:32]OFD Sender: No OFD packet to send [01:34:37]OFD Sender: No OFD packet to send [01:34:42]OFD Sender: No OFD packet to send [01:34:47]OFD Sender: No OFD packet to send [01:34:52]OFD Sender: No OFD packet to send [01:34:57]OFD Sender: No OFD packet to send [01:35:02]OFD Sender: No OFD packet to send [01:35:02]int [01:35:02]Write to MH i2c: 01 00 00 C2 05 C7 [01:35:02]*** FLAG_PRN_PAP1 set [01:35:02]Write i2c OK [01:35:02]MH_I2C_Read... [01:35:02]Read from MH i2c: 01 [01:35:02]MH_I2C_Read... [01:35:02]Read from MH i2c: 01 07 00 [01:35:02]MH_I2C_Read... [01:35:02]Read from MH i2c: 01 07 00 C2 05 00 01 00 00 00 FF 0F DD [01:35:02]state=0 [01:35:02]No paper [01:35:02]int [01:35:02]Write to MH i2c: 01 00 00 C3 05 C8 [01:35:02]*** FLAG_PRN_PAP2 set [01:35:02]Write i2c OK [01:35:02]MH_I2C_Read... [01:35:02]Read from MH i2c: 01 [01:35:02]MH_I2C_Read... [01:35:02]Read from MH i2c: 01 07 00 [01:35:02]MH_I2C_Read... [01:35:02]Read from MH i2c: 01 07 00 C3 05 00 03 00 00 00 FF 0F E0 [01:35:02]state=0 [01:35:02]No paper [01:35:02]Cover opened [01:35:07]OFD Sender: No OFD packet to send [01:35:07]Write to MH i2c: 01 00 00 C4 05 C9 [01:35:07]Write i2c OK [01:35:07]MH_I2C_Read... [01:35:07]Read from MH i2c: 01 [01:35:07]MH_I2C_Read... [01:35:07]Read from MH i2c: 01 07 00 [01:35:07]MH_I2C_Read... [01:35:07]Read from MH i2c: 01 07 00 C4 05 00 03 00 00 00 FF 0F E1 [01:35:07]state=3 [01:35:07]No paper [01:35:07]Cover opened [01:35:11]int [01:35:11]Write to MH i2c: 01 00 00 C5 05 CA [01:35:11]*** FLAG_PRN_PAP1 reset [01:35:11]*** FLAG_PRN_PAP2 reset [01:35:11]Write i2c OK [01:35:11]MH_I2C_Read... [01:35:11]Read from MH i2c: 01 [01:35:11]MH_I2C_Read... [01:35:11]Read from MH i2c: 01 07 00 [01:35:11]MH_I2C_Read... [01:35:11]Read from MH i2c: 01 07 00 C5 05 00 00 00 00 00 FF 0F DF [01:35:11]state=3 [01:35:11]Cover closed [01:35:12]OFD Sender: No OFD packet to send [01:35:13]int [01:35:13]Write to MH i2c: 01 00 00 C6 05 CB [01:35:13]*** FLAG_PRN_KEY set [01:35:13]Write i2c OK [01:35:13]MH_I2C_Read... [01:35:13]Read from MH i2c: 01 [01:35:13]MH_I2C_Read... [01:35:13]Read from MH i2c: 01 07 00 [01:35:13]MH_I2C_Read... [01:35:13]Read from MH i2c: 01 07 00 C6 05 00 08 00 00 00 FF 0F E8 [01:35:13]state=0 [01:35:13]Key pressed [01:35:13]Feed [01:35:13]Write to MH i2c: D8 00 00 C7 05 A3 [01:35:13]Write i2c OK [01:35:13]MH_I2C_Read... [01:35:13]Read from MH i2c: D8 [01:35:13]MH_I2C_Read... [01:35:13]Read from MH i2c: D8 01 00 [01:35:13]MH_I2C_Read... [01:35:13]Read from MH i2c: D8 01 00 C7 05 00 A4 [01:35:13]int [01:35:13]Write to MH i2c: 01 00 00 C8 05 CD [01:35:13]Write i2c OK [01:35:13]MH_I2C_Read... [01:35:13]Read from MH i2c: 01 [01:35:13]MH_I2C_Read... [01:35:13]Read from MH i2c: 01 07 00 [01:35:13]MH_I2C_Read... [01:35:13]Read from MH i2c: 01 07 00 C8 05 00 48 00 00 00 3C 00 58 [01:35:13]state=2 [01:35:13]Key pressed [01:35:14]int [01:35:14]Write to MH i2c: 01 00 00 C9 05 CE [01:35:14]*** FLAG_PRN_KEY reset [01:35:14]Write i2c OK [01:35:14]MH_I2C_Read... [01:35:14]Read from MH i2c: 01 [01:35:14]MH_I2C_Read... [01:35:14]Read from MH i2c: 01 07 00 [01:35:14]MH_I2C_Read... [01:35:14]Read from MH i2c: 01 07 00 C9 05 00 00 00 00 00 FF 0F E3 [01:35:14]state=2 [01:35:14]Stop feed [01:35:17]OFD Sender: No OFD packet to send [01:35:22]OFD Sender: No OFD packet to send [01:35:27]OFD Sender: No OFD packet to send [01:35:32]OFD Sender: No OFD packet to send [01:35:37]OFD Sender: No OFD packet to send [01:35:42]OFD Sender: No OFD packet to send [01:35:47]OFD Sender: No OFD packet to send [01:35:52]OFD Sender: No OFD packet to send [01:35:57]OFD Sender: No OFD packet to send [01:36:02]OFD Sender: No OFD packet to send [01:36:07]OFD Sender: No OFD packet to send [01:36:12]OFD Sender: No OFD packet to send [01:36:17]OFD Sender: No OFD packet to send [01:36:22]OFD Sender: No OFD packet to send [01:36:27]OFD Sender: No OFD packet to send [01:36:32]OFD Sender: No OFD packet to send [01:36:37]OFD Sender: No OFD packet to send [01:36:42]OFD Sender: No OFD packet to send [01:36:47]OFD Sender: No OFD packet to send [01:36:52]OFD Sender: No OFD packet to send [01:36:57]OFD Sender: No OFD packet to send [01:37:02]OFD Sender: No OFD packet to send [01:37:07]OFD Sender: No OFD packet to send [01:37:12]OFD Sender: No OFD packet to send [01:37:17]OFD Sender: No OFD packet to send [01:37:22]OFD Sender: No OFD packet to send [01:37:27]OFD Sender: No OFD packet to send [01:37:32]OFD Sender: No OFD packet to send [01:37:37]OFD Sender: No OFD packet to send [01:37:42]OFD Sender: No OFD packet to send [01:37:47]OFD Sender: No OFD packet to send [01:37:52]OFD Sender: No OFD packet to send [01:37:57]OFD Sender: No OFD packet to send [01:38:02]OFD Sender: No OFD packet to send [01:38:07]OFD Sender: No OFD packet to send [01:38:12]OFD Sender: No OFD packet to send [01:38:17]OFD Sender: No OFD packet to send [01:38:22]OFD Sender: No OFD packet to send [01:38:27]OFD Sender: No OFD packet to send [01:38:32]OFD Sender: No OFD packet to send [01:38:37]OFD Sender: No OFD packet to send [01:38:42]OFD Sender: No OFD packet to send [01:38:47]OFD Sender: No OFD packet to send [01:38:52]OFD Sender: No OFD packet to send [01:38:57]OFD Sender: No OFD packet to send [01:39:02]OFD Sender: No OFD packet to send [01:39:07]OFD Sender: No OFD packet to send [01:39:12]OFD Sender: No OFD packet to send [01:39:17]OFD Sender: No OFD packet to send [01:39:22]OFD Sender: No OFD packet to send [01:39:27]OFD Sender: No OFD packet to send [01:39:32]OFD Sender: No OFD packet to send [01:39:37]OFD Sender: No OFD packet to send [01:39:42]OFD Sender: No OFD packet to send [01:39:47]OFD Sender: No OFD packet to send [01:39:52]OFD Sender: No OFD packet to send [01:39:57]OFD Sender: No OFD packet to send [01:40:02]OFD Sender: No OFD packet to send [01:40:07]OFD Sender: No OFD packet to send [01:40:12]OFD Sender: No OFD packet to send [01:40:17]OFD Sender: No OFD packet to send [01:40:22]OFD Sender: No OFD packet to send [01:40:27]OFD Sender: No OFD packet to send [01:40:32]OFD Sender: No OFD packet to send [01:40:37]OFD Sender: No OFD packet to send [01:40:42]OFD Sender: No OFD packet to send [01:40:47]OFD Sender: No OFD packet to send [01:40:52]OFD Sender: No OFD packet to send [01:40:57]OFD Sender: No OFD packet to send [01:41:02]OFD Sender: No OFD packet to send [01:41:07]OFD Sender: No OFD packet to send [01:41:12]OFD Sender: No OFD packet to send [01:41:17]OFD Sender: No OFD packet to send [01:41:22]OFD Sender: No OFD packet to send [01:41:27]OFD Sender: No OFD packet to send [01:41:32]OFD Sender: No OFD packet to send [01:41:37]OFD Sender: No OFD packet to send [01:41:42]OFD Sender: No OFD packet to send [01:41:47]OFD Sender: No OFD packet to send [01:41:52]OFD Sender: No OFD packet to send [01:41:57]OFD Sender: No OFD packet to send [01:42:02]OFD Sender: No OFD packet to send [01:42:07]OFD Sender: No OFD packet to send [01:42:12]OFD Sender: No OFD packet to send [01:42:17]OFD Sender: No OFD packet to send [01:42:22]OFD Sender: No OFD packet to send [01:42:27]OFD Sender: No OFD packet to send [01:42:32]OFD Sender: No OFD packet to send [01:42:37]OFD Sender: No OFD packet to send [01:42:42]OFD Sender: No OFD packet to send [01:42:47]OFD Sender: No OFD packet to send [01:42:52]OFD Sender: No OFD packet to send [01:42:57]OFD Sender: No OFD packet to send [01:43:02]OFD Sender: No OFD packet to send [01:43:07]OFD Sender: No OFD packet to send [01:43:12]OFD Sender: No OFD packet to send [01:43:17]OFD Sender: No OFD packet to send [01:43:22]OFD Sender: No OFD packet to send [01:43:27]OFD Sender: No OFD packet to send [01:43:32]OFD Sender: No OFD packet to send [01:43:37]OFD Sender: No OFD packet to send [01:43:42]OFD Sender: No OFD packet to send [01:43:47]OFD Sender: No OFD packet to send [01:43:52]OFD Sender: No OFD packet to send [01:43:57]OFD Sender: No OFD packet to send [01:44:02]OFD Sender: No OFD packet to send [01:44:07]OFD Sender: No OFD packet to send [01:44:12]OFD Sender: No OFD packet to send [01:44:17]OFD Sender: No OFD packet to send [01:44:22]OFD Sender: No OFD packet to send [01:44:27]OFD Sender: No OFD packet to send [01:44:32]OFD Sender: No OFD packet to send [01:44:37]OFD Sender: No OFD packet to send [01:44:42]OFD Sender: No OFD packet to send [01:44:47]OFD Sender: No OFD packet to send [01:44:52]OFD Sender: No OFD packet to send [01:44:57]OFD Sender: No OFD packet to send [01:45:02]OFD Sender: No OFD packet to send [01:45:07]OFD Sender: No OFD packet to send [01:45:12]OFD Sender: No OFD packet to send [01:45:17]OFD Sender: No OFD packet to send [01:45:22]OFD Sender: No OFD packet to send [01:45:27]OFD Sender: No OFD packet to send [01:45:32]OFD Sender: No OFD packet to send [01:45:37]OFD Sender: No OFD packet to send [01:45:42]OFD Sender: No OFD packet to send [01:45:47]OFD Sender: No OFD packet to send [01:45:52]OFD Sender: No OFD packet to send [01:45:57]OFD Sender: No OFD packet to send [01:46:02]OFD Sender: No OFD packet to send [01:46:07]OFD Sender: No OFD packet to send [01:46:12]OFD Sender: No OFD packet to send [01:46:17]OFD Sender: No OFD packet to send [01:46:22]OFD Sender: No OFD packet to send [01:46:27]OFD Sender: No OFD packet to send [01:46:32]OFD Sender: No OFD packet to send [01:46:37]OFD Sender: No OFD packet to send [01:46:42]OFD Sender: No OFD packet to send [01:46:47]OFD Sender: No OFD packet to send [01:46:52]OFD Sender: No OFD packet to send [01:46:57]OFD Sender: No OFD packet to send [01:47:02]OFD Sender: No OFD packet to send [01:47:07]OFD Sender: No OFD packet to send [01:47:12]OFD Sender: No OFD packet to send [01:47:17]OFD Sender: No OFD packet to send [01:47:22]OFD Sender: No OFD packet to send [01:47:27]OFD Sender: No OFD packet to send [01:47:32]OFD Sender: No OFD packet to send [01:47:37]OFD Sender: No OFD packet to send [01:47:42]OFD Sender: No OFD packet to send [01:47:47]OFD Sender: No OFD packet to send [01:47:52]OFD Sender: No OFD packet to send [01:47:57]OFD Sender: No OFD packet to send [01:48:02]OFD Sender: No OFD packet to send [01:48:07]OFD Sender: No OFD packet to send [01:48:12]OFD Sender: No OFD packet to send [01:48:17]OFD Sender: No OFD packet to send [01:48:22]OFD Sender: No OFD packet to send [01:48:27]OFD Sender: No OFD packet to send [01:48:32]OFD Sender: No OFD packet to send [01:48:37]OFD Sender: No OFD packet to send [01:48:42]OFD Sender: No OFD packet to send [01:48:47]OFD Sender: No OFD packet to send [01:48:52]OFD Sender: No OFD packet to send [01:48:57]OFD Sender: No OFD packet to send [01:49:02]OFD Sender: No OFD packet to send [01:49:07]OFD Sender: No OFD packet to send [01:49:12]OFD Sender: No OFD packet to send [01:49:17]OFD Sender: No OFD packet to send [01:49:22]OFD Sender: No OFD packet to send [01:49:27]OFD Sender: No OFD packet to send [01:49:32]OFD Sender: No OFD packet to send [01:49:37]OFD Sender: No OFD packet to send [01:49:42]OFD Sender: No OFD packet to send [01:49:47]OFD Sender: No OFD packet to send [01:49:52]OFD Sender: No OFD packet to send [01:49:57]OFD Sender: No OFD packet to send [01:50:03]OFD Sender: No OFD packet to send [01:50:08]OFD Sender: No OFD packet to send [01:50:13]OFD Sender: No OFD packet to send [01:50:18]OFD Sender: No OFD packet to send [01:50:23]OFD Sender: No OFD packet to send [01:50:28]OFD Sender: No OFD packet to send [01:50:33]OFD Sender: No OFD packet to send [01:50:38]OFD Sender: No OFD packet to send [01:50:43]OFD Sender: No OFD packet to send [01:50:48]OFD Sender: No OFD packet to send [01:50:53]OFD Sender: No OFD packet to send [01:50:58]OFD Sender: No OFD packet to send [01:51:03]OFD Sender: No OFD packet to send [01:51:08]OFD Sender: No OFD packet to send [01:51:13]OFD Sender: No OFD packet to send [01:51:18]OFD Sender: No OFD packet to send [01:51:23]OFD Sender: No OFD packet to send [01:51:28]OFD Sender: No OFD packet to send [01:51:33]OFD Sender: No OFD packet to send [01:51:38]OFD Sender: No OFD packet to send [01:51:43]OFD Sender: No OFD packet to send [01:51:48]OFD Sender: No OFD packet to send [01:51:53]OFD Sender: No OFD packet to send [01:51:58]OFD Sender: No OFD packet to send [01:52:03]OFD Sender: No OFD packet to send [01:52:08]OFD Sender: No OFD packet to send [01:52:13]OFD Sender: No OFD packet to send [01:52:18]OFD Sender: No OFD packet to send [01:52:23]OFD Sender: No OFD packet to send [01:52:28]OFD Sender: No OFD packet to send [01:52:33]OFD Sender: No OFD packet to send [01:52:38]OFD Sender: No OFD packet to send [01:52:43]OFD Sender: No OFD packet to send [01:52:48]OFD Sender: No OFD packet to send [01:52:53]OFD Sender: No OFD packet to send [01:52:58]OFD Sender: No OFD packet to send [01:53:03]OFD Sender: No OFD packet to send [01:53:08]OFD Sender: No OFD packet to send [01:53:13]OFD Sender: No OFD packet to send [01:53:18]OFD Sender: No OFD packet to send [01:53:23]OFD Sender: No OFD packet to send [01:53:28]OFD Sender: No OFD packet to send [01:53:33]OFD Sender: No OFD packet to send [01:53:38]OFD Sender: No OFD packet to send [01:53:43]OFD Sender: No OFD packet to send [01:53:48]OFD Sender: No OFD packet to send [01:53:53]OFD Sender: No OFD packet to send [01:53:58]OFD Sender: No OFD packet to send [01:54:03]OFD Sender: No OFD packet to send [01:54:08]OFD Sender: No OFD packet to send [01:54:13]OFD Sender: No OFD packet to send [01:54:18]OFD Sender: No OFD packet to send [01:54:23]OFD Sender: No OFD packet to send [01:54:28]OFD Sender: No OFD packet to send [01:54:33]OFD Sender: No OFD packet to send [01:54:38]OFD Sender: No OFD packet to send [01:54:43]OFD Sender: No OFD packet to send [01:54:48]OFD Sender: No OFD packet to send [01:54:53]OFD Sender: No OFD packet to send [01:54:58]OFD Sender: No OFD packet to send [01:55:03]OFD Sender: No OFD packet to send [01:55:08]OFD Sender: No OFD packet to send [01:55:13]OFD Sender: No OFD packet to send [01:55:18]OFD Sender: No OFD packet to send [01:55:23]OFD Sender: No OFD packet to send [01:55:28]OFD Sender: No OFD packet to send [01:55:33]OFD Sender: No OFD packet to send [01:55:38]OFD Sender: No OFD packet to send [01:55:43]OFD Sender: No OFD packet to send [01:55:48]OFD Sender: No OFD packet to send [01:55:53]OFD Sender: No OFD packet to send [01:55:58]OFD Sender: No OFD packet to send [01:56:03]OFD Sender: No OFD packet to send [01:56:08]OFD Sender: No OFD packet to send [01:56:13]OFD Sender: No OFD packet to send [01:56:18]OFD Sender: No OFD packet to send [01:56:23]OFD Sender: No OFD packet to send [01:56:28]OFD Sender: No OFD packet to send [01:56:33]OFD Sender: No OFD packet to send [01:56:38]OFD Sender: No OFD packet to send [01:56:43]OFD Sender: No OFD packet to send [01:56:48]OFD Sender: No OFD packet to send [01:56:53]OFD Sender: No OFD packet to send [01:56:58]OFD Sender: No OFD packet to send [01:57:03]OFD Sender: No OFD packet to send [01:57:08]OFD Sender: No OFD packet to send [01:57:13]OFD Sender: No OFD packet to send [01:57:18]OFD Sender: No OFD packet to send [01:57:23]OFD Sender: No OFD packet to send [01:57:28]OFD Sender: No OFD packet to send [01:57:33]OFD Sender: No OFD packet to send [01:57:38]OFD Sender: No OFD packet to send [01:57:43]OFD Sender: No OFD packet to send [01:57:48]OFD Sender: No OFD packet to send [01:57:53]OFD Sender: No OFD packet to send [01:57:58]OFD Sender: No OFD packet to send [01:58:03]OFD Sender: No OFD packet to send [01:58:08]OFD Sender: No OFD packet to send [01:58:13]OFD Sender: No OFD packet to send [01:58:18]OFD Sender: No OFD packet to send [01:58:23]OFD Sender: No OFD packet to send [01:58:28]OFD Sender: No OFD packet to send [01:58:33]OFD Sender: No OFD packet to send [01:58:38]OFD Sender: No OFD packet to send [01:58:43]OFD Sender: No OFD packet to send [01:58:48]OFD Sender: No OFD packet to send [01:58:53]OFD Sender: No OFD packet to send [01:58:58]OFD Sender: No OFD packet to send [01:59:03]OFD Sender: No OFD packet to send [01:59:08]OFD Sender: No OFD packet to send [01:59:13]OFD Sender: No OFD packet to send [01:59:18]OFD Sender: No OFD packet to send [01:59:23]OFD Sender: No OFD packet to send [01:59:28]OFD Sender: No OFD packet to send [01:59:33]OFD Sender: No OFD packet to send [01:59:38]OFD Sender: No OFD packet to send [01:59:43]OFD Sender: No OFD packet to send [01:59:48]OFD Sender: No OFD packet to send [01:59:53]OFD Sender: No OFD packet to send [01:59:58]OFD Sender: No OFD packet to send [02:00:03]OFD Sender: No OFD packet to send [02:00:08]OFD Sender: No OFD packet to send [02:00:13]OFD Sender: No OFD packet to send [02:00:18]OFD Sender: No OFD packet to send [02:00:23]OFD Sender: No OFD packet to send [02:00:28]OFD Sender: No OFD packet to send [02:00:33]OFD Sender: No OFD packet to send [02:00:38]OFD Sender: No OFD packet to send [02:00:43]OFD Sender: No OFD packet to send [02:00:48]OFD Sender: No OFD packet to send [02:00:53]OFD Sender: No OFD packet to send [02:00:58]OFD Sender: No OFD packet to send [02:01:03]OFD Sender: No OFD packet to send [02:01:08]OFD Sender: No OFD packet to send [02:01:13]OFD Sender: No OFD packet to send [02:01:18]OFD Sender: No OFD packet to send [02:01:23]OFD Sender: No OFD packet to send [02:01:28]OFD Sender: No OFD packet to send [02:01:30]accept exits with 9 [02:01:30]New connection [02:01:30]New thread 3067120996 created [02:01:30]Thread 3067264356 joined [02:01:30]Waiting for new connection... [02:01:30] Sock 9.Parse request [02:01:30]Sock 9.Check first char [02:01:30]Sock 9.First char is OK [02:01:30]request: POST /json_proto HTTP/1.0 [02:01:30]Method: POST [02:01:30]URL: /json_proto [02:01:30]Method is POST - this is cgi request [02:01:30]url: /json_proto [02:01:30]query_string will be loaded in cgi processing [02:01:30]execute_cgi json_proto POST (null) [02:01:30]execute_cgi path=json_proto method=POST [02:01:30]POST find Content-Length [02:01:30]Host: 172.17.62.6:8080 [02:01:30]Content-Length: 621 [02:01:30]Content-Type: application/json [02:01:30] [02:01:30]POST finish read [02:01:30]Found Content-Length = 621 [02:01:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32819", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:01:30]execute_script... [02:01:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32819", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:01:30]POST & json_proto [02:01:30]process_json_proto [02:01:30]json parsed OK: [02:01:30]protocol is kg_v1.0 [02:01:30]action value=close_receipt [02:01:30]process_action close_receipt [02:01:30]cmd_close_receipt [02:01:30]MH_GetDate [02:01:30]Write to MH i2c: F0 00 00 CA 05 BE [02:01:30]Write i2c OK [02:01:30]MH_I2C_Read... [02:01:30]Read from MH i2c: F0 [02:01:30]MH_I2C_Read... [02:01:30]Read from MH i2c: F0 09 00 [02:01:30]MH_I2C_Read... [02:01:30]Read from MH i2c: F0 09 00 CA 05 00 FC 21 23 66 61 69 D2 64 6D [02:01:30]GetLastDocTimeStamp 1713572196 [02:01:30]current date 1713578492 [02:01:30]FM_GetShiftState [02:01:30]SAM_PROTO_GetShiftState [02:01:30]wFMCommunicate request_size=4 [02:01:30]MH_SAM_APDU [02:01:30]CAPDU: 80 13 01 00 [02:01:30]Write to MH i2c: E2 08 00 CB 05 80 13 01 00 00 00 00 00 4D [02:01:30]Write i2c OK [02:01:30]MH_I2C_Read... [02:01:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:01:31]Read from MH i2c: E2 [02:01:31]MH_I2C_Read... [02:01:31]Read from MH i2c: E2 0E 00 [02:01:31]MH_I2C_Read... [02:01:31]Read from MH i2c: E2 0E 00 CB 05 00 09 00 01 64 09 23 66 00 00 00 00 90 00 4F [02:01:31]RAPDU: 09 00 01 64 09 23 66 00 00 00 00 90 00 [02:01:31]wFMCommunicate OK [02:01:31]SAM_PROTO_GetShiftState done [02:01:31]FM_GetShiftState done [02:01:31]opened in 1713572196 [02:01:31]opened+sec_in_day 1713658596 [02:01:31]quantity*price = 13800 [02:01:31]sum+1 = 13801 [02:01:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 1 20.04.2024 02:01 Смена: 280 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12546 ФПД: 229081975503465 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240420T020132&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12546&fm=229081975503465&tin=02508201610067®Number=0000000000100748&sum=13800 0 [02:01:32]StoreToDocumentArchive [02:01:32]shift 280 fd 12546 [02:01:32]save to /storage/0280/doc_00012546 [02:01:32]save last doc name /storage/0280/doc_00012546 to /storage/kkm_last_doc_name [02:01:32]save OK [02:01:32]Clear old archive folders... [02:01:32]ProcessDocumentItem done err = 0, tmpTLVsize=274 [02:01:32]tlvbuf is 01FF4FC0 [02:01:32]SAM_PROTO_ClearQueue [02:01:32]wFMCommunicate request_size=4 [02:01:32]MH_SAM_APDU [02:01:32]CAPDU: 80 09 00 00 [02:01:32]Write to MH i2c: E2 08 00 D8 05 80 09 00 00 00 00 00 00 4F [02:01:32]Write i2c OK [02:01:32]MH_I2C_Read... [02:01:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:01:32]Read from MH i2c: E2 [02:01:32]MH_I2C_Read... [02:01:32]Read from MH i2c: E2 03 00 [02:01:32]MH_I2C_Read... [02:01:32]Read from MH i2c: E2 03 00 D8 05 00 90 00 51 [02:01:32]RAPDU: 90 00 [02:01:32]wFMCommunicate OK [02:01:32]SAM_PROTO_ClearQueue done [02:01:32]KKMCreateOFDPacket [02:01:32]OFDProtocolAddRootSTLVToBuf [02:01:32]FM_MakeSignedData [02:01:32]FM_MakeSignedData [02:01:32]SAM_PROTO_SignData [02:01:32]wFMCommunicate request_size=4 [02:01:32]MH_SAM_APDU [02:01:32]CAPDU: 80 0D 01 02 [02:01:32]Write to MH i2c: E2 08 00 D9 05 80 0D 01 02 00 00 00 00 57 [02:01:32]Write i2c OK [02:01:32]MH_I2C_Read... [02:01:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:01:32]Read from MH i2c: E2 [02:01:32]MH_I2C_Read... [02:01:32]Read from MH i2c: E2 03 00 [02:01:32]MH_I2C_Read... [02:01:32]Read from MH i2c: E2 03 00 D9 05 00 90 00 52 [02:01:32]RAPDU: 90 00 [02:01:32]wFMCommunicate OK [02:01:32]wFMCommunicate request_size=255 [02:01:32]MH_SAM_APDU [02:01:32]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 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 FC 21 23 66 0E 04 04 00 18 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 [02:01:32]Write to MH i2c: E2 02 01 DA 05 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 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 FC 21 23 66 0E 04 04 00 18 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 00 00 4F [02:01:32]Write i2c OK [02:01:32]MH_I2C_Read... [02:01:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:01:32]Read from MH i2c: E2 [02:01:32]MH_I2C_Read... [02:01:32]Read from MH i2c: E2 03 00 [02:01:32]MH_I2C_Read... [02:01:32]Read from MH i2c: E2 03 00 DA 05 00 90 00 53 [02:01:32]RAPDU: 90 00 [02:01:32]wFMCommunicate OK [02:01:32]wFMCommunicate request_size=33 [02:01:32]MH_SAM_APDU [02:01:32]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 36 38 35 10 04 04 00 02 31 00 00 35 04 06 00 D0 59 4D C6 3A 69 [02:01:32]Write to MH i2c: E2 24 00 DB 05 80 0D 02 02 1C 00 30 30 30 30 39 36 35 36 38 35 10 04 04 00 02 31 00 00 35 04 06 00 D0 59 4D C6 3A 69 00 00 02 [02:01:32]Write i2c OK [02:01:32]MH_I2C_Read... [02:01:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:01:32]Read from MH i2c: E2 [02:01:32]MH_I2C_Read... [02:01:32]Read from MH i2c: E2 03 00 [02:01:32]MH_I2C_Read... [02:01:32]Read from MH i2c: E2 03 00 DB 05 00 90 00 54 [02:01:32]RAPDU: 90 00 [02:01:32]wFMCommunicate OK [02:01:32]wFMCommunicate request_size=4 [02:01:32]MH_SAM_APDU [02:01:32]CAPDU: 80 0D 03 02 [02:01:32]Write to MH i2c: E2 08 00 DC 05 80 0D 03 02 00 00 00 00 5C [02:01:32]Write i2c OK [02:01:32]MH_I2C_Read... [02:01:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:01:32]Read from MH i2c: E2 [02:01:32]MH_I2C_Read... [02:01:32]Read from MH i2c: E2 0B 00 [02:01:32]MH_I2C_Read... [02:01:32]Read from MH i2c: E2 0B 00 DC 05 00 3F FA 3B 5E 7A 1D D4 A4 90 00 3E [02:01:32]RAPDU: 3F FA 3B 5E 7A 1D D4 A4 90 00 [02:01:32]wFMCommunicate OK [02:01:32]SAM_PROTO_SignData done [02:01:32]FM_MakeSignedData done [02:01:32]CreateOFDProtocolMessage [02:01:32]wFMCommunicate request_size=4 [02:01:32]MH_SAM_APDU [02:01:32]CAPDU: 80 11 00 00 [02:01:32]Write to MH i2c: E2 08 00 DD 05 80 11 00 00 00 00 00 00 5C [02:01:32]Write i2c OK [02:01:32]MH_I2C_Read... [02:01:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:01:32]Read from MH i2c: E2 [02:01:32]MH_I2C_Read... [02:01:32]Read from MH i2c: E2 17 00 [02:01:32]MH_I2C_Read... [02:01:32]Read from MH i2c: E2 17 00 DD 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 B6 [02:01:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [02:01:32]wFMCommunicate OK [02:01:32]CreateOFDProtocolMessage done [02:01:32]OFDSenderStorePacket 12546 [02:01:32]StoreOFDPacket docnum=12546 [02:01:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 26 01 00 00 F5 2E 1E 01 D6 D3 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 FC 21 23 66 0E 04 04 00 18 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 02 31 00 00 35 04 06 00 D0 59 4D C6 3A 69 3F FA 3B 5E 7A 1D D4 A4 [02:01:32]CheckFolder [02:01:32]dirname=/storage/ofd_packets [02:01:32]CheckFolder done [02:01:32]ProducePacketName [02:01:32]name=ofd_packets/00012546 [02:01:32]NVStorageSaveData ofd_packets/00012546 [02:01:32]File name is /storage/ofd_packets/00012546 [02:01:32]Write 324 bytes [02:01:32]NVStorageSaveData done [02:01:32]OFDSenderStorePacket done [02:01:32]KKMCreateOFDPacket done [02:01:32]NVStorageSaveData kkm_last_timestamp [02:01:32]File name is /storage/kkm_last_timestamp [02:01:32]Write 4 bytes [02:01:32]NVStorageSaveData done [02:01:32]ExternCall_PrintAddStr [02:01:32]wPrintStart [02:01:32]Write to MH i2c: 01 00 00 DE 05 E3 [02:01:32]OFD Sender: Processing packet 12546 [packets to send 7, broken 6] [02:01:32]ProducePacketName [02:01:32]name=ofd_packets/00012546 [02:01:32]OFD Sender: To server: pG, [02:01:32]CommunicateWithHost lk.salyk.kg:30040 [02:01:32]ConnectInit lk.salyk.kg [02:01:32]Write i2c OK [02:01:32]MH_I2C_Read... [02:01:32]Read from MH i2c: 01 [02:01:32]MH_I2C_Read... [02:01:32]Read from MH i2c: 01 07 00 [02:01:32]MH_I2C_Read... [02:01:32]Read from MH i2c: 01 07 00 DE 05 00 00 00 00 00 FF 0F F8 [02:01:32]RasterBufferAndPrint [02:01:32]line Счет N : (3)32819 [02:01:32]line ИНН: 02508201610067 [02:01:32]line Контрольно-Кассовый Чек [02:01:32]line ПРОДАЖА [02:01:32]line Товар: 4640030091645 [02:01:32]line Сигареты ESSE Exchange M [02:01:32]line 1.000 * 138.00 [02:01:32]line = 138.00 [02:01:32]line НДС 12% НСП 1% [02:01:32]line > о реализуемом товаре [02:01:32]line ИТОГО: 138.00 [02:01:32]line НСП 1% : 1.22 [02:01:32]line НДС 12% : 14.65 [02:01:32]line Наличными: 138.00 [02:01:32]line Безнал.: 0.00 [02:01:32]line Место: АЗС № 106 "Партнер Нефть" [02:01:32]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [02:01:32]line СНО: Общий режим [02:01:32]line Чек 1 20.04.2024 02:01 [02:01:32]line Смена: 280 ФФД: 1.0 [02:01:32]line ЗНМ: 0300000004 [02:01:32]line РНМ: 0000000000100748 [02:01:32]line Версия ККМ: 001 [02:01:32]line ФМ: 0000000000965685 [02:01:32]line ФД: 12546 [02:01:32]line ФПД: 229081975503465 [02:01:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240420T020132&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12546&fm=229081975503465&tin=02508201610067®Number=0000000000100748&sum=13800 [02:01:33]Connected sock=10 [02:01:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 26 01 00 00 F5 2E 1E 01 D6 D3 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 FC 21 23 66 0E 04 04 00 18 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 02 31 00 00 35 04 06 00 D0 59 4D C6 3A 69 3F FA 3B 5E 7A 1D D4 A4 [02:01:33]line 0 [02:01:33]written 0, free lines is 4095 [02:01:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 18 E5 47 00 51 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 36 35 36 38 35 10 04 04 00 02 31 00 00 F4 03 04 00 82 CA 22 66 B6 04 01 00 00 B1 A6 FB 5F 39 52 AF C4 [02:01:33]CommunicateWithHost err = 0 [02:01:33]CheckOFDResponse [02:01:33]1017 (14) - 77093643461234 [02:01:33]1041 (16) - 0000000000965685 [02:01:33]1040 (4) - 12546 [02:01:33]1012 (4) - 19.04.2024 19:48 [02:01:33]1206 (1) - 0 [02:01:33]OFD Sender: Remove packet 12546 [02:01:33]ProducePacketName [02:01:33]name=ofd_packets/00012546 [02:01:33]NVStorageDeleteData [02:01:33]Write to MH i2c: 01 00 00 05 06 0B [02:01:33]Write i2c OK [02:01:33]MH_I2C_Read... [02:01:33]Read from MH i2c: 01 [02:01:33]MH_I2C_Read... [02:01:33]Read from MH i2c: 01 07 00 [02:01:33]MH_I2C_Read... [02:01:33]Read from MH i2c: 01 07 00 05 06 00 00 00 00 00 0A 0D 29 [02:01:33]RasterBufferAndPrint [02:01:33]line [02:01:33]line [02:01:33]line [02:01:33]line [02:01:33]line [02:01:33]written 0, free lines is 3344 [02:01:33]MH_Cut [02:01:33]Write to MH i2c: D1 01 00 0C 06 01 E4 [02:01:33]Write i2c OK [02:01:33]MH_I2C_Read... [02:01:33]Read from MH i2c: D1 [02:01:33]MH_I2C_Read... [02:01:33]Read from MH i2c: D1 01 00 [02:01:33]MH_I2C_Read... [02:01:33]Read from MH i2c: D1 01 00 0C 06 00 E3 [02:01:33]Write to MH i2c: 01 00 00 0D 06 13 [02:01:33]Write i2c OK [02:01:33]MH_I2C_Read... [02:01:33]OFD Sender: No OFD packet to send [02:01:34]*** Cut start [02:01:34]*** Partial cut [02:01:34]*** CUTSNS_PIN = 1 [02:01:34]*** CUTSNS_PIN = 0 [02:01:34]*** Brake cut motor [02:01:34]Read from MH i2c: 01 [02:01:34]MH_I2C_Read... [02:01:34]*** Stop cut motor [02:01:34]*** Cut end [02:01:34]Read from MH i2c: 01 07 00 [02:01:34]MH_I2C_Read... [02:01:34]Read from MH i2c: 01 07 00 0D 06 00 00 00 00 00 FF 0F 28 [02:01:34]process_action close_receipt done [02:01:34]requested_data is exist [02:01:34]produce_requested_data [02:01:34]requested_item fm.sn is exist - process it [02:01:34]wFMCommunicate request_size=4 [02:01:34]MH_SAM_APDU [02:01:34]CAPDU: 80 11 00 00 [02:01:34]Write to MH i2c: E2 08 00 0E 06 80 11 00 00 00 00 00 00 8E [02:01:34]Write i2c OK [02:01:34]MH_I2C_Read... [02:01:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:01:34]Read from MH i2c: E2 [02:01:34]MH_I2C_Read... [02:01:34]Read from MH i2c: E2 17 00 [02:01:34]MH_I2C_Read... [02:01:34]Read from MH i2c: E2 17 00 0E 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 E8 [02:01:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [02:01:34]wFMCommunicate OK [02:01:34]requested_item fd.num is exist - process it [02:01:34]SAM_PROTO_GetFieldsCounters [02:01:34]wFMCommunicate request_size=4 [02:01:34]MH_SAM_APDU [02:01:34]CAPDU: 80 13 00 00 [02:01:34]Write to MH i2c: E2 08 00 0F 06 80 13 00 00 00 00 00 00 91 [02:01:34]Write i2c OK [02:01:34]MH_I2C_Read... [02:01:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:01:35]Read from MH i2c: E2 [02:01:35]MH_I2C_Read... [02:01:35]Read from MH i2c: E2 62 00 [02:01:35]MH_I2C_Read... [02:01:35]Read from MH i2c: E2 62 00 0F 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 02 31 00 00 0E 04 04 00 18 01 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 03 [02:01:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 02 31 00 00 0E 04 04 00 18 01 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:01:35]wFMCommunicate OK [02:01:35]SAM_PROTO_GetFieldsCounters done [02:01:35]requested_item shift.num is exist - process it [02:01:35]requested_item shift.opened is exist - process it [02:01:35]req_shift_opened [02:01:35]FM_GetShiftState [02:01:35]SAM_PROTO_GetShiftState [02:01:35]wFMCommunicate request_size=4 [02:01:35]MH_SAM_APDU [02:01:35]CAPDU: 80 13 01 00 [02:01:35]Write to MH i2c: E2 08 00 10 06 80 13 01 00 00 00 00 00 93 [02:01:35]Write i2c OK [02:01:35]MH_I2C_Read... [02:01:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:01:35]Read from MH i2c: E2 [02:01:35]MH_I2C_Read... [02:01:35]Read from MH i2c: E2 0E 00 [02:01:35]MH_I2C_Read... [02:01:35]Read from MH i2c: E2 0E 00 10 06 00 09 00 01 64 09 23 66 00 00 00 00 90 00 95 [02:01:35]RAPDU: 09 00 01 64 09 23 66 00 00 00 00 90 00 [02:01:35]wFMCommunicate OK [02:01:35]SAM_PROTO_GetShiftState done [02:01:35]FM_GetShiftState done [02:01:35]req_shift_opened done [02:01:35]requested_item shift.open_date is exist - process it [02:01:35]req_shift_open_date [02:01:35]req_shift_open_date done [02:01:35]produce_requested_data done [02:01:35]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12546,"shift.num":280,"shift.opened":1,"shift.open_date":1713572196} [02:01:35]process_action_free close_receipt [02:01:35]json_value_free [02:01:35]json_value_free done [02:01:35]process_json_proto returns [02:01:35]Send response to host [02:01:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12546,"shift.num":280,"shift.opened":1,"shift.open_date":1713572196}}} [02:01:35]free response buf [02:01:35]execute_script done [02:01:35]execute_script returns [02:01:35]free content buf [02:01:35]Sock 9.Close socket [02:01:35]Sock 9.Thread stoped [02:01:38]OFD Sender: No OFD packet to send [02:01:43]OFD Sender: No OFD packet to send [02:01:45]int [02:01:45]Write to MH i2c: 01 00 00 11 06 17 [02:01:45]*** FLAG_PRN_PAP1 set [02:01:45]Write i2c OK [02:01:45]MH_I2C_Read... [02:01:45]Read from MH i2c: 01 [02:01:45]MH_I2C_Read... [02:01:45]Read from MH i2c: 01 07 00 [02:01:45]MH_I2C_Read... [02:01:45]Read from MH i2c: 01 07 00 11 06 00 01 00 00 00 FF 0F 2D [02:01:45]state=0 [02:01:45]No paper [02:01:45]int [02:01:45]Write to MH i2c: 01 00 00 12 06 18 [02:01:45]*** FLAG_PRN_PAP2 set [02:01:45]Write i2c OK [02:01:45]MH_I2C_Read... [02:01:45]Read from MH i2c: 01 [02:01:45]MH_I2C_Read... [02:01:45]Read from MH i2c: 01 07 00 [02:01:45]MH_I2C_Read... [02:01:45]Read from MH i2c: 01 07 00 12 06 00 03 00 00 00 FF 0F 30 [02:01:45]state=0 [02:01:45]No paper [02:01:45]Cover opened [02:01:48]OFD Sender: No OFD packet to send [02:01:50]Write to MH i2c: 01 00 00 13 06 19 [02:01:50]Write i2c OK [02:01:50]MH_I2C_Read... [02:01:50]Read from MH i2c: 01 [02:01:50]MH_I2C_Read... [02:01:50]Read from MH i2c: 01 07 00 [02:01:50]MH_I2C_Read... [02:01:50]Read from MH i2c: 01 07 00 13 06 00 03 00 00 00 FF 0F 31 [02:01:50]state=3 [02:01:50]No paper [02:01:50]Cover opened [02:01:53]OFD Sender: No OFD packet to send [02:01:55]Write to MH i2c: 01 00 00 14 06 1A [02:01:55]Write i2c OK [02:01:55]MH_I2C_Read... [02:01:55]Read from MH i2c: 01 [02:01:55]MH_I2C_Read... [02:01:55]Read from MH i2c: 01 07 00 [02:01:55]MH_I2C_Read... [02:01:55]Read from MH i2c: 01 07 00 14 06 00 03 00 00 00 FF 0F 32 [02:01:55]state=3 [02:01:55]No paper [02:01:55]Cover opened [02:01:55]int [02:01:55]Write to MH i2c: 01 00 00 15 06 1B [02:01:55]*** FLAG_PRN_PAP1 reset [02:01:55]*** FLAG_PRN_PAP2 reset [02:01:55]Write i2c OK [02:01:55]MH_I2C_Read... [02:01:55]Read from MH i2c: 01 [02:01:55]MH_I2C_Read... [02:01:55]Read from MH i2c: 01 07 00 [02:01:55]MH_I2C_Read... [02:01:55]Read from MH i2c: 01 07 00 15 06 00 00 00 00 00 FF 0F 30 [02:01:55]state=3 [02:01:55]Cover closed [02:01:56]int [02:01:56]Write to MH i2c: 01 00 00 16 06 1C [02:01:56]*** FLAG_PRN_KEY set [02:01:56]Write i2c OK [02:01:56]MH_I2C_Read... [02:01:56]Read from MH i2c: 01 [02:01:56]MH_I2C_Read... [02:01:56]Read from MH i2c: 01 07 00 [02:01:56]MH_I2C_Read... [02:01:56]Read from MH i2c: 01 07 00 16 06 00 08 00 00 00 FF 0F 39 [02:01:56]state=0 [02:01:56]Key pressed [02:01:56]Feed [02:01:56]Write to MH i2c: D8 00 00 17 06 F4 [02:01:56]Write i2c OK [02:01:56]MH_I2C_Read... [02:01:56]Read from MH i2c: D8 [02:01:56]MH_I2C_Read... [02:01:56]Read from MH i2c: D8 01 00 [02:01:56]MH_I2C_Read... [02:01:56]Read from MH i2c: D8 01 00 17 06 00 F5 [02:01:56]int [02:01:56]Write to MH i2c: 01 00 00 18 06 1E [02:01:56]Write i2c OK [02:01:56]MH_I2C_Read... [02:01:56]Read from MH i2c: 01 [02:01:56]MH_I2C_Read... [02:01:56]Read from MH i2c: 01 07 00 [02:01:56]MH_I2C_Read... [02:01:56]Read from MH i2c: 01 07 00 18 06 00 48 00 00 00 3C 00 A9 [02:01:56]state=2 [02:01:56]Key pressed [02:01:57]int [02:01:57]Write to MH i2c: 01 00 00 19 06 1F [02:01:57]*** FLAG_PRN_KEY reset [02:01:57]Write i2c OK [02:01:57]MH_I2C_Read... [02:01:57]Read from MH i2c: 01 [02:01:57]MH_I2C_Read... [02:01:57]Read from MH i2c: 01 07 00 [02:01:57]MH_I2C_Read... [02:01:57]Read from MH i2c: 01 07 00 19 06 00 00 00 00 00 FF 0F 34 [02:01:57]state=2 [02:01:57]Stop feed [02:01:58]OFD Sender: No OFD packet to send [02:02:03]OFD Sender: No OFD packet to send [02:02:08]OFD Sender: No OFD packet to send [02:02:13]OFD Sender: No OFD packet to send [02:02:18]OFD Sender: No OFD packet to send [02:02:23]OFD Sender: No OFD packet to send [02:02:28]OFD Sender: No OFD packet to send [02:02:33]OFD Sender: No OFD packet to send [02:02:38]OFD Sender: No OFD packet to send [02:02:43]OFD Sender: No OFD packet to send [02:02:48]OFD Sender: No OFD packet to send [02:02:53]OFD Sender: No OFD packet to send [02:02:58]OFD Sender: No OFD packet to send [02:03:03]OFD Sender: No OFD packet to send [02:03:08]OFD Sender: No OFD packet to send [02:03:13]OFD Sender: No OFD packet to send [02:03:18]OFD Sender: No OFD packet to send [02:03:23]OFD Sender: No OFD packet to send [02:03:28]OFD Sender: No OFD packet to send [02:03:33]OFD Sender: No OFD packet to send [02:03:38]OFD Sender: No OFD packet to send [02:03:43]OFD Sender: No OFD packet to send [02:03:48]OFD Sender: No OFD packet to send [02:03:53]OFD Sender: No OFD packet to send [02:03:58]OFD Sender: No OFD packet to send [02:04:03]OFD Sender: No OFD packet to send [02:04:08]OFD Sender: No OFD packet to send [02:04:13]OFD Sender: No OFD packet to send [02:04:18]OFD Sender: No OFD packet to send [02:04:23]OFD Sender: No OFD packet to send [02:04:28]OFD Sender: No OFD packet to send [02:04:33]OFD Sender: No OFD packet to send [02:04:38]OFD Sender: No OFD packet to send [02:04:43]OFD Sender: No OFD packet to send [02:04:48]OFD Sender: No OFD packet to send [02:04:53]OFD Sender: No OFD packet to send [02:04:58]OFD Sender: No OFD packet to send [02:05:03]OFD Sender: No OFD packet to send [02:05:08]OFD Sender: No OFD packet to send [02:05:13]OFD Sender: No OFD packet to send [02:05:18]OFD Sender: No OFD packet to send [02:05:23]OFD Sender: No OFD packet to send [02:05:28]OFD Sender: No OFD packet to send [02:05:33]OFD Sender: No OFD packet to send [02:05:38]OFD Sender: No OFD packet to send [02:05:43]OFD Sender: No OFD packet to send [02:05:48]OFD Sender: No OFD packet to send [02:05:53]OFD Sender: No OFD packet to send [02:05:58]OFD Sender: No OFD packet to send [02:06:03]OFD Sender: No OFD packet to send [02:06:08]OFD Sender: No OFD packet to send [02:06:14]OFD Sender: No OFD packet to send [02:06:19]OFD Sender: No OFD packet to send [02:06:24]OFD Sender: No OFD packet to send [02:06:29]OFD Sender: No OFD packet to send [02:06:34]OFD Sender: No OFD packet to send [02:06:39]OFD Sender: No OFD packet to send [02:06:44]OFD Sender: No OFD packet to send [02:06:49]OFD Sender: No OFD packet to send [02:06:54]OFD Sender: No OFD packet to send [02:06:59]OFD Sender: No OFD packet to send [02:07:04]OFD Sender: No OFD packet to send [02:07:09]OFD Sender: No OFD packet to send [02:07:14]OFD Sender: No OFD packet to send [02:07:19]OFD Sender: No OFD packet to send [02:07:24]OFD Sender: No OFD packet to send [02:07:29]OFD Sender: No OFD packet to send [02:07:34]OFD Sender: No OFD packet to send [02:07:39]OFD Sender: No OFD packet to send [02:07:44]OFD Sender: No OFD packet to send [02:07:49]OFD Sender: No OFD packet to send [02:07:54]OFD Sender: No OFD packet to send [02:07:59]OFD Sender: No OFD packet to send [02:08:04]OFD Sender: No OFD packet to send [02:08:09]OFD Sender: No OFD packet to send [02:08:14]OFD Sender: No OFD packet to send [02:08:19]OFD Sender: No OFD packet to send [02:08:24]OFD Sender: No OFD packet to send [02:08:29]OFD Sender: No OFD packet to send [02:08:34]OFD Sender: No OFD packet to send [02:08:39]OFD Sender: No OFD packet to send [02:08:44]OFD Sender: No OFD packet to send [02:08:49]OFD Sender: No OFD packet to send [02:08:54]OFD Sender: No OFD packet to send [02:08:59]OFD Sender: No OFD packet to send [02:09:04]OFD Sender: No OFD packet to send [02:09:09]OFD Sender: No OFD packet to send [02:09:14]OFD Sender: No OFD packet to send [02:09:19]OFD Sender: No OFD packet to send [02:09:24]OFD Sender: No OFD packet to send [02:09:29]OFD Sender: No OFD packet to send [02:09:34]OFD Sender: No OFD packet to send [02:09:39]OFD Sender: No OFD packet to send [02:09:44]OFD Sender: No OFD packet to send [02:09:49]OFD Sender: No OFD packet to send [02:09:54]OFD Sender: No OFD packet to send [02:09:59]OFD Sender: No OFD packet to send [02:10:04]OFD Sender: No OFD packet to send [02:10:09]OFD Sender: No OFD packet to send [02:10:14]OFD Sender: No OFD packet to send [02:10:19]OFD Sender: No OFD packet to send [02:10:24]OFD Sender: No OFD packet to send [02:10:29]OFD Sender: No OFD packet to send [02:10:34]OFD Sender: No OFD packet to send [02:10:39]OFD Sender: No OFD packet to send [02:10:44]OFD Sender: No OFD packet to send [02:10:49]OFD Sender: No OFD packet to send [02:10:54]OFD Sender: No OFD packet to send [02:10:59]OFD Sender: No OFD packet to send [02:11:04]OFD Sender: No OFD packet to send [02:11:09]OFD Sender: No OFD packet to send [02:11:14]OFD Sender: No OFD packet to send [02:11:19]OFD Sender: No OFD packet to send [02:11:24]OFD Sender: No OFD packet to send [02:11:29]OFD Sender: No OFD packet to send [02:11:34]OFD Sender: No OFD packet to send [02:11:39]OFD Sender: No OFD packet to send [02:11:44]OFD Sender: No OFD packet to send [02:11:49]OFD Sender: No OFD packet to send [02:11:54]OFD Sender: No OFD packet to send [02:11:59]OFD Sender: No OFD packet to send [02:12:04]OFD Sender: No OFD packet to send [02:12:09]OFD Sender: No OFD packet to send [02:12:14]OFD Sender: No OFD packet to send [02:12:19]OFD Sender: No OFD packet to send [02:12:24]OFD Sender: No OFD packet to send [02:12:29]OFD Sender: No OFD packet to send [02:12:34]OFD Sender: No OFD packet to send [02:12:39]OFD Sender: No OFD packet to send [02:12:44]OFD Sender: No OFD packet to send [02:12:49]OFD Sender: No OFD packet to send [02:12:54]OFD Sender: No OFD packet to send [02:12:59]OFD Sender: No OFD packet to send [02:13:04]OFD Sender: No OFD packet to send [02:13:09]OFD Sender: No OFD packet to send [02:13:14]OFD Sender: No OFD packet to send [02:13:19]OFD Sender: No OFD packet to send [02:13:24]OFD Sender: No OFD packet to send [02:13:29]OFD Sender: No OFD packet to send [02:13:34]OFD Sender: No OFD packet to send [02:13:39]OFD Sender: No OFD packet to send [02:13:44]OFD Sender: No OFD packet to send [02:13:49]OFD Sender: No OFD packet to send [02:13:54]OFD Sender: No OFD packet to send [02:13:59]OFD Sender: No OFD packet to send [02:14:04]OFD Sender: No OFD packet to send [02:14:09]OFD Sender: No OFD packet to send [02:14:14]OFD Sender: No OFD packet to send [02:14:19]OFD Sender: No OFD packet to send [02:14:24]OFD Sender: No OFD packet to send [02:14:29]OFD Sender: No OFD packet to send [02:14:34]OFD Sender: No OFD packet to send [02:14:39]OFD Sender: No OFD packet to send [02:14:44]OFD Sender: No OFD packet to send [02:14:49]OFD Sender: No OFD packet to send [02:14:54]OFD Sender: No OFD packet to send [02:14:59]OFD Sender: No OFD packet to send [02:15:04]OFD Sender: No OFD packet to send [02:15:09]OFD Sender: No OFD packet to send [02:15:14]OFD Sender: No OFD packet to send [02:15:19]OFD Sender: No OFD packet to send [02:15:24]OFD Sender: No OFD packet to send [02:15:29]OFD Sender: No OFD packet to send [02:15:34]OFD Sender: No OFD packet to send [02:15:39]OFD Sender: No OFD packet to send [02:15:44]OFD Sender: No OFD packet to send [02:15:49]OFD Sender: No OFD packet to send [02:15:54]OFD Sender: No OFD packet to send [02:15:59]OFD Sender: No OFD packet to send [02:16:04]OFD Sender: No OFD packet to send [02:16:09]OFD Sender: No OFD packet to send [02:16:14]OFD Sender: No OFD packet to send [02:16:19]OFD Sender: No OFD packet to send [02:16:24]OFD Sender: No OFD packet to send [02:16:29]OFD Sender: No OFD packet to send [02:16:34]OFD Sender: No OFD packet to send [02:16:39]OFD Sender: No OFD packet to send [02:16:44]OFD Sender: No OFD packet to send [02:16:49]OFD Sender: No OFD packet to send [02:16:54]OFD Sender: No OFD packet to send [02:16:59]OFD Sender: No OFD packet to send [02:17:04]OFD Sender: No OFD packet to send [02:17:09]OFD Sender: No OFD packet to send [02:17:14]OFD Sender: No OFD packet to send [02:17:19]OFD Sender: No OFD packet to send [02:17:24]OFD Sender: No OFD packet to send [02:17:29]OFD Sender: No OFD packet to send [02:17:34]OFD Sender: No OFD packet to send [02:17:39]OFD Sender: No OFD packet to send [02:17:44]OFD Sender: No OFD packet to send [02:17:49]OFD Sender: No OFD packet to send [02:17:54]OFD Sender: No OFD packet to send [02:17:59]OFD Sender: No OFD packet to send [02:18:04]OFD Sender: No OFD packet to send [02:18:09]OFD Sender: No OFD packet to send [02:18:14]OFD Sender: No OFD packet to send [02:18:19]OFD Sender: No OFD packet to send [02:18:24]OFD Sender: No OFD packet to send [02:18:29]OFD Sender: No OFD packet to send [02:18:34]OFD Sender: No OFD packet to send [02:18:39]OFD Sender: No OFD packet to send [02:18:44]OFD Sender: No OFD packet to send [02:18:49]OFD Sender: No OFD packet to send [02:18:54]OFD Sender: No OFD packet to send [02:18:59]OFD Sender: No OFD packet to send [02:19:04]OFD Sender: No OFD packet to send [02:19:09]OFD Sender: No OFD packet to send [02:19:14]OFD Sender: No OFD packet to send [02:19:19]OFD Sender: No OFD packet to send [02:19:24]OFD Sender: No OFD packet to send [02:19:29]OFD Sender: No OFD packet to send [02:19:34]OFD Sender: No OFD packet to send [02:19:39]OFD Sender: No OFD packet to send [02:19:44]OFD Sender: No OFD packet to send [02:19:49]OFD Sender: No OFD packet to send [02:19:54]OFD Sender: No OFD packet to send [02:19:59]OFD Sender: No OFD packet to send [02:20:04]OFD Sender: No OFD packet to send [02:20:09]OFD Sender: No OFD packet to send [02:20:14]OFD Sender: No OFD packet to send [02:20:19]OFD Sender: No OFD packet to send [02:20:24]OFD Sender: No OFD packet to send [02:20:29]OFD Sender: No OFD packet to send [02:20:34]OFD Sender: No OFD packet to send [02:20:39]OFD Sender: No OFD packet to send [02:20:44]OFD Sender: No OFD packet to send [02:20:49]OFD Sender: No OFD packet to send [02:20:54]OFD Sender: No OFD packet to send [02:20:59]OFD Sender: No OFD packet to send [02:21:04]OFD Sender: No OFD packet to send [02:21:09]OFD Sender: No OFD packet to send [02:21:14]OFD Sender: No OFD packet to send [02:21:19]OFD Sender: No OFD packet to send [02:21:24]OFD Sender: No OFD packet to send [02:21:29]OFD Sender: No OFD packet to send [02:21:34]OFD Sender: No OFD packet to send [02:21:39]OFD Sender: No OFD packet to send [02:21:44]OFD Sender: No OFD packet to send [02:21:49]OFD Sender: No OFD packet to send [02:21:54]OFD Sender: No OFD packet to send [02:21:59]OFD Sender: No OFD packet to send [02:22:04]OFD Sender: No OFD packet to send [02:22:09]OFD Sender: No OFD packet to send [02:22:14]OFD Sender: No OFD packet to send [02:22:19]OFD Sender: No OFD packet to send [02:22:24]OFD Sender: No OFD packet to send [02:22:29]OFD Sender: No OFD packet to send [02:22:34]OFD Sender: No OFD packet to send [02:22:39]OFD Sender: No OFD packet to send [02:22:44]OFD Sender: No OFD packet to send [02:22:49]OFD Sender: No OFD packet to send [02:22:54]OFD Sender: No OFD packet to send [02:22:59]OFD Sender: No OFD packet to send [02:23:04]OFD Sender: No OFD packet to send [02:23:09]OFD Sender: No OFD packet to send [02:23:14]OFD Sender: No OFD packet to send [02:23:19]OFD Sender: No OFD packet to send [02:23:24]OFD Sender: No OFD packet to send [02:23:29]OFD Sender: No OFD packet to send [02:23:34]OFD Sender: No OFD packet to send [02:23:39]OFD Sender: No OFD packet to send [02:23:44]OFD Sender: No OFD packet to send [02:23:49]OFD Sender: No OFD packet to send [02:23:54]OFD Sender: No OFD packet to send [02:23:59]OFD Sender: No OFD packet to send [02:24:04]OFD Sender: No OFD packet to send [02:24:09]OFD Sender: No OFD packet to send [02:24:14]OFD Sender: No OFD packet to send [02:24:19]OFD Sender: No OFD packet to send [02:24:24]OFD Sender: No OFD packet to send [02:24:29]OFD Sender: No OFD packet to send [02:24:34]OFD Sender: No OFD packet to send [02:24:39]OFD Sender: No OFD packet to send [02:24:44]OFD Sender: No OFD packet to send [02:24:49]OFD Sender: No OFD packet to send [02:24:54]OFD Sender: No OFD packet to send [02:24:59]OFD Sender: No OFD packet to send [02:25:04]OFD Sender: No OFD packet to send [02:25:09]OFD Sender: No OFD packet to send [02:25:14]OFD Sender: No OFD packet to send [02:25:19]OFD Sender: No OFD packet to send [02:25:24]OFD Sender: No OFD packet to send [02:25:29]OFD Sender: No OFD packet to send [02:25:34]OFD Sender: No OFD packet to send [02:25:39]OFD Sender: No OFD packet to send [02:25:44]OFD Sender: No OFD packet to send [02:25:49]OFD Sender: No OFD packet to send [02:25:54]OFD Sender: No OFD packet to send [02:25:59]OFD Sender: No OFD packet to send [02:26:04]OFD Sender: No OFD packet to send [02:26:09]OFD Sender: No OFD packet to send [02:26:14]OFD Sender: No OFD packet to send [02:26:17]accept exits with 7 [02:26:17]New connection [02:26:17]New thread 3067264356 created [02:26:17]Thread 3067120996 joined [02:26:17]Waiting for new connection... [02:26:17] Sock 7.Parse request [02:26:17]Sock 7.Check first char [02:26:17]Sock 7.First char is OK [02:26:17]request: POST /json_proto HTTP/1.0 [02:26:17]Method: POST [02:26:17]URL: /json_proto [02:26:17]Method is POST - this is cgi request [02:26:17]url: /json_proto [02:26:17]query_string will be loaded in cgi processing [02:26:17]execute_cgi json_proto POST (null) [02:26:17]execute_cgi path=json_proto method=POST [02:26:17]POST find Content-Length [02:26:17]Host: 172.17.62.6:8080 [02:26:17]Content-Length: 645 [02:26:17]Content-Type: application/json [02:26:17] [02:26:17]POST finish read [02:26:17]Found Content-Length = 645 [02:26:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32820", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:26:17]execute_script... [02:26:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)32820", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:26:17]POST & json_proto [02:26:17]process_json_proto [02:26:17]json parsed OK: [02:26:17]protocol is kg_v1.0 [02:26:17]action value=close_receipt [02:26:17]process_action close_receipt [02:26:17]cmd_close_receipt [02:26:17]MH_GetDate [02:26:17]Write to MH i2c: F0 00 00 1A 06 0F [02:26:17]Write i2c OK [02:26:17]MH_I2C_Read... [02:26:17]Read from MH i2c: F0 [02:26:17]MH_I2C_Read... [02:26:17]Read from MH i2c: F0 09 00 [02:26:17]MH_I2C_Read... [02:26:17]Read from MH i2c: F0 09 00 1A 06 00 CB 27 23 66 61 69 D2 64 93 [02:26:17]GetLastDocTimeStamp 1713578492 [02:26:17]current date 1713579979 [02:26:17]FM_GetShiftState [02:26:17]SAM_PROTO_GetShiftState [02:26:17]wFMCommunicate request_size=4 [02:26:17]MH_SAM_APDU [02:26:17]CAPDU: 80 13 01 00 [02:26:17]Write to MH i2c: E2 08 00 1B 06 80 13 01 00 00 00 00 00 9E [02:26:17]Write i2c OK [02:26:17]MH_I2C_Read... [02:26:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:26:17]Read from MH i2c: E2 [02:26:17]MH_I2C_Read... [02:26:17]Read from MH i2c: E2 0E 00 [02:26:17]MH_I2C_Read... [02:26:17]Read from MH i2c: E2 0E 00 1B 06 00 09 00 01 64 09 23 66 00 00 00 00 90 00 A0 [02:26:17]RAPDU: 09 00 01 64 09 23 66 00 00 00 00 90 00 [02:26:17]wFMCommunicate OK [02:26:17]SAM_PROTO_GetShiftState done [02:26:17]FM_GetShiftState done [02:26:17]opened in 1713572196 [02:26:17]opened+sec_in_day 1713658596 [02:26:17]quantity*price = 13000 [02:26:17]sum+1 = 13001 [02:26:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 106 "Партнер Нефть" Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 СНО: Общий режим Чек 2 20.04.2024 02:26 Смена: 280 ФФД: 1.0 ЗНМ: 0300000004 РНМ: 0000000000100748 Версия ККМ: 001 ФМ: 0000000000965685 ФД: 12547 ФПД: 134162048118174 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240420T022619&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12547&fm=134162048118174&tin=02508201610067®Number=0000000000100748&sum=13000 0 [02:26:18]StoreToDocumentArchive [02:26:18]shift 280 fd 12547 [02:26:18]save to /storage/0280/doc_00012547 [02:26:18]save last doc name /storage/0280/doc_00012547 to /storage/kkm_last_doc_name [02:26:18]save OK [02:26:18]Clear old archive folders... [02:26:18]ProcessDocumentItem done err = 0, tmpTLVsize=282 [02:26:18]tlvbuf is 01FE4280 [02:26:18]SAM_PROTO_ClearQueue [02:26:18]wFMCommunicate request_size=4 [02:26:18]MH_SAM_APDU [02:26:18]CAPDU: 80 09 00 00 [02:26:18]Write to MH i2c: E2 08 00 28 06 80 09 00 00 00 00 00 00 A0 [02:26:18]Write i2c OK [02:26:18]MH_I2C_Read... [02:26:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:26:19]Read from MH i2c: E2 [02:26:19]MH_I2C_Read... [02:26:19]Read from MH i2c: E2 03 00 [02:26:19]MH_I2C_Read... [02:26:19]Read from MH i2c: E2 03 00 28 06 00 90 00 A2 [02:26:19]RAPDU: 90 00 [02:26:19]wFMCommunicate OK [02:26:19]SAM_PROTO_ClearQueue done [02:26:19]KKMCreateOFDPacket [02:26:19]OFDProtocolAddRootSTLVToBuf [02:26:19]FM_MakeSignedData [02:26:19]FM_MakeSignedData [02:26:19]SAM_PROTO_SignData [02:26:19]wFMCommunicate request_size=4 [02:26:19]MH_SAM_APDU [02:26:19]CAPDU: 80 0D 01 02 [02:26:19]Write to MH i2c: E2 08 00 29 06 80 0D 01 02 00 00 00 00 A8 [02:26:19]Write i2c OK [02:26:19]MH_I2C_Read... [02:26:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:26:19]Read from MH i2c: E2 [02:26:19]MH_I2C_Read... [02:26:19]Read from MH i2c: E2 03 00 [02:26:19]MH_I2C_Read... [02:26:19]Read from MH i2c: E2 03 00 29 06 00 90 00 A3 [02:26:19]RAPDU: 90 00 [02:26:19]wFMCommunicate OK [02:26:19]wFMCommunicate request_size=255 [02:26:19]MH_SAM_APDU [02:26:19]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 CB 27 23 66 0E 04 04 00 18 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 [02:26:19]Write to MH i2c: E2 02 01 2A 06 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 CB 27 23 66 0E 04 04 00 18 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 00 00 48 [02:26:19]Write i2c OK [02:26:19]MH_I2C_Read... [02:26:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:26:19]Read from MH i2c: E2 [02:26:19]MH_I2C_Read... [02:26:19]Read from MH i2c: E2 03 00 [02:26:19]MH_I2C_Read... [02:26:19]Read from MH i2c: E2 03 00 2A 06 00 90 00 A4 [02:26:19]RAPDU: 90 00 [02:26:19]wFMCommunicate OK [02:26:19]wFMCommunicate request_size=41 [02:26:19]MH_SAM_APDU [02:26:19]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 03 31 00 00 35 04 06 00 7A 05 09 38 6D 9E [02:26:19]Write to MH i2c: E2 2C 00 2B 06 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 03 31 00 00 35 04 06 00 7A 05 09 38 6D 9E 00 00 80 [02:26:19]Write i2c OK [02:26:19]MH_I2C_Read... [02:26:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:26:19]Read from MH i2c: E2 [02:26:19]MH_I2C_Read... [02:26:19]Read from MH i2c: E2 03 00 [02:26:19]MH_I2C_Read... [02:26:19]Read from MH i2c: E2 03 00 2B 06 00 90 00 A5 [02:26:19]RAPDU: 90 00 [02:26:19]wFMCommunicate OK [02:26:19]wFMCommunicate request_size=4 [02:26:19]MH_SAM_APDU [02:26:19]CAPDU: 80 0D 03 02 [02:26:19]Write to MH i2c: E2 08 00 2C 06 80 0D 03 02 00 00 00 00 AD [02:26:19]Write i2c OK [02:26:19]MH_I2C_Read... [02:26:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:26:19]Read from MH i2c: E2 [02:26:19]MH_I2C_Read... [02:26:19]Read from MH i2c: E2 0B 00 [02:26:19]MH_I2C_Read... [02:26:19]Read from MH i2c: E2 0B 00 2C 06 00 6E 4F C0 57 A4 7F CD B3 90 00 25 [02:26:19]RAPDU: 6E 4F C0 57 A4 7F CD B3 90 00 [02:26:19]wFMCommunicate OK [02:26:19]SAM_PROTO_SignData done [02:26:19]FM_MakeSignedData done [02:26:19]CreateOFDProtocolMessage [02:26:19]wFMCommunicate request_size=4 [02:26:19]MH_SAM_APDU [02:26:19]CAPDU: 80 11 00 00 [02:26:19]Write to MH i2c: E2 08 00 2D 06 80 11 00 00 00 00 00 00 AD [02:26:19]Write i2c OK [02:26:19]MH_I2C_Read... [02:26:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:26:19]Read from MH i2c: E2 [02:26:19]MH_I2C_Read... [02:26:19]Read from MH i2c: E2 17 00 [02:26:19]MH_I2C_Read... [02:26:19]Read from MH i2c: E2 17 00 2D 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 07 [02:26:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [02:26:19]wFMCommunicate OK [02:26:19]CreateOFDProtocolMessage done [02:26:19]OFDSenderStorePacket 12547 [02:26:19]StoreOFDPacket docnum=12547 [02:26:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2E 01 00 00 7C FA 26 01 B3 8D 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 CB 27 23 66 0E 04 04 00 18 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 03 31 00 00 35 04 06 00 7A 05 09 38 6D 9E 6E 4F C0 57 A4 7F CD B3 [02:26:19]CheckFolder [02:26:19]dirname=/storage/ofd_packets [02:26:19]CheckFolder done [02:26:19]ProducePacketName [02:26:19]name=ofd_packets/00012547 [02:26:19]NVStorageSaveData ofd_packets/00012547 [02:26:19]File name is /storage/ofd_packets/00012547 [02:26:19]Write 332 bytes [02:26:19]NVStorageSaveData done [02:26:19]OFDSenderStorePacket done [02:26:19]KKMCreateOFDPacket done [02:26:19]NVStorageSaveData kkm_last_timestamp [02:26:19]File name is /storage/kkm_last_timestamp [02:26:19]Write 4 bytes [02:26:19]NVStorageSaveData done [02:26:19]ExternCall_PrintAddStr [02:26:19]wPrintStart [02:26:19]Write to MH i2c: 01 00 00 2E 06 34 [02:26:19]Write i2c OK [02:26:19]MH_I2C_Read... [02:26:19]Read from MH i2c: 01 [02:26:19]MH_I2C_Read... [02:26:19]Read from MH i2c: 01 07 00 [02:26:19]MH_I2C_Read... [02:26:19]Read from MH i2c: 01 07 00 2E 06 00 00 00 00 00 FF 0F 49 [02:26:19]RasterBufferAndPrint [02:26:19]line Счет N : (3)32820 [02:26:19]line ИНН: 02508201610067 [02:26:19]line Контрольно-Кассовый Чек [02:26:19]line ПРОДАЖА [02:26:19]line Товар: 2000036220012 [02:26:19]line Кофе Капучино XL(GABB TRADE) [02:26:19]line 1.000 * 130.00 [02:26:19]line = 130.00 [02:26:19]line НДС 12% НСП 1% [02:26:19]line > о реализуемом товаре [02:26:19]line ИТОГО: 130.00 [02:26:19]line НСП 1% : 1.15 [02:26:19]line НДС 12% : 13.80 [02:26:19]line Наличными: 130.00 [02:26:19]line Безнал.: 0.00 [02:26:19]line Место: АЗС № 106 "Партнер Нефть" [02:26:19]line Адрес: 720001, г. Кемин, а/д А 365, 42.787999, 75.704382 [02:26:19]line СНО: Общий режим [02:26:19]line Чек 2 20.04.2024 02:26 [02:26:19]line Смена: 280 ФФД: 1.0 [02:26:19]line ЗНМ: 0300000004 [02:26:19]line РНМ: 0000000000100748 [02:26:19]line Версия ККМ: 001 [02:26:19]line ФМ: 0000000000965685 [02:26:19]line ФД: 12547 [02:26:19]line ФПД: 134162048118174 [02:26:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240420T022619&type=1&operation_type=1&fn_number=0000000000965685&fd_number=12547&fm=134162048118174&tin=02508201610067®Number=0000000000100748&sum=13000 [02:26:19]line 0 [02:26:19]OFD Sender: Processing packet 12547 [packets to send 7, broken 6] [02:26:19]ProducePacketName [02:26:19]name=ofd_packets/00012547 [02:26:19]OFD Sender: To server: pG, [02:26:19]CommunicateWithHost lk.salyk.kg:30040 [02:26:19]ConnectInit lk.salyk.kg [02:26:19]written 0, free lines is 4095 [02:26:20]Connected sock=10 [02:26:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 2E 01 00 00 7C FA 26 01 B3 8D 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 CB 27 23 66 0E 04 04 00 18 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 10 04 04 00 03 31 00 00 35 04 06 00 7A 05 09 38 6D 9E 6E 4F C0 57 A4 7F CD B3 [02:26:20]Write to MH i2c: 01 00 00 56 06 5C [02:26:20]Write i2c OK [02:26:20]MH_I2C_Read... [02:26:20]Read from MH i2c: 01 [02:26:20]MH_I2C_Read... [02:26:20]Read from MH i2c: 01 07 00 [02:26:20]MH_I2C_Read... [02:26:20]Read from MH i2c: 01 07 00 56 06 00 00 00 00 00 0D 0D 7D [02:26:20]RasterBufferAndPrint [02:26:20]line [02:26:20]line [02:26:20]line [02:26:20]line [02:26:20]line [02:26:20]written 0, free lines is 3352 [02:26:20]MH_Cut [02:26:20]Write to MH i2c: D1 01 00 5D 06 01 35 [02:26:20]Write i2c OK [02:26:20]MH_I2C_Read... [02:26:20]Read from MH i2c: D1 [02:26:20]MH_I2C_Read... [02:26:20]Read from MH i2c: D1 01 00 [02:26:20]MH_I2C_Read... [02:26:20]Read from MH i2c: D1 01 00 5D 06 00 34 [02:26:20]Write to MH i2c: 01 00 00 5E 06 64 [02:26:20]Write i2c OK [02:26:20]MH_I2C_Read... [02:26:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 4F 00 00 00 01 84 47 00 73 6C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 36 35 36 38 35 10 04 04 00 03 31 00 00 F4 03 04 00 51 D0 22 66 B6 04 01 00 00 F7 D6 40 85 8B 94 9A 8D [02:26:20]CommunicateWithHost err = 0 [02:26:20]CheckOFDResponse [02:26:20]1017 (14) - 77093643461234 [02:26:20]1041 (16) - 0000000000965685 [02:26:20]1040 (4) - 12547 [02:26:20]1012 (4) - 19.04.2024 20:13 [02:26:20]1206 (1) - 0 [02:26:20]OFD Sender: Remove packet 12547 [02:26:20]ProducePacketName [02:26:20]name=ofd_packets/00012547 [02:26:20]NVStorageDeleteData [02:26:20]OFD Sender: No OFD packet to send [02:26:21]*** Cut start [02:26:21]*** Partial cut [02:26:21]*** CUTSNS_PIN = 1 [02:26:21]*** CUTSNS_PIN = 0 [02:26:21]*** Brake cut motor [02:26:21]Read from MH i2c: 01 [02:26:21]MH_I2C_Read... [02:26:21]*** Stop cut motor [02:26:21]*** Cut end [02:26:21]Read from MH i2c: 01 07 00 [02:26:21]MH_I2C_Read... [02:26:21]Read from MH i2c: 01 07 00 5E 06 00 00 00 00 00 FF 0F 79 [02:26:21]process_action close_receipt done [02:26:21]requested_data is exist [02:26:21]produce_requested_data [02:26:21]requested_item fm.sn is exist - process it [02:26:21]wFMCommunicate request_size=4 [02:26:21]MH_SAM_APDU [02:26:21]CAPDU: 80 11 00 00 [02:26:21]Write to MH i2c: E2 08 00 5F 06 80 11 00 00 00 00 00 00 DF [02:26:21]Write i2c OK [02:26:21]MH_I2C_Read... [02:26:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:26:21]Read from MH i2c: E2 [02:26:21]MH_I2C_Read... [02:26:21]Read from MH i2c: E2 17 00 [02:26:21]MH_I2C_Read... [02:26:21]Read from MH i2c: E2 17 00 5F 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 39 [02:26:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 90 00 [02:26:21]wFMCommunicate OK [02:26:21]requested_item fd.num is exist - process it [02:26:21]SAM_PROTO_GetFieldsCounters [02:26:21]wFMCommunicate request_size=4 [02:26:21]MH_SAM_APDU [02:26:21]CAPDU: 80 13 00 00 [02:26:21]Write to MH i2c: E2 08 00 60 06 80 13 00 00 00 00 00 00 E2 [02:26:21]Write i2c OK [02:26:21]MH_I2C_Read... [02:26:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:26:21]Read from MH i2c: E2 [02:26:21]MH_I2C_Read... [02:26:21]Read from MH i2c: E2 62 00 [02:26:21]MH_I2C_Read... [02:26:21]Read from MH i2c: E2 62 00 60 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 03 31 00 00 0E 04 04 00 18 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 58 [02:26:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 36 38 35 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 31 30 30 37 34 38 10 04 04 00 03 31 00 00 0E 04 04 00 18 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:26:21]wFMCommunicate OK [02:26:21]SAM_PROTO_GetFieldsCounters done [02:26:21]requested_item shift.num is exist - process it [02:26:21]requested_item shift.opened is exist - process it [02:26:21]req_shift_opened [02:26:21]FM_GetShiftState [02:26:21]SAM_PROTO_GetShiftState [02:26:21]wFMCommunicate request_size=4 [02:26:21]MH_SAM_APDU [02:26:21]CAPDU: 80 13 01 00 [02:26:21]Write to MH i2c: E2 08 00 61 06 80 13 01 00 00 00 00 00 E4 [02:26:21]Write i2c OK [02:26:21]MH_I2C_Read... [02:26:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:26:21]Read from MH i2c: E2 [02:26:21]MH_I2C_Read... [02:26:21]Read from MH i2c: E2 0E 00 [02:26:21]MH_I2C_Read... [02:26:21]Read from MH i2c: E2 0E 00 61 06 00 09 00 01 64 09 23 66 00 00 00 00 90 00 E6 [02:26:21]RAPDU: 09 00 01 64 09 23 66 00 00 00 00 90 00 [02:26:21]wFMCommunicate OK [02:26:21]SAM_PROTO_GetShiftState done [02:26:21]FM_GetShiftState done [02:26:21]req_shift_opened done [02:26:21]requested_item shift.open_date is exist - process it [02:26:21]req_shift_open_date [02:26:21]req_shift_open_date done [02:26:21]produce_requested_data done [02:26:21]produce_requested_data return {"fm.sn":"0000000000965685","fd.num":12547,"shift.num":280,"shift.opened":1,"shift.open_date":1713572196} [02:26:21]process_action_free close_receipt [02:26:21]json_value_free [02:26:21]json_value_free done [02:26:21]process_json_proto returns [02:26:21]Send response to host [02:26:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965685","fd.num":12547,"shift.num":280,"shift.opened":1,"shift.open_date":1713572196}}} [02:26:21]free response buf [02:26:21]execute_script done [02:26:21]execute_script returns [02:26:21]free content buf [02:26:21]Sock 7.Close socket [02:26:21]Sock 7.Thread stoped [02:26:26]OFD Sender: No OFD packet to send [02:26:31]OFD Sender: No OFD packet to send [02:26:36]OFD Sender: No OFD packet to send [02:26:41]OFD Sender: No OFD packet to send [02:26:46]OFD Sender: No OFD packet to send [02:26:51]OFD Sender: No OFD packet to send [02:26:56]OFD Sender: No OFD packet to send [02:27:01]OFD Sender: No OFD packet to send [02:27:06]OFD Sender: No OFD packet to send [02:27:11]OFD Sender: No OFD packet to send [02:27:16]OFD Sender: No OFD packet to send [02:27:21]OFD Sender: No OFD packet to send [02:27:26]OFD Sender: No OFD packet to send [02:27:31]OFD Sender: No OFD packet to send [02:27:36]OFD Sender: No OFD packet to send [02:27:41]OFD Sender: No OFD packet to send [02:27:46]OFD Sender: No OFD packet to send [02:27:51]OFD Sender: No OFD packet to send [02:27:56]OFD Sender: No OFD packet to send [02:28:01]OFD Sender: No OFD packet to send [02:28:06]OFD Sender: No OFD packet to send [02:28:11]OFD Sender: No OFD packet to send [02:28:16]OFD Sender: No OFD packet to send [02:28:21]OFD Sender: No OFD packet to send [02:28:26]OFD Sender: No OFD packet to send [02:28:31]OFD Sender: No OFD packet to send [02:28:36]OFD Sender: No OFD packet to send [02:28:41]OFD Sender: No OFD packet to send [02:28:46]OFD Sender: No OFD packet to send [02:28:51]OFD Sender: No OFD packet to send [02:28:56]OFD Sender: No OFD packet to send [02:29:01]OFD Sender: No OFD packet to send [02:29:06]OFD Sender: No OFD packet to send [02:29:11]OFD Sender: No OFD packet to send [02:29:16]OFD Sender: No OFD packet to send [02:29:21]OFD Sender: No OFD packet to send [02:29:26]OFD Sender: No OFD packet to send [02:29:31]OFD Sender: No OFD packet to send [02:29:36]OFD Sender: No OFD packet to send [02:29:41]OFD Sender: No OFD packet to send [02:29:46]OFD Sender: No OFD packet to send [02:29:51]OFD Sender: No OFD packet to send [02:29:56]OFD Sender: No OFD packet to send [02:30:01]OFD Sender: No OFD packet to send [02:30:06]OFD Sender: No OFD packet to send [02:30:11]OFD Sender: No OFD packet to send [02:30:16]OFD Sender: No OFD packet to send [02:30:21]OFD Sender: No OFD packet to send [02:30:26]OFD Sender: No OFD packet to send [02:30:31]OFD Sender: No OFD packet to send [02:30:36]OFD Sender: No OFD packet to send [02:30:41]OFD Sender: No OFD packet to send [02:30:46]OFD Sender: No OFD packet to send [02:30:51]OFD Sender: No OFD packet to send [02:30:56]OFD Sender: No OFD packet to send [02:31:01]OFD Sender: No OFD packet to send [02:31:06]OFD Sender: No OFD packet to send [02:31:11]OFD Sender: No OFD packet to send [02:31:16]OFD Sender: No OFD packet to send [02:31:21]OFD Sender: No OFD packet to send [02:31:26]OFD Sender: No OFD packet to send [02:31:31]OFD Sender: No OFD packet to send [02:31:36]OFD Sender: No OFD packet to send [02:31:41]OFD Sender: No OFD packet to send [02:31:46]OFD Sender: No OFD packet to send [02:31:51]OFD Sender: No OFD packet to send [02:31:56]OFD Sender: No OFD packet to send [02:32:01]OFD Sender: No OFD packet to send [02:32:06]OFD Sender: No OFD packet to send [02:32:11]OFD Sender: No OFD packet to send [02:32:16]OFD Sender: No OFD packet to send [02:32:21]OFD Sender: No OFD packet to send [02:32:26]OFD Sender: No OFD packet to send [02:32:31]OFD Sender: No OFD packet to send [02:32:36]OFD Sender: No OFD packet to send [02:32:41]OFD Sender: No OFD packet to send [02:32:46]OFD Sender: No OFD packet to send [02:32:51]OFD Sender: No OFD packet to send [02:32:56]OFD Sender: No OFD packet to send [02:33:01]OFD Sender: No OFD packet to send [02:33:06]OFD Sender: No OFD packet to send [02:33:11]OFD Sender: No OFD packet to send [02:33:16]OFD Sender: No OFD packet to send [02:33:21]OFD Sender: No OFD packet to send [02:33:26]OFD Sender: No OFD packet to send [02:33:31]OFD Sender: No OFD packet to send [02:33:36]OFD Sender: No OFD packet to send [02:33:41]OFD Sender: No OFD packet to send [02:33:46]OFD Sender: No OFD packet to send [02:33:51]OFD Sender: No OFD packet to send [02:33:56]OFD Sender: No OFD packet to send [02:34:01]OFD Sender: No OFD packet to send [02:34:06]OFD Sender: No OFD packet to send [02:34:11]OFD Sender: No OFD packet to send [02:34:16]OFD Sender: No OFD packet to send [02:34:21]OFD Sender: No OFD packet to send [02:34:26]OFD Sender: No OFD packet to send [02:34:31]OFD Sender: No OFD packet to send [02:34:36]OFD Sender: No OFD packet to send [02:34:41]OFD Sender: No OFD packet to send [02:34:46]OFD Sender: No OFD packet to send [02:34:51]OFD Sender: No OFD packet to send [02:34:56]OFD Sender: No OFD packet to send [02:35:01]OFD Sender: No OFD packet to send [02:35:06]OFD Sender: No OFD packet to send [02:35:11]OFD Sender: No OFD packet to send [02:35:16]OFD Sender: No OFD packet to send [02:35:21]OFD Sender: No OFD packet to send [02:35:26]OFD Sender: No OFD packet to send [02:35:31]OFD Sender: No OFD packet to send [02:35:36]OFD Sender: No OFD packet to send [02:35:41]OFD Sender: No OFD packet to send [02:35:46]OFD Sender: No OFD packet to send [02:35:51]OFD Sender: No OFD packet to send [02:35:56]OFD Sender: No OFD packet to send [02:36:01]OFD Sender: No OFD packet to send [02:36:06]OFD Sender: No OFD packet to send [02:36:11]OFD Sender: No OFD packet to send [02:36:16]OFD Sender: No OFD packet to send [02:36:21]OFD Sender: No OFD packet to send [02:36:26]OFD Sender: No OFD packet to send [02:36:31]OFD Sender: No OFD packet to send [02:36:36]OFD Sender: No OFD packet to send [02:36:41]OFD Sender: No OFD packet to send [02:36:46]OFD Sender: No OFD packet to send [02:36:51]OFD Sender: No OFD packet to send [02:36:56]OFD Sender: No OFD packet to send [02:37:01]OFD Sender: No OFD packet to send [02:37:06]OFD Sender: No OFD packet to send [02:37:11]OFD Sender: No OFD packet to send [02:37:16]OFD Sender: No OFD packet to send [02:37:21]OFD Sender: No OFD packet to send [02:37:26]OFD Sender: No OFD packet to send [02:37:31]OFD Sender: No OFD packet to send [02:37:36]OFD Sender: No OFD packet to send [02:37:41]OFD Sender: No OFD packet to send [02:37:46]OFD Sender: No OFD packet to send [02:37:51]OFD Sender: No OFD packet to send [02:37:56]OFD Sender: No OFD packet to send [02:38:01]OFD Sender: No OFD packet to send [02:38:06]OFD Sender: No OFD packet to send [02:38:11]OFD Sender: No OFD packet to send [02:38:16]OFD Sender: No OFD packet to send [02:38:21]OFD Sender: No OFD packet to send [02:38:26]OFD Sender: No OFD packet to send [02:38:31]OFD Sender: No OFD packet to send [02:38:36]OFD Sender: No OFD packet to send [02:38:41]OFD Sender: No OFD packet to send [02:38:46]OFD Sender: No OFD packet to send [02:38:51]OFD Sender: No OFD packet to send [02:38:56]OFD Sender: No OFD packet to send [02:39:01]OFD Sender: No OFD packet to send [02:39:06]OFD Sender: No OFD packet to send [02:39:11]OFD Sender: No OFD packet to send [02:39:16]OFD Sender: No OFD packet to send [02:39:21]OFD Sender: No OFD packet to send [02:39:26]OFD Sender: No OFD packet to send [02:39:31]OFD Sender: No OFD packet to send [02:39:36]OFD Sender: No OFD packet to send [02:39:41]OFD Sender: No OFD packet to send [02:39:46]OFD Sender: No OFD packet to send [02:39:51]OFD Sender: No OFD packet to send [02:39:56]OFD Sender: No OFD packet to send [02:40:01]OFD Sender: No OFD packet to send [02:40:06]OFD Sender: No OFD packet to send [02:40:11]OFD Sender: No OFD packet to send [02:40:16]OFD Sender: No OFD packet to send [02:40:21]OFD Sender: No OFD packet to send [02:40:26]OFD Sender: No OFD packet to send [02:40:31]OFD Sender: No OFD packet to send [02:40:36]OFD Sender: No OFD packet to send [02:40:41]OFD Sender: No OFD packet to send [02:40:46]OFD Sender: No OFD packet to send [02:40:51]OFD Sender: No OFD packet to send [02:40:56]OFD Sender: No OFD packet to send [02:41:01]OFD Sender: No OFD packet to send [02:41:06]OFD Sender: No OFD packet to send [02:41:11]OFD Sender: No OFD packet to send [02:41:16]OFD Sender: No OFD packet to send [02:41:21]OFD Sender: No OFD packet to send [02:41:26]OFD Sender: No OFD packet to send [02:41:31]OFD Sender: No OFD packet to send [02:41:36]OFD Sender: No OFD packet to send [02:41:41]OFD Sender: No OFD packet to send [02:41:46]OFD Sender: No OFD packet to send [02:41:51]OFD Sender: No OFD packet to send [02:41:56]OFD Sender: No OFD packet to send [02:42:01]OFD Sender: No OFD packet to send [02:42:06]OFD Sender: No OFD packet to send [02:42:11]OFD Sender: No OFD packet to send [02:42:16]OFD Sender: No OFD packet to send [02:42:21]OFD Sender: No OFD packet to send [02:42:26]OFD Sender: No OFD packet to send [02:42:31]OFD Sender: No OFD packet to send [02:42:36]OFD Sender: No OFD packet to send [02:42:41]OFD Sender: No OFD packet to send [02:42:46]OFD Sender: No OFD packet to send [02:42:51]OFD Sender: No OFD packet to send [02:42:56]OFD Sender: No OFD packet to send [02:43:01]OFD Sender: No OFD packet to send [02:43:06]OFD Sender: No OFD packet to send [02:43:11]OFD Sender: No OFD packet to send [02:43:16]OFD Sender: No OFD packet to send [02:43:21]OFD Sender: No OFD packet to send [02:43:26]OFD Sender: No OFD packet to send [02:43:31]OFD Sender: No OFD packet to send [02:43:36]OFD Sender: No OFD packet to send [02:43:41]OFD Sender: No OFD packet to send [02:43:46]OFD Sender: No OFD packet to send [02:43:51]OFD Sender: No OFD packet to send [02:43:56]OFD Sender: No OFD packet to send [02:44:01]OFD Sender: No OFD packet to send [02:44:06]OFD Sender: No OFD packet to send [02:44:11]OFD Sender: No OFD packet to send [02:44:16]OFD Sender: No OFD packet to send [02:44:21]OFD Sender: No OFD packet to send [02:44:26]OFD Sender: No OFD packet to send [02:44:31]OFD Sender: No OFD packet to send [02:44:36]OFD Sender: No OFD packet to send [02:44:41]OFD Sender: No OFD packet to send [02:44:46]OFD Sender: No OFD packet to send [02:44:51]OFD Sender: No OFD packet to send [02:44:56]OFD Sender: No OFD packet to send [02:45:01]OFD Sender: No OFD packet to send [02:45:06]OFD Sender: No OFD packet to send [02:45:11]OFD Sender: No OFD packet to send [02:45:16]OFD Sender: No OFD packet to send [02:45:21]OFD Sender: No OFD packet to send [02:45:26]OFD Sender: No OFD packet to send [02:45:31]OFD Sender: No OFD packet to send [02:45:36]OFD Sender: No OFD packet to send [02:45:41]OFD Sender: No OFD packet to send [02:45:46]OFD Sender: No OFD packet to send [02:45:51]OFD Sender: No OFD packet to send [02:45:56]OFD Sender: No OFD packet to send [02:46:01]OFD Sender: No OFD packet to send [02:46:06]OFD Sender: No OFD packet to send [02:46:11]OFD Sender: No OFD packet to send [02:46:16]OFD Sender: No OFD packet to send [02:46:21]OFD Sender: No OFD packet to send [02:46:26]OFD Sender: No OFD packet to send [02:46:31]OFD Sender: No OFD packet to send [02:46:36]OFD Sender: No OFD packet to send [02:46:41]OFD Sender: No OFD packet to send [02:46:46]OFD Sender: No OFD packet to send [02:46:51]OFD Sender: No OFD packet to send [02:46:56]OFD Sender: No OFD packet to send [02:47:01]OFD Sender: No OFD packet to send [02:47:06]OFD Sender: No OFD packet to send [02:47:11]OFD Sender: No OFD packet to send [02:47:16]OFD Sender: No OFD packet to send [02:47:21]OFD Sender: No OFD packet to send [02:47:26]OFD Sender: No OFD packet to send [02:47:31]OFD Sender: No OFD packet to send [02:47:36]OFD Sender: No OFD packet to send [02:47:42]OFD Sender: No OFD packet to send [02:47:47]OFD Sender: No OFD packet to send [02:47:52]OFD Sender: No OFD packet to send [02:47:57]OFD Sender: No OFD packet to send [02:48:02]OFD Sender: No OFD packet to send [02:48:07]OFD Sender: No OFD packet to send [02:48:12]OFD Sender: No OFD packet to send [02:48:17]OFD Sender: No OFD packet to send [02:48:22]OFD Sender: No OFD packet to send [02:48:27]OFD Sender: No OFD packet to send [02:48:32]OFD Sender: No OFD packet to send [02:48:37]OFD Sender: No OFD packet to send [02:48:42]OFD Sender: No OFD packet to send [02:48:47]OFD Sender: No OFD packet to send [02:48:52]OFD Sender: No OFD packet to send [02:48:57]OFD Sender: No OFD packet to send [02:49:02]OFD Sender: No OFD packet to send [02:49:07]OFD Sender: No OFD packet to send [02:49:12]OFD Sender: No OFD packet to send [02:49:17]OFD Sender: No OFD packet to send [02:49:22]OFD Sender: No OFD packet to send [02:49:27]OFD Sender: No OFD packet to send [02:49:32]OFD Sender: No OFD packet to send [02:49:37]OFD Sender: No OFD packet to send [02:49:42]OFD Sender: No OFD packet to send [02:49:47]OFD Sender: No OFD packet to send [02:49:52]OFD Sender: No OFD packet to send [02:49:57]OFD Sender: No OFD packet to send [02:50:02]OFD Sender: No OFD packet to send [02:50:07]OFD Sender: No OFD packet to send [02:50:12]OFD Sender: No OFD packet to send [02:50:17]OFD Sender: No OFD packet to send [02:50:22]OFD Sender: No OFD packet to send [02:50:27]OFD Sender: No OFD packet to send [02:50:32]OFD Sender: No OFD packet to send [02:50:37]OFD Sender: No OFD packet to send [02:50:42]OFD Sender: No OFD packet to send [02:50:47]OFD Sender: No OFD packet to send [02:50:52]OFD Sender: No OFD packet to send [02:50:57]OFD Sender: No OFD packet to send [02:51:02]OFD Sender: No OFD packet to send [02:51:07]OFD Sender: No OFD packet to send [02:51:12]OFD Sender: No OFD packet to send [02:51:17]OFD Sender: No OFD packet to send [02:51:22]OFD Sender: No OFD packet to send [02:51:27]OFD Sender: No OFD packet to send [02:51:32]OFD Sender: No OFD packet to send [02:51:37]OFD Sender: No OFD packet to send [02:51:42]OFD Sender: No OFD packet to send [02:51:47]OFD Sender: No OFD packet to send [02:51:52]OFD Sender: No OFD packet to send [02:51:57]OFD Sender: No OFD packet to send [02:52:02]OFD Sender: No OFD packet to send [02:52:07]OFD Sender: No OFD packet to send [02:52:12]OFD Sender: No OFD packet to send [02:52:17]OFD Sender: No OFD packet to send [02:52:22]OFD Sender: No OFD packet to send [02:52:27]OFD Sender: No OFD packet to send [02:52:32]OFD Sender: No OFD packet to send [02:52:37]OFD Sender: No OFD packet to send [02:52:42]OFD Sender: No OFD packet to send [02:52:47]OFD Sender: No OFD packet to send [02:52:52]OFD Sender: No OFD packet to send [02:52:57]OFD Sender: No OFD packet to send [02:53:02]OFD Sender: No OFD packet to send [02:53:07]OFD Sender: No OFD packet to send [02:53:12]OFD Sender: No OFD packet to send [02:53:17]OFD Sender: No OFD packet to send [02:53:22]OFD Sender: No OFD packet to send [02:53:27]OFD Sender: No OFD packet to send [02:53:32]OFD Sender: No OFD packet to send [02:53:37]OFD Sender: No OFD packet to send [02:53:42]OFD Sender: No OFD packet to send [02:53:47]OFD Sender: No OFD packet to send [02:53:52]OFD Sender: No OFD packet to send [02:53:57]OFD Sender: No OFD packet to send [02:54:02]OFD Sender: No OFD packet to send [02:54:07]OFD Sender: No OFD packet to send [02:54:12]OFD Sender: No OFD packet to send [02:54:17]OFD Sender: No OFD packet to send [02:54:22]OFD Sender: No OFD packet to send [02:54:27]OFD Sender: No OFD packet to send [02:54:32]OFD Sender: No OFD packet to send [02:54:37]OFD Sender: No OFD packet to send [02:54:42]OFD Sender: No OFD packet to send [02:54:47]OFD Sender: No OFD packet to send [02:54:52]OFD Sender: No OFD packet to send [02:54:57]OFD Sender: No OFD packet to send [02:55:02]OFD Sender: No OFD packet to send [02:55:07]OFD Sender: No OFD packet to send [02:55:12]OFD Sender: No OFD packet to send [02:55:17]OFD Sender: No OFD packet to send [02:55:22]OFD Sender: No OFD packet to send [02:55:27]OFD Sender: No OFD packet to send [02:55:32]OFD Sender: No OFD packet to send [02:55:37]OFD Sender: No OFD packet to send [02:55:42]OFD Sender: No OFD packet to send [02:55:47]OFD Sender: No OFD packet to send [02:55:52]OFD Sender: No OFD packet to send [02:55:57]OFD Sender: No OFD packet to send [02:56:02]OFD Sender: No OFD packet to send [02:56:07]OFD Sender: No OFD packet to send [02:56:12]OFD Sender: No OFD packet to send [02:56:17]OFD Sender: No OFD packet to send [02:56:22]OFD Sender: No OFD packet to send [02:56:27]OFD Sender: No OFD packet to send [02:56:32]OFD Sender: No OFD packet to send [02:56:37]OFD Sender: No OFD packet to send [02:56:42]OFD Sender: No OFD packet to send [02:56:47]OFD Sender: No OFD packet to send [02:56:52]OFD Sender: No OFD packet to send [02:56:57]OFD Sender: No OFD packet to send [02:57:02]OFD Sender: No OFD packet to send [02:57:07]OFD Sender: No OFD packet to send [02:57:12]OFD Sender: No OFD packet to send [02:57:17]OFD Sender: No OFD packet to send [02:57:22]OFD Sender: No OFD packet to send [02:57:27]OFD Sender: No OFD packet to send [02:57:32]OFD Sender: No OFD packet to send [02:57:37]OFD Sender: No OFD packet to send [02:57:42]OFD Sender: No OFD packet to send [02:57:47]OFD Sender: No OFD packet to send [02:57:52]OFD Sender: No OFD packet to send [02:57:57]OFD Sender: No OFD packet to send [02:58:02]OFD Sender: No OFD packet to send [02:58:07]OFD Sender: No OFD packet to send [02:58:12]OFD Sender: No OFD packet to send [02:58:17]OFD Sender: No OFD packet to send [02:58:22]OFD Sender: No OFD packet to send [02:58:27]OFD Sender: No OFD packet to send [02:58:32]OFD Sender: No OFD packet to send [02:58:37]OFD Sender: No OFD packet to send [02:58:42]OFD Sender: No OFD packet to send [02:58:47]OFD Sender: No OFD packet to send [02:58:52]OFD Sender: No OFD packet to send [02:58:57]OFD Sender: No OFD packet to send [02:59:02]OFD Sender: No OFD packet to send [02:59:07]OFD Sender: No OFD packet to send [02:59:12]OFD Sender: No OFD packet to send [02:59:17]OFD Sender: No OFD packet to send [02:59:22]OFD Sender: No OFD packet to send [02:59:27]OFD Sender: No OFD packet to send [02:59:32]OFD Sender: No OFD packet to send [02:59:37]OFD Sender: No OFD packet to send [02:59:42]OFD Sender: No OFD packet to send [02:59:47]OFD Sender: No OFD packet to send [02:59:52]OFD Sender: No OFD packet to send [02:59:57]OFD Sender: No OFD packet to send [03:00:02]OFD Sender: No OFD packet to send [03:00:07]OFD Sender: No OFD packet to send [03:00:12]OFD Sender: No OFD packet to send [03:00:17]OFD Sender: No OFD packet to send [03:00:22]OFD Sender: No OFD packet to send [03:00:27]OFD Sender: No OFD packet to send [03:00:32]OFD Sender: No OFD packet to send [03:00:37]OFD Sender: No OFD packet to send [03:00:42]OFD Sender: No OFD packet to send [03:00:47]OFD Sender: No OFD packet to send [03:00:52]OFD Sender: No OFD packet to send [03:00:57]OFD Sender: No OFD packet to send [03:01:02]OFD Sender: No OFD packet to send [03:01:07]OFD Sender: No OFD packet to send [03:01:12]OFD Sender: No OFD packet to send [03:01:17]OFD Sender: No OFD packet to send [03:01:22]OFD Sender: No OFD packet to send [03:01:27]OFD Sender: No OFD packet to send [03:01:32]OFD Sender: No OFD packet to send [03:01:37]OFD Sender: No OFD packet to send [03:01:42]OFD Sender: No OFD packet to send [03:01:47]OFD Sender: No OFD packet to send [03:01:52]OFD Sender: No OFD packet to send [03:01:57]OFD Sender: No OFD packet to send [03:02:02]OFD Sender: No OFD packet to send [03:02:07]OFD Sender: No OFD packet to send [03:02:12]OFD Sender: No OFD packet to send [03:02:17]OFD Sender: No OFD packet to send [03:02:22]OFD Sender: No OFD packet to send [03:02:27]OFD Sender: No OFD packet to send [03:02:32]OFD Sender: No OFD packet to send [03:02:37]OFD Sender: No OFD packet to send [03:02:42]OFD Sender: No OFD packet to send [03:02:47]OFD Sender: No OFD packet to send [03:02:52]OFD Sender: No OFD packet to send [03:02:57]OFD Sender: No OFD packet to send [03:03:02]OFD Sender: No OFD packet to send [03:03:07]OFD Sender: No OFD packet to send [03:03:12]OFD Sender: No OFD packet to send [03:03:17]OFD Sender: No OFD packet to send [03:03:22]OFD Sender: No OFD packet to send [03:03:27]OFD Sender: No OFD packet to send [03:03:32]OFD Sender: No OFD packet to send [03:03:37]OFD Sender: No OFD packet to send [03:03:42]OFD Sender: No OFD packet to send [03:03:47]OFD Sender: No OFD packet to send [03:03:52]OFD Sender: No OFD packet to send [03:03:57]OFD Sender: No OFD packet to send [03:04:02]OFD Sender: No OFD packet to send [03:04:07]OFD Sender: No OFD packet to send [03:04:12]OFD Sender: No OFD packet to send [03:04:17]OFD Sender: No OFD packet to send [03:04:22]OFD Sender: No OFD packet to send [03:04:27]OFD Sender: No OFD packet to send [03:04:32]OFD Sender: No OFD packet to send [03:04:37]OFD Sender: No OFD packet to send [03:04:42]OFD Sender: No OFD packet to send [03:04:47]OFD Sender: No OFD packet to send [03:04:52]OFD Sender: No OFD packet to send [03:04:57]OFD Sender: No OFD packet to send [03:05:02]OFD Sender: No OFD packet to send [03:05:07]OFD Sender: No OFD packet to send [03:05:12]OFD Sender: No OFD packet to send [03:05:17]OFD Sender: No OFD packet to send [03:05:22]OFD Sender: No OFD packet to send [03:05:27]OFD Sender: No OFD packet to send [03:05:32]OFD Sender: No OFD packet to send [03:05:37]OFD Sender: No OFD packet to send [03:05:42]OFD Sender: No OFD packet to send [03:05:47]OFD Sender: No OFD packet to send [03:05:52]OFD Sender: No OFD packet to send [03:05:57]OFD Sender: No OFD packet to send [03:06:02]OFD Sender: No OFD packet to send [03:06:07]OFD Sender: No OFD packet to send [03:06:12]OFD Sender: No OFD packet to send [03:06:17]OFD Sender: No OFD packet to send [03:06:22]OFD Sender: No OFD packet to send [03:06:27]OFD Sender: No OFD packet to send [03:06:32]OFD Sender: No OFD packet to send [03:06:37]OFD Sender: No OFD packet to send [03:06:42]OFD Sender: No OFD packet to send [03:06:47]OFD Sender: No OFD packet to send [03:06:52]OFD Sender: No OFD packet to send [03:06:57]OFD Sender: No OFD packet to send [03:07:02]OFD Sender: No OFD packet to send [03:07:07]OFD Sender: No OFD packet to send [03:07:12]OFD Sender: No OFD packet to send [03:07:17]OFD Sender: No OFD packet to send [03:07:22]OFD Sender: No OFD packet to send [03:07:27]OFD Sender: No OFD packet to send [03:07:32]OFD Sender: No OFD packet to send [03:07:37]OFD Sender: No OFD packet to send [03:07:42]OFD Sender: No OFD packet to send [03:07:47]OFD Sender: No OFD packet to send [03:07:52]OFD Sender: No OFD packet to send [03:07:57]OFD Sender: No OFD packet to send [03:08:02]OFD Sender: No OFD packet to send [03:08:07]OFD Sender: No OFD packet to send [03:08:12]OFD Sender: No OFD packet to send [03:08:17]OFD Sender: No OFD packet to send [03:08:22]OFD Sender: No OFD packet to send [03:08:27]OFD Sender: No OFD packet to send [03:08:32]OFD Sender: No OFD packet to send [03:08:37]OFD Sender: No OFD packet to send [03:08:42]OFD Sender: No OFD packet to send [03:08:47]OFD Sender: No OFD packet to send [03:08:52]OFD Sender: No OFD packet to send [03:08:57]OFD Sender: No OFD packet to send [03:09:03]OFD Sender: No OFD packet to send [03:09:08]OFD Sender: No OFD packet to send [03:09:13]OFD Sender: No OFD packet to send [03:09:18]OFD Sender: No OFD packet to send [03:09:23]OFD Sender: No OFD packet to send [03:09:28]OFD Sender: No OFD packet to send [03:09:33]OFD Sender: No OFD packet to send [03:09:38]OFD Sender: No OFD packet to send [03:09:43]OFD Sender: No OFD packet to send [03:09:48]OFD Sender: No OFD packet to send [03:09:53]OFD Sender: No OFD packet to send [03:09:58]OFD Sender: No OFD packet to send [03:10:03]OFD Sender: No OFD packet to send [03:10:08]OFD Sender: No OFD packet to send [03:10:13]OFD Sender: No OFD packet to send [03:10:18]OFD Sender: No OFD packet to send [03:10:23]OFD Sender: No OFD packet to send [03:10:28]OFD Sender: No OFD packet to send [03:10:33]OFD Sender: No OFD packet to send [03:10:38]OFD Sender: No OFD packet to send [03:10:43]OFD Sender: No OFD packet to send [03:10:48]OFD Sender: No OFD packet to send [03:10:53]OFD Sender: No OFD packet to send [03:10:58]OFD Sender: No OFD packet to send [03:11:03]OFD Sender: No OFD packet to send [03:11:08]OFD Sender: No OFD packet to send [03:11:13]OFD Sender: No OFD packet to send [03:11:18]OFD Sender: No OFD packet to send [03:11:23]OFD Sender: No OFD packet to send [03:11:28]OFD Sender: No OFD packet to send [03:11:33]OFD Sender: No OFD packet to send [03:11:38]OFD Sender: No OFD packet to send [03:11:43]OFD Sender: No OFD packet to send [03:11:48]OFD Sender: No OFD packet to send [03:11:53]OFD Sender: No OFD packet to send [03:11:58]OFD Sender: No OFD packet to send [03:12:03]OFD Sender: No OFD packet to send [03:12:08]OFD Sender: No OFD packet to send [03:12:13]OFD Sender: No OFD packet to send [03:12:18]OFD Sender: No OFD packet to send [03:12:23]OFD Sender: No OFD packet to send [03:12:28]OFD Sender: No OFD packet to send [03:12:33]OFD Sender: No OFD packet to send [03:12:38]OFD Sender: No OFD packet to send [03:12:43]OFD Sender: No OFD packet to send [03:12:48]OFD Sender: No OFD packet to send [03:12:53]OFD Sender: No OFD packet to send [03:12:58]OFD Sender: No OFD packet to send [03:13:03]OFD Sender: No OFD packet to send [03:13:08]OFD Sender: No OFD packet to send